Merge branch 'main' of git.kennel.ml:Anri/confOS

This commit is contained in:
Mylloon 2022-06-09 14:28:24 +02:00
commit cf73a4f699
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 20 additions and 11 deletions

24
arch.sh
View file

@ -3,8 +3,8 @@
if grep "archlinux" /proc/version > /dev/null; if grep "archlinux" /proc/version > /dev/null;
then then
# === Remove extra packages == # === Remove extra packages ==
pacman -Rsn epiphany gnome-maps cheese gnome-weather gnome-music gnome-books vim gnome-boxes gnome-photos malcontent --noconfirm pacman -Rsn epiphany gnome-maps cheese gnome-weather gnome-music gnome-books vim gnome-boxes gnome-photos malcontent gnome-contacts --noconfirm
# gnome-firefox, maps, caméra, météo, musique, liseuse, vim, machines, photos, parental control # gnome-firefox, maps, caméra, météo, musique, liseuse, vim, machines, photos, parental control, contacts
# === Colors package manager == # === Colors package manager ==
sed -i 's/#Color/Color/g' /etc/pacman.conf sed -i 's/#Color/Color/g' /etc/pacman.conf
@ -18,7 +18,7 @@ then
rm -rf yay rm -rf yay
# === AUR packages == # === AUR packages ==
yay -S --noconfirm spotify obsidian parsec-bin onlyoffice-bin x11-emoji-picker-git gnome-shell-extension-dash-to-dock gnome-shell-extension-desktop-icons-ng dracula-gtk-theme dracula-icons-git visual-studio-code-bin ttf-symbola gnome-shell-extension-appindicator-git touchegg gnome-shell-extension-x11gestures yay -S --noconfirm spotify obsidian parsec-bin onlyoffice-bin x11-emoji-picker-git gnome-shell-extension-dash-to-dock gnome-shell-extension-desktop-icons-ng dracula-gtk-theme dracula-icons-git visual-studio-code-bin ttf-symbola gnome-shell-extension-appindicator-git touchegg gnome-shell-extension-x11gestures gnome-shell-extension-no-overview
# === Disable wayland == # === Disable wayland ==
sed -i 's/#Wayland/Wayland/g' /etc/gdm/custom.conf sed -i 's/#Wayland/Wayland/g' /etc/gdm/custom.conf
@ -26,7 +26,6 @@ then
# === Locales == # === Locales ==
sed -i 's/fr_FR.UTF-8.UTF-8 UTF-8/fr_FR.UTF8 UTF-8/g' /etc/locale.gen sed -i 's/fr_FR.UTF-8.UTF-8 UTF-8/fr_FR.UTF8 UTF-8/g' /etc/locale.gen
locale-gen locale-gen
fish -c "set -Ux LC_ALL fr_FR.UTF-8"
localectl set-locale fr_FR.UTF-8 localectl set-locale fr_FR.UTF-8
# === Fish == # === Fish ==
@ -214,9 +213,6 @@ then
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ command "nautilus -w" # set command gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ command "nautilus -w" # set command
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ binding "<Super>E" # set shortcut gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/nautilus-shortcut/ binding "<Super>E" # set shortcut
gnome-extensions enable dash-to-dock@micxgx.gmail.com
gnome-extensions enable ding@rastersoft.com
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize # add minimized window on dock click gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize # add minimized window on dock click
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false # add Dash to Dock gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false # add Dash to Dock
gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" # affiche les boutons maximisé et minimisé gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" # affiche les boutons maximisé et minimisé
@ -238,12 +234,15 @@ then
gsettings set org.gnome.desktop.interface icon-theme "Dracula" gsettings set org.gnome.desktop.interface icon-theme "Dracula"
# Add gesture # Add gesture
gnome-extensions enable x11gestures@joseexposito.github.io
systemctl enable touchegg.service systemctl enable touchegg.service
systemctl start touchegg systemctl start touchegg
# Tray icons # Extensions (currently not working ... need to enable them manually after the reboot)
gnome-extensions enable dash-to-dock@micxgx.gmail.com
gnome-extensions enable ding@rastersoft.com
gnome-extensions enable x11gestures@joseexposito.github.io
gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com
gnome-extensions enable no-overview@fthx
# === Clipboard manager == # === Clipboard manager ==
gsettings set org.gnome.shell.keybindings toggle-message-tray "[]" gsettings set org.gnome.shell.keybindings toggle-message-tray "[]"
@ -296,8 +295,13 @@ then
# === Manual color == # === Manual color ==
fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\"" fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\""
# === Docker ==
systemctl enable docker.service
systemctl start docker.service
usermod -aG docker "$USER"
# === Unused icons == # === Unused icons ==
apps=("fish" "cmake-gui" "com.github.hluk.copyq" "org.gnome.Totem" "electron17" "org.gnome.Evince" "avahi-discover" "bssh" "bvnc" "org.flameshot.Flameshot" "org.fontforge.FontForge" "lstopo" "htop" "micro" "qv4l2" "qvidcap" "x11-emoji-picker" "xdvi") apps=("fish" "cmake-gui" "com.github.hluk.copyq" "org.gnome.Totem" "electron17" "org.gnome.Evince" "avahi-discover" "bssh" "bvnc" "org.flameshot.Flameshot" "org.fontforge.FontForge" "lstopo" "htop" "micro" "qv4l2" "qvidcap" "x11-emoji-picker" "xdvi" "yelp")
for app in "${apps[@]}" for app in "${apps[@]}"
do do
if [ -f /usr/share/applications/"$app".desktop ] if [ -f /usr/share/applications/"$app".desktop ]

View file

@ -99,7 +99,12 @@
"glu", "glu",
"noto-fonts-cjk", "noto-fonts-cjk",
"networkmanager-openvpn", "networkmanager-openvpn",
"man-pages-fr" "man-pages-fr",
"s-tui",
"neofetch",
"docker",
"docker-compose",
"python-pip"
], ],
"plugin": null, "plugin": null,
"profile": { "profile": {