Browse Source

updated dunts and Dark Light script

pull/37/head
JaKooLit 2 years ago
parent
commit
da34f03bab
  1. 14
      config/dunst/dunstrc
  2. BIN
      config/dunst/images/bell.png
  3. BIN
      config/dunst/images/notification.png
  4. BIN
      config/dunst/images/notification2.png
  5. BIN
      config/dunst/images/notification3.png
  6. BIN
      config/dunst/images/notification4.png
  7. 13
      config/dunst/reload
  8. 6
      config/hypr/scripts/DarkLight.sh

14
config/dunst/dunstrc

@ -67,10 +67,10 @@
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
frame_width = 2
# Defines color of the frame around the notification window.
frame_color = "#158E15"
frame_color = "#7F8153"
# Define a color for the separator.
# possible values are:
@ -283,17 +283,17 @@
# Otherwise the "#" and following would be interpreted as a comment.
timeout = 2
# Icon for notifications with low urgency, uncomment to enable
icon = ~/.config/hypr/dunst/images/notification2.png
icon = $HOME/.config/dunst/images/bell.png
[urgency_normal]
timeout = 5
# Icon for notifications with normal urgency, uncomment to enable
icon = ~/.config/hypr/dunst/images/notification2.png
icon = $HOME/.config/dunst/images/bell.png
[urgency_critical]
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
icon = ~/.config/hypr/dunst/images/notification2.png
icon = $HOME/.config/dunst/images/bell.png
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
@ -310,8 +310,8 @@
# summary
#
# and you can override the
background = "#0C0C0C"
foreground = "#80ef80"
background = "#080A10"
foreground = "#f1f1bc"
# format
# frame_color
# fullscreen

BIN
config/dunst/images/bell.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
config/dunst/images/notification.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

BIN
config/dunst/images/notification2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 KiB

BIN
config/dunst/images/notification3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

BIN
config/dunst/images/notification4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

13
config/dunst/reload

@ -1,13 +0,0 @@
#!/bin/bash
pkill dunst
dunst -config ~/.config/dunst/dunstrc &
notify-send -u critical "Test message: critical test 1"
notify-send -u normal "Test message: normal test 2"
notify-send -u low "Test message: low test 3"
notify-send -u critical "Test message: critical test 4"
notify-send -u normal "Test message: normal test 5"
notify-send -u low "Test message: low test 6"
notify-send -u critical "Test message: critical test 7"
notify-send -u normal "Test message: normal test 8"
notify-send -u low "Test message: low test 9"

6
config/hypr/scripts/DarkLight.sh

@ -5,6 +5,8 @@ wallpaper_path="$HOME/Pictures/wallpapers/Dynamic-Wallpapers"
hypr_config_path="$HOME/.config/hypr"
waybar_config="$HOME/.config/waybar"
SCRIPTSDIR="$HOME/.config/hypr/scripts"
dunst_notif="$HOME/.config/dunst/images/bell.png"
dark_rofi_pywal="$HOME/.cache/wal/colors-rofi-dark.rasi"
light_rofi_pywal="$HOME/.cache/wal/colors-rofi-light.rasi"
@ -24,9 +26,9 @@ swww query || swww init
swww="swww img"
effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type random --transition-pos 0.925,0.977 --transition-duration 2"
# Define functions for notifying user and updating symlinks
notify_user() {
notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal "Switching to $1 mode"
dunstify -u normal -i "$dunst_notif" "Switching to $1 mode"
}
# Determine the current wallpaper mode by checking a configuration file

Loading…
Cancel
Save