From 30c8790abd6e2c250053754985f9a0d668223bea Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Thu, 4 Jun 2020 22:45:56 -0400
Subject: exponential brightness
---
home/.config/i3/config | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
(limited to 'home/.config/i3/config')
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
--
cgit