Add chromium rules and keybinds

This commit is contained in:
Tobias Reisinger 2021-05-13 14:26:52 +02:00
parent 0158a3dbe2
commit 1277631407
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 5 additions and 3 deletions

View file

@ -58,6 +58,7 @@ bspc rule -a 'MPlayer' follow='true' desktop='side-view' state='fullscreen'
bspc rule -a 'mpv:gl' follow='true' desktop='side-view' state='fullscreen' bspc rule -a 'mpv:gl' follow='true' desktop='side-view' state='fullscreen'
bspc rule -a 'FreeTube' follow='true' desktop='side-view' bspc rule -a 'FreeTube' follow='true' desktop='side-view'
bspc rule -a 'Brave-browser:brave-browser' follow='true' desktop='side-view' bspc rule -a 'Brave-browser:brave-browser' follow='true' desktop='side-view'
bspc rule -a 'Chromium:chromium' follow='true' desktop='side-view'
bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true' bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true'

View file

@ -2,8 +2,9 @@ def init(c):
c.bind(',v', 'spawn --userscript view_in_mpv {url}') c.bind(',v', 'spawn --userscript view_in_mpv {url}')
c.bind(',V', 'hint links spawn --userscript view_in_mpv {hint-url}') c.bind(',V', 'hint links spawn --userscript view_in_mpv {hint-url}')
c.bind(',b', 'spawn brave {url}') # ungoogled-chromium
c.bind(',B', 'hint links spawn brave {hint-url}') c.bind(',b', 'spawn chromium {url}')
c.bind(',B', 'hint links spawn chromium {hint-url}')
c.bind(',j', 'spawn --userscript format_json') c.bind(',j', 'spawn --userscript format_json')

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
action=$(echo -e "Shutdown\nReboot\nLogout" | rofi -dmenu) action=$(echo -e "Shutdown\nReboot\nLogout" | rofi -dmenu)