Script changes to dmenu scripts
parent
11a1125558
commit
4cedf97a0a
@ -1,4 +1,7 @@
|
||||
rsync --ignore-existing -azP ~/documents/ 192.168.1.250:backup/documents/
|
||||
rsync --ignore-existing -azP ~/pictures/ 192.168.1.250:backup/pictures/
|
||||
rsync --ignore-existing -azP ~/books/ 192.168.1.250:backup/books/
|
||||
rsync --ignore-existing -azP ~/documents/ 192.168.1.225:documents/
|
||||
rsync --ignore-existing -azP ~/pictures/ 192.168.1.225:pictures/
|
||||
rsync --ignore-existing -azP ~/books/ 192.168.1.225:books/
|
||||
rsync --ignore-existing -azP ~/recordings/ 192.168.1.225:recordings/
|
||||
rsync --ignore-existing -azP ~/misc/ 192.168.1.225:misc/
|
||||
rsync --ignore-existing -azP ~/git/ 192.168.1.225:git/
|
||||
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
dmenu -p "$1" <&- && echo
|
||||
|
||||
# https://www.reddit.com/r/dmenu/comments/1xxszr/run_programs_as_root_through_dmenu/
|
||||
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
$(systemctl stop openvpn@$(cat /home/nathan/vpn) && systemctl start openvpn@$1) || systemctl start openvpn@$1
|
||||
Loading…
Reference in New Issue