diff options
author | katherine <ageha@airen-no-jikken.icu> | 2024-06-10 17:30:11 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2024-06-10 17:30:11 -0700 |
commit | ad687a2c62a82d31fdf1125d37158874521aac5c (patch) | |
tree | ff1c5015bf43ba964ebe9f52c3ab9cd9a9e848a8 | |
parent | fa70c9856ed472fa4d0c58fd8dbdcd9fd1be3b67 (diff) | |
download | dotfiles-ad687a2c62a82d31fdf1125d37158874521aac5c.tar.gz |
use alacritty server-client model
-rwxr-xr-x | .config/herbstluftwm/alacritty.sh | 3 | ||||
-rwxr-xr-x | .config/herbstluftwm/autostart | 41 |
2 files changed, 24 insertions, 20 deletions
diff --git a/.config/herbstluftwm/alacritty.sh b/.config/herbstluftwm/alacritty.sh new file mode 100755 index 0000000..a75bae1 --- /dev/null +++ b/.config/herbstluftwm/alacritty.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +alacritty msg create-window $@ || alacritty $@ diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index b0b4aa5..7d4ce25 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -173,38 +173,39 @@ hc keybind Mod4-Print spawn ~/.config/herbstluftwm/maim.sh -m send hc keybind Mod4-Shift-Print spawn ~/.config/herbstluftwm/maim.sh -s -m send # ranger -hc keybind Mod4-Shift-Control-Return spawn alacritty -e ranger ~ -hc keybind Mod4-Shift-Control-a spawn alacritty -e ranger ~/audio -hc keybind Mod4-Shift-Control-b spawn alacritty -e ranger ~/documents/books -hc keybind Mod4-Shift-Control-c spawn alacritty -e ranger ~/documents/comics -hc keybind Mod4-Shift-Control-d spawn alacritty -e ranger ~/downloads -hc keybind Mod4-Shift-Control-g spawn alacritty -e ranger ~/games -hc keybind Mod4-Shift-Control-i spawn alacritty -e ranger ~/images -hc keybind Mod4-Shift-Control-m spawn alacritty -e ranger ~/music -hc keybind Mod4-Shift-Control-n spawn alacritty -e ranger ~/documents/manga -hc keybind Mod4-Shift-Control-p spawn alacritty -e ranger ~/projects -hc keybind Mod4-Shift-Control-s spawn alacritty -e ranger ~/desktop -hc keybind Mod4-Shift-Control-r spawn alacritty -e ranger ~/work -hc keybind Mod4-Shift-Control-t spawn alacritty -e ranger ~/thcool -hc keybind Mod4-Shift-Control-v spawn alacritty -e ranger ~/videos -hc keybind Mod4-Shift-Control-w spawn alacritty -e ranger ~/projects/writing +hc keybind Mod4-Shift-Control-Return spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~ +hc keybind Mod4-Shift-Control-a spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/audio +hc keybind Mod4-Shift-Control-b spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/documents/books +hc keybind Mod4-Shift-Control-c spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/documents/comics +hc keybind Mod4-Shift-Control-d spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/downloads +hc keybind Mod4-Shift-Control-g spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/games +hc keybind Mod4-Shift-Control-i spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/images +hc keybind Mod4-Shift-Control-m spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/music +hc keybind Mod4-Shift-Control-n spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/documents/manga +hc keybind Mod4-Shift-Control-p spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/projects +hc keybind Mod4-Shift-Control-s spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/desktop +hc keybind Mod4-Shift-Control-r spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/work +hc keybind Mod4-Shift-Control-t spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/thcool +hc keybind Mod4-Shift-Control-v spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/videos +hc keybind Mod4-Shift-Control-w spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/projects/writing # grab colour to clipboard hc keybind Mod4-c spawn ~/.config/herbstluftwm/colourgrab.sh # spawn -hc keybind Mod4-Return spawn alacritty +hc keybind Mod4-Return spawn ~/.config/herbstluftwm/alacritty.sh hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox hc keybind Mod4-Shift-g spawn gwaei hc keybind Mod4-Shift-i spawn gimp +hc keybind Mod4-Shift-k spawn krita hc keybind Mod4-Shift-m spawn ~/.config/herbstluftwm/kanjidraw.sh -hc keybind Mod4-Shift-n spawn alacritty -t "notes" -e $EDITOR ~/notes +hc keybind Mod4-Shift-n spawn ~/.config/herbstluftwm/alacritty.sh -t "notes" -e pass edit notes hc keybind Mod4-Shift-o spawn ~/yolo/tor/start-tor-browser hc keybind Mod4-Shift-p spawn inkscape -hc keybind Mod4-Shift-r spawn krita +hc keybind Mod4-Shift-r spawn ~/.config/herbstluftwm/alacritty.sh -t "recall" -e pass edit recall hc keybind Mod4-Shift-t spawn transmission-gtk -hc keybind Mod4-Shift-v spawn alacritty -e $EDITOR -hc keybind Mod4-Shift-w spawn alacritty -t "weechat" -e weechat +hc keybind Mod4-Shift-v spawn ~/.config/herbstluftwm/alacritty.sh -e $EDITOR +hc keybind Mod4-Shift-w spawn ~/.config/herbstluftwm/alacritty.sh -t "weechat" -e weechat hc keybind Mod4-Shift-z spawn zhudi # dmenu |