diff --git a/.config/i3/config b/.config/i3/config index c520ddbc..5908e37b 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -123,6 +123,7 @@ mode "Leave" { bindsym z exec --no-startup-id prompt "Suspend computer?" "systemctl suspend";mode default bindsym r exec --no-startup-id prompt "Reboot computer?" "$reboot" bindsym h exec --no-startup-id prompt "Hibernate computer?" "$hibernate";mode default + bindsym o exec --no-startup-id xset dpms force off;mode default bindsym e exit # back to normal: Enter or Escape bindsym Return mode "default" @@ -350,7 +351,6 @@ bindsym Shift+Print exec --no-startup-id maimpick bindsym $mod+Print exec --no-startup-id dmenurecord bindsym $mod+Scroll_Lock exec --no-startup-id "killall screenkey || screenkey" bindsym $mod+Delete exec $stoprec -bindsym $mod+BackSpace exec --no-startup-id xset dpms force off bindsym $mod+Shift+BackSpace exec --no-startup-id systemctl suspend diff --git a/.config/wall.png b/.config/wall.png index bf8ede87..74f1c2db 100644 Binary files a/.config/wall.png and b/.config/wall.png differ diff --git a/.profile b/.profile index 75fa4b54..fbf6d838 100644 --- a/.profile +++ b/.profile @@ -5,7 +5,7 @@ export PATH="$PATH:$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" export EDITOR="nvim" export TERMINAL="st" -export BROWSER="firefox" +export BROWSER="chromium" export READER="zathura" export FILE="vu" export BIB="$HOME/Documents/LaTeX/uni.bib" diff --git a/.scripts/cron/getforecast b/.scripts/cron/getforecast index 25386d45..6fff4f75 100755 --- a/.scripts/cron/getforecast +++ b/.scripts/cron/getforecast @@ -1,6 +1,6 @@ #!/bin/sh # Updates weather forecast ping -q -w 1 -c 1 "$(ip r | grep default | tail -1 | cut -d ' ' -f 3)" >/dev/null || exit -location="$1"; [ -z "$location" ] || location="$location+" +location="$1"; [ -z "$location" ] || location="$location" curl -s "wttr.in/$location" > /tmp/weatherreport pkill -RTMIN+5 i3blocks && notify-send "🌞 Weather forecast updated." diff --git a/.scripts/statusbar/weather b/.scripts/statusbar/weather index 54c2a438..b47c5f22 100755 --- a/.scripts/statusbar/weather +++ b/.scripts/statusbar/weather @@ -1,5 +1,5 @@ #!/bin/sh -[ "$(stat -c %y /tmp/weatherreport | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] && getforecast +[ "$(stat -c %y /tmp/weatherreport | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] && getforecast damietta case $BLOCK_BUTTON in 1) $TERMINAL -e less -S -R /tmp/weatherreport ;;