diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-08-12 14:14:23 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-08-12 14:14:30 +0800 |
commit | a7fdb4f49714d8526a68c1a0cd2549ca5e92eb6f (patch) | |
tree | 6de20022ecee7315eae53168b895b5768f27a34c /Makefile | |
parent | 88324114e3725415a550d233a0b9fc16d1d82e53 (diff) |
Update for new laptop installation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -23,9 +23,6 @@ gpg: | |||
23 | ln -sf `pwd`/misc/gpg-agent ~/.gnupg/gpg-agent.conf | 23 | ln -sf `pwd`/misc/gpg-agent ~/.gnupg/gpg-agent.conf |
24 | gpgconf --reload gpg-agent | 24 | gpgconf --reload gpg-agent |
25 | 25 | ||
26 | console: | ||
27 | sudo ln -sf `pwd`/misc/vconsole.conf /etc/vconsole.conf | ||
28 | |||
29 | zsh: | 26 | zsh: |
30 | ln -sf `pwd`/zsh/zshenv ~/.zshenv | 27 | ln -sf `pwd`/zsh/zshenv ~/.zshenv |
31 | mkdir -p ~/.config/zsh | 28 | mkdir -p ~/.config/zsh |
@@ -62,9 +59,16 @@ tmux: | |||
62 | crontab: | 59 | crontab: |
63 | (crontab -l 2>/dev/null; cat bin/cron/* | sed '/^#/ d') | crontab - | 60 | (crontab -l 2>/dev/null; cat bin/cron/* | sed '/^#/ d') | crontab - |
64 | 61 | ||
62 | # Swap Ctrl-Caps in X11 | ||
65 | libinput: | 63 | libinput: |
66 | sudo ln -sf `pwd`/misc/libinput/* /etc/X11/xorg.conf.d/ | 64 | sudo ln -sf `pwd`/misc/libinput/* /etc/X11/xorg.conf.d/ |
67 | 65 | ||
66 | # Swap Ctrl-Caps in tty2~6 | ||
67 | console: | ||
68 | sudo ln -sf `pwd`/misc/vconsole.conf /etc/vconsole.conf | ||
69 | sudo systemctl restart systemd-vconsole-setup.service | ||
70 | |||
71 | |||
68 | task: | 72 | task: |
69 | ln -sf $(HOME)/.task/taskrc $(HOME)/.taskrc | 73 | ln -sf $(HOME)/.task/taskrc $(HOME)/.taskrc |
70 | if [ ! -d "$(HOME)/.task/.git" ]; then | 74 | if [ ! -d "$(HOME)/.task/.git" ]; then |
@@ -93,7 +97,7 @@ urlview: | |||
93 | ln -sf `pwd`/misc/urlview ~/.urlview | 97 | ln -sf `pwd`/misc/urlview ~/.urlview |
94 | 98 | ||
95 | alacritty: | 99 | alacritty: |
96 | ln -sf `pwd`/X11/alacritty/ ~/.config/alacritty | 100 | ln -sf `pwd`/X11/alacritty ~/.config/alacritty |
97 | 101 | ||
98 | mpd: | 102 | mpd: |
99 | ln -sf `pwd`/mpd/ncmpcpp ~/.config/ncmpcpp | 103 | ln -sf `pwd`/mpd/ncmpcpp ~/.config/ncmpcpp |