dock and undock scripts
authorMart Lubbers <mart@martlubbers.net>
Mon, 22 Mar 2021 08:04:33 +0000 (09:04 +0100)
committerMart Lubbers <mart@martlubbers.net>
Mon, 22 Mar 2021 08:04:33 +0000 (09:04 +0100)
cal/.config/khal/config
shell/.local/bin/tmuxmail
vim/.vim/spell/en.utf-8.add
x/.local/bin/dock.sh [new file with mode: 0755]
x/.local/bin/scr
x/.local/bin/undock.sh [new file with mode: 0755]
x/.local/bin/xrandr-merge-hdmi.sh [changed mode: 0644->0755]

index 737bbbd..1b50244 100644 (file)
@@ -40,7 +40,6 @@ longdatetimeformat = %Y-%m-%d %H:%M
 firstweekday = 0
 
 [default]
-default_command = calendar
 default_calendar = mart
 show_all_days = True
 
index 839abc1..a0ff713 100755 (executable)
@@ -2,8 +2,7 @@
 tmux -f ~/.config/tmux/config\
        new-session -s mail -d 'update && offlineimap' \;\
        new-window 'mutt'                              \;\
-       new-window 'ssh helheim'                       \;\
-       new-window 'newsboat -r'                       \;\
+       new-window 'ssh ygdrassil'                     \;\
        new-session -s work                            \;\
        attach-session -t mail                         \;\
        select-window -t:1
index 7d3d1b2..dc2deae 100644 (file)
@@ -26,3 +26,5 @@ typeclasses
 datatypes
 deserialization
 tagless
+Brightspace
+GitLab
diff --git a/x/.local/bin/dock.sh b/x/.local/bin/dock.sh
new file mode 100755 (executable)
index 0000000..16178c7
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+sudo ifdown enp0s31f6
+sudo ifdown wlp1s0
+sudo ifup enp0s31f6
+xrandr-extend-hdmi.sh
+setxkbmap -option
+setxkbmap dvorak,ru ,phonetic_dvorak compose:ralt,grp:shifts_toggle,grp_led:scroll
+mount /mnt/data
index ab6e6c2..bcbbda3 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh -e
 [ "$#" -ne 1 ] && CROP="" || CROP="-window root"
 URL="scr/$(date +%F_%H-%M-%S).png"
-import $CROP png:- | ssh helheim cat \> /var/www/martlubbers.net/$URL
+import $CROP png:- | ssh helheim2 cat \> /var/www/martlubbers.net/$URL
 echo "http://martlubbers.net/$URL" | cloo.gl | xclip -f | xargs -I{} notify-send {}
diff --git a/x/.local/bin/undock.sh b/x/.local/bin/undock.sh
new file mode 100755 (executable)
index 0000000..6b3e0af
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+sudo ifdown enp0s31f6
+sudo ifdown wlp1s0
+sudo ifup wlp1s0
+xrandr-only-laptop.sh
+setxkbmap -option
+setxkbmap dvorak,ru ,phonetic_dvorak ctrl:swapcaps,compose:ralt,grp:shifts_toggle,grp_led:scroll
+if mountpoint /mnt/data
+then
+       umount /mnt/data
+fi
old mode 100644 (file)
new mode 100755 (executable)