A lot of awesome changes and trying to use kmonad

This commit is contained in:
Chris Cochrun 2021-08-14 09:43:52 -05:00
parent 7fdc04e4d4
commit f51ff07986
18 changed files with 246 additions and 80 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 [
@ -238,8 +238,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"
@ -250,6 +251,7 @@
:left (dpi 10)
:right (dpi 10)
:widget wibox.container.margin
:layout wibox.layout.align.horizontal
}
:id "background_role"
:widget wibox.container.background
@ -478,9 +480,9 @@
:stretch false
:type "dock"
:shape gears.shape.rounded_bar
:bg beautiful.transparent
:bg beautiful.bg_normal
:fg beautiful.fg_normal
:opacity 0.65
:opacity 0.95
:screen s }))
(: s.mywibox :struts { :bottom (dpi 45) })
@ -594,6 +596,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)))
@ -604,7 +612,7 @@
(awful.spawn "picom --experimental-backend")
(awful.spawn "/usr/lib/polkit-kde-authentication-agent-1")
(awful.spawn "feh --bg-fill /home/chris/Pictures/wallpapers/RoyalKing.png")
(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")