aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/herbstluftwm/autostart42
-rw-r--r--.zprofile4
2 files changed, 24 insertions, 22 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index d2c1d1f..d7a1617 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -34,7 +34,7 @@ xset -dpms
xset s off
#daemons
-picom -b --backend glx --vsync --glx-no-stencil --glx-no-rebind-pixmap
+picom -b --backend glx --vsync
fcitx5 &
@@ -173,38 +173,38 @@ 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 ~/.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
+hc keybind Mod4-Shift-Control-Return spawn aty -e ranger ~
+hc keybind Mod4-Shift-Control-a spawn aty -e ranger ~/audio
+hc keybind Mod4-Shift-Control-b spawn aty -e ranger ~/documents/books
+hc keybind Mod4-Shift-Control-c spawn aty -e ranger ~/documents/comics
+hc keybind Mod4-Shift-Control-d spawn aty -e ranger ~/downloads
+hc keybind Mod4-Shift-Control-g spawn aty -e ranger ~/games
+hc keybind Mod4-Shift-Control-i spawn aty -e ranger ~/images
+hc keybind Mod4-Shift-Control-m spawn aty -e ranger ~/music
+hc keybind Mod4-Shift-Control-n spawn aty -e ranger ~/documents/manga
+hc keybind Mod4-Shift-Control-p spawn aty -e ranger ~/projects
+hc keybind Mod4-Shift-Control-s spawn aty -e ranger ~/desktop
+hc keybind Mod4-Shift-Control-r spawn aty -e ranger ~/work
+hc keybind Mod4-Shift-Control-t spawn aty -e ranger ~/thcool
+hc keybind Mod4-Shift-Control-v spawn aty -e ranger ~/videos
+hc keybind Mod4-Shift-Control-w spawn aty -e ranger ~/projects/writing
# grab colour to clipboard
hc keybind Mod4-c spawn ~/.config/herbstluftwm/colourgrab.sh
# spawn
-hc keybind Mod4-Return spawn ~/.config/herbstluftwm/alacritty.sh
+hc keybind Mod4-Return spawn aty
hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox
hc keybind Mod4-Shift-g spawn gimp
hc keybind Mod4-Shift-i spawn krita
hc keybind Mod4-Shift-m spawn ~/.config/herbstluftwm/kanjidraw.sh
-hc keybind Mod4-Shift-n spawn ~/.config/herbstluftwm/alacritty.sh -t "notes" -e pass edit notes
+hc keybind Mod4-Shift-n spawn aty -t "notes" -e pass edit notes
hc keybind Mod4-Shift-o spawn ~/yolo/tor/start-tor-browser
hc keybind Mod4-Shift-s spawn inkscape
-hc keybind Mod4-Shift-r spawn ~/.config/herbstluftwm/alacritty.sh -t "recall" -e pass edit recall
+hc keybind Mod4-Shift-r spawn aty -t "recall" -e pass edit recall
hc keybind Mod4-Shift-t spawn transmission-gtk
-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-v spawn aty -e $EDITOR
+hc keybind Mod4-Shift-w spawn aty -t "weechat" -e weechat
# dmenu
hc keybind Mod4-r spawn dmenu_run -fn "${bfont}:size=${bfont_size}" \
diff --git a/.zprofile b/.zprofile
index 7b687a2..0106982 100644
--- a/.zprofile
+++ b/.zprofile
@@ -4,7 +4,9 @@
source "$HOME/.config/init/vars"
################# SET TERMCMD #################
-if [[ ! -z $(whence alacritty) ]] then
+if [[ ! -z $(whence aty) ]] then
+ export TERMCMD=aty
+elif [[ ! -z $(whence alacritty) ]] then
export TERMCMD=alacritty
elif [[ ! -z $(whence urxvt) ]] then
export TERMCMD=urxvt