diff --git a/config/bspwmrc b/config/bspwmrc index 1c19212..1ef938f 100755 --- a/config/bspwmrc +++ b/config/bspwmrc @@ -19,13 +19,17 @@ pgrep -x mconnect > /dev/null || mconnect -d > /dev/null & # Kill sxhkd & start a new instance pgrep -x sxhkd > /dev/null || sxhkd & +start-solaar + +start-ckbnext + # Define workspaces bspc monitor -d I II III IV V VI VII VIII IX X bspc config border_width 1 bspc config window_gap 6 -bspc config split_ratio 0.52 +bspc config split_ratio 0.50 bspc config borderless_monocle true bspc config gapless_monocle true diff --git a/config/sxhkdrc b/config/sxhkdrc index 1e2e3cf..c760356 100644 --- a/config/sxhkdrc +++ b/config/sxhkdrc @@ -8,7 +8,7 @@ super + Return # program launcher super + @space - ~/.config/rofi/launchers/type-2/launcher.sh + ~/.config/rofi/launchers/type-3/launcher.sh super + i kitty diff --git a/link-root.conf.yaml b/link-root.conf.yaml index 37ff9cd..8e5b415 100644 --- a/link-root.conf.yaml +++ b/link-root.conf.yaml @@ -15,6 +15,8 @@ /bin/dotfiles: dotfiles /bin/open-captive: scripts/open-captive + /bin/start-solaar: scripts/start-solaar + /bin/start-ckbnext: scripts/start-ckbnext /usr/share/icons/default/index.theme: config/cursors.theme diff --git a/scripts/start-ckbnext b/scripts/start-ckbnext new file mode 100755 index 0000000..f437088 --- /dev/null +++ b/scripts/start-ckbnext @@ -0,0 +1,6 @@ +#!/bin/bash + +if lsusb | grep -q "Corsair" +then + pgrep -x ckb-next > /dev/null || ckb-next -b & +fi \ No newline at end of file diff --git a/scripts/start-solaar b/scripts/start-solaar new file mode 100755 index 0000000..deadc59 --- /dev/null +++ b/scripts/start-solaar @@ -0,0 +1,6 @@ +#!/bin/bash + +if lsusb | grep -q "Logitech" +then + pgrep -x solaar > /dev/null || solaar -w hide & +fi