From a3269bdb52b2a8db78442fc34dc8e667f7469b99 Mon Sep 17 00:00:00 2001 From: Spangenberg Date: Sat, 21 Oct 2023 09:38:07 +0200 Subject: [PATCH] install.sh --- hypr/conf/keybindings.conf | 2 +- install.sh | 4 +++- ranger/rc.conf | 2 +- scripts/filemanager.sh | 2 +- waybar/launch.sh | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/hypr/conf/keybindings.conf b/hypr/conf/keybindings.conf index aae5113..3c75de4 100644 --- a/hypr/conf/keybindings.conf +++ b/hypr/conf/keybindings.conf @@ -20,7 +20,7 @@ bind = $mainMod CTRL, RETURN, exec, ~/dotfiles/scripts/applauncher.sh bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh -#bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh +bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 diff --git a/install.sh b/install.sh index 0383c80..a8677cd 100755 --- a/install.sh +++ b/install.sh @@ -4,10 +4,11 @@ source $(dirname "$0")/scripts/library.sh # install yay +cd .. git clone https://aur.archlinux.org/yay-git.git cd yay-git makepkg -si -cd .. +cd ../dotfiles # Install required packages packagesPacman=( @@ -27,6 +28,7 @@ packagesPacman=( "xfce4-power-manager" "mousepad" "ranger" + "thunar" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" diff --git a/ranger/rc.conf b/ranger/rc.conf index 2225ab0..c2b79b3 100644 --- a/ranger/rc.conf +++ b/ranger/rc.conf @@ -114,7 +114,7 @@ set preview_images true # Preview images in full color with the external command "ueberzug". # Images are shown by using a child window. # Only for users who run X11 in GNU/Linux. -set preview_images_method ueberzug +set preview_images_method w3m # Delay in seconds before displaying an image with the w3m method. # Increase it in case of experiencing display corruption. diff --git a/scripts/filemanager.sh b/scripts/filemanager.sh index be08fff..eacb633 100755 --- a/scripts/filemanager.sh +++ b/scripts/filemanager.sh @@ -1,4 +1,4 @@ #/bin/sh -nautilus +thunar diff --git a/waybar/launch.sh b/waybar/launch.sh index a0b4639..2b651e0 100755 --- a/waybar/launch.sh +++ b/waybar/launch.sh @@ -22,7 +22,7 @@ if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then fi # Loading the configuration and style file based on the username -if [[ $USER = "stefan" ]] +if [[ $USER = "raabe" ]] then waybar -c ~/dotfiles/waybar/themes${arrThemes[0]}/myconfig -s ~/dotfiles/waybar/themes${arrThemes[1]}/style.css & else