diff --git a/dot_dotfiles/i3/config b/dot_dotfiles/i3/config index 0ef4ba2..40a4abb 100644 --- a/dot_dotfiles/i3/config +++ b/dot_dotfiles/i3/config @@ -109,8 +109,8 @@ mode "$mode_system" { bindsym $mod+Pause mode "$mode_system" bindsym $mod+F12 mode "$mode_system" -# do a nice menu for redshift values -set $mode_redshift Redshift <2,3,4,5,6,7,8>k +# do a nice menu for monitor values +set $mode_redshift Monitor 2,3,4,5,6,7,8洞 j/k mode "$mode_redshift" { bindsym 2 exec --no-startup-id redshift -P -O 2000 bindsym 3 exec --no-startup-id redshift -P -O 3000 @@ -120,6 +120,9 @@ mode "$mode_redshift" { bindsym 7 exec --no-startup-id redshift -P -O 7000 bindsym 8 exec --no-startup-id redshift -P -O 8000 + bindsym k exec --no-startup-id "brightnessctl -c backlight s +10%" + bindsym j exec --no-startup-id "brightnessctl -c backlight s 10%-" + # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" @@ -180,7 +183,7 @@ mode "$mode_launch" { # bindsym b exec sudo hda-verb /dev/snd/hwC*D0 0x1d SET_PIN_WIDGET_CONTROL 0x0, mode "default" # This bypasses weird xrandr bug, resets to single display, then goes back to triple monitor setup (use autorandr profile here, needs to be set up in advance) #bindsym c exec xrandr --output eDP1 --mode 2560x1440, exec autorandr triple, mode "default" - bindsym c exec autorandr dual2k, mode "default" + #bindsym c exec autorandr dual2k, mode "default" # execute default horizontal layout of monitors bindsym d exec autorandr horizontal, mode "default"