From f9d1c764b287eed43ec3a2ecd4c4c02405fe1ff5 Mon Sep 17 00:00:00 2001 From: Martin Andersen Date: Sat, 25 May 2024 21:06:22 +0200 Subject: [PATCH] Update install.sh --- install.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index 0f21625..d90d046 100644 --- a/install.sh +++ b/install.sh @@ -94,7 +94,7 @@ clear # Installation start screen -FULLUSERNAME=$(awk -v user="$USER" -F":" 'user==$1{print $5}' /etc/passwd) +FULLUSERNAME=$(awk -v user="$USER" -F":" 'user==$1{print $5}' /etc/passwd | rev | cut -c 4- | rev) if (whiptail --title "Installation of the Martin Qtile Desktop" --yesno "Hi $FULLUSERNAME do you want to start \nThe M.A.D.E installation ?" 10 50); then echo -e "${GREEN} Okay, let's start the installation" @@ -773,14 +773,14 @@ fi RWALLP="$(find $HOME/Wallpapers -type f | shuf -n 1)" -notify-send "Automatically new background and color theme" "Please wait while we find a new background image and some colors to match" +notify-send -u low "Automatically new background and color theme" "Please wait while we find a new background image and some colors to match" python3 $HOME/.config/qtile/extract_colors.py $RWALLP feh --bg-scale $RWALLP qtile cmd-obj -o cmd -f reload_config kitty +kitten themes --reload-in=all Theme -notify-send "Automatically new background and color theme" "The background image and colors has been updated." +notify-send -u low "Automatically new background and color theme" "The background image and colors has been updated." AUTONEWWALLPAPERANDCOLORSBIN' @@ -1544,11 +1544,11 @@ runmenu = 'rofi -modi "drun,run,window,filebrowser" -show drun' # Switch between keys = [ # A list of available commands that can be bound to keys can be found # at https://docs.qtile.org/en/latest/manual/config/lazy.html - # - # Examples: + # + # Examples: # a key binding that can run an external Script or Command # Key([mod], "l", lazy.spawn(os.path.expanduser("xsecurelock")), desc='Computer Lockdown'), - # + # # a normal key binding that pulls from a variable # Key([mod], "Return", lazy.spawn(terminal), desc="Launch Terminal"), @@ -1577,11 +1577,11 @@ keys = [ # Grow windows. If current window is on the edge of screen and direction # will be to screen edge - window would shrink. - Key([mod, "control"], "h", lazy.layout.grow_left(), desc="Grow window to the left"), - Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"), + Key([mod, "control"], "h", lazy.layout.grow_left(), lazy.layout.grow(), desc="Grow window to the left"), + Key([mod, "control"], "l", lazy.layout.grow_right(), lazy.layout.shrink(), desc="Grow window to the right"), Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"), Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"), - Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"), + Key([mod, "control"], "n", lazy.layout.normalize(), lazy.layout.reset(), desc="Reset all window sizes"), # Toggle between split and unsplit sides of stack. # Split = all windows displayed @@ -1651,8 +1651,8 @@ for vt in range(1, 8): # Find icons here - https://www.nerdfonts.com/cheat-sheet # nf-linux-debian  nf-md-rocket_launch 󱓞 nf-cod-rocket  nf-cod-settings  nf-dev-android  nf-dev-chrome  nf-dev-terminal  # nf-dev-prolog  nf-fa-apple  nf-fa-earlybirds  nf-fa-egg  nf-fa-grav  nf-fa-linux  nf-fa-snapchat  -# nf-fa-steam  nf-fa-terminal  nf-fa-wifi  nf-fae-pi  nf-md-recycle 󰑌 nf-md-symbol 󱔁 nf-fa-mug_hot  -# nf-fa-thermometer_2  nf-md-battery_medium 󱊢 nf-md-battery_charging 󰂄 +# nf-fa-steam  nf-fa-terminal  nf-fa-wifi  nf-fae-pi  nf-md-recycle 󰑌 nf-md-symbol 󱔁 nf-fa-mug_hot  +# nf-fa-thermometer_2  nf-md-battery_medium 󱊢 nf-md-battery_charging 󰂄 # nf-fa-volume_high  nf-fa-volume_low  nf-fa-volume_xmark  # nf-md-pac_man 󰮯 nf-md-ghost 󰊠 nf-fa-circle  nf-cod-circle_large  nf-cod-circle_filled  nf-md-circle_small 󰧟 nf-md-circle_medium 󰧞