Compare commits
3 Commits
74af6090d1
...
ea1eb198c7
Author | SHA1 | Date |
---|---|---|
John Mertz | ea1eb198c7 | |
John Mertz | ef298a2e23 | |
John Mertz | e01d899666 |
|
@ -37,7 +37,7 @@ my $waybar_template = "$ENV{'HOME'}/.dotfiles/waybar/config.template";
|
|||
my $swaysock = $ENV{'SWAYSOCK'} || $ENV{'HOME'} . "/.spool/sway-ipc.sock";
|
||||
|
||||
# Path to actual config file generated from template
|
||||
my $waybar_config = "$ENV{'HOME'}/.config/waybar/config";
|
||||
my $waybar_config = "$ENV{'HOME'}/.dotfiles/waybar/config";
|
||||
|
||||
# Path to waybar binary
|
||||
#my $waybar_bin = "$ENV{'HOME'}/.dotfiles/nix/bin/waybar";
|
||||
|
|
|
@ -3,5 +3,7 @@ if [ -z ${SWAYSOCK+x} ]; then
|
|||
i3 reload
|
||||
else
|
||||
swaymsg reload
|
||||
distrobox-enter -n debian -- ${HOME}/scripts/sway/displays.pl
|
||||
source ${HOME}/.dotfile/bash/bashrc
|
||||
cd ${HOME}/scripts/sway
|
||||
perl -Ilocal/lib/perl5/5.38.2 display.pl
|
||||
fi
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
if [ -z ${SWAYSOCK+x} ]; then
|
||||
i3 reload
|
||||
else
|
||||
${HOME}/scripts/sway/displays.pl -w
|
||||
cd ${HOME}/scripts/sway
|
||||
perl -Ilocal/lib/perl5/5.38.2 display.pl -w
|
||||
fi
|
||||
|
|
|
@ -41,10 +41,10 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -n $NOTIFY_ID ]; then
|
||||
NOTIFY_ID=$(notify-send --category=backlight --urgency=low --hint=int:value:$BRIGHTNESS --icon=${HOME}/.icons/Gruvbox/48x48@2x/status/notification-display-brightness${ICON}.svg -p -t 1000 -r $NOTIFY_ID Backlight ${BRIGHTNESS}%)
|
||||
else
|
||||
if [ -z $NOTIFY_ID ]; then
|
||||
NOTIFY_ID=$(notify-send --category=backlight --urgency=low --hint=int:value:$BRIGHTNESS --icon=${HOME}/.icons/Gruvbox/48x48@2x/devices/notification-display-brightness${ICON}.svg -p -t 1000 Backlight ${BRIGHTNESS}%)
|
||||
else
|
||||
NOTIFY_ID=$(notify-send --category=backlight --urgency=low --hint=int:value:$BRIGHTNESS --icon=${HOME}/.icons/Gruvbox/48x48@2x/status/notification-display-brightness${ICON}.svg -p -t 1000 -r $NOTIFY_ID Backlight ${BRIGHTNESS}%)
|
||||
fi
|
||||
|
||||
echo $NOTIFY_ID > /tmp/brightness-notification
|
||||
|
|
Loading…
Reference in New Issue