aboutsummaryrefslogtreecommitdiff
path: root/home/.config/i3
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-06-04 22:45:56 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-06-04 22:45:56 -0400
commit30c8790abd6e2c250053754985f9a0d668223bea (patch)
treeb283b6575839a98d52c1b1e5e31c00b29af8c3f3 /home/.config/i3
parent325bede67cba221dc07034619a6438f6f93ec555 (diff)
exponential brightness
Diffstat (limited to 'home/.config/i3')
-rw-r--r--home/.config/i3/config9
1 files changed, 5 insertions, 4 deletions
diff --git a/home/.config/i3/config b/home/.config/i3/config
index a94d916..c354201 100644
--- a/home/.config/i3/config
+++ b/home/.config/i3/config
@@ -19,7 +19,8 @@ bindsym $mod+b exec firefox
set $scr XF86Display
bindsym $scr exec xrandr --output HDMI-2 --mode 1920x1080 && pactl\
set-card-profile 0 output:"hdmi-stereo-extra1"+input:analog-stereo
-bindsym Shift+$scr exec xrandr --output HDMI-2 --off
+bindsym Shift+$scr exec xrandr --output HDMI-2 --off &&\
+pactl set-card-profile 0 output:analog-stereo+input:analog-stereo
bindsym $mod+$scr exec xrandr --output HDMI-2 --auto --right-of eDP-1 &&\
pactl set-card-profile 0 output:"hdmi-stereo-extra1"+input:analog-stereo
@@ -46,8 +47,8 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
-bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
-bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
+bindsym XF86MonBrightnessUp exec --no-startup-id light -S $(echo 1.122\*$(light) | bc)
+bindsym XF86MonBrightnessDown exec --no-startup-id light -S $(echo 0.891\*$(light) | bc)
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@@ -174,7 +175,7 @@ bar {
status_command i3status
}
-hide_edge_borders true
+hide_edge_borders none
for_window [class=".*"] border pixel 0
gaps inner 20
gaps outer -20