Compare commits

...

2 commits

3 changed files with 21 additions and 21 deletions

View file

@ -20,9 +20,10 @@
d = diff d = diff
l = log l = log
m = merge m = merge
ca = commit --amend --no-edit oops = commit --amend --no-edit
r = rebase r = rebase
s = status s = status
yolo = !git commit -m \"$(curl -s https://whatthecommit.com/index.txt)\"
[merge] [merge]
ff = no ff = no
conflictstyle = diff3 conflictstyle = diff3

View file

@ -5,6 +5,7 @@
"modules-left": [ "modules-left": [
"hyprland/workspaces", "hyprland/workspaces",
"tray", "tray",
"custom/dnd-toggle",
"network", "network",
"bluetooth", "bluetooth",
"pulseaudio#output", "pulseaudio#output",
@ -21,10 +22,8 @@
"custom/cpu-temp", "custom/cpu-temp",
"cpu", "cpu",
"clock#date", "clock#date",
"clock#time", "clock#time"
"custom/dnd-toggle"
], ],
"hyprland/workspaces": { "hyprland/workspaces": {
"disable-scroll": true, "disable-scroll": true,
"all-outputs": false, "all-outputs": false,
@ -93,6 +92,19 @@
"format-source": "󰍬 {volume}%", "format-source": "󰍬 {volume}%",
"format-source-muted": "󰍭 {volume}%" "format-source-muted": "󰍭 {volume}%"
}, },
"custom/dnd-toggle": {
"exec": "$HOME/.scripts/waybar-dnd-toggle.sh --no-toggle",
"interval": "once",
"on-click": "$HOME/.scripts/waybar-dnd-toggle.sh; pkill -SIGRTMIN+2 waybar",
"signal": 2,
"tooltip": false,
"return-type": "json",
"format": "{icon} NF",
"format-icons": {
"dnd-enabled": "󰂛",
"dnd-disabled": "󰂚"
}
},
"mpris": { "mpris": {
"interval": 2, "interval": 2,
"format": " {status_icon} {title}", "format": " {status_icon} {title}",
@ -205,18 +217,5 @@
"interval": 1, "interval": 1,
"format": "󰥔 {:%EX}", "format": "󰥔 {:%EX}",
"tooltip": false "tooltip": false
},
"custom/dnd-toggle": {
"exec": "$HOME/.scripts/waybar-dnd-toggle.sh --no-toggle",
"interval": "once",
"on-click": "$HOME/.scripts/waybar-dnd-toggle.sh; pkill -SIGRTMIN+2 waybar",
"signal": 2,
"tooltip": false,
"return-type": "json",
"format": "{icon} {}",
"format-icons": {
"dnd-enabled": "󰂛",
"dnd-disabled": "󰂚"
}
} }
} }

View file

@ -50,6 +50,7 @@
#network, #network,
#bluetooth, #bluetooth,
#pulseaudio, #pulseaudio,
#custom-dnd-toggle,
#custom-media, #custom-media,
#window, #window,
#backlight, #backlight,
@ -59,8 +60,7 @@
#memory, #memory,
#custom-cpu-temp, #custom-cpu-temp,
#cpu, #cpu,
#clock, #clock {
#custom-dnd-toggle {
padding: 2px 6px; padding: 2px 6px;
} }
@ -75,12 +75,12 @@
*/ */
#pulseaudio, #pulseaudio,
#custom-dnd-toggle.dnd-disabled,
#backlight, #backlight,
#custom-gpu-temp, #custom-gpu-temp,
#custom-gpu-usage, #custom-gpu-usage,
#custom-cpu-temp, #custom-cpu-temp,
#cpu, #cpu {
#custom-dnd-toggle.dnd-disabled {
color: @accent1; color: @accent1;
} }