Also a lot of stuff

This commit is contained in:
Chris Cochrun 2022-03-24 13:55:34 -05:00
parent a8ee3f5c13
commit 90422305a5
13 changed files with 100 additions and 44 deletions

@ -1 +1 @@
Subproject commit 0fb85341916b6de1c5cd6ddf3e8472292a93a303
Subproject commit 048cf41e0aa5a391948d62e6168d6e54279cf627

View file

@ -561,7 +561,7 @@
:y (- s.geometry.height yoffset)
:height (dpi 33)
:width (- s.geometry.width (* xoffset 2))
:ontop true
:ontop false
:stretch false
:type "dock"
:shape gears.shape.rounded_bar
@ -744,7 +744,7 @@
(awful.spawn.once "killall jellyfin-mpv-shim && jellyfin-mpv-shim")
(awful.spawn.once "xset r rate 220 90")
(awful.spawn.once "/usr/lib/kdeconnectd")
(awful.spawn.once "autorandr -c")
(awful.spawn.once "nm-applet")
;;(awful.spawn.once "autorandr -c")
(if laptop (awful.spawn.once "nm-applet"))
(awful.spawn.once "xcape -e 'Super_L=Super_L|Control_L|Escape'")
(awful.spawn.once "xcape -e 'Alt_L=Super_L|W'")

View file

@ -120,6 +120,8 @@
{:description "run prompt" :group "launcher"})
(awful.key [ modkey ] "r" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/run.sh"))
{:description "run prompt" :group "launcher"})
(awful.key [ modkey ] "v" (fn [] (awful.spawn "rofi-clip"))
{:description "clipboard" :group "launcher"})
(awful.key [ modkey shift ctrl ] "x" (fn []
(let [fscr (awful.screen.focused)]
@ -203,6 +205,15 @@
(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"))
{:description "Mute volume" :group "audio"})
(awful.key [] "F3" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
{:description "Increase volume by 5%" :group "audio"})
(awful.key [] "F2" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
{:description "Decrease volume by 5%" :group "audio"})
(awful.key [] "F1" (fn [] (awful.spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
{:description "Mute volume" :group "audio"})
(awful.key [] "XF86Launch8" (fn [] (awful.spawn "pactl set-source-mute @DEFAULT_SOURCE@ toggle")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
{:description "Mute microphone" :group "audio"})

View file

@ -37,10 +37,10 @@
:properties {
:floating true
:raise true
:height (dpi 800)
:screen (screen.count)
:height (dpi 1000)
:screen 2
:sticky true
:placement (+ awful.placement.no_offscreen awful.placement.centered)
:placement awful.placement.centered
}
}
;; Davinci Resolve is fullscreen
@ -63,6 +63,7 @@
:rule_any {
:name [
"Secondary Screen"
"Church Presenter"
]
}
:properties {
@ -168,7 +169,7 @@
]
}
:properties {
:screen (screen.count)
:screen 2
:focus awful.client.focus.filter
:raise true
}
@ -204,7 +205,7 @@
:properties {
:floating true
:raise true
:placement awful.placement.centered
:placement (+ awful.placement.centered awful.placement.no_offscreen)
}
}
{