Better support for the laptop

This commit is contained in:
Christian Colglazier 2019-09-16 20:50:09 -04:00
parent 97d703070a
commit 18c61b64fa
4 changed files with 12 additions and 5 deletions

View File

@ -10,6 +10,8 @@ workspace $ws8 output DVI-D-0
workspace $ws9 output HDMI-0 workspace $ws9 output HDMI-0
workspace $ws10 output HDMI-0 workspace $ws10 output HDMI-0
exec --no-startup-id MONITOR=DVI-D-0 polybar aqua
mode "$g13" { mode "$g13" {
bindsym 1 exec --no-startup-id cat ~/.config/g13/overwatch.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/overwatch.lpbm > /tmp/g13-0; mode "default" bindsym 1 exec --no-startup-id cat ~/.config/g13/overwatch.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/overwatch.lpbm > /tmp/g13-0; mode "default"
bindsym 2 exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0; mode "default" bindsym 2 exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0; mode "default"

10
i3/laptop.conf Normal file
View File

@ -0,0 +1,10 @@
exec --no-startup-id MONITOR=LVDS-1 polybar aqua
# Screen brightness controls
bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec amixer set Master 3%+ #increase sound volume
bindsym XF86AudioLowerVolume exec amixer set Master 3%- #decrease sound volume
bindsym XF86AudioMute exec amixer set Master toggle # mute sound

View File

@ -144,9 +144,6 @@ mode "resize" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# Start bar
exec --no-startup-id polybar aqua
# Startup scripts # Startup scripts
exec --no-startup-id sh ~/.config/scripts/connect-nas.sh exec --no-startup-id sh ~/.config/scripts/connect-nas.sh

View File

@ -6,12 +6,10 @@ pink = #E91E63
pink-light = #FFCDD2 pink-light = #FFCDD2
alert = #E91E63 alert = #E91E63
[bar/aqua] [bar/aqua]
width = 100% width = 100%
height = 22 height = 22
radius = 0.0 radius = 0.0
monitor = ${env:MONITOR:DVI-D-0}
fixed-center = true fixed-center = true