A lot of laptop changes
This commit is contained in:
parent
daf130a30a
commit
99fc0cf593
10 changed files with 29 additions and 30 deletions
|
@ -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
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
{:description "launch eshell in new emacs frame" :group "apps" })
|
||||
(awful.key [ modkey ] "e" (fn [] (awful.spawn "emacsclient -c -a 'emacs'"))
|
||||
{:description "launch new emacs frame" :group "apps" })
|
||||
(awful.key [ modkey ] "p" (fn [] (awful.spawn "rofi-rbw"))
|
||||
(awful.key [ modkey ] "p" (fn [] (awful.spawn "rofi-pass"))
|
||||
{:description "select pass" :group "apps" })
|
||||
(awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
|
||||
{:description "Open Writer" :group "apps" })
|
||||
|
|
|
@ -105,16 +105,18 @@
|
|||
}
|
||||
}
|
||||
;; Tell qb to open primarily on the secondary monitor
|
||||
;; {
|
||||
;; :rule_any {
|
||||
;; :class [
|
||||
;; "qutebrowser"
|
||||
;; ]
|
||||
;; }
|
||||
;; :properties {
|
||||
;; :screen (screen.count)
|
||||
;; }
|
||||
;; }
|
||||
{
|
||||
:rule_any {
|
||||
:class [
|
||||
"qutebrowser"
|
||||
]
|
||||
}
|
||||
:properties {
|
||||
:screen (screen.count)
|
||||
:focus awful.client.focus.filter
|
||||
:raise true
|
||||
}
|
||||
}
|
||||
;; floating windows
|
||||
{
|
||||
:rule_any {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue