Compare commits

...

2 Commits

Author SHA1 Message Date
9cb9b4c524
Fix microphone mute keybinding 2021-03-10 12:57:24 +01:00
ff2df6e4b0
hack: add a workaround for Goyo in small windows 2021-03-10 12:56:40 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ autocmd BufNewFile,BufRead /tmp/neomutt* set filetype=markdown
function! s:goyo_enter() function! s:goyo_enter()
let b:quitting = 0 let b:quitting = 0
let b:quitting_bang = 0 let b:quitting_bang = 0
call feedkeys('jk')
autocmd QuitPre <buffer> let b:quitting = 1 autocmd QuitPre <buffer> let b:quitting = 1
cabbrev <buffer> q! let b:quitting_bang = 1 <bar> q! cabbrev <buffer> q! let b:quitting_bang = 1 <bar> q!
endfunction endfunction

View File

@ -259,7 +259,7 @@ exec swaymsg split vertical
bindsym XF86AudioRaiseVolume exec pulsemixer --change-volume +5 bindsym XF86AudioRaiseVolume exec pulsemixer --change-volume +5
bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -5 bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -5
bindsym XF86AudioMute exec pulsemixer --toggle-mute bindsym XF86AudioMute exec pulsemixer --toggle-mute
bindsym XF86AudioMicMute exec pulsemixer --id source-45 --toggle-mute bindsym XF86AudioMicMute exec pulsemixer --id source-1 --toggle-mute
# Brightness # Brightness
bindsym XF86MonBrightnessUp exec light -A 10 bindsym XF86MonBrightnessUp exec light -A 10
bindsym XF86MonBrightnessDown exec light -U 10 bindsym XF86MonBrightnessDown exec light -U 10