update xmonad setup

This commit is contained in:
horhik 2021-05-04 19:27:40 +03:00
parent a84bec7892
commit 0f1a47739a
4 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,6 @@
#!/bin/sh
#your toggl api token
TOGGL_API_TOKEN=7b42e9971bd0e27f68f9270a446ed7d2
res=$(curl -u $TOGGL_API_TOKEN:api_token \
-X GET https://api.track.toggl.com/api/v8/time_entries/current)
echo $res

View File

@ -75,7 +75,7 @@ esac
diskspace ()
{
#might be another /dev/sda...
echo "<fc=$pinkColor>—{ </fc>"$(df -h | grep sda2 | grep -oh "[0-9]*%")"<fc=$pinkColor>}</fc>"
echo "<fc=$pinkColor>—{ </fc>"$(df -h | grep $MAIN_DISK | grep -oh "[0-9]*%")"<fc=$pinkColor>}</fc>"
}
wifi ()

View File

@ -73,7 +73,7 @@ esac
diskspace ()
{
#might be another /dev/sda...
echo "<fc=$pinkColor>—{ </fc>"$(df -h | grep sda2 | grep -oh "[0-9]*%")"<fc=$pinkColor>}</fc>"
echo "<fc=$pinkColor>—{ </fc>"$(df -h | grep $MAIN_DISK | grep -oh "[0-9]*%")"<fc=$pinkColor>}</fc>"
}
wifi ()

View File

@ -411,8 +411,9 @@ myStartupHook = do
spawnOnce "syncthing"
spawnOnce "sh ssh-agent bash ; ssh-add ~/.ssh/arch"
spawnOnce "eval '$(ssh-agent -s)'; ssh-add ~/.ssh/id_rsa"
spawnOnce ("enact --pos left --watch &")
spawnOnce ("xrandr --output HDMI1 --left-of eDP1&")
spawnOnce ("$HOME/.cargo/bin/enact --watch --pos left")
spawnOnce ("sleep 1; $HOME/.cargo/bin/enact --pos left")
-- spawnOnce ("xrandr --output HDMI1 --left-of eDP1&")
spawnOnce (home ++ ".local/scripts/status/launch &")
spawnOnce (home ++ ".local/scripts/touchpad.sh &")
-- spawnOnce ("cd /home/horhik/Freenet/downloads/fms; ./fms --daemon &")