Adding autostart and keyboard, updating floating and keybinds

This commit is contained in:
Siina Mashek 2023-12-16 09:40:54 +02:00
parent aea96ad9c2
commit 7408a5f07a
4 changed files with 22 additions and 3 deletions

View File

@ -23,8 +23,8 @@ set $menu bemenu-run -p "" | xargs swaymsg exec --
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output DP-3 resolution 1920x1080 pos 0 540 adaptive_sync on
output HDMI-A-1 resolution 1920x1080 pos 1920 0 transform 90 adaptive_sync on
output DP-3 resolution 1920x1080@143.855hz pos 0 540
output HDMI-A-1 resolution 1920x1080@72.038hz pos 1920 0 transform 90
### Key bindings
#
# Basics:
@ -55,6 +55,13 @@ output HDMI-A-1 resolution 1920x1080 pos 1920 0 transform 90 adaptive_sync on
#
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
#
# Media keys:
#
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
#
# Screen capture:
#
@ -142,7 +149,7 @@ bindsym $mod+shift+s exec grimshot copy area
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
#bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent

View File

@ -0,0 +1,4 @@
exec keepassxc
exec nextcloud
exec telegram-desktop && swaymsg 'assign [class=Telegram] workspace 2

View File

@ -8,3 +8,4 @@ for_window [app_id = "floating"] floating enable
for_window [app_id = "floating_update"] floating enable, resize set width 1000px height 600px
for_window [class = "(?i)pinentry"] floating enable
for_window [title = "Administrator privileges required"] floating enable
for_window [title = "Unlock Database"] floating enable

View File

@ -0,0 +1,7 @@
input * {
xkb_layout "us,fi"
# xkb_options "grp:ctrl_shift_toggle"
xkb_switch_layout "next"
}
bindsym $mod+space input type:keyboard xkb_switch_layout next