This commit is contained in:
DeveloperDurp 2025-06-07 09:51:35 -05:00
parent e33dd9172f
commit 0d12ae9ef7
4 changed files with 56 additions and 4 deletions

View file

@ -19,6 +19,7 @@ set $files nautilus
set $browser flatpak run io.gitlab.librewolf-community
set $bitwarden flatpak run com.bitwarden.desktop
set $menu wofi
set $scripts "$HOME/.config/scripts"
set $newScript "$HOME/.config/scripts/sessions.sh"
set $next_or_new swaymsg -r -t get_workspaces | jq -r --arg OUTPUT $(swaymsg -t get_outputs -r | jq -r '.[] | select(.focused == true) | .name') '(. | (max_by(.num) | .num)) as $max | [.[] | select(.output == $OUTPUT)] | (max_by(.num) | .num) as $maxOutput | (.[] | select(.focused == true) | .num) as $current | if $maxOutput > $current then "next_on_output" else $max + 1 end'
@ -93,6 +94,9 @@ bindsym $mod+control+n exec swaync-client -t -sw
# Start your goland
bindsym $mod+n exec 'zsh -c ". $newScript new"'
bindsym $mod+Shift+n exec 'zsh -c ". $newScript goland-new"'
# Audio Switch
bindsym $mod+Shift+s exec 'bash -c ". $scripts/audioswitch.sh"'
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.