Added xclip install and gsettings for keybinds

master
Wynd 2024-10-17 23:25:21 +03:00
parent 913a728705
commit 048da402d6
1 changed files with 11 additions and 6 deletions

View File

@ -125,7 +125,7 @@ sudo apt update -yqq
export PATH=$PATH:/home/$USER/.local/bin export PATH=$PATH:/home/$USER/.local/bin
# Core # Core
packages="make cmake coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \ packages="make cmake xclip coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala \ firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala \
ffmpeg libavcodec-extra ubuntu-restricted-extras \ ffmpeg libavcodec-extra ubuntu-restricted-extras \
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte tmux \ gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte tmux \
@ -217,6 +217,12 @@ sudo fc-cache -f -v
# Special font for figlet # Special font for figlet
sudo wget -O "/usr/share/figlet/Red Phoenix.flf" "https://raw.githubusercontent.com/xero/figlet-fonts/master/Red%20Phoenix.flf" sudo wget -O "/usr/share/figlet/Red Phoenix.flf" "https://raw.githubusercontent.com/xero/figlet-fonts/master/Red%20Phoenix.flf"
# OpenRGB udev rules
wget -O ~/Downloads/openrgb.sh https://openrgb.org/releases/release_0.9/openrgb-udev-install.sh \
&& sudo u+x ~/Downloads/openrgb.sh \
&& ~/Downloads/openrgb.sh \
&& rm ~/Downloads/openrgb.sh
# Docker # Docker
wget -O ~/Downloads/getdocker.sh "https://get.docker.com" \ wget -O ~/Downloads/getdocker.sh "https://get.docker.com" \
&& chmod u+x ~/Downloads/getdocker.sh \ && chmod u+x ~/Downloads/getdocker.sh \
@ -238,15 +244,14 @@ xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
# Disable automated sleep (only for desktop and plugged in laptops) # Disable automated sleep (only for desktop and plugged in laptops)
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
# Some interface settings # gsettings for clock format
gsettings set org.gnome.desktop.interface clock-format '24h' gsettings set org.gnome.desktop.interface clock-format '24h'
gsettings set org.gnome.desktop.interface clock-show-seconds 'true' gsettings set org.gnome.desktop.interface clock-show-seconds 'true'
gsettings set org.gnome.desktop.interface clock-show-weekday 'true' gsettings set org.gnome.desktop.interface clock-show-weekday 'true'
wget -O ~/Downloads/openrgb.sh https://openrgb.org/releases/release_0.9/openrgb-udev-install.sh \ # gsetting for keybindings
&& sudo u+x ~/Downloads/openrgb.sh \ gsettings set org.gnome.settings-daemon.plugins.media-keys terminal '[]'
&& ~/Downloads/openrgb.sh \ gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/']"
&& rm ~/Downloads/openrgb.sh
if [ -e "./dot.py" ]; then if [ -e "./dot.py" ]; then
./dot.py --deploy ./dot.py --deploy