Merge branch 'master' of gitlab.com:chriscochrun/dotfiles

This commit is contained in:
Chris Cochrun 2021-08-25 05:14:49 -05:00
commit 7a6190e415
10 changed files with 43 additions and 23 deletions

View file

@ -79,7 +79,7 @@
(if (= "syl\n" stdout)
(global laptop true)
(global laptop false))))
(local laptop true)
(local laptop false)
;; Table of layouts to cover with awful.layout.inc, order matters.
(set awful.layout.layouts [
@ -239,7 +239,10 @@
:id "icon_role"
:widget wibox.widget.imagebox
}
:margins 6
:left (dpi 10)
:right (dpi 10)
:top (dpi 10)
:bottom (dpi 10)
:widget wibox.container.margin
:layout wibox.layout.align.horizontal
}
@ -259,6 +262,9 @@
}
:widget wibox.container.margin
:left (dpi 10)
:right (dpi 1)
:top (dpi 5)
:bottom (dpi 5)
}
}))
@ -481,8 +487,8 @@
(set s.mysystray { 1 { 1 { 1 (wibox.widget.systray)
:widget wibox.container.margin
:right (dpi 2)
:top (dpi 2)
:bottom (dpi 2)
:top (dpi 5)
:bottom (dpi 5)
:left (dpi 2)}
:widget wibox.container.background
:shape gears.shape.rounded_bar
@ -508,14 +514,14 @@
})
(local yoffset (dpi 45)) ;; variables to be used for placing the wibox
(local xoffset (dpi 18))
(local xoffset (dpi 28))
;; Create the wibox
(set s.mywibox (wibox {;; since we are using a wibox we have a lot we need to set
;; as opposed to what we normally need to do with a wibar
:position "bottom"
:x (+ s.geometry.x xoffset)
:y (- s.geometry.height yoffset)
:height (dpi 30)
:height (dpi 33)
:width (- s.geometry.width (* xoffset 2))
:ontop false
:stretch false
@ -644,7 +650,7 @@
;; Prevent clients from being unreachable after screen count changes.
(awful.placement.no_offscreen c))
;; MPV wasn't centering right
;; (when (= c.class "mpv") (awful.placement.centered c))
(when (= c.class "mpv") (awful.placement.centered c))
(awful.client.focus.byidx 1)
(: c :activate [])))