Update Hyprland config for Matugen and untrack generated files.
This commit is contained in:
1 parent
60fe219ff7
commit
16cf5e0c2e
10 files changed
+47
-55
No files matched your search
@@ -28,7 +28,7 @@ exec-once = uwsm app -- waybar
|
||||
exec-once = uwsm app -- espanso start
|
||||
|
||||
# notification daemon
|
||||
exec-once = uwsm app -- dunst
|
||||
# exec-once = uwsm app -- dunst
|
||||
|
||||
# systray apps
|
||||
exec-once = nm-applet
|
||||
|
||||
@@ -44,8 +44,8 @@ bind = SUPER, J, fullscreen, 1
|
||||
#bind = SUPER, J, fullscreen, 1
|
||||
|
||||
#
|
||||
bind = SUPER, X, exec, dunstctl close
|
||||
bind = SUPER, Y, exec, dunstctl close-all
|
||||
bind = SUPER, X, exec, ags request "close-notification"
|
||||
bind = SUPER, Y, exec, ags request "close-all-notifications"
|
||||
|
||||
# workspace control
|
||||
bind = SUPER, right, exec, $next_ws
|
||||
|
||||
@@ -14,15 +14,15 @@ if [[ "$(charging_status)" == "Charging" ]] && \
|
||||
[[ -f /run/user/${UID}/battery_low ]]; then
|
||||
logger "Power reconnected and above 5 percent, clearing nofication state."
|
||||
rm /run/user/${UID}/battery_low
|
||||
for id in $(dunstctl history | jq '.data[0][] | select(.summary.data == "LOW BATTERY!")| .id.data' \
|
||||
| tee /tmp/dunst_history.json); do
|
||||
dunstify --close=${id}
|
||||
done
|
||||
notify-send --urgency=normal \
|
||||
--icon=/usr/share/icons/breeze-dark/emblems/16/emblem-information.svg \
|
||||
'Battery Charging' \
|
||||
'Power connected. Battery level is rising.'
|
||||
elif [[ "$(charging_status)" == "Discharging" ]] && \
|
||||
[[ $(battery_percentage) -le 5 ]] && \
|
||||
[[ ! ( -f /run/user/${UID}/battery_low ) ]] ; then
|
||||
logger "Low power! Triggering notification...."
|
||||
dunstify --urgency=critical \
|
||||
notify-send --urgency=critical \
|
||||
--icon=/usr/share/icons/breeze-dark/emblems/16/emblem-warning.svg \
|
||||
'LOW BATTERY!' \
|
||||
'Battery level is low, plug power quick!'
|
||||
|
||||
@@ -32,7 +32,7 @@ uwsm-app -- hyprpaper &
|
||||
uwsm-app -- espanso start &
|
||||
|
||||
# notification daemon
|
||||
uwsm-app -- dunst &
|
||||
# uwsm-app -- dunst &
|
||||
|
||||
# clipboard
|
||||
wl-paste --watch cliphist store &
|
||||
|
||||
Reference in new issue
Block a user