Merge branch 'main' of git.mylloon.fr:Anri/confOS
This commit is contained in:
commit
5f8206006c
6 changed files with 21 additions and 7 deletions
2
.config/bat/config
Normal file
2
.config/bat/config
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# This theme works well in dark and light terminal theme
|
||||||
|
--theme="Solarized (light)"
|
|
@ -26,3 +26,4 @@ abbr vgcc "clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -f
|
||||||
abbr vg++ "clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null"
|
abbr vg++ "clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null"
|
||||||
abbr vmake "clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null"
|
abbr vmake "clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null"
|
||||||
abbr zip "zip -r 'archive.zip' dossier"
|
abbr zip "zip -r 'archive.zip' dossier"
|
||||||
|
abbr mfind "find /* 2> /dev/null | grep ''"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"mkparents": true,
|
|
||||||
"colorcolumn": 80,
|
"colorcolumn": 80,
|
||||||
|
"colorscheme": "monokai",
|
||||||
|
"mkparents": true,
|
||||||
"rmtrailingws": true,
|
"rmtrailingws": true,
|
||||||
"scrollbar": true,
|
"scrollbar": true,
|
||||||
"softwrap": true,
|
"softwrap": true,
|
||||||
|
|
|
@ -28,6 +28,7 @@ main() {
|
||||||
# Set the fish theme
|
# Set the fish theme
|
||||||
fish -c "fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save"
|
fish -c "fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save"
|
||||||
fish -c "set fish_color_comment 5c6773" # custom comment color
|
fish -c "set fish_color_comment 5c6773" # custom comment color
|
||||||
|
sed -i "s/bubblegum/monokai/g" "$HOME"/.config/micro/settings.json
|
||||||
;;
|
;;
|
||||||
"sunrise" ) # Go to light mode
|
"sunrise" ) # Go to light mode
|
||||||
# Set the Terminal profile
|
# Set the Terminal profile
|
||||||
|
@ -36,6 +37,7 @@ main() {
|
||||||
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_default}"/ background-color "rgb(253,246,227)"
|
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_default}"/ background-color "rgb(253,246,227)"
|
||||||
# Set the fish theme
|
# Set the fish theme
|
||||||
fish -c "fish_config theme choose 'Solarized Light' && yes | fish_config theme save"
|
fish -c "fish_config theme choose 'Solarized Light' && yes | fish_config theme save"
|
||||||
|
sed -i "s/monokai/bubblegum/g" "$HOME"/.config/micro/settings.json
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
echo "Can't interpret given argument" ;;
|
echo "Can't interpret given argument" ;;
|
||||||
|
|
13
arch.sh
13
arch.sh
|
@ -49,18 +49,17 @@ main() {
|
||||||
|
|
||||||
# === AUR packages ==
|
# === AUR packages ==
|
||||||
paru -S --noconfirm \
|
paru -S --noconfirm \
|
||||||
obsidian parsec-bin onlyoffice-bin evolution-etesync-git x11-emoji-picker \
|
obsidian parsec-bin evolution-etesync-git x11-emoji-picker \
|
||||||
gnome-shell-extension-dash-to-dock gnome-shell-extension-desktop-icons-ng \
|
gnome-shell-extension-dash-to-dock gnome-shell-extension-desktop-icons-ng \
|
||||||
dracula-gtk-theme dracula-icons-git vscodium-bin otf-symbola touchegg \
|
dracula-gtk-theme dracula-icons-git vscodium-bin otf-symbola touchegg \
|
||||||
gnome-shell-extension-appindicator-git spotify-launcher nerd-fonts-meslo \
|
gnome-shell-extension-nightthemeswitcher spotify-launcher nerd-fonts-meslo \
|
||||||
gnome-shell-extension-x11gestures gnome-shell-extension-no-overview \
|
gnome-shell-extension-x11gestures gnome-shell-extension-no-overview \
|
||||||
gnome-shell-extension-gsconnect gnome-shell-extension-tiling-assistant \
|
gnome-shell-extension-gsconnect gnome-shell-extension-tiling-assistant \
|
||||||
gnome-shell-extension-rounded-window-corners topgrade-bin ufw-docker \
|
gnome-shell-extension-rounded-window-corners topgrade-bin ufw-docker \
|
||||||
gnome-shell-extension-alphabetical-grid-extension texlive-latexindent-meta \
|
gnome-shell-extension-alphabetical-grid-extension texlive-latexindent-meta \
|
||||||
gnome-shell-extension-quick-settings-tweaks-git \
|
gnome-shell-extension-quick-settings-tweaks-git \
|
||||||
epson-inkjet-printer-stylus-photo-px810fw-series \
|
epson-inkjet-printer-stylus-photo-px810fw-series \
|
||||||
gnome-shell-extension-blur-my-shell \
|
gnome-shell-extension-blur-my-shell
|
||||||
gnome-shell-extension-nightthemeswitcher
|
|
||||||
|
|
||||||
|
|
||||||
# === Disable wayland ==
|
# === Disable wayland ==
|
||||||
|
@ -265,6 +264,7 @@ main() {
|
||||||
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true # mode "nuit" (lumière bleue)
|
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true # mode "nuit" (lumière bleue)
|
||||||
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas # right click on laptop
|
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas # right click on laptop
|
||||||
gsettings set org.gnome.desktop.peripherals.mouse speed -0.6 # mouse speed
|
gsettings set org.gnome.desktop.peripherals.mouse speed -0.6 # mouse speed
|
||||||
|
gsettings set org.gnome.desktop.peripherals.touchpad send-events disabled-on-external-mouse # disable touchpad when mouse connected
|
||||||
gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.gtk-variants enabled true # enable GTK theme to change
|
gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.gtk-variants enabled true # enable GTK theme to change
|
||||||
gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.commands sunset "bash $HOME/.config/update_theme.sh sunset" # run script for the sunset
|
gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.commands sunset "bash $HOME/.config/update_theme.sh sunset" # run script for the sunset
|
||||||
gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.commands sunrise "bash $HOME/.config/update_theme.sh sunrise" # run script for the sunrise
|
gsettings --schemadir /usr/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.commands sunrise "bash $HOME/.config/update_theme.sh sunrise" # run script for the sunrise
|
||||||
|
@ -343,6 +343,11 @@ main() {
|
||||||
|
|
||||||
# === 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'\""
|
||||||
|
fish -c "set -Ux MANROFFOPT \"-c\""
|
||||||
|
|
||||||
|
# === Bat config ==
|
||||||
|
mkdir "$HOME"/.config/bat
|
||||||
|
wget -q --show-progress ${repo}/.config/bat/config -O "$HOME"/.config/bat/config
|
||||||
|
|
||||||
# === Docker ==
|
# === Docker ==
|
||||||
systemctl enable docker.service
|
systemctl enable docker.service
|
||||||
|
|
|
@ -127,7 +127,10 @@
|
||||||
"cups",
|
"cups",
|
||||||
"system-config-printer",
|
"system-config-printer",
|
||||||
"fwupd",
|
"fwupd",
|
||||||
"mdcat"
|
"mdcat",
|
||||||
|
"bitwarden",
|
||||||
|
"gnome-shell-extension-appindicator",
|
||||||
|
"libreoffice-fresh"
|
||||||
],
|
],
|
||||||
"plugin": null,
|
"plugin": null,
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|
Loading…
Reference in a new issue