Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng 2aaf0d58c1
Enlarge Firefox PiP window 2022-05-08 21:04:42 +02:00
coolneng 37a26b83d3
Reload nvim in switch-theme 2022-05-08 21:04:31 +02:00
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,9 @@ change_theme() {
sed -i "s/iceberg_$1/iceberg_$2/" ~/.config/zathura/zathurarc
kitty +kitten themes --reload-in=all "Iceberg $(capitalize "$2")"
tmux source-file ~/.tmux.conf
nvr --remote-send ":source ~/.config/nvim/init.vim <CR>"
nvr --remote-send ":set nonumber <CR>"
nvr --remote-send ":set norelativenumber <CR>"
}
recolor_zathura() {

View File

@ -248,7 +248,7 @@ exec_always {
for_window [app_id="mpv"] floating enable
for_window [app_id="imv"] floating enable
for_window [app_id="popup"] floating enable, resize set 1280 720
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 640 480; sticky enable
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 720 480; sticky enable
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
# Resize zathura to 70% in tiling mode
for_window [app_id="org.pwmt.zathura" workspace=$workspace4] resize set width 70 ppt