hyprdots

my dotfiles for hyprland
git clone https://git.awy.one/hyprdots.git
Log | Files | Refs | README | LICENSE

commit 73782c9db22e09b8ac7b60cf5a08d042d77e1220
parent 904fb9f5fc5e6b757a2725e464803f8bbd50c720
Author: awy <awy@awy.one>
Date:   Thu, 20 Mar 2025 18:52:19 +0300

wmenu

Diffstat:
M.local/bin/cron/checkup | 2+-
M.local/bin/sysact | 2+-
M.local/bin/transadd | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup @@ -8,7 +8,7 @@ export DBUS_SESSION_BUS_ADDRESS=$(grep -E -z "$var" "/proc/$pid/environ" | sed ' notify-send "📦 Repository Sync" "Checking for package updates..." -pacman -Syyuw --noconfirm || notify-send "Error downloading updates. +sudo -A pacman -Syyuw --noconfirm || notify-send "Error downloading updates. Check your internet connection, if pacman is already running, or run update manually to see errors." pkill -RTMIN+8 "${STATUSBAR:-waybar}" diff --git a/.local/bin/sysact b/.local/bin/sysact @@ -13,7 +13,7 @@ wmpid(){ # This function is needed if there are multiple instances of the window echo "${tree%%)*}" } -case "$(printf "🔒 lock\n🚪 leave $WM\n♻️ renew $WM\n🐻 hibernate\n🔃 reboot\n🖥️shutdown\n💤 sleep\n📺 display off" | wmenu -N 2e3440 -n d8dee9 -S eacb8a -s 3b4252 -M eacb8a -m 3b4252 -f "monospace 12" -i -p 'Action: ')" in +case "$(printf "🔒 lock\n🚪 leave $WM\n♻️ renew $WM\n🐻 hibernate\n🔃 reboot\n🖥️shutdown\n💤 sleep\n📺 display off" | wmenu -i -p 'Action: ')" in '🔒 lock') slock ;; "🚪 leave $WM") hyprctl dispatch exit ;; "♻️ renew $WM") hyprctl reload ;; diff --git a/.local/bin/transadd b/.local/bin/transadd @@ -4,6 +4,6 @@ # transmission-daemon sometimes fails to take remote requests in its first moments, hence the sleep. -pidof transmission-daemon >/dev/null || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-i3blocks}") +pidof transmission-daemon >/dev/null || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-waybar}") transmission-remote -a "$@" && notify-send "🔽 Torrent added."