Update Sway configuration

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2023-02-07 21:29:22 +01:00
parent ad11f012cf
commit 3041d54246
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

View file

@ -16,6 +16,7 @@ set $ALT Mod1
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg /home/severin/dotfiles/assets/wallpaper.odin.png fill output * bg /home/severin/dotfiles/assets/wallpaper.odin.png fill
output * adaptive_sync on
gaps inner 6 gaps inner 6
gaps top -6 gaps top -6
@ -29,6 +30,11 @@ input "1452:591:AONE_Varmilo_Keyboard" {
xkb_layout "ch" xkb_layout "ch"
} }
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_model "pc105"
xkb_layout "ch"
}
# Start a terminal # Start a terminal
bindsym $SUPER+Return exec kitty bindsym $SUPER+Return exec kitty
@ -139,6 +145,7 @@ assign [class="Chromium"] 1
assign [app_id="firefox"] 1 assign [app_id="firefox"] 1
assign [class="firefox"] 1 assign [class="firefox"] 1
assign [app_id="lapce"] 3
assign [app_id="code-oss"] 3 assign [app_id="code-oss"] 3
assign [class="code-oss"] 3 assign [class="code-oss"] 3
assign [class="jetbrains-phpstorm"] 3 assign [class="jetbrains-phpstorm"] 3
@ -164,6 +171,8 @@ assign [class="vlc"] 9
assign [app_id="mpv"] 9 assign [app_id="mpv"] 9
assign [class="mpv"] 9 assign [class="mpv"] 9
assign [app_id="Tauon Music Box"] 10
# Floating Windows # Floating Windows
for_window [class="jetbrains-(.*)" title="win0"] floating enable for_window [class="jetbrains-(.*)" title="win0"] floating enable
for_window [class="jetbrains-(.*)" title="splash"] floating enable for_window [class="jetbrains-(.*)" title="splash"] floating enable
@ -188,6 +197,8 @@ exec dunst
exec kitty exec kitty
exec nextcloud --background exec nextcloud --background
exec tauon
exec firefox exec firefox
exec discord exec discord
exec joplin-desktop exec joplin-desktop