Compare commits

...

2 Commits

Author SHA1 Message Date
7a1b814187 add center keybiding 2025-10-11 00:27:32 -07:00
9933e7a7f2 fix waybar 2025-10-11 00:27:21 -07:00
3 changed files with 5 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ bind = $mainMod, d, exec, $menu
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, t, togglesplit, # dwindle bind = $mainMod, t, togglesplit, # dwindle
bind = $mainMod, f, fullscreen, bind = $mainMod, f, fullscreen,
bind = $mainMod, i, swapactiveworkspaces, DP-1 DP-3 bind = $mainMod, i, swapnext
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, h, movefocus, l bind = $mainMod, h, movefocus, l
@@ -32,6 +32,7 @@ bind = $mainMod SHIFT, j, movewindow, d
bind = $mainMod SHIFT, k, movewindow, u bind = $mainMod SHIFT, k, movewindow, u
bind = $mainMod SHIFT, h, movewindow, l bind = $mainMod SHIFT, h, movewindow, l
bind = $mainMod SHIFT, l, movewindow, r bind = $mainMod SHIFT, l, movewindow, r
bind = CTRL+SHIFT, c, centerwindow
# Move focus to next monitor # Move focus to next monitor
@@ -98,7 +99,7 @@ bind = $mainMod SHIFT, w, exec, $HOME/.config/rofi/scripts/rofi-wallpaper.sh
bind = $mainMod, n, exec, uwsm app -sb -- ghostty --command=/usr/bin/ncmpcpp bind = $mainMod, n, exec, uwsm app -sb -- ghostty --command=/usr/bin/ncmpcpp
# notifications # notifications
bind = $mainMod SHIFT, n, exec, swaync-client -t bind = $mainMod SHIFT, n, exec, swaync-client -t
# mpv add # mpv add
bind = SUPER, m, exec, ~/.local/bin/mpv-add.sh bind = SUPER, m, exec, ~/.local/bin/mpv-add.sh

View File

@@ -7,7 +7,7 @@ if [ -z "$PLAYER" ]; then
exit 1 exit 1
fi fi
STATUS="$(playerctl -p "$PLAYER" status 2>/dev/null)" STATUS="$(playerctl -sp "$PLAYER" status)"
case "$STATUS" in "" | "Stopped") case "$STATUS" in "" | "Stopped")
exit 0 exit 0

View File

@@ -2,6 +2,7 @@
if pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config-battery.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css" || if pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config-battery.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css" ||
pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css"; then pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css"; then
killall zscroll
killall waybar killall waybar
fi fi