Compare commits

...

5 Commits

Author SHA1 Message Date
Fabian Schmidt
b5aea3aeed Merge branch 'master' into macos 2020-07-28 07:48:19 +02:00
Fabian Schmidt
e085233dcb Merge branch 'master' into macos 2020-07-27 08:49:40 +02:00
Fabian Schmidt
2e70b1e35d Merge branch 'master' of git.fabschmidt.xyz:/srv/git/scripts into macos 2020-07-10 15:01:00 +02:00
Fabian Schmidt
b3b11e3b0e Show calendar the way gcal is supposed to (does not work great) 2020-07-10 08:10:17 +02:00
Fabian Schmidt
a69b214c91 Set display order with displayplacer (see: https://github.com/jakehilborn/displayplacer) 2020-07-10 08:03:38 +02:00
2 changed files with 11 additions and 0 deletions

7
displayer Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# run displayplacer list and copy last line below
/usr/local/bin/displayplacer "id:49F08A4F-75FC-4C49-1D42-FCAFFAD002D9 res:1440x900 color_depth:8 scaling:on origin:(0,0) degree:0" "id:53E94505-4CEC-6831-DC98-38719471A1A2 res:2560x1440 hz:60 color_depth:8 scaling:off origin:(-2560,-540) degree:0" "id:FC867AA0-A4A6-CD6C-080F-31EFDA5C3F71 res:2560x1440 hz:60 color_depth:8 scaling:off origin:(-5120,-540) degree:0"
exit 0

4
mcal Executable file
View File

@ -0,0 +1,4 @@
cal | awk '{ print " "$0; getline; print " Mo Tu We Th Fr Sa Su"; \
getline; if (substr($0,1,2) == " 1") print " 1 "; \
do { prevline=$0; if (getline == 0) exit; print " " \
substr(prevline,4,17) " " substr($0,1,2) " "; } while (1) }'