From 1277631407423909a9a73c5393132ec5be23245e Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Thu, 13 May 2021 14:26:52 +0200 Subject: [PATCH] Add chromium rules and keybinds --- .config/bspwm/bspwmrc | 1 + .config/qutebrowser/keybindings.py | 5 +++-- .local/bin/rofi-shutdown | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index a2b188f..745ff89 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -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 'FreeTube' 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' diff --git a/.config/qutebrowser/keybindings.py b/.config/qutebrowser/keybindings.py index d96d23f..f1ac2c2 100644 --- a/.config/qutebrowser/keybindings.py +++ b/.config/qutebrowser/keybindings.py @@ -2,8 +2,9 @@ def init(c): c.bind(',v', 'spawn --userscript view_in_mpv {url}') c.bind(',V', 'hint links spawn --userscript view_in_mpv {hint-url}') - c.bind(',b', 'spawn brave {url}') - c.bind(',B', 'hint links spawn brave {hint-url}') + # ungoogled-chromium + c.bind(',b', 'spawn chromium {url}') + c.bind(',B', 'hint links spawn chromium {hint-url}') c.bind(',j', 'spawn --userscript format_json') diff --git a/.local/bin/rofi-shutdown b/.local/bin/rofi-shutdown index 42a21f6..8476034 100755 --- a/.local/bin/rofi-shutdown +++ b/.local/bin/rofi-shutdown @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh action=$(echo -e "Shutdown\nReboot\nLogout" | rofi -dmenu)