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,
|
||||
"fft": "4096",
|
||||
"input-gain": 0.0,
|
||||
"output-gain": -20.0,
|
||||
"output-gain": 15.0,
|
||||
"std": "ISO226-2003",
|
||||
"volume": -6.499999999999993
|
||||
},
|
||||
@ -119,7 +119,7 @@
|
||||
"deesser#0",
|
||||
"filter#0",
|
||||
"gate#0",
|
||||
"rnnoise",
|
||||
"rnnoise#0",
|
||||
"limiter#0",
|
||||
"loudness#0"
|
||||
],
|
||||
|
@ -51,24 +51,31 @@ vim.o.signcolumn = "yes"
|
||||
vim.o.undofile = true
|
||||
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
|
||||
vim.g.python_host_prog = '/usr/bin/python2'
|
||||
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)
|
||||
require('loadplugins')
|
||||
|
||||
-- load filetype specific mappings and commands
|
||||
require('filetype')
|
||||
require('autocmd')
|
||||
|
||||
-- load general mapped keys
|
||||
require('keymap')
|
||||
|
||||
-- load general colorscheme
|
||||
require('colorscheme')
|
||||
|
||||
|
@ -1,16 +1,10 @@
|
||||
-- filetype
|
||||
-- autocmd
|
||||
|
||||
-- read files correctly
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
h = 'c',
|
||||
html = 'html',
|
||||
java = 'java',
|
||||
md = 'markdown',
|
||||
nim = 'nim',
|
||||
py = 'python',
|
||||
tex = 'tex',
|
||||
}})
|
||||
-- delete trailing whitespaces on save
|
||||
vim.api.nvim_create_autocmd({'BufWritePre'},
|
||||
{pattern = {'*'},
|
||||
command = [[%s/\s\+$//e]],
|
||||
})
|
||||
|
||||
-- formatting options
|
||||
vim.api.nvim_create_autocmd({'FileType'},
|
@ -1,23 +1,36 @@
|
||||
super + Return
|
||||
$TERMINAL
|
||||
super + b
|
||||
$BROWSER
|
||||
super + f
|
||||
$TERMINAL -e $FILE
|
||||
super + u
|
||||
record_start
|
||||
super + i
|
||||
record_stop
|
||||
super + m
|
||||
thunderbird
|
||||
super + o
|
||||
record_replay_start
|
||||
super + p
|
||||
record_replay_save
|
||||
super + u
|
||||
record_start
|
||||
super + r
|
||||
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
|
||||
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
|
||||
togglemonitor
|
||||
super + F6
|
||||
@ -34,8 +47,6 @@ super + F11
|
||||
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
||||
super + F12
|
||||
prompt "Reboot computer?" "sudo -A reboot now"
|
||||
super + Print
|
||||
maimpick
|
||||
|
||||
XF86AudioMute
|
||||
lmc m && pkill -RTMIN+4 $STATUSBAR
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
window=$(xdotool getwindowfocus)
|
||||
fps=30
|
||||
fps=60
|
||||
audio="$(pactl get-default-sink).monitor"
|
||||
format="mp4"
|
||||
lenght=20
|
||||
|
@ -48,7 +48,6 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
|
||||
|
||||
| ModKey | Shift | Key | Function |
|
||||
| ------ | ----- | ----------------- | --------------------------------------------------------- |
|
||||
| Super | | Return | Spawn terminal |
|
||||
| Super | | b | Spawn browser |
|
||||
| Super | | f | Spawn filemanager |
|
||||
| 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 | | p | (gpu-screen-record) save replay |
|
||||
| Super | | u | (gpu-screen-record) start recording |
|
||||
| Super | Shift | r | (dmenu) dmenu\_run |
|
||||
| Super | | r | (dmenu) dmenu\_run |
|
||||
| Super | Shift | x | Restart sxkd |
|
||||
| Super | | F5 | Enable 2 Screen Monitor |
|
||||
| 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 | | F12 | (dmenu) Prompt, if yes: shutdown |
|
||||
| Super | | Print | (dmenu) Prompt to take a screenshot |
|
||||
| Super | | Return | Spawn terminal |
|
||||
| | | AudioMute | Volume mute |
|
||||
| | | AudioMicMute | Mic Mute |
|
||||
| | | AudioLowerVolume | Volume lower |
|
||||
|
Loading…
x
Reference in New Issue
Block a user