From 63879fc37e2b7e7f4d6069dfc287a85ee758b1f8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 30 Aug 2024 17:54:01 -0400 Subject: Various updates from anahita --- .config/sway/anahita | 27 +++++++++++++++++++++++++++ .config/sway/config | 21 +++++++++++++++------ 2 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 .config/sway/anahita (limited to '.config/sway') diff --git a/.config/sway/anahita b/.config/sway/anahita new file mode 100644 index 0000000..7782d93 --- /dev/null +++ b/.config/sway/anahita @@ -0,0 +1,27 @@ +# -*-conf-*- + +output * bg ~/usr/pic/wallpaper fill +# output eDP-1 scale 1 + +input * { + xkb_options ctrl:swap_rwin_rctl,grp:shifts_toggle +} + +input "0:0:Atmel_maXTouch_Touchpad" { + dwt enabled + natural_scroll enabled + middle_emulation enabled + click_method clickfinger +} + +input "0:0:Atmel_maXTouch_Touchscreen" events disabled + +bindsym F7 exec light -A 5 +bindsym F6 exec light -U 5 + +bindsym F10 exec $sinkup +bindsym F9 exec $sinkdown +bindsym F8 exec $sinkmute +bindsym $mod+F10 exec $sourceup +bindsym $mod+F9 exec $sourcedown +bindsym $mod+F8 exec $sourcemute diff --git a/.config/sway/config b/.config/sway/config index 640ed06..ba1cc60 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -61,12 +61,21 @@ bindsym $mod+apostrophe exec dmenu-light bindsym XF86MonBrightnessUp exec light -A 5 bindsym XF86MonBrightnessDown exec light -U 5 -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% -bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle -bindsym $mod+XF86AudioRaiseVolume exec pactl set-source-volume @DEFAULT_SOURCE@ +5% -bindsym $mod+XF86AudioLowerVolume exec pactl set-source-volume @DEFAULT_SOURCE@ -5% -bindsym $mod+XF86AudioMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle +bindsym $mod+semicolon exec dmenu-pavols + +set $sinkup pactl set-sink-volume @DEFAULT_SINK@ +5% +set $sinkdown pactl set-sink-volume @DEFAULT_SINK@ -5% +set $sinkmute pactl set-sink-mute @DEFAULT_SINK@ toggle +set $sourceup pactl set-source-volume @DEFAULT_SOURCE@ +5% +set $sourcedown pactl set-source-volume @DEFAULT_SOURCE@ -5% +set $sourcemute pactl set-source-mute @DEFAULT_SOURCE@ toggle + +bindsym XF86AudioRaiseVolume exec $sinkup +bindsym XF86AudioLowerVolume exec $sinkdown +bindsym XF86AudioMute exec $sinkmute +bindsym $mod+XF86AudioRaiseVolume exec $sourceup +bindsym $mod+XF86AudioLowerVolume exec $sourcedown +bindsym $mod+XF86AudioMute exec $sourcemute bindsym $mod+$left focus left bindsym $mod+$down focus down -- cgit v1.2.3-60-g2f50