From a7fdb4f49714d8526a68c1a0cd2549ca5e92eb6f Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 12 Aug 2023 14:14:23 +0800 Subject: Update for new laptop installation --- Makefile | 12 ++++++++---- X11/alacritty/fonts.yml | 2 +- X11/openbox/rc.xml | 43 ++++++++++++++++++++++--------------------- alias | 3 ++- bin/gpt/gpt | 1 + bin/install.sh | 2 +- misc/keymap | 3 +-- tigrc | 2 +- 8 files changed, 37 insertions(+), 31 deletions(-) diff --git a/Makefile b/Makefile index 72f4dd9..4e435fb 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,6 @@ gpg: ln -sf `pwd`/misc/gpg-agent ~/.gnupg/gpg-agent.conf gpgconf --reload gpg-agent -console: - sudo ln -sf `pwd`/misc/vconsole.conf /etc/vconsole.conf - zsh: ln -sf `pwd`/zsh/zshenv ~/.zshenv mkdir -p ~/.config/zsh @@ -62,9 +59,16 @@ tmux: crontab: (crontab -l 2>/dev/null; cat bin/cron/* | sed '/^#/ d') | crontab - +# Swap Ctrl-Caps in X11 libinput: sudo ln -sf `pwd`/misc/libinput/* /etc/X11/xorg.conf.d/ +# Swap Ctrl-Caps in tty2~6 +console: + sudo ln -sf `pwd`/misc/vconsole.conf /etc/vconsole.conf + sudo systemctl restart systemd-vconsole-setup.service + + task: ln -sf $(HOME)/.task/taskrc $(HOME)/.taskrc if [ ! -d "$(HOME)/.task/.git" ]; then @@ -93,7 +97,7 @@ urlview: ln -sf `pwd`/misc/urlview ~/.urlview alacritty: - ln -sf `pwd`/X11/alacritty/ ~/.config/alacritty + ln -sf `pwd`/X11/alacritty ~/.config/alacritty mpd: ln -sf `pwd`/mpd/ncmpcpp ~/.config/ncmpcpp diff --git a/X11/alacritty/fonts.yml b/X11/alacritty/fonts.yml index 2ea94f1..d8cacaf 100644 --- a/X11/alacritty/fonts.yml +++ b/X11/alacritty/fonts.yml @@ -24,7 +24,7 @@ font: #style: Bold Italic # Point size - size: 18 + size: 20 # Offset #offset: diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index d1bf693..65ffdf2 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml @@ -28,37 +28,37 @@ yes Sans - 18 + 20 Bold Normal Hack Nerd Font - 18 + 20 Normal Normal Hack Nerd Font - 18 + 20 Bold Normal Hack Nerd Font - 18 + 20 Normal Normal Hack Nerd Font - 18 + 20 Bold Normal Hack Nerd Font - 18 + 20 Normal Normal @@ -111,7 +111,7 @@ alacritty --title @OPENBOX_CONFIG \ -o "window.dimensions.lines=32" \ -o "window.dimensions.columns=90" \ - -e $EDITOR ~/.config/openbox/rc.xml \ + -e nvim ~/.config/openbox/rc.xml \ ' @@ -435,17 +435,17 @@ - volume --inc + ob-volume --inc - volume --dec + ob-volume --dec - volume --toggle + ob-volume --toggle @@ -605,7 +605,7 @@ - ~/.config/openbox/rofi/bin/launcher + launcher @@ -620,12 +620,13 @@ - - sh -c ' - xdotool search --name MPD windowquit || \ - alacritty --title MPD -e ncmpcpp - ' - + ob-music + + sh -c ' + xdotool search --name MPD windowquit || \ + alacritty --title MPD -e ncmpcpp + ' + @@ -644,7 +645,7 @@ - ~/.config/openbox/rofi/bin/powermenu + powermenu @@ -659,7 +660,7 @@ - ~/.config/openbox/rofi/bin/screenshot + screenshot @@ -687,7 +688,7 @@ - ~/.config/openbox/rofi/bin/runner + runner @@ -804,7 +805,7 @@ -