updates and a lot of em

This commit is contained in:
Chris Cochrun 2022-04-26 12:40:23 -05:00
parent 30cd55aca8
commit bd0cf6ff9b
37 changed files with 618 additions and 96 deletions

View file

@ -156,10 +156,6 @@
(awful.key [] "XF86MonBrightnessDown" (fn [] (awful.spawn.with_shell
"light -U 5 && lightget"))
{:description "Decrease monitor brightness by 5%" :group "utilities"})
(awful.key [ modkey ctrl ] "o" (fn [] (awful.spawn
"lightget"))
{:description "get brightness" :group "utilities"})
;; Menubar
;; (awful.key [ modkey ] "p" (fn [] (menubar.show))
;; {:description "show the menubar" :group "launcher"})
@ -210,11 +206,9 @@
;; audio
(awful.key [modkey] "a" (fn [] (awful.spawn "alacritty --class pulsemixer -e pulsemixer"))
{:description "launch pulsemixer" :group "audio"})
(awful.key [] "XF86AudioRaiseVolume" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
(awful.key [] "XF86AudioRaiseVolume" (fn [] (awful.spawn "volup"))
{:description "Increase volume by 5%" :group "audio"})
(awful.key [] "XF86AudioLowerVolume" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
(awful.key [] "XF86AudioLowerVolume" (fn [] (awful.spawn "voldown"))
{:description "Decrease volume by 5%" :group "audio"})
(awful.key [] "XF86AudioMute" (fn [] (awful.spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
@ -250,6 +244,17 @@
(awful.key [modkey shift] "9" (fn [] (awful.spawn "mpvc -t -20"))
{:description "MPV seek backward 20 sec" :group "audio"})
;; Extras
(awful.key [ modkey alt ] "b" (fn [] (togglebar))
{:description "show/hide bar" :group "utilities"})
(awful.key [ modkey ctrl ] "o" (fn [] (awful.spawn "lightget"))
{:description "get brightness" :group "utilities"})
(awful.key [ modkey ctrl ] "b" (fn [] (awful.spawn "batget"))
{:description "get battery" :group "utilities"})
(awful.key [ modkey ctrl ] "t" (fn [] (awful.spawn "timeget"))
{:description "get time" :group "utilities"})
;; Because I don't know much fennel yet I'm doing each one individually
;; View tags only.
(awful.key [ modkey ] "1"