mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-22 08:21:27 +00:00
update xmonad setup
This commit is contained in:
parent
a84bec7892
commit
0f1a47739a
|
@ -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
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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 &")
|
||||
|
|
Loading…
Reference in a new issue