adding a bunch of changes for awesomewm

This commit is contained in:
Chris Cochrun 2023-03-03 09:32:06 -06:00
parent f764e5d4f8
commit 3724fd7564
7 changed files with 81 additions and 17 deletions

View file

@ -156,6 +156,8 @@
(awful.key [] "XF86MonBrightnessDown" (fn [] (awful.spawn.with_shell
"brightnessctl s 5%- && lightget"))
{:description "Decrease monitor brightness by 5%" :group "utilities"})
(awful.key [modkey ctrl] "i" (fn [] (awful.spawn "alacritty --class btop -e btop"))
{:description "launch btop" :group "utilities"})
;; Menubar
;; (awful.key [ modkey ] "p" (fn [] (menubar.show))
;; {:description "show the menubar" :group "launcher"})
@ -416,7 +418,7 @@
{:description "toggle floating" :group "client"})
(awful.key [ modkey ctrl ] "Return" (fn [c] (: c :swap (awful.client.getmaster)))
{:description "move to master" :group "client"})
(awful.key [ modkey ctrl ] "c" awful.placement.centered
(awful.key [ modkey ctrl ] "c" (fn [c] (set c.placement awful.placement.centered))
{:description "move the floating window to the center of the screen" :group "layout"})
(awful.key [ modkey ] "o" (fn [c] (: c :move_to_screen))
{:description "move to screen" :group "client"})