From e65038e6739cdc3919227030187efe530ba3ccaf Mon Sep 17 00:00:00 2001 From: wholteza Date: Sat, 10 May 2025 17:14:13 +0200 Subject: [PATCH] sway --- .config/sway/config | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index beef409..1f4c90c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -32,7 +32,8 @@ set $urgent-bg-color #E53935 exec_always export hostname="$(cat /etc/hostname)" && ~/.config/screenlayout/apply-screen-layout.sh exec_always export hostname="$(cat /etc/hostname)" && ~/.config/keyboard/apply-keyboard-layout.sh -exec --no-startup-id blueman-applet + + set $mod Mod4 @@ -102,6 +103,10 @@ bindsym $mod+Shift+k move down bindsym $mod+Shift+l move up bindsym $mod+Shift+odiaeresis move right +# move focused workspace between monitors +bindsym $mod+Ctrl+greater move workspace to output right +bindsym $mod+Ctrl+less move workspace to output left + # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down @@ -230,8 +235,6 @@ bar { } } -#Wallpaper -exec_always feh --bg-fill /$wallpaper_path #KEYBINDS bindsym $mod+Shift+z exec /home/wholteza/.config/i3/lock -b=0x8 -n @@ -254,18 +257,6 @@ for_window [class="Arandr"] floating enable for_window [class="OVPN"] floating enable for_window [class="Bitwarden"] floating enable -# for_window [class="^.*"] border pixel 1 -# for_window [class="URxvt"] border normal -# for_window [class="Leafpad"] border normal -# for_window [class="Lxappearance"] border normal -# for_window [class="Vlc"] border pixel 0 -# for_window [class="mpv"] border pixel 0 -# for_window [class="Pcmanfm"] border pixel 0 -# for_window [class="Firefox"] border none -# for_window [class="Geary"] border pixel 0 -# for_window [class="Lmms"] border pixel 0 -# for_window [class="Feh"] border pixel 0 - # Assigning application to workspaces ## 1: is reserved for whatever ## 2: Social @@ -283,15 +274,13 @@ assign [class="Moonlight"] $ws5 assign [class="steam"] $ws5 assign [class="dota2"] $ws5 -# move focused workspace between monitors -bindsym $mod+Ctrl+greater move workspace to output right -bindsym $mod+Ctrl+less move workspace to output left -## sway specific +## Set keyboard layout input * { xkb_layout "se" } +## Remove pointer acceleration input "type:pointer" { accel_profile "flat" pointer_accel 0 @@ -308,3 +297,6 @@ input "type:pointer" { output HDMI-A-3 mode 3440x1440@99.99Hz pos 1440 475 bg /home/wholteza/.config/feh/wallpaper.png fit #1b1f28 output DP-2 mode 2560x1440 pos 0 0 transform 270 bg /home/wholteza/.config/feh/wallpaper.png fit #1b1f28 +# Autostart applications +exec --no-startup-id blueman-applet +exec --no-startup-id bitwarden-desktop