changes for awesome

This commit is contained in:
Chris Cochrun 2022-11-15 15:18:03 -06:00
parent 780dada618
commit 4499b432da
7 changed files with 15 additions and 8 deletions

View file

@ -416,6 +416,8 @@
{:description "toggle floating" :group "client"}) {:description "toggle floating" :group "client"})
(awful.key [ modkey ctrl ] "Return" (fn [c] (: c :swap (awful.client.getmaster))) (awful.key [ modkey ctrl ] "Return" (fn [c] (: c :swap (awful.client.getmaster)))
{:description "move to master" :group "client"}) {:description "move to master" :group "client"})
(awful.key [ modkey ctrl ] "c" 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)) (awful.key [ modkey ] "o" (fn [c] (: c :move_to_screen))
{:description "move to screen" :group "client"}) {:description "move to screen" :group "client"})
(awful.key [ modkey ] "t" (fn [c] (set c.ontop (not c.ontop))) (awful.key [ modkey ] "t" (fn [c] (set c.ontop (not c.ontop)))

View file

@ -41,7 +41,7 @@
:floating true :floating true
:raise true :raise true
;; :height (dpi 1200) ;; :height (dpi 1200)
:width (dpi 1650) :width (dpi 1950)
:screen 1 :screen 1
:sticky true :sticky true
:placement awful.placement.centered :placement awful.placement.centered

View file

@ -2,8 +2,8 @@
osc=no osc=no
vo=gpu vo=gpu
af=scaletempo2 af=scaletempo2
autofit=90% autofit=99%
geometry=90%:90% geometry=99%:99%
# input-ipc-server="/tmp/mpvsocket" # input-ipc-server="/tmp/mpvsocket"
hwdec=auto hwdec=auto
rtsp-transport=udp rtsp-transport=udp

View file

@ -30,7 +30,7 @@ round-borders-exclude = [
shadow = true; shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12) # The blur radius for shadows, in pixels. (defaults to 12)
shadow-radius = 30; shadow-radius = 25;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
shadow-opacity = 1.0; shadow-opacity = 1.0;

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
awesome-client "naughty.destroy_all_notifications()" awesome-client "naughty.destroy_all_notifications()"
pamixer -d 5 pamixer --allow-boost -d 5
pw-play /nix/store/grc8na7vz23zlz0q9g76y6f66qrgr2cv-sound-theme-freedesktop-0.8/share/sounds/freedesktop/stereo/audio-volume-change.oga pw-play /nix/store/grc8na7vz23zlz0q9g76y6f66qrgr2cv-sound-theme-freedesktop-0.8/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}') volume=$(pulsemixer --get-volume | awk '{print $1}')
notify-send $volume notify-send $volume

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
awesome-client "naughty.destroy_all_notifications()" awesome-client "naughty.destroy_all_notifications()"
pamixer -i 5 pamixer --allow-boost -i 5
pw-play /nix/store/grc8na7vz23zlz0q9g76y6f66qrgr2cv-sound-theme-freedesktop-0.8/share/sounds/freedesktop/stereo/audio-volume-change.oga pw-play /nix/store/grc8na7vz23zlz0q9g76y6f66qrgr2cv-sound-theme-freedesktop-0.8/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}') volume=$(pulsemixer --get-volume | awk '{print $1}')
notify-send $volume notify-send $volume

View file

@ -1,3 +1,5 @@
xrdb -merge ~/.Xresources xrdb -merge ~/.Xresources
xset r rate 220 90 xset r rate 220 90
@ -5,8 +7,11 @@ autorandr -c
export QT_QPA_PLATFORMTHEME="qt5ct" export QT_QPA_PLATFORMTHEME="qt5ct"
# export GDK_SCALE=2 # export GDK_SCALE=2
# export DESKTOP_SESSION=plasma export DESKTOP_SESSION=plasma
espanso daemon & espanso daemon &
kdeconnect-indicator &
picom &
autorandr -c
exec awesome dbus-launch awesome