From ae019aa320aec0df50e4d69eb5d25efb8a09cce5 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 14 Jun 2021 21:47:41 +0200 Subject: [PATCH 1/5] [ZSH] Simplify oh-my-zsh loading --- shells/zshrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/shells/zshrc b/shells/zshrc index b4027d1..3c27e73 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -11,11 +11,7 @@ else fi # Set path to oh-my-zsh installation. -if [[ "$USER" == "ftu15" ]]; then - export ZSH=/users/student1/ftu15/.oh-my-zsh -else - export ZSH=/home/$USER/.oh-my-zsh -fi +export ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. # Look in ~/.oh-my-zsh/themes/ From 1a1820f180263d29f50b20178c56fa7fc4211806 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 14 Jun 2021 21:50:55 +0200 Subject: [PATCH 2/5] [HLWM] Add keybinding for alacritty --- herbstluftwm/autostart | 1 + 1 file changed, 1 insertion(+) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index f5d05bf..aadec78 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -54,6 +54,7 @@ hc keybind $Mod-Tab spawn rofi -show combi hc keybind $Mod-Return spawn es hc keybind $Mod-Control-Return spawn ~/.emacs_anywhere/bin/run hc keybind $Mod-t spawn es -e '(vterm)' +hc keybind $Mod-Shift-t spawn alacritty hc keybind $Mod-b spawn qutebrowser hc keybind $Mod-v spawn pavucontrol-qt hc keybind $Mod-Control-b spawn firefox-developer-edition From a4bd079e6ff75937b33fa33ea39b4b48d9ea68bb Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 14 Jun 2021 21:51:13 +0200 Subject: [PATCH 3/5] [HLWM] Switched keybinding for pavucontrol-qt to pavucontrol --- herbstluftwm/autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index aadec78..e32a9ad 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -56,8 +56,8 @@ hc keybind $Mod-Control-Return spawn ~/.emacs_anywhere/bin/run hc keybind $Mod-t spawn es -e '(vterm)' hc keybind $Mod-Shift-t spawn alacritty hc keybind $Mod-b spawn qutebrowser -hc keybind $Mod-v spawn pavucontrol-qt hc keybind $Mod-Control-b spawn firefox-developer-edition +hc keybind $Mod-v spawn pavucontrol hc keybind $Mod-Control-t spawn es -e '(eshell)' hc keybind $Mod-Control-m spawn es -e '(mu4e)' hc keybind $Mod-Control-e spawn es -e '(elfeed)' From 8f834f123bef91e2ab3d763db5208abf3c0f0704 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 14 Jun 2021 21:51:50 +0200 Subject: [PATCH 4/5] [HLWM] Switch kbd from firefox-developer-edition to firefox --- herbstluftwm/autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index e32a9ad..c732a77 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -56,8 +56,8 @@ hc keybind $Mod-Control-Return spawn ~/.emacs_anywhere/bin/run hc keybind $Mod-t spawn es -e '(vterm)' hc keybind $Mod-Shift-t spawn alacritty hc keybind $Mod-b spawn qutebrowser -hc keybind $Mod-Control-b spawn firefox-developer-edition hc keybind $Mod-v spawn pavucontrol +hc keybind $Mod-Control-b spawn firefox hc keybind $Mod-Control-t spawn es -e '(eshell)' hc keybind $Mod-Control-m spawn es -e '(mu4e)' hc keybind $Mod-Control-e spawn es -e '(elfeed)' From aaa84bbc691daa0244bb0ad6914937b3ec77af6d Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 14 Jun 2021 21:52:36 +0200 Subject: [PATCH 5/5] [HLWM] Adjust keybinding for display output script --- herbstluftwm/autostart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index c732a77..2316a03 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -131,6 +131,9 @@ hc keybind $Mod-space or , and . compare tags.focus.curframe_wcount = 2 \ . cycle_layout +1 vertical horizontal max vertical grid \ , cycle_layout +1 +# Adjust display output +hc keybind $Mod-d spawn ~/dotfiles/scripts/hlwm-display-switch.sh i +hc keybind $Mod-Shift-d spawn ~/dotfiles/scripts/hlwm-display-switch.sh e # mouse hc mouseunbind --all