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

This commit is contained in:
Chris Cochrun 2021-08-14 10:20:21 -05:00
commit 21ea41028d
14 changed files with 228 additions and 70 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,8 +239,9 @@
:id "icon_role"
:widget wibox.widget.imagebox
}
:margins 2
:margins 6
:widget wibox.container.margin
:layout wibox.layout.align.horizontal
}
2 {
:id "text_role"
@ -251,6 +252,7 @@
:left (dpi 10)
:right (dpi 10)
:widget wibox.container.margin
:layout wibox.layout.align.horizontal
}
:id "background_role"
:widget wibox.container.background
@ -481,7 +483,7 @@
:shape gears.shape.rounded_bar
:bg beautiful.bg_normal
:fg beautiful.fg_normal
:opacity 0.85
:opacity 0.95
:screen s }))
(: s.mywibox :struts { :bottom (dpi 45) })
@ -595,6 +597,12 @@
(awful.client.focus.byidx 1)
(: c :activate [])))
(client.connect_signal "manage"
(fn [c]
;; Rounded windows done right
(when (not c.fullscreen)
(set c.shape (fn [cr w h]
(gears.shape.rounded_rect cr w h (dpi 15)))))))
(client.connect_signal "focus" (fn [c] (set c.border_color beautiful.border_focus)))
(client.connect_signal "unfocus" (fn [c] (set c.border_color beautiful.border_normal)))
@ -605,7 +613,7 @@
(awful.spawn "picom --experimental-backend")
(awful.spawn "/usr/lib/polkit-kde-authentication-agent-1")
(awful.spawn "feh --bg-fill /usr/share/wallpapaers/Flow/contents/images/5120x2880.jpg")
(awful.spawn "feh --bg-fill /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg")
(awful.spawn "caffeine")
(awful.spawn "libinput-gestures-setup start")
(awful.spawn "bluetoothctl power on")