Browse Source

add README for bin/ scripts

master
Andrew Zah 8 months ago
parent
commit
70a19d3d37
  1. 8
      bin/README.md
  2. 2
      bin/screen-layout.sh
  3. 1
      zsh/aliases.zsh

8
bin/README.md

@ -0,0 +1,8 @@
#### displayman
Set up a udev rule in e.g. `/lib/udev/rules.d/85-dock-rules` targeting your specific device.
`displayman` is a daemon that acts upon receiving a `USR1` signal.
```
SUBSYSTEM=="input", ACTION=="remove|add", ENV{ID_VENDOR_ID}=="2188" RUN+="/usr/bin/pkill -USR1 displayman"
```

2
bin/screen-layout.sh

@ -1,2 +0,0 @@
#!/bin/sh
xrandr --output USB-C-0 --off --output HDMI-0 --mode 2560x1440 --pos 2560x0 --rotate left --output DP-5 --off --output DP-4 --mode 2560x1440 --pos 0x560 --rotate normal --output DP-3 --off --output DP-2 --off --output DP-1 --off --output DP-0 --off

1
zsh/aliases.zsh

@ -50,6 +50,7 @@ alias grep='grep --color=auto'
alias diff='diff --color=auto'
# git
alias gitpp='git push gh master; git push zah master'
alias gbc='git branch -v |& cat'
# git

Loading…
Cancel
Save