A lot of laptop changes

This commit is contained in:
Chris Cochrun 2021-05-12 09:25:43 -05:00
parent daf130a30a
commit 99fc0cf593
10 changed files with 29 additions and 30 deletions

View file

@ -72,7 +72,7 @@
(if (= "syl\n" stdout)
(global laptop true)
(global laptop false))))
(local laptop false)
(local laptop true)
;; Table of layouts to cover with awful.layout.inc, order matters.
(set awful.layout.layouts [
@ -328,8 +328,8 @@
3 s.tempspace
:layout wibox.layout.fixed.horizontal}))
(set s.volumetext (awful.widget.watch "pamixer --get-volume-human" 1))
(set s.mictext (awful.widget.watch "pamixer --source 48 --get-volume-human" 1))
(set s.volumetext (awful.widget.watch "pamixer --get-volume-human" 0.5))
(set s.mictext (awful.widget.watch "pamixer --default-source --get-volume-human" 1))
(set s.volumeicon (wibox.widget.textbox " "))
(set s.micicon (wibox.widget.textbox " "))
(set s.volumespace (wibox.widget.textbox " "))
@ -355,7 +355,7 @@
(set s.batterytext (awful.widget.watch "cat /sys/class/power_supply/BAT1/capacity" 30))
(set s.batterytext2 (awful.widget.watch "cat /sys/class/power_supply/BAT2/capacity" 30))
(set s.batteryicon (wibox.widget.textbox " "))
(set s.batteryspace (wibox.widget.textbox " "))
(set s.batteryspace (wibox.widget.textbox " "))
(set s.batterywidget { 1 { 1 { 1 (wibox.widget {
1 s.batteryicon