diff --git a/dotfiles/mako/.config/mako/config b/dotfiles/mako/.config/mako/config index 766a5a2..893bc56 100644 --- a/dotfiles/mako/.config/mako/config +++ b/dotfiles/mako/.config/mako/config @@ -9,7 +9,7 @@ padding=10 border-size=3 border-radius=6 border-color=#BBBBFFFF -background-color=#00003311 +background-color=#44443311 text-color=#BBBBFFFF default-timeout=5000 diff --git a/dotfiles/mango/.config/mango/bindings/keyboard.conf b/dotfiles/mango/.config/mango/bindings/keyboard.conf index 345e455..9de9599 100644 --- a/dotfiles/mango/.config/mango/bindings/keyboard.conf +++ b/dotfiles/mango/.config/mango/bindings/keyboard.conf @@ -13,6 +13,7 @@ bind=Alt,Return,spawn,ghostty # screenshot bind=NONE,Print,spawn,$HOME/.config/mango/scripts/screenshot/fullscreen.sh bind=NONE,XF86SelectiveScreenshot,spawn,$HOME/.config/mango/scripts/screenshot/region.sh + # exit bind=SUPER,m,quit bind=ALT,q,killclient, @@ -22,6 +23,9 @@ bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bind=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bind=SUPER,a,spawn,$HOME/.config/mango/scripts/tui/wiremix.sh +bind=SUPER,w,spawn,$HOME/.config/mango/scripts/tui/impala.sh + # brightness bind=NONE,XF86MonBrightnessUp,spawn,light -A 5 bind=NONE,XF86MonBrightnessDown,spawn,light -U 5 diff --git a/dotfiles/mango/.config/mango/rules/window.conf b/dotfiles/mango/.config/mango/rules/window.conf index 4777711..588b4dd 100644 --- a/dotfiles/mango/.config/mango/rules/window.conf +++ b/dotfiles/mango/.config/mango/rules/window.conf @@ -2,3 +2,5 @@ windowrule=noblur:1,appid:slurp windowrule=isfloating:1,appid:satty +windowrule=isfloating:1,animation_type_open:fade,animation_type_close:fade,appid:ghostty,title:d.wiremix +windowrule=isfloating:1,animation_type_open:fade,animation_type_close:fade,appid:ghostty,title:d.impala diff --git a/dotfiles/mango/.config/mango/scripts/tui/impala.sh b/dotfiles/mango/.config/mango/scripts/tui/impala.sh new file mode 100755 index 0000000..0bcd8c6 --- /dev/null +++ b/dotfiles/mango/.config/mango/scripts/tui/impala.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu pipefail + +$HOME/.config/mango/scripts/tui/run.sh "impala" diff --git a/dotfiles/mango/.config/mango/scripts/tui/run.sh b/dotfiles/mango/.config/mango/scripts/tui/run.sh new file mode 100755 index 0000000..6bd3360 --- /dev/null +++ b/dotfiles/mango/.config/mango/scripts/tui/run.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +tui=$1 + +if ! pgrep -x "$tui" >/dev/null; then + ghostty --title="d.$tui" -e "$tui" +fi diff --git a/dotfiles/mango/.config/mango/scripts/tui/wiremix.sh b/dotfiles/mango/.config/mango/scripts/tui/wiremix.sh new file mode 100755 index 0000000..536d518 --- /dev/null +++ b/dotfiles/mango/.config/mango/scripts/tui/wiremix.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu pipefail + +$HOME/.config/mango/scripts/tui/run.sh "wiremix"