From 7d97cfce9d0ecc678fbd46b411265430befbf99b Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 27 Aug 2024 04:06:03 +0300 Subject: update --- .config/dunst/dunstrc | 27 +++++++++++++++++++++++++++ .config/hypr/hyprland.conf | 2 +- .local/bin/statusbar/sb-doppler | 3 ++- .local/bin/statusbar/sb-forecast | 6 +++++- .local/bin/statusbar/sb-internet | 9 ++++++++- .local/bin/statusbar/sb-memory | 4 +++- dependencies.txt | 2 +- 7 files changed, 47 insertions(+), 6 deletions(-) create mode 100644 .config/dunst/dunstrc diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 100644 index 0000000..11d2488 --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1,27 @@ +[global] + monitor = 0 + follow = keyboard + width = 370 + height = 350 + offset = 0x19 + padding = 2 + horizontal_padding = 2 + transparency = 25 + font = JetBrainsMono Nerd Font Mono 12 + format = "%s\n%b" + +[urgency_low] + background = "#1d2021" + foreground = "#928374" + timeout = 3 + +[urgency_normal] + foreground = "#ebdbb2" + background = "#458588" + timeout = 5 + +[urgency_critical] + background = "#1cc24d" + foreground = "#ebdbb2" + frame_color = "#fabd2f" + timeout = 10 diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 3e5b250..24079e5 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -8,7 +8,7 @@ $menu = wofi --show drun exec-once = pipewire & pipewire-pulse & wireplumber exec-once = start-portal -exec-once = hyprpaper & waybar +exec-once = hyprpaper & waybar & dunst env = QT_SCREEN_SCALE_FACTORS,1;1 env = XCURSOR_SIZE,24 diff --git a/.local/bin/statusbar/sb-doppler b/.local/bin/statusbar/sb-doppler index 4567e30..f9bb8fe 100755 --- a/.local/bin/statusbar/sb-doppler +++ b/.local/bin/statusbar/sb-doppler @@ -5,7 +5,8 @@ showdoppler() { } sendnotif() { - notify-send "🌦️ Doppler RADAR" "Left click for full forecast." + notify-send "πŸ—ΊοΈ Doppler RADAR module" "\- Left click for local Doppler RADAR. +- Middle click to update RADAR location." } if [ ! -n "$1" ]; then echo πŸŒ… diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast index 42442cf..8b744c4 100755 --- a/.local/bin/statusbar/sb-forecast +++ b/.local/bin/statusbar/sb-forecast @@ -36,7 +36,11 @@ openterm() { } sendnotif() { - notify-send "🌈 Weather module" "Left click for full forecast." + notify-send "🌈 Weather module" "\- Left click for full forecast. +- Middle click to update forecast. +β˜”: Chance of rain/snow +πŸ₯Ά: Daily low +🌞: Daily high" } if [ ! -n "$1" ]; then diff --git a/.local/bin/statusbar/sb-internet b/.local/bin/statusbar/sb-internet index 0cbf877..74a4e28 100755 --- a/.local/bin/statusbar/sb-internet +++ b/.local/bin/statusbar/sb-internet @@ -22,6 +22,13 @@ else notify-send "πŸ”’ Internet module" "Disconnected from VPN" fi elif [ "$1" -eq 3 ]; then - notify-send "🌐 Internet module" "\- Click to connect to vpn" + notify-send "🌐 Internet module" "\- Click to connect +❌: wifi disabled +πŸ“‘: no wifi connection +πŸ“Ά: wifi connection with quality +❎: no ethernet +🌐: ethernet working +πŸ”’: vpn is active +" fi fi diff --git a/.local/bin/statusbar/sb-memory b/.local/bin/statusbar/sb-memory index cf661a6..a5873ea 100755 --- a/.local/bin/statusbar/sb-memory +++ b/.local/bin/statusbar/sb-memory @@ -8,7 +8,9 @@ else elif [ "$1" -eq 2 ]; then hyprctl dispatch exec "[float; size 1800 1300;]" 'kitty -e sh -c "btop"' elif [ "$1" -eq 3 ]; then - notify-send "🧠 Memory module" "\- Shows Memory Used/Total." + notify-send "🧠 Memory module" "\- Shows Memory Used/Total. +- Click to show memory hogs. +- Middle click to open btop." fi fi diff --git a/dependencies.txt b/dependencies.txt index 68a891a..83f9cb6 100644 --- a/dependencies.txt +++ b/dependencies.txt @@ -26,7 +26,7 @@ zsh zsh-autosuggestions mpv yt-dlp -mako +dunst unzip imv libnotify -- cgit v1.2.3