aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-02-19 22:21:16 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-02-19 22:21:16 +0000
commita3a78af4f88ff93be5c8b3b6b7e980dc5b594ac8 (patch)
treee3c1d28ffdf4617b721704c0bd6de208093d8954 /sway
parent93711cf0ab6beaa63c778b3757c7385f818284eb (diff)
Whatever I did with sway
Diffstat (limited to 'sway')
-rw-r--r--sway/config19
1 files changed, 16 insertions, 3 deletions
diff --git a/sway/config b/sway/config
index ecf8f22..2789e75 100644
--- a/sway/config
+++ b/sway/config
@@ -21,9 +21,9 @@ set $cl_urge #ee2e24
# Display #
#############
-font pango:Iosevka Nerd Font 0
+font pango:Iosevka Nerd Font 10
-titlebar_padding 1
+titlebar_padding 4
gaps inner 15
@@ -61,7 +61,7 @@ for_window [app_id="termfloat"] floating enable
for_window [app_id="termfloat"] resize set height 500
for_window [app_id="termfloat"] resize set width 900
-default_border pixel 3
+default_border normal 3
default_floating_border normal 3
@@ -159,8 +159,21 @@ bindsym Print+Control exec /usr/share/sway/scripts/grimshot --notify save area
bindsym $mod+Shift+equal exec /usr/share/sway/scripts/grimshot --notify copy area
bindsym $mod+Control+equal exec /usr/share/sway/scripts/grimshot --notify save area
+# Audio
bindsym $mod+bracketleft exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym $mod+bracketright exec pactl set-sink-volume @DEFAULT_SINK@ +5%
+bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
+bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
+bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
+
+# Playback
+bindsym XF86AudioPrev exec playerctl previous
+bindsym XF86AudioNext exec playerctl next
+bindsym XF86AudioPlay exec playerctl play-pause
+
+# Brightness
+bindsym XF86MonBrightnessDown exec brightnessctl set 5-
+bindsym XF86MonBrightnessUp exec brightnessctl set +5
mode "resize" {
bindsym $left resize shrink width 10px