Update install.sh
This commit is contained in:
76
install.sh
76
install.sh
@@ -20,16 +20,25 @@
|
||||
# autorandr --remove PROFILENAME
|
||||
# autorandr --default PROFILENAME
|
||||
|
||||
# fwupd "Firmware update daemon" - https://github.com/fwupd/fwupd
|
||||
# fwupdmgr get-devices && fwupdmgr refresh
|
||||
# fwupdmgr get-updates && fwupdmgr update
|
||||
|
||||
# fzf "general-purpose command-line fuzzy finder"
|
||||
# https://github.com/junegunn/fzf
|
||||
# nano $(fzf --preview='cat {}')
|
||||
|
||||
# nsxiv "Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer" - https://github.com/nsxiv/nsxiv
|
||||
|
||||
# Neovim (nvim) - https://neovim.io/ - https://neovim.io/doc/user/vimindex.html
|
||||
# Vim commands you NEED TO KNOW https://www.youtube.com/watch?v=RSlrxE21l_k
|
||||
|
||||
# LazyVim - Can be used after Neovim >= 0.9.0 - https://github.com/LazyVim/LazyVim
|
||||
# https://github.com/folke/lazy.nvim
|
||||
|
||||
|
||||
|
||||
|
||||
# Start the install *_:*:_*:*:_*_*:*:_*::*_*::*_*:_*::*_*:*:**_:*:*_*:*:_*:*_:*:#
|
||||
|
||||
# Whiptail colors
|
||||
@@ -154,10 +163,10 @@ sudo apt update
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
echo -e "${YELLOW} Core System APT install ${NC}"
|
||||
sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom fwupd mesa-utils htop feh wget curl git alsa-utils alsa-tools pulseaudio numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi fontconfig fontconfig-config fonts-dejavu-core libfontconfig1
|
||||
sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom fwupd mesa-utils htop wget curl git alsa-utils alsa-tools numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi fontconfig fontconfig-config fonts-dejavu-core libfontconfig1 fonts-arkpandora tmux feh
|
||||
sudo apt install -y sddm --no-install-recommends
|
||||
|
||||
sudo apt install -y nitrogen xarchiver mpv flameshot speedcrunch mc gvfs-backends mpd mpc ncmpcpp fzf
|
||||
sudo apt install -y nitrogen xarchiver mpv flameshot speedcrunch mc gvfs-backends mpd mpc ncmpcpp fzf nsxiv
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
echo -e "${YELLOW} Audio on system - https://alsa.opensrc.org - https://wiki.debian.org/ALSA ${NC}"
|
||||
@@ -166,7 +175,16 @@ echo -e "${YELLOW} Audio on system - https://alsa.opensrc.org - https://wiki.deb
|
||||
# sudo adduser $USER audio
|
||||
sudo alsactl init
|
||||
|
||||
systemctl --user enable pulseaudio
|
||||
# PipeWire Sound Server - https://pipewire.org/
|
||||
sudo apt install -y pipewire pipewire-pulse wireplumber
|
||||
systemctl --user enable pipewire.socket pipewire-pulse.socket
|
||||
systemctl --user enable wireplumber.service
|
||||
|
||||
# PulseAudio
|
||||
#sudo apt install -y pulseaudio
|
||||
#systemctl --user enable pulseaudio
|
||||
|
||||
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
echo -e "${YELLOW} CPU Microcode install start ${NC}"
|
||||
@@ -309,19 +327,18 @@ decoder {
|
||||
}
|
||||
|
||||
# Audio output
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "Pulse Output"
|
||||
type "pipewire"
|
||||
name "PipeWire Sound Server"
|
||||
enabled "yes"
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "Local PulseAudio Server"
|
||||
enabled "no"
|
||||
}
|
||||
|
||||
#audio_output {
|
||||
# type "alsa"
|
||||
# name "ALSA default"
|
||||
# device "default:CARD=Audio"
|
||||
#}
|
||||
|
||||
# MPD End of config
|
||||
|
||||
MPDCONFIG
|
||||
|
||||
else
|
||||
@@ -426,6 +443,27 @@ else
|
||||
fi
|
||||
|
||||
echo -e "${YELLOW} Neovim config END ${NC}"
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
echo -e "${YELLOW} Tmux config Start ${NC}"
|
||||
|
||||
if [ ! -f ~.config/tmux/tmux.conf ]; then
|
||||
mkdir -p ~/.config/tmux
|
||||
cat << "TMUXCONFIG" > ~.config/tmux/tmux.conf
|
||||
unbind r
|
||||
bind r source-file ~.config/tmux/tmux.conf
|
||||
|
||||
TMUXCONFIG
|
||||
|
||||
else
|
||||
echo "Tmux config file already exists."
|
||||
fi
|
||||
|
||||
echo -e "${YELLOW} Tmux config END ${NC}"
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -2389,9 +2427,15 @@ keys = [
|
||||
Key([mod, "mod1", "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
|
||||
|
||||
# XF86 Audio & Brightness keys
|
||||
Key([], "XF86AudioRaiseVolume", lazy.spawn("amixer set Master 2%+"), desc='Volume Up'),
|
||||
Key([], "XF86AudioLowerVolume", lazy.spawn("amixer set Master 5%+"), desc='Volume down'),
|
||||
Key([], "XF86AudioMute", lazy.spawn("amixer set Master toggle"), desc='Volume Mute'),
|
||||
Key([], "XF86AudioRaiseVolume", lazy.spawn("wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%+"), desc='Volume Up'),
|
||||
Key([], "XF86AudioLowerVolume", lazy.spawn("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), desc='Volume down'),
|
||||
Key([], "XF86AudioMute", lazy.spawn("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), desc='Volume Mute toggle'),
|
||||
# mute/unmute the microphone - wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
# Show volume level - wpctl get-volume @DEFAULT_AUDIO_SINK@
|
||||
|
||||
# Key([], "XF86AudioRaiseVolume", lazy.spawn("amixer set Master 2%+"), desc='Volume Up'),
|
||||
# Key([], "XF86AudioLowerVolume", lazy.spawn("amixer set Master 5%+"), desc='Volume down'),
|
||||
# Key([], "XF86AudioMute", lazy.spawn("amixer set Master toggle"), desc='Volume Mute'),
|
||||
Key([], "XF86AudioPlay", lazy.spawn("playerctl play-pause"), desc='Play-Pause'),
|
||||
Key([], "XF86AudioPrev", lazy.spawn("playerctl previous"), desc='Previous'),
|
||||
Key([], "XF86AudioNext", lazy.spawn("playerctl next"), desc='Next'),
|
||||
|
||||
Reference in New Issue
Block a user