Compare commits
10 commits
3013b531d7
...
edcc4db0c7
Author | SHA1 | Date | |
---|---|---|---|
|
edcc4db0c7 | ||
|
bfc03fb2d0 | ||
|
789145f208 | ||
|
8c579317ca | ||
|
695e6676a8 | ||
|
94806d201c | ||
|
a3e488b9a9 | ||
|
ab3c8cf2d5 | ||
|
b37574c0f1 | ||
|
ebce73c797 |
11 changed files with 59 additions and 11 deletions
|
@ -17,10 +17,12 @@ source = ~/.config/hypr/windowrules.conf
|
||||||
|
|
||||||
|
|
||||||
# Exec once
|
# Exec once
|
||||||
exec-once = artix-pipewire-launcher
|
exec-once = artix-pipewire-launcher restart
|
||||||
exec-once = nm-applet
|
exec-once = nm-applet
|
||||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
exec-once = $HOME/.scripts/swayidle.sh
|
exec-once = $HOME/.scripts/swayidle.sh
|
||||||
|
exec-once = swayosd-server
|
||||||
|
|
||||||
|
|
||||||
# XWayland
|
# XWayland
|
||||||
exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
|
exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
|
||||||
|
|
|
@ -8,7 +8,7 @@ binde = $mainMod_SHIFT, V, togglesplit,
|
||||||
bind = $mainMod, L, exec, $HOME/.scripts/swaylock.sh
|
bind = $mainMod, L, exec, $HOME/.scripts/swaylock.sh
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
|
|
||||||
bind = $mainMod_SHIFT, N, exec, swaync-client -t -sw
|
bind = $mainMod_SHIFT, N, exec, $HOME/.scripts/waybar-dnd-toggle.sh; pkill -SIGRTMIN+2 waybar
|
||||||
bind = $mainMod, R, exec, wofi --show run
|
bind = $mainMod, R, exec, wofi --show run
|
||||||
bind = $mainMod, E, exec, thunar
|
bind = $mainMod, E, exec, thunar
|
||||||
binde = $mainMod_SHIFT, T, exec, kitty
|
binde = $mainMod_SHIFT, T, exec, kitty
|
||||||
|
|
|
@ -6,3 +6,6 @@ border-radius=4
|
||||||
border-size=2
|
border-size=2
|
||||||
font='JetBrainsMono Nerd Font' 11
|
font='JetBrainsMono Nerd Font' 11
|
||||||
outer-margin=30,30,0,0
|
outer-margin=30,30,0,0
|
||||||
|
|
||||||
|
[mode=dnd]
|
||||||
|
invisible=1
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
"memory",
|
"memory",
|
||||||
"custom/cpu-temp",
|
"custom/cpu-temp",
|
||||||
"cpu",
|
"cpu",
|
||||||
"clock"
|
"clock",
|
||||||
|
"custom/dnd-toggle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
|
@ -133,8 +134,9 @@
|
||||||
"format-time": "{H}:{m}",
|
"format-time": "{H}:{m}",
|
||||||
"format": "{icon} {capacity}% ({time})",
|
"format": "{icon} {capacity}% ({time})",
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||||
"format-plugged": " {capacity}%",
|
"format-plugged": " {capacity}% ({time})",
|
||||||
"format-charging-100": " {capacity}% ({time})",
|
"format-full": "{icon} {capacity}%",
|
||||||
|
"format-charging-100": " {capacity}%",
|
||||||
"format-charging-90": " {capacity}% ({time})",
|
"format-charging-90": " {capacity}% ({time})",
|
||||||
"format-charging-80": " {capacity}% ({time})",
|
"format-charging-80": " {capacity}% ({time})",
|
||||||
"format-charging-70": " {capacity}% ({time})",
|
"format-charging-70": " {capacity}% ({time})",
|
||||||
|
@ -197,5 +199,18 @@
|
||||||
"today": "<span color='#ff6699'><b>{}</b></span>"
|
"today": "<span color='#ff6699'><b>{}</b></span>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"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": ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,8 @@
|
||||||
#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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +93,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.output.muted,
|
#pulseaudio.output.muted,
|
||||||
#pulseaudio.input.source-muted {
|
#pulseaudio.input.source-muted,
|
||||||
|
#custom-dnd-toggle.dnd-enabled {
|
||||||
color: @disabled;
|
color: @disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ alias ssh="TERM=xterm-256color ssh"
|
||||||
#alias ssh="TERM=xterm-256color kitty +kitten ssh"
|
#alias ssh="TERM=xterm-256color kitty +kitten ssh"
|
||||||
alias ff="fastfetch"
|
alias ff="fastfetch"
|
||||||
alias ip="ip --color=auto"
|
alias ip="ip --color=auto"
|
||||||
|
alias hx="helix"
|
||||||
|
|
||||||
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
pkill -u "$USER" -9 ssh-agent
|
|
||||||
wl-copy -c
|
wl-copy -c
|
||||||
cliphist wipe
|
cliphist wipe
|
||||||
|
pkill -u "$USER" -9 ssh-agent
|
||||||
|
pkill -u "$USER" -9 pipewire
|
||||||
|
pkill -u "$USER" -9 dbus-daemon
|
||||||
|
killall -u "$USER" -9 kill-wine-explorer.sh
|
||||||
|
|
|
@ -20,7 +20,7 @@ printenv SSH_TTY &> /dev/null || wal -R
|
||||||
|
|
||||||
# Autostart on TTY1:
|
# Autostart on TTY1:
|
||||||
# Hyprland on laptop
|
# Hyprland on laptop
|
||||||
[[ "$XDG_VTNR" -eq 1 ]] && [[ "$HOST" = 'vrz-lt' ]] && exec dbus-run-session Hyprland
|
[[ "$XDG_VTNR" -eq 1 ]] && [[ "$HOST" = 'vrz-lt' ]] && dbus-run-session Hyprland
|
||||||
|
|
||||||
# Plasma on desktop
|
# Plasma on desktop
|
||||||
[[ "$XDG_VTNR" -eq 1 ]] && [[ "$HOST" = 'vrz-dt' ]] && startx
|
[[ "$XDG_VTNR" -eq 1 ]] && [[ "$HOST" = 'vrz-dt' ]] && startx
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
killall -9 explorer.exe
|
killall -9 explorer.exe &> /dev/null
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
|
@ -326,7 +326,7 @@ else
|
||||||
echo "Reloading Mako."
|
echo "Reloading Mako."
|
||||||
makoctl reload &
|
makoctl reload &
|
||||||
else
|
else
|
||||||
echo "Starting Mako."
|
echo "Starting mako."
|
||||||
hyprctl dispatch exec mako > /dev/null &
|
hyprctl dispatch exec mako > /dev/null &
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
22
.scripts/waybar-dnd-toggle.sh
Executable file
22
.scripts/waybar-dnd-toggle.sh
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
|
if [[ "$1" != "--no-toggle" ]]; then
|
||||||
|
if makoctl mode | grep -q dnd; then
|
||||||
|
makoctl mode -r dnd
|
||||||
|
else
|
||||||
|
makoctl mode -a dnd
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if makoctl mode | grep -q dnd; then
|
||||||
|
class="dnd-enabled"
|
||||||
|
else
|
||||||
|
class="dnd-disabled"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
cat << EOF
|
||||||
|
{"text": "", "alt": "$class", "class": "$class", "percentage": ""}
|
||||||
|
EOF
|
Loading…
Reference in a new issue