From 048da402d6015f7baf3e14af2a0788d747ab2241 Mon Sep 17 00:00:00 2001 From: Wynd Date: Thu, 17 Oct 2024 23:25:21 +0300 Subject: [PATCH] Added xclip install and gsettings for keybinds --- install.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 258ecbd..26d21a1 100755 --- a/install.sh +++ b/install.sh @@ -125,7 +125,7 @@ sudo apt update -yqq export PATH=$PATH:/home/$USER/.local/bin # 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 \ ffmpeg libavcodec-extra ubuntu-restricted-extras \ 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 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 wget -O ~/Downloads/getdocker.sh "https://get.docker.com" \ && 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) 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-show-seconds '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 \ - && sudo u+x ~/Downloads/openrgb.sh \ - && ~/Downloads/openrgb.sh \ - && rm ~/Downloads/openrgb.sh +# gsetting for keybindings +gsettings set org.gnome.settings-daemon.plugins.media-keys terminal '[]' +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/']" if [ -e "./dot.py" ]; then ./dot.py --deploy