Better keyboard shortcuts
parent
eb3128c3c8
commit
a164ba5237
|
@ -74,9 +74,10 @@ input * {
|
|||
scroll_factor 3
|
||||
}
|
||||
# Switch keyboard layouts
|
||||
bindsym $mod+F1 input * xkb_switch_layout 0
|
||||
bindsym $mod+F2 input * xkb_switch_layout 1
|
||||
bindsym $mod+F3 input * xkb_switch_layout 2
|
||||
bindsym $mod+F9 input * xkb_switch_layout 0
|
||||
bindsym $mod+F10 input * xkb_switch_layout 1
|
||||
bindsym $mod+F11 input * xkb_switch_layout 2
|
||||
bindsym $mod+F12 input * xkb_switch_layout 2
|
||||
|
||||
input type:touchpad {
|
||||
natural_scroll enabled
|
||||
|
|
|
@ -9,8 +9,8 @@ set $output_laptop "Apple Computer Inc Color LCD 0x00000000"
|
|||
output $output_primary position 1600 0 transform 270
|
||||
output $output_secondary position 0 800 transform 0
|
||||
#output $output_laptop position 3760 1800 transform 0 scale 1.5
|
||||
bindsym $mod+Shift+F9 output $output_primary transform 0
|
||||
bindsym $mod+F9 output $output_primary transform 270
|
||||
bindsym $mod+Shift+F4 output $output_primary transform 180
|
||||
bindsym $mod+F4 output $output_primary transform 270
|
||||
|
||||
#
|
||||
# Workspaces
|
||||
|
@ -25,14 +25,14 @@ set $monitor_global --noverify --sleep-multiplier 0.1
|
|||
set $monitor_primary --bus 8
|
||||
# Display brightness controls:
|
||||
set $monitor_brightness_step 0x0a
|
||||
bindsym --locked $mod+F11 exec ddcutil $monitor_global $monitor_primary setvcp 0x10 - $monitor_brightness_step
|
||||
bindsym --locked $mod+F12 exec ddcutil $monitor_global $monitor_primary setvcp 0x10 + $monitor_brightness_step
|
||||
bindsym --locked $mod+F2 exec ddcutil $monitor_global $monitor_primary setvcp 0x10 - $monitor_brightness_step
|
||||
bindsym --locked $mod+F3 exec ddcutil $monitor_global $monitor_primary setvcp 0x10 + $monitor_brightness_step
|
||||
|
||||
#
|
||||
# Display output toggle:
|
||||
#
|
||||
bindsym --locked $mod+Shift+F10 output $output_primary disable
|
||||
bindsym --locked $mod+F10 output $output_primary enable
|
||||
bindsym --locked $mod+Shift+F1 output $output_primary disable
|
||||
bindsym --locked $mod+F1 output $output_primary enable
|
||||
# This is so crazy performant that I did not notice it worked. Was expecting my main display to go blank for a while but it didn't even flash
|
||||
bindswitch --reload --locked lid:on output $output_laptop disable
|
||||
bindswitch --reload --locked lid:off output $output_laptop enable
|
||||
|
|
|
@ -43,8 +43,8 @@ bindsym Pause mode "monitor"
|
|||
# Display brightness controls:
|
||||
set $monitor_brightness_step 0x0a
|
||||
set $monitor_mini_brightness_step 0x03
|
||||
bindsym --locked $mod+F11 exec (ddcutil $monitor_global $monitor_left setvcp 0x10 - $monitor_brightness_step) & (ddcutil $monitor_global $monitor_right setvcp 0x10 - $monitor_brightness_step) & (ddcutil $monitor_global $monitor_mini setvcp 0x10 - $monitor_mini_brightness_step)
|
||||
bindsym --locked $mod+F12 exec (ddcutil $monitor_global $monitor_left setvcp 0x10 + $monitor_brightness_step) & (ddcutil $monitor_global $monitor_right setvcp 0x10 + $monitor_brightness_step) & (ddcutil $monitor_global $monitor_mini setvcp 0x10 + $monitor_mini_brightness_step)
|
||||
bindsym --locked $mod+F2 exec (ddcutil $monitor_global $monitor_left setvcp 0x10 - $monitor_brightness_step) & (ddcutil $monitor_global $monitor_right setvcp 0x10 - $monitor_brightness_step) & (ddcutil $monitor_global $monitor_mini setvcp 0x10 - $monitor_mini_brightness_step)
|
||||
bindsym --locked $mod+F3 exec (ddcutil $monitor_global $monitor_left setvcp 0x10 + $monitor_brightness_step) & (ddcutil $monitor_global $monitor_right setvcp 0x10 + $monitor_brightness_step) & (ddcutil $monitor_global $monitor_mini setvcp 0x10 + $monitor_mini_brightness_step)
|
||||
|
||||
#
|
||||
# Media controls:
|
||||
|
|
|
@ -37,7 +37,7 @@ window#waybar.firefox {
|
|||
}
|
||||
|
||||
window#waybar.spotify {
|
||||
background-color: #181818;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
window#waybar.discord {
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
.ssh/known_hosts
|
||||
.var/app
|
||||
.wget-hsts
|
||||
.Xilinx
|
||||
!.xkb
|
||||
.zcompdump
|
||||
.zoom
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
.ssh/known_hosts
|
||||
.var/app
|
||||
.wget-hsts
|
||||
.Xilinx
|
||||
!.xkb
|
||||
.zcompdump
|
||||
.zoom
|
||||
|
|
Loading…
Reference in New Issue