idk some tweaks for awesome
This commit is contained in:
parent
fafda7d7ad
commit
35f62562e9
|
@ -41,7 +41,7 @@
|
||||||
:floating true
|
:floating true
|
||||||
:raise true
|
:raise true
|
||||||
;; :height (dpi 1200)
|
;; :height (dpi 1200)
|
||||||
:width (dpi 2200)
|
:width (dpi 1400)
|
||||||
:screen 1
|
:screen 1
|
||||||
:sticky true
|
:sticky true
|
||||||
:placement awful.placement.centered
|
:placement awful.placement.centered
|
||||||
|
@ -211,12 +211,14 @@
|
||||||
}
|
}
|
||||||
:properties {
|
:properties {
|
||||||
:floating true
|
:floating true
|
||||||
:raise true
|
:raise false
|
||||||
:ontop true
|
:ontop true
|
||||||
:screen awful.screen.preferred
|
:screen awful.screen.preferred
|
||||||
|
:focusable false
|
||||||
;; :width (dpi 600)
|
;; :width (dpi 600)
|
||||||
;; :height (dpi 200)
|
;; :height (dpi 200)
|
||||||
:placement (+ awful.placement.centered awful.placement.no_offscreen awful.placement.top)
|
:placement (+ awful.placement.centered awful.placement.no_offscreen awful.placement.top)
|
||||||
|
:y (dpi 100)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
;; Tell qb to open primarily on the secondary monitor
|
;; Tell qb to open primarily on the secondary monitor
|
||||||
|
|
|
@ -2,8 +2,11 @@
|
||||||
:geometry (geometry :x "0px"
|
:geometry (geometry :x "0px"
|
||||||
:y "40px"
|
:y "40px"
|
||||||
:anchor "top center")
|
:anchor "top center")
|
||||||
:stacking "fg"
|
:stacking "overlay"
|
||||||
:monitor "0"
|
:monitor "0"
|
||||||
|
:focusable "false"
|
||||||
|
:windowtype "dock"
|
||||||
|
:wm-ignore "true"
|
||||||
(volshow))
|
(volshow))
|
||||||
|
|
||||||
(defwidget volshow []
|
(defwidget volshow []
|
||||||
|
|
|
@ -15,11 +15,13 @@ rounded-corners-exclude = [
|
||||||
"class_g = 'XTerm'",
|
"class_g = 'XTerm'",
|
||||||
"class_g = 'kitty'",
|
"class_g = 'kitty'",
|
||||||
"class_g = 'emacs'",
|
"class_g = 'emacs'",
|
||||||
|
"class_g = 'Eww'",
|
||||||
"class_g = 'Thunderbird'",
|
"class_g = 'Thunderbird'",
|
||||||
# "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
# "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
||||||
];
|
];
|
||||||
round-borders = 18;
|
round-borders = 18;
|
||||||
round-borders-exclude = [
|
round-borders-exclude = [
|
||||||
|
"class_g = 'Eww'",
|
||||||
#"class_g = 'TelegramDesktop'",
|
#"class_g = 'TelegramDesktop'",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -81,6 +83,7 @@ shadow-exclude = [
|
||||||
"name = 'Display Window'",
|
"name = 'Display Window'",
|
||||||
"name = 'Video'",
|
"name = 'Video'",
|
||||||
"class_g = 'Conky'",
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Eww'",
|
||||||
# "class_g = 'Rofi'",
|
# "class_g = 'Rofi'",
|
||||||
# "class_g = 'firefox'",
|
# "class_g = 'firefox'",
|
||||||
# "class_g = 'Alacritty'",
|
# "class_g = 'Alacritty'",
|
||||||
|
@ -123,7 +126,8 @@ fade-exclude = [
|
||||||
"name = 'Projection Window'",
|
"name = 'Projection Window'",
|
||||||
"name = 'Display Window'",
|
"name = 'Display Window'",
|
||||||
"name = 'Video'",
|
"name = 'Video'",
|
||||||
"class_g = 'slop'" # maim
|
"class_g = 'slop'", # maim
|
||||||
|
"class_g = 'Eww'"
|
||||||
]
|
]
|
||||||
|
|
||||||
# Do not fade on window open/close.
|
# Do not fade on window open/close.
|
||||||
|
@ -168,7 +172,8 @@ focus-exclude = [
|
||||||
"name = 'Display Window'",
|
"name = 'Display Window'",
|
||||||
"class_g = 'slop'", # maim
|
"class_g = 'slop'", # maim
|
||||||
"name = 'Video'",
|
"name = 'Video'",
|
||||||
"class_g = 'mpv'"
|
"class_g = 'mpv'",
|
||||||
|
"class_g = 'Eww'"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
# killall volup
|
# killall volup
|
||||||
# killall voldown
|
# killall voldown
|
||||||
pamixer --allow-boost -d 5
|
pamixer --allow-boost -d 5
|
||||||
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga
|
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga &
|
||||||
volume=$(pulsemixer --get-volume | awk '{print $1}')
|
volume=$(pulsemixer --get-volume | awk '{print $1}')
|
||||||
echo $volume > /tmp/vol
|
echo $volume > /tmp/vol
|
||||||
|
|
||||||
eww open volume
|
eww open volume &
|
||||||
|
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
# killall volup
|
# killall volup
|
||||||
# killall voldown
|
# killall voldown
|
||||||
pamixer --allow-boost -i 5
|
pamixer --allow-boost -i 5
|
||||||
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga
|
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga &
|
||||||
volume=$(pulsemixer --get-volume | awk '{print $1}')
|
volume=$(pulsemixer --get-volume | awk '{print $1}')
|
||||||
echo $volume > /tmp/vol
|
echo $volume > /tmp/vol
|
||||||
|
|
||||||
eww open volume
|
eww open volume &
|
||||||
|
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue