mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-26 10:01:33 +00:00
update xmonad setup
This commit is contained in:
parent
a84bec7892
commit
0f1a47739a
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#your toggl api token
|
#your toggl api token
|
||||||
TOGGL_API_TOKEN=7b42e9971bd0e27f68f9270a446ed7d2
|
|
||||||
res=$(curl -u $TOGGL_API_TOKEN:api_token \
|
res=$(curl -u $TOGGL_API_TOKEN:api_token \
|
||||||
-X GET https://api.track.toggl.com/api/v8/time_entries/current)
|
-X GET https://api.track.toggl.com/api/v8/time_entries/current)
|
||||||
echo $res
|
echo $res
|
||||||
|
|
|
@ -75,7 +75,7 @@ esac
|
||||||
diskspace ()
|
diskspace ()
|
||||||
{
|
{
|
||||||
#might be another /dev/sda...
|
#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 ()
|
wifi ()
|
||||||
|
|
|
@ -73,7 +73,7 @@ esac
|
||||||
diskspace ()
|
diskspace ()
|
||||||
{
|
{
|
||||||
#might be another /dev/sda...
|
#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 ()
|
wifi ()
|
||||||
|
|
|
@ -411,8 +411,9 @@ myStartupHook = do
|
||||||
spawnOnce "syncthing"
|
spawnOnce "syncthing"
|
||||||
spawnOnce "sh ssh-agent bash ; ssh-add ~/.ssh/arch"
|
spawnOnce "sh ssh-agent bash ; ssh-add ~/.ssh/arch"
|
||||||
spawnOnce "eval '$(ssh-agent -s)'; ssh-add ~/.ssh/id_rsa"
|
spawnOnce "eval '$(ssh-agent -s)'; ssh-add ~/.ssh/id_rsa"
|
||||||
spawnOnce ("enact --pos left --watch &")
|
spawnOnce ("$HOME/.cargo/bin/enact --watch --pos left")
|
||||||
spawnOnce ("xrandr --output HDMI1 --left-of eDP1&")
|
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/status/launch &")
|
||||||
spawnOnce (home ++ ".local/scripts/touchpad.sh &")
|
spawnOnce (home ++ ".local/scripts/touchpad.sh &")
|
||||||
-- spawnOnce ("cd /home/horhik/Freenet/downloads/fms; ./fms --daemon &")
|
-- spawnOnce ("cd /home/horhik/Freenet/downloads/fms; ./fms --daemon &")
|
||||||
|
|
Loading…
Reference in a new issue