change notification system to swaync
This commit is contained in:
parent
be2307614c
commit
907a94ede0
4 changed files with 27 additions and 5 deletions
|
@ -69,9 +69,9 @@ bindm = $mainMod, mouse:272, movewindow
|
|||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && ~/.config/hypr/scripts/wp-vol.sh
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && ~/.config/hypr/scripts/wp-vol.sh
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && ~/.config/hypr/scripts/wp-vol.sh
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
|
|
@ -19,10 +19,11 @@ $menu = fuzzel
|
|||
exec-once = [workspace 1 silent] $terminal
|
||||
exec-once = nm-applet &
|
||||
exec-once = blueman-applet &
|
||||
exec-once = mako &
|
||||
exec-once = swaync &
|
||||
exec-once = waybar & hyprpaper
|
||||
exec-once = [workspace 2 silent] firefox
|
||||
exec-once = hypridle
|
||||
exec-once = [workspace 4 silent] flatpak run com.spotify.Client
|
||||
|
||||
# Bitwarden Window Floating
|
||||
exec-once = ~/.config/hypr/scripts/bitwarden.sh
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
"battery",
|
||||
"clock",
|
||||
"tray",
|
||||
"custom/notification",
|
||||
"custom/power"
|
||||
],
|
||||
// Modules configuration
|
||||
|
@ -193,6 +194,26 @@
|
|||
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
||||
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{} {icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
"custom/power": {
|
||||
"format" : "⏻ ",
|
||||
"tooltip": false,
|
||||
|
|
|
@ -38,7 +38,7 @@ sudo dnf install -y \
|
|||
dkms libdrm-devel hplip ydotool pkg-config \
|
||||
libxkbcommon-devel scdoc inotify-tools \
|
||||
net-snmp-utils net-snmp snmpd virt-manager \
|
||||
@virtualization virt-what mako
|
||||
@virtualization virt-what SwayNotificationCenter
|
||||
|
||||
## Multimedia
|
||||
sudo dnf install -y \
|
||||
|
|
Loading…
Add table
Reference in a new issue