alot of random crap

This commit is contained in:
Chris Cochrun 2021-08-25 05:13:34 -05:00
parent 4f4bf30170
commit e75be2bdfa
9 changed files with 34 additions and 38 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
@ -507,14 +513,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
@ -522,7 +528,7 @@
:shape gears.shape.rounded_bar
:bg beautiful.bg_normal
:fg beautiful.fg_normal
:opacity 0.95
:opacity 0.90
:screen s }))
(: s.mywibox :struts { :bottom (dpi 40) })
@ -643,7 +649,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 [])))