summaryrefslogtreecommitdiff
path: root/home/.config/sway/additional.d/desktop
blob: bd116eedb236705f78adfdd79a22ed60d597094e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Backlight brightness
bindsym --locked --to-code $mod+BracketLeft exec ddcutil -d 1 setvcp 10 + 5
bindsym --locked --to-code $mod+Apostrophe exec ddcutil -d 1 setvcp 10 - 5
bindsym --locked --to-code $mod+Shift+BracketLeft exec ddcutil -d 1 setvcp 10 100
bindsym --locked --to-code $mod+Shift+Apostrophe exec ddcutil -d 1 setvcp 10 50

input type:pointer {
    accel_profile "flat"
    pointer_accel 0.15
}

# Screens
bindsym --to-code $mod+Insert exec 'swaymsg output HDMI-A-1 enable; swaymsg output HDMI-A-1 mode 3840x2160@120Hz'
bindsym --to-code $mod+Delete output HDMI-A-1 disable
bindsym --to-code $mod+Home output DP-2 enable
bindsym --to-code $mod+End output DP-2 disable

output HDMI-A-1 disable

exec blueman-manager