summaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/config3
-rwxr-xr-xsway/status.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/sway/config b/sway/config
index 2a6f64b..d8efa30 100644
--- a/sway/config
+++ b/sway/config
@@ -237,8 +237,7 @@ bindsym $mod+i exec grim -g "$(slurp)" - | swappy -f -
# toggle night mode (display blue filter)
bindsym $mod+n exec pgrep gammastep && pkill gammastep || gammastep -O 4500 &
-# add shortcut for url.sh script from https://xengineering.eu/git/scripts/
-bindsym $mod+u exec ~/.local/bin/url
+bindsym $mod+u exec ". ~/.config/posix-shell/utils.sh && url"
# enable numlock on startup
input * xkb_numlock enable
diff --git a/sway/status.sh b/sway/status.sh
index 6bbbd63..eb68f81 100755
--- a/sway/status.sh
+++ b/sway/status.sh
@@ -9,7 +9,7 @@ temp() {
done
}
bat="BAT $(cat /sys/class/power_supply/BAT*/capacity | tr '\n' ' ')"
-time="$(date '+KW %W %a %Y-%m-%d %H:%M')"
+time="$(date '+KW %V %a %Y-%m-%d %H:%M')"
echo "| $(temp)| ${bat}| ${time} |"