mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-24 10:37:50 +02:00
Compare commits
No commits in common. "f481203dface0aa703ae770bff3d73609822801a" and "802d769a9cce8eec83cfa2027533f29b522eb8f1" have entirely different histories.
f481203dfa
...
802d769a9c
@ -110,7 +110,7 @@
|
|||||||
"clipping-range": 6.0,
|
"clipping-range": 6.0,
|
||||||
"fft": "4096",
|
"fft": "4096",
|
||||||
"input-gain": 0.0,
|
"input-gain": 0.0,
|
||||||
"output-gain": 15.0,
|
"output-gain": -20.0,
|
||||||
"std": "ISO226-2003",
|
"std": "ISO226-2003",
|
||||||
"volume": -6.499999999999993
|
"volume": -6.499999999999993
|
||||||
},
|
},
|
||||||
@ -119,7 +119,7 @@
|
|||||||
"deesser#0",
|
"deesser#0",
|
||||||
"filter#0",
|
"filter#0",
|
||||||
"gate#0",
|
"gate#0",
|
||||||
"rnnoise#0",
|
"rnnoise",
|
||||||
"limiter#0",
|
"limiter#0",
|
||||||
"loudness#0"
|
"loudness#0"
|
||||||
],
|
],
|
||||||
|
@ -51,31 +51,24 @@ vim.o.signcolumn = "yes"
|
|||||||
vim.o.undofile = true
|
vim.o.undofile = true
|
||||||
vim.o.undodir = vim.env.XDG_CACHE_HOME .. "/vim/undo"
|
vim.o.undodir = vim.env.XDG_CACHE_HOME .. "/vim/undo"
|
||||||
|
|
||||||
|
-- delete trailing whitespaces on save
|
||||||
|
vim.api.nvim_create_autocmd({'BufWritePre'},
|
||||||
|
{pattern = {'*'},
|
||||||
|
command = [[%s/\s\+$//e]],
|
||||||
|
})
|
||||||
|
|
||||||
-- python programs to use
|
-- python programs to use
|
||||||
vim.g.python_host_prog = '/usr/bin/python2'
|
vim.g.python_host_prog = '/usr/bin/python2'
|
||||||
vim.g.python3_host_prog = '/usr/bin/python3'
|
vim.g.python3_host_prog = '/usr/bin/python3'
|
||||||
|
|
||||||
-- read files correctly
|
|
||||||
vim.filetype.add({
|
|
||||||
extension = {
|
|
||||||
h = 'c',
|
|
||||||
html = 'html',
|
|
||||||
java = 'java',
|
|
||||||
md = 'markdown',
|
|
||||||
nim = 'nim',
|
|
||||||
py = 'python',
|
|
||||||
tex = 'tex',
|
|
||||||
}})
|
|
||||||
|
|
||||||
-- load plugins (autoload all files in plugin folder)
|
-- load plugins (autoload all files in plugin folder)
|
||||||
require('loadplugins')
|
require('loadplugins')
|
||||||
|
|
||||||
-- load filetype specific mappings and commands
|
-- load filetype specific mappings and commands
|
||||||
require('autocmd')
|
require('filetype')
|
||||||
|
|
||||||
-- load general mapped keys
|
-- load general mapped keys
|
||||||
require('keymap')
|
require('keymap')
|
||||||
|
|
||||||
-- load general colorscheme
|
-- load general colorscheme
|
||||||
require('colorscheme')
|
require('colorscheme')
|
||||||
|
|
||||||
|
@ -1,10 +1,16 @@
|
|||||||
-- autocmd
|
-- filetype
|
||||||
|
|
||||||
-- delete trailing whitespaces on save
|
-- read files correctly
|
||||||
vim.api.nvim_create_autocmd({'BufWritePre'},
|
vim.filetype.add({
|
||||||
{pattern = {'*'},
|
extension = {
|
||||||
command = [[%s/\s\+$//e]],
|
h = 'c',
|
||||||
})
|
html = 'html',
|
||||||
|
java = 'java',
|
||||||
|
md = 'markdown',
|
||||||
|
nim = 'nim',
|
||||||
|
py = 'python',
|
||||||
|
tex = 'tex',
|
||||||
|
}})
|
||||||
|
|
||||||
-- formatting options
|
-- formatting options
|
||||||
vim.api.nvim_create_autocmd({'FileType'},
|
vim.api.nvim_create_autocmd({'FileType'},
|
@ -1,36 +1,23 @@
|
|||||||
super + u
|
super + Return
|
||||||
record_start
|
$TERMINAL
|
||||||
|
super + b
|
||||||
|
$BROWSER
|
||||||
|
super + f
|
||||||
|
$TERMINAL -e $FILE
|
||||||
super + i
|
super + i
|
||||||
record_stop
|
record_stop
|
||||||
|
super + m
|
||||||
|
thunderbird
|
||||||
super + o
|
super + o
|
||||||
record_replay_start
|
record_replay_start
|
||||||
super + p
|
super + p
|
||||||
record_replay_save
|
record_replay_save
|
||||||
super + r
|
super + u
|
||||||
dmenu_run -c -l 20
|
record_start
|
||||||
|
|
||||||
super + a
|
|
||||||
playerctl previous
|
|
||||||
super + s
|
|
||||||
playerctl play-pause
|
|
||||||
super + d
|
|
||||||
playerctl next
|
|
||||||
super + f
|
|
||||||
$TERMINAL -e $FILE
|
|
||||||
|
|
||||||
super + b
|
|
||||||
$BROWSER
|
|
||||||
super + m
|
|
||||||
thunderbird
|
|
||||||
|
|
||||||
super + shift + x
|
super + shift + x
|
||||||
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
|
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
|
||||||
|
super + shift + r
|
||||||
super + Return
|
dmenu_run -c -l 20
|
||||||
$TERMINAL
|
|
||||||
super + Print
|
|
||||||
maimpick
|
|
||||||
|
|
||||||
super + F5
|
super + F5
|
||||||
togglemonitor
|
togglemonitor
|
||||||
super + F6
|
super + F6
|
||||||
@ -47,6 +34,8 @@ super + F11
|
|||||||
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
||||||
super + F12
|
super + F12
|
||||||
prompt "Reboot computer?" "sudo -A reboot now"
|
prompt "Reboot computer?" "sudo -A reboot now"
|
||||||
|
super + Print
|
||||||
|
maimpick
|
||||||
|
|
||||||
XF86AudioMute
|
XF86AudioMute
|
||||||
lmc m && pkill -RTMIN+4 $STATUSBAR
|
lmc m && pkill -RTMIN+4 $STATUSBAR
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
window=$(xdotool getwindowfocus)
|
window=$(xdotool getwindowfocus)
|
||||||
fps=60
|
fps=30
|
||||||
audio="$(pactl get-default-sink).monitor"
|
audio="$(pactl get-default-sink).monitor"
|
||||||
format="mp4"
|
format="mp4"
|
||||||
lenght=20
|
lenght=20
|
||||||
|
@ -48,6 +48,7 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
|
|||||||
|
|
||||||
| ModKey | Shift | Key | Function |
|
| ModKey | Shift | Key | Function |
|
||||||
| ------ | ----- | ----------------- | --------------------------------------------------------- |
|
| ------ | ----- | ----------------- | --------------------------------------------------------- |
|
||||||
|
| Super | | Return | Spawn terminal |
|
||||||
| Super | | b | Spawn browser |
|
| Super | | b | Spawn browser |
|
||||||
| Super | | f | Spawn filemanager |
|
| Super | | f | Spawn filemanager |
|
||||||
| Super | | i | (gpu-screen-record) stop recording |
|
| Super | | i | (gpu-screen-record) stop recording |
|
||||||
@ -55,7 +56,7 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
|
|||||||
| Super | | o | (gpu-screen-record) start replay |
|
| Super | | o | (gpu-screen-record) start replay |
|
||||||
| Super | | p | (gpu-screen-record) save replay |
|
| Super | | p | (gpu-screen-record) save replay |
|
||||||
| Super | | u | (gpu-screen-record) start recording |
|
| Super | | u | (gpu-screen-record) start recording |
|
||||||
| Super | | r | (dmenu) dmenu\_run |
|
| Super | Shift | r | (dmenu) dmenu\_run |
|
||||||
| Super | Shift | x | Restart sxkd |
|
| Super | Shift | x | Restart sxkd |
|
||||||
| Super | | F5 | Enable 2 Screen Monitor |
|
| Super | | F5 | Enable 2 Screen Monitor |
|
||||||
| Super | | F6 | Toggle touchpad |
|
| Super | | F6 | Toggle touchpad |
|
||||||
@ -66,7 +67,6 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
|
|||||||
| Super | | F11 | (dmenu) Prompt, if yes: reboot |
|
| Super | | F11 | (dmenu) Prompt, if yes: reboot |
|
||||||
| Super | | F12 | (dmenu) Prompt, if yes: shutdown |
|
| Super | | F12 | (dmenu) Prompt, if yes: shutdown |
|
||||||
| Super | | Print | (dmenu) Prompt to take a screenshot |
|
| Super | | Print | (dmenu) Prompt to take a screenshot |
|
||||||
| Super | | Return | Spawn terminal |
|
|
||||||
| | | AudioMute | Volume mute |
|
| | | AudioMute | Volume mute |
|
||||||
| | | AudioMicMute | Mic Mute |
|
| | | AudioMicMute | Mic Mute |
|
||||||
| | | AudioLowerVolume | Volume lower |
|
| | | AudioLowerVolume | Volume lower |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user