[roxy] i3: Misc local changes

This commit is contained in:
Lexi / Zoe 2025-11-30 17:40:58 +01:00
parent 3c6bc7110e
commit 698bc314b0
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 50 additions and 41 deletions

View File

@ -21,18 +21,21 @@ set $mod Mod4
# Alternatively, use includes for this :)
#set $OUTPUT1 eDP-1
#set $OUTPUT1 DP-1-3
#set $OUTPUT2 DP-1-1
set $OUTPUT1 DP-1-3
set $OUTPUT2 DP-1-2
set $OUTPUT2 DP-1-1
set $OUTPUT3 eDP-1
# Office
set $OUTPUT_LEFT DP-1-3
set $OUTPUT_CENTER DP-1-3
set $OUTPUT_RIGHT DP-1-2
#set $OUTPUT_RIGHT eDP-1
set $OUTPUT_CENTER DP-1-1
set $OUTPUT_RIGHT eDP-1
# Bedroom
#set $OUTPUT_LEFT eDP-1
#set $OUTPUT_CENTER DP-1
#set $OUTPUT_CENTER HDMI-1
#set $OUTPUT_RIGHT eDP-1
@ -124,11 +127,11 @@ for_window [instance="sakura-floating"] floating enable
bindsym $mod+Shift+Return exec sakura --name=sakura-floating
# ~~ Start application launcher
bindsym $mod+d exec rofi -show run
bindsym $mod+Shift+d exec rofi -show drun
bindsym $mod+w exec rofi -show window
bindsym $mod+c exec rofi -show calc
bindsym $mod+m exec rofi -show emoji
bindsym $mod+d exec rofi -show run
bindsym $mod+w exec rofi -show window
bindsym $mod+c exec rofi -show calc
bindsym $mod+m exec rofi -show emoji
# ~~ Kill focused window
bindsym $mod+Shift+q kill
@ -320,20 +323,20 @@ workspace $WS11 output primary
workspace $WS0 output primary
# Special case: Chat workspace
workspace $WS12 output $OUTPUT_RIGHT
workspace $WS12 output $OUTPUT2
workspace $WSf1 output $OUTPUT_RIGHT
workspace $WSf2 output $OUTPUT_RIGHT
workspace $WSf3 output $OUTPUT_RIGHT
workspace $WSf4 output $OUTPUT_RIGHT
workspace $WSf5 output $OUTPUT_RIGHT
workspace $WSf6 output $OUTPUT_RIGHT
workspace $WSf7 output $OUTPUT_RIGHT
workspace $WSf8 output $OUTPUT_RIGHT
workspace $WSf9 output $OUTPUT_RIGHT
workspace $WSf10 output $OUTPUT_RIGHT
workspace $WSf11 output $OUTPUT_RIGHT
workspace $WSf12 output $OUTPUT_RIGHT
workspace $WSf1 output $OUTPUT2
workspace $WSf2 output $OUTPUT2
workspace $WSf3 output $OUTPUT2
workspace $WSf4 output $OUTPUT2
workspace $WSf5 output $OUTPUT2
workspace $WSf6 output $OUTPUT2
workspace $WSf7 output $OUTPUT2
workspace $WSf8 output $OUTPUT2
workspace $WSf9 output $OUTPUT3
workspace $WSf10 output $OUTPUT3
workspace $WSf11 output $OUTPUT3
workspace $WSf12 output $OUTPUT3
# ~~ Keybindings to switch workspaces
bindsym $mod+grave workspace number $WS0
@ -392,17 +395,17 @@ bindsym $mod+Shift+F11 move container to workspace $WSf11; workspace $WSf11
bindsym $mod+Shift+F12 move container to workspace $WSf12; workspace $WSf12
# ~~ Keybindings for moving focus/containers/workspaces between monitors
bindsym $mod+comma focus output $OUTPUT_LEFT
bindsym $mod+period focus output $OUTPUT_CENTER
bindsym $mod+slash focus output $OUTPUT_RIGHT
bindsym $mod+comma focus output $OUTPUT1
bindsym $mod+period focus output $OUTPUT2
bindsym $mod+slash focus output $OUTPUT3
bindsym $mod+Shift+comma move container to output $OUTPUT_LEFT; focus output $OUTPUT_LEFT
bindsym $mod+Shift+period move container to output $OUTPUT_CENTER; focus output $OUTPUT_CENTER
bindsym $mod+Shift+slash move container to output $OUTPUT_RIGHT; focus output $OUTPUT_RIGHT
bindsym $mod+Shift+comma move container to output $OUTPUT1; focus output $OUTPUT1
bindsym $mod+Shift+period move container to output $OUTPUT2; focus output $OUTPUT2
bindsym $mod+Shift+slash move container to output $OUTPUT3; focus output $OUTPUT3
bindsym Control+$mod+comma move workspace to output $OUTPUT_LEFT
bindsym Control+$mod+period move workspace to output $OUTPUT_CENTER
bindsym Control+$mod+slash move workspace to output $OUTPUT_RIGHT
bindsym Control+$mod+comma move workspace to output $OUTPUT1
bindsym Control+$mod+period move workspace to output $OUTPUT2
bindsym Control+$mod+slash move workspace to output $OUTPUT3
# ~~ Other workspace related keybindings
bindsym $mod+Tab workspace back_and_forth
@ -425,14 +428,8 @@ assign [class="^Thunderbird$"] number $WS_mail
for_window [class="^Thunderbird$"] layout tabbed
# ~~ Telegram
#assign [class="^TelegramDesktop$"] output $OUTPUT2
assign [class="^TelegramDesktop$"] number $WS_com
for_window [class="^TelegramDesktop$" title="^Telegram"] floating enable
# ~~ Gajim
#assign [class="^Gajim$"] output $OUTPUT2
assign [class="^Gajim$"] number $WS_com
for_window [class="^Gajim$"] floating enable
#for_window [class="^TelegramDesktop$" title="^Telegram"] floating enable
# ~~ Zulip
assign [class="^Zulip$"] number $WS_com
@ -440,7 +437,11 @@ for_window [class="^Zulip$"] floating enable
# ~~ Discord
assign [class="^discord$"] number $WS_com
for_window [class="^discord$"] floating enable
#for_window [class="^discord$"] floating enable
# ~~ Signal
assign [class="^Signal$"] number $WS_com
#for_window [class="^Signal$"] floating enable
# ~~ VS Code
for_window [class="^code-oss$"] layout tabbed
@ -455,13 +456,19 @@ for_window [title="^Friends List"] floating disable
# TODO: use no_focus to avoid focus grabbing by the update window
# ~~ Misc other apps
for_window [class="^Pavucontrol$"] floating enable
for_window [class="^pavucontrol$"] floating enable
# ~~ Flameshot
for_window [class="^flameshot$"] floating enable
# ~~ Game development
#for_window [title="\(DEBUG\)$" instance="^(?!MultiplayerSpaceThing).*$"] floating enable
# Enable floating mode for standalone game windows and for embedded games in "Floating game workspace" mode,
# but not for the editor.
for_window [instance="^Godot_Editor$" title="Godot Engine$"] floating disable
#for_window [instance="^Godot_Editor$" title="\(DEBUG\)$"] floating enable
for_window [instance="^Godot_Engine$" title="\(DEBUG\)$"] floating enable
for_window [title="^TinyKnight$"] floating enable
for_window [title="^Dragons Hoard$"] floating enable
# ~~ Others
# The Sims 4 Origin launcher
@ -510,5 +517,7 @@ bindsym $mod+Print exec flameshot gui
# ~~ Run background applications
exec --no-startup-id redshift-gtk
exec --no-startup-id nextcloud
exec --no-startup-id udiskie --tray --no-automount
exec --no-startup-id solaar -w hide
# TODO: Use exec_always to set keyboard layout etc.?