This commit is contained in:
inkch 2024-06-25 13:53:37 +09:00
parent 0f9a9d9d8d
commit aee39f036a

View File

@ -46,6 +46,8 @@ set $ws8 "8"
set $ws9 "9" set $ws9 "9"
set $ws10 "10" set $ws10 "10"
set $ws_music "6"
set $ws_studio "7"
set $ws_media "8" set $ws_media "8"
set $ws_util "9" set $ws_util "9"
set $ws_game "10" set $ws_game "10"
@ -269,6 +271,8 @@ bindsym --release $m+$s+$c+$a+z exec --no-startup-id slock
# ^^^^^^^^^ Won't work without this. # ^^^^^^^^^ Won't work without this.
# See: https://www.reddit.com/r/i3wm/comments/cae4o8/debian_10_slock_keybind_wont_lock_screen/ # See: https://www.reddit.com/r/i3wm/comments/cae4o8/debian_10_slock_keybind_wont_lock_screen/
bindsym --release $m+$s+$c+$a+f exec --no-startup-id fcitx5-restart
## Notification: dunst ## Notification: dunst
bindsym $m+$c+w exec dunstctl close-all bindsym $m+$c+w exec dunstctl close-all
@ -294,7 +298,7 @@ bindsym $m+$c+r exec /usr/lib/mozc/mozc_tool --mode=word_register_dialog
# 1440 : 810 # 1440 : 810
for_window [class="my-gtk-app"] floating enable, move position center for_window [class="my-gtk-app"] floating enable, move position center
for_window [class="Imager" instance="rpi-imager"] float enable, move position center
for_window [class="discord|Signal|thunderbird"] title_window_icon padding 4px for_window [class="discord|Signal|thunderbird"] title_window_icon padding 4px
for_window [class="Brave-browser|LibreWolf|firefoxdeveloperedition"] title_window_icon padding 4px for_window [class="Brave-browser|LibreWolf|firefoxdeveloperedition"] title_window_icon padding 4px
for_window [class="^.*"] title_format "%class | %title" # : %title" for_window [class="^.*"] title_format "%class | %title" # : %title"
@ -304,7 +308,7 @@ for_window [class=".*mpv"] floating enable, resize set 1440 810
for_window [class="(p|P)cmanfm"] floating enable, resize set 800 560, move position center for_window [class="(p|P)cmanfm"] floating enable, resize set 800 560, move position center
for_window [class="feh"] floating enable #, resize set 800 600 for_window [class="feh"] floating enable #, resize set 800 600
for_window [class="Sxiv"] floating enable #, resize set 800 600 for_window [class="Sxiv"] floating enable #, resize set 800 600
for_window [class="Pavucontrol"] floating enable, resize set 720 560 for_window [class="pavucontrol"] floating enable, resize set 720 560
for_window [class="QjackCtl"] floating enable, resize set 420 100, move position right for_window [class="QjackCtl"] floating enable, resize set 420 100, move position right
for_window [class="QjackCtl" title="Graph.*"] floating enable, resize set 1280 1280, move position center for_window [class="QjackCtl" title="Graph.*"] floating enable, resize set 1280 1280, move position center
for_window [class="qpwgraph"] floating enable, resize set 1440 960, move position center for_window [class="qpwgraph"] floating enable, resize set 1440 960, move position center
@ -333,7 +337,18 @@ for_window [title="Edit metadata.*" class="calibre.*"] floating enable, resize s
for_window [title="Alacritty@tmux:tmp"] floating enable, resize set 800 800, move position center for_window [title="Alacritty@tmux:tmp"] floating enable, resize set 800 800, move position center
for_window [title="Alacritty@tmux:emacs"] move position left, resize set width 20 ppt for_window [title="Alacritty@tmux:emacs"] move position left, resize set width 20 ppt
for_window [class="org.remmina.Remmina"] floating enable, resize set 1000 750, move position center for_window [class="org.remmina.Remmina"] floating enable, resize set 1200 900, move position center
# floating music applications
for_window [class="Hydrogen"] floating enable, resize set 1200 750, move position 1940 px 30 px
for_window [class="Hydrogen" title="Mixer"] floating enable, resize set 1200 750, move position 1940 px 790 px
for_window [class="Surge XT"] floating enable, resize set 1200 750, move position 3260 px 100 px
for_window [class="Qsynth"] floating enable, move position 2480 px 1200 px
for_window [class="Drumstick Metronome"] floating enable, resize set 100 100, move position 4000 px 1010 px
for_window [class="FLTK"] floating enable, resize set 1200 560, move position 3160 px 840 px # giada
for_window [class="FLTK" title="Warning"] floating enable, move position center
for_window [class="FLTK" title="Configuration"] floating enable, move position center
## assign application to specific workspace ## assign application to specific workspace
### Tips: Run `xprop` (command line tool) to retrieve class, instance and title. ### Tips: Run `xprop` (command line tool) to retrieve class, instance and title.
@ -352,10 +367,19 @@ assign [class="Virt-manager"] $ws4
assign [class="Homebank"] $ws5 assign [class="Homebank"] $ws5
# Photo Editing
assign [class="Rawtherapee"] $ws7
# Music Applications # Music Applications
assign [class="Hydrogen"] $ws_music # Drum machine
assign [class="Surge XT"] $ws_music # Synthesizer
assign [class="FLTK"] $ws_music # Giada (loop machine)
# Photo/Music/Video Editing
assign [class="Rawtherapee"] $ws_studio # RAW image editor
assign [class="Ardour"] $ws_studio # DAW
assign [class="Carla"] $ws_studio # JACK patch bay
assign [class="Guitarix"] $ws_studio # Guitar/Bass amp stack
assign [class="kdenlive"] $ws_studio # video editor
# Media Applications
assign [class="(g|G)podder"] $ws_media assign [class="(g|G)podder"] $ws_media
assign [class=".*Celluloid"] $ws_media assign [class=".*Celluloid"] $ws_media
assign [class="Blanket"] $ws_media assign [class="Blanket"] $ws_media
@ -365,6 +389,7 @@ assign [class="vlc"] $ws_media
assign [title="FreeTube Mini-Player:.*"] $ws_media assign [title="FreeTube Mini-Player:.*"] $ws_media
assign [title="FreeTube"] $ws_media assign [title="FreeTube"] $ws_media
# Chat & Todo Applications # Chat & Todo Applications
assign [class="discord"] $ws_util assign [class="discord"] $ws_util
assign [class="(s|S)lack"] $ws_util assign [class="(s|S)lack"] $ws_util
@ -386,7 +411,7 @@ assign [class="steam_app_1172470" instance="steam_app_1172470" title="Apex Legen
# Power saving (xidlehook) # Power saving (xidlehook)
exec --no-startup-id powersave-on exec --no-startup-id powersave-on
# xss-lock (hook systend-suspend) # xss-lock (hook systemd-suspend)
exec --no-startup-id xss-lock -- slock exec --no-startup-id xss-lock -- slock
# Auto-hide mouse cursor # Auto-hide mouse cursor