mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-24 02:27:51 +02:00
Compare commits
5 Commits
802d769a9c
...
f481203dfa
Author | SHA1 | Date | |
---|---|---|---|
f481203dfa | |||
c17dae6060 | |||
d29bcf1589 | |||
9e5da42a0e | |||
c28479a090 |
@ -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": -20.0,
|
"output-gain": 15.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",
|
"rnnoise#0",
|
||||||
"limiter#0",
|
"limiter#0",
|
||||||
"loudness#0"
|
"loudness#0"
|
||||||
],
|
],
|
||||||
|
@ -51,24 +51,31 @@ 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('filetype')
|
require('autocmd')
|
||||||
|
|
||||||
-- load general mapped keys
|
-- load general mapped keys
|
||||||
require('keymap')
|
require('keymap')
|
||||||
|
|
||||||
-- load general colorscheme
|
-- load general colorscheme
|
||||||
require('colorscheme')
|
require('colorscheme')
|
||||||
|
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
-- filetype
|
-- autocmd
|
||||||
|
|
||||||
-- read files correctly
|
-- delete trailing whitespaces on save
|
||||||
vim.filetype.add({
|
vim.api.nvim_create_autocmd({'BufWritePre'},
|
||||||
extension = {
|
{pattern = {'*'},
|
||||||
h = 'c',
|
command = [[%s/\s\+$//e]],
|
||||||
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,23 +1,36 @@
|
|||||||
super + Return
|
super + u
|
||||||
$TERMINAL
|
record_start
|
||||||
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 + u
|
super + r
|
||||||
record_start
|
dmenu_run -c -l 20
|
||||||
|
|
||||||
|
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
|
|
||||||
dmenu_run -c -l 20
|
super + Return
|
||||||
|
$TERMINAL
|
||||||
|
super + Print
|
||||||
|
maimpick
|
||||||
|
|
||||||
super + F5
|
super + F5
|
||||||
togglemonitor
|
togglemonitor
|
||||||
super + F6
|
super + F6
|
||||||
@ -34,8 +47,6 @@ 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=30
|
fps=60
|
||||||
audio="$(pactl get-default-sink).monitor"
|
audio="$(pactl get-default-sink).monitor"
|
||||||
format="mp4"
|
format="mp4"
|
||||||
lenght=20
|
lenght=20
|
||||||
|
@ -48,7 +48,6 @@ 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 |
|
||||||
@ -56,7 +55,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 | Shift | r | (dmenu) dmenu\_run |
|
| Super | | 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 |
|
||||||
@ -67,6 +66,7 @@ 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