Compare commits

..

No commits in common. "be47278110e41d146e510f5c83d2f8b351522440" and "6cf039558432ca27834cdaba56365b3c6b0b94a4" have entirely different histories.

5 changed files with 14 additions and 7 deletions

View File

@ -9,7 +9,6 @@ LC_ALL="en_GB.UTF-8"
export DIP=false export DIP=false
export HYPRSHOT_DIR=/home/tsv/img/screenshots export HYPRSHOT_DIR=/home/tsv/img/screenshots
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openssl-1.0.2u/lib
# Sane defaults for history # Sane defaults for history
HISTFILE=$XDG_STATE_HOME/.bash_history HISTFILE=$XDG_STATE_HOME/.bash_history

View File

@ -43,7 +43,7 @@
# section for how to disable this if necessary # section for how to disable this if necessary
idle_threshold = 120 idle_threshold = 120
font = Monospace 12 font = Monospace 14
line_height = 0 line_height = 0
# Possible values are: # Possible values are:

View File

@ -7,8 +7,8 @@
(defwidget sidestuff [] (defwidget sidestuff []
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end" (box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
(metric :label "󰕾" (metric :label "󰕾"
:value { volume * 100 } :value volume
:onchange "VOL=$(bc -l <<<\"scale=2; {} / 100\") ; wpctl set-volume @DEFAULT_AUDIO_SINK@ $VOL") :onchange "amixer -D pulse sset Master {}%")
(metric :label "󰍛" (metric :label "󰍛"
:value {EWW_RAM.used_mem_perc} :value {EWW_RAM.used_mem_perc}
:onchange "") :onchange "")

View File

@ -1,3 +1,12 @@
#!/usr/bin/env bash #!/bin/sh
wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}' if command -v pamixer &>/dev/null; then
if [ true == $(pamixer --get-mute) ]; then
echo 0
exit
else
pamixer --get-volume
fi
else
amixer -D pulse sget Master | awk -F '[^0-9]+' '/Left:/{print $3}'
fi

View File

@ -8,7 +8,6 @@ windowrule = workspace 2, thunderbird
exec-once = eww daemon && eww open bar exec-once = eww daemon && eww open bar
exec-once = qutebrowser exec-once = qutebrowser
exec-once = firefox
exec-once = thunderbird exec-once = thunderbird
exec-once = dunst & hyprpaper & kitty exec-once = dunst & hyprpaper & kitty