diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 9d849b9..5b2ae60 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -214,7 +214,7 @@ enable_recursive_icon_lookup = true # Set icon theme (only used for recursive icon lookup) - icon_theme = "Papirus, Adwaita" + icon_theme = "Papirus-Dark, Adwaita" # You can also set multiple icon themes, with the leftmost one being used first. # icon_theme = "Adwaita, breeze" @@ -224,7 +224,7 @@ # Scale small icons up to this size, set to 0 to disable. Helpful # for e.g. small files or high-dpi screens. In case of conflict, # max_icon_size takes precedence over this. - min_icon_size = 16 + min_icon_size = 24 # Scale larger icons down to this size, set to 0 to disable max_icon_size = 128 diff --git a/.config/sway/config b/.config/sway/config index 8ef280d..f484860 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -241,9 +241,9 @@ bindsym $mod+r mode "resize" # # Custom keybinds for latop controls # -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% -bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && /home/emge/Scripts/volume-notif.sh +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && /home/emge/Scripts/volume-notif.sh +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && /home/emge/Scripts/volume-notif.sh bindsym XF86AudioMicMute exec pactl set-source-mute @DEFUALT_SOURCE@ toggle bindsym XF86MonBrightnessDown exec brightnessctl set 5%- bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ diff --git a/.config/waybar/config b/.config/waybar/config index e88ded7..53911ef 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -30,7 +30,7 @@ "clock": { "interval": 60, - "format": "{:%a %b %e %I:%M}", + "format": "{:%a, %b %e / %I:%M /}", "tooltip-format": "{calendar}", "calendar": { "mode" : "year", diff --git a/Scripts/background-changer.sh b/Scripts/background-changer.sh new file mode 100755 index 0000000..3da6e79 --- /dev/null +++ b/Scripts/background-changer.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +wallpapers_path=/home/emge/Wallpapers/ + +# while true; do +# swaybg -i $(find $wallpapers_path -type f | shuf -n 1) -m fill +# sleep 29m +# done +# sleep 1m + +swaymsg output "*" bg $(find $wallpapers_path -type f | shuf -n 1) fill diff --git a/Scripts/volume-notif.sh b/Scripts/volume-notif.sh new file mode 100755 index 0000000..04180ba --- /dev/null +++ b/Scripts/volume-notif.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# dunst change volume notification + +# set varialbe $volume to current volume level +# --get-volume returns two equal values, the awk +# pipe pulls just the first one - both values +# should match unless balance was adjusted +volume=$(pulsemixer --get-volume | awk '{print $1}') + +# set variable $muted to current mute setting +muted=$(pulsemixer --get-mute) + +if [[ $muted == 1 || $volume == 0 ]]; then + # show muted notification + dunstify -u low -i audio-volume-muted -h string:x-dunst-stack-tag:Volume "Volume Muted" +else + # show volume notification + dunstify -u low -i audio-volume-high -h string:x-dunst-stack-tag:Volume -h int:value:"$volume" "Volume: ${volume}%" +fi