Adding a lot of better awesome stuff and rofi-pass
This commit is contained in:
parent
4aa3a43819
commit
29a3a101c4
8 changed files with 126 additions and 15 deletions
|
@ -21,7 +21,7 @@
|
|||
;; my splits
|
||||
(local clientrules (require "rules"))
|
||||
(local keybindings (require "keybindings"))
|
||||
;; (local notifications (require "notifications"))
|
||||
(local notifications (require "notifications"))
|
||||
|
||||
;; Error handling
|
||||
;; Check if awesome encountered an error during startup and fall back to
|
||||
|
@ -72,13 +72,6 @@
|
|||
(local hostname (hostname-handle:read "a"))
|
||||
(hostname-handle:close)
|
||||
(local laptop (= hostname "chris-linuxlaptop\n"))
|
||||
;; (local laptop false)
|
||||
;; (fn set-laptop [str]
|
||||
;; (set laptop str))
|
||||
;; (fn get-hostname [?callback]
|
||||
;; (awful.spawn.easy_async "hostname" (fn [ stdout ] stdout)))
|
||||
(naughty.notify {:text (tostring laptop)})
|
||||
;; (if laptop (naughty.notify {:text "laptop detected"}) (naughty.notify {:text "laptop not detected"}))
|
||||
|
||||
;; Table of layouts to cover with awful.layout.inc, order matters.
|
||||
(set awful.layout.layouts [
|
||||
|
@ -453,6 +446,10 @@
|
|||
|
||||
;; Rules
|
||||
(ruled.client.append_rules clientrules)
|
||||
(ruled.notification.connect_signal
|
||||
"request::rules"
|
||||
(fn []
|
||||
(ruled.notification.append_rules notifications)))
|
||||
|
||||
;; Signals
|
||||
;; Signal function to execute when a new client appears.
|
||||
|
@ -481,7 +478,6 @@
|
|||
(awful.spawn "feh --bg-fill /home/chris/Pictures/wallpapers/RoyalKing.png")
|
||||
(awful.spawn "flameshot")
|
||||
(awful.spawn "caffeine")
|
||||
;; (awful.spawn "nextcloud --background")
|
||||
(awful.spawn "libinput-gestures-setup start")
|
||||
(awful.spawn "bluetoothctl power on")
|
||||
(awful.spawn "emacs --daemon")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue