Compare commits
No commits in common. "6158a0967dfad1293f231879e611f97688d48fb8" and "9b9f60b3e0c7a664d2028726de5b8aaf2e5516f1" have entirely different histories.
6158a0967d
...
9b9f60b3e0
|
@ -30,7 +30,6 @@ target/
|
|||
*.pdf
|
||||
*.bbl
|
||||
*.blg
|
||||
*.out
|
||||
|
||||
# Python
|
||||
__pycache__
|
||||
|
|
|
@ -32,7 +32,6 @@ alot
|
|||
xmonad
|
||||
shelltest
|
||||
mmime
|
||||
snakeviz
|
||||
|
||||
# shouldn't share this one with the world
|
||||
macaddress
|
||||
|
|
|
@ -8,12 +8,14 @@ dp1_2="$(xrandr | grep '^DP1-2 connected')"
|
|||
dp1_3="$(xrandr | grep '^DP1-3 connected')"
|
||||
|
||||
if [ -n "$dp1" -a -z "$dp1_1" -a -z "$dp1_2" -a -z "$dp1_3" ]; then
|
||||
xrandr --output DP1 --auto --primary --above eDP1
|
||||
xrandr --output DP1 --auto --above eDP1
|
||||
elif [ -z "$dp1" -a -n "$dp1_1" -a -z "$dp1_2" -a -z "$dp1_3" ]; then
|
||||
xrandr --output DP1-1 --auto --primary --above eDP1
|
||||
xrandr --output DP1-1 --auto --above eDP1
|
||||
elif [ -z "$dp1" -a -n "$dp1_1" -a -n "$dp1_2" -a -z "$dp1_3" ]; then
|
||||
xrandr --output DP1-1 --auto --left-of eDP1 \
|
||||
--output DP1-2 --auto --right-of eDP1
|
||||
elif [ -z "$dp1" -a -z "$dp1_1" -a -z "$dp1_2" -a -n "$dp1_3" ]; then
|
||||
xrandr --output DP1-3 --auto --primary --above eDP1
|
||||
xrandr --output DP1-3 --auto --above eDP1
|
||||
fi
|
||||
|
||||
~/.fehbg
|
||||
|
|
|
@ -6,6 +6,6 @@ token="$(pass show ugent/zeus/tap)"
|
|||
curl --header 'Accept: application/json' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header "Authorization: Token token=$token" \
|
||||
--data '{"order":{"order_items_attributes":[{"count":1,"product_id":1}]}}' \
|
||||
--data '{"order":{"order_items_attributes":[{"count":1,"product_id":180}]}}' \
|
||||
--location \
|
||||
"$base/users/$user/orders.json"
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
{
|
||||
sleep 1
|
||||
xset dpms force off
|
||||
} &
|
||||
slock
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
{
|
||||
sleep 1
|
||||
xset dpms force off
|
||||
} &
|
||||
killall -SIGUSR1 dunst # pause
|
||||
slock
|
||||
killall -SIGUSR2 dunst # resume
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "$*" ]; then
|
||||
exec munsubscribe .
|
||||
else
|
||||
for url in $(mshow -qh list-unsubscribe "$@" | grep -o '<http[^>]*>' | sed -e 's/^<//' -e 's/>$//'); do
|
||||
curl -w '%{http_code}' -s -o /dev/null "$url"
|
||||
done
|
||||
fi
|
Loading…
Reference in New Issue