Update install.sh
This commit is contained in:
22
install.sh
22
install.sh
@@ -94,7 +94,7 @@ clear
|
|||||||
|
|
||||||
|
|
||||||
# Installation start screen
|
# 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
|
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"
|
echo -e "${GREEN} Okay, let's start the installation"
|
||||||
@@ -773,14 +773,14 @@ fi
|
|||||||
|
|
||||||
RWALLP="$(find $HOME/Wallpapers -type f | shuf -n 1)"
|
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
|
python3 $HOME/.config/qtile/extract_colors.py $RWALLP
|
||||||
feh --bg-scale $RWALLP
|
feh --bg-scale $RWALLP
|
||||||
qtile cmd-obj -o cmd -f reload_config
|
qtile cmd-obj -o cmd -f reload_config
|
||||||
kitty +kitten themes --reload-in=all Theme
|
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'
|
AUTONEWWALLPAPERANDCOLORSBIN'
|
||||||
|
|
||||||
@@ -1544,11 +1544,11 @@ runmenu = 'rofi -modi "drun,run,window,filebrowser" -show drun' # Switch between
|
|||||||
keys = [
|
keys = [
|
||||||
# A list of available commands that can be bound to keys can be found
|
# 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
|
# at https://docs.qtile.org/en/latest/manual/config/lazy.html
|
||||||
#
|
#
|
||||||
# Examples:
|
# Examples:
|
||||||
# a key binding that can run an external Script or Command
|
# a key binding that can run an external Script or Command
|
||||||
# Key([mod], "l", lazy.spawn(os.path.expanduser("xsecurelock")), desc='Computer Lockdown'),
|
# Key([mod], "l", lazy.spawn(os.path.expanduser("xsecurelock")), desc='Computer Lockdown'),
|
||||||
#
|
#
|
||||||
# a normal key binding that pulls from a variable
|
# a normal key binding that pulls from a variable
|
||||||
# Key([mod], "Return", lazy.spawn(terminal), desc="Launch Terminal"),
|
# 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
|
# Grow windows. If current window is on the edge of screen and direction
|
||||||
# will be to screen edge - window would shrink.
|
# 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"], "h", lazy.layout.grow_left(), lazy.layout.grow(), desc="Grow window to the left"),
|
||||||
Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"),
|
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"], "j", lazy.layout.grow_down(), desc="Grow window down"),
|
||||||
Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"),
|
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.
|
# Toggle between split and unsplit sides of stack.
|
||||||
# Split = all windows displayed
|
# Split = all windows displayed
|
||||||
@@ -1651,8 +1651,8 @@ for vt in range(1, 8):
|
|||||||
# Find icons here - https://www.nerdfonts.com/cheat-sheet
|
# 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-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-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-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-thermometer_2 nf-md-battery_medium nf-md-battery_charging
|
||||||
# nf-fa-volume_high nf-fa-volume_low nf-fa-volume_xmark
|
# 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
|
# 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user