mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
add turn off LCD and get location to damietta
This commit is contained in:
parent
382c465e1f
commit
e25eac0257
@ -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
|
||||
|
||||
|
||||
|
||||
BIN
.config/wall.png
BIN
.config/wall.png
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 785 KiB |
2
.profile
2
.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"
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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 ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user