1
0
Fork 0

tweak sway config

This commit is contained in:
tastytea 2024-03-10 12:31:57 +01:00
parent f4dfa8026e
commit fb8751b23f
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 6 additions and 3 deletions

View File

@ -87,7 +87,10 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway?' -b 'Yes, exit sway' 'swaymsg exit'"
bindsym $mod+Shift+e exec swaynag \
-t warning \
-m 'ded fr?' \
-b 'yeah, bye bye' 'swaymsg exit'
# resize window (you can also use the mouse for that)
mode "resize" {
@ -129,8 +132,8 @@ bindsym mod1+Tab exec --no-startup-id rofi -show window
bindsym $mod+period exec dunstctl history-pop
bindsym $mod+c exec --no-startup-id rofi -show ssh
bindsym --release XF86MonBrightnessDown exec --no-startup-id light -s sysfs/backlight/intel_backlight -U 5
bindsym --release XF86MonBrightnessUp exec --no-startup-id light -s sysfs/backlight/intel_backlight -A 5
bindsym --release XF86MonBrightnessDown exec --no-startup-id light -U 5
bindsym --release XF86MonBrightnessUp exec --no-startup-id light -A 5
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym --release XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle