diff --git a/.config/bat/config b/.config/bat/config new file mode 100644 index 0000000..a49db04 --- /dev/null +++ b/.config/bat/config @@ -0,0 +1,2 @@ +# This theme works well in dark and light terminal theme +--theme="Solarized (light)" diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish index 28b757b..ef1315f 100644 --- a/.config/fish/conf.d/abbr.fish +++ b/.config/fish/conf.d/abbr.fish @@ -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 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 mfind "find /* 2> /dev/null | grep ''" diff --git a/.config/micro/settings.json b/.config/micro/settings.json index 0f1ad9a..b753d84 100644 --- a/.config/micro/settings.json +++ b/.config/micro/settings.json @@ -1,8 +1,9 @@ { - "mkparents": true, "colorcolumn": 80, + "colorscheme": "monokai", + "mkparents": true, "rmtrailingws": true, "scrollbar": true, "softwrap": true, "wordwrap": true -} +} \ No newline at end of file diff --git a/.config/update_theme.sh b/.config/update_theme.sh index d5aa661..9fd8e0c 100755 --- a/.config/update_theme.sh +++ b/.config/update_theme.sh @@ -28,6 +28,7 @@ main() { # Set the fish theme fish -c "fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save" 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 # 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)" # Set the fish theme 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" ;; diff --git a/arch.sh b/arch.sh index d2a0bdc..4e822a2 100644 --- a/arch.sh +++ b/arch.sh @@ -49,18 +49,17 @@ main() { # === AUR packages == 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 \ 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-gsconnect gnome-shell-extension-tiling-assistant \ gnome-shell-extension-rounded-window-corners topgrade-bin ufw-docker \ gnome-shell-extension-alphabetical-grid-extension texlive-latexindent-meta \ gnome-shell-extension-quick-settings-tweaks-git \ epson-inkjet-printer-stylus-photo-px810fw-series \ - gnome-shell-extension-blur-my-shell \ - gnome-shell-extension-nightthemeswitcher + gnome-shell-extension-blur-my-shell # === 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.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.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.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 @@ -343,6 +343,11 @@ main() { # === Manual color == 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 == systemctl enable docker.service diff --git a/archinstall/user_configuration.json b/archinstall/user_configuration.json index b976685..03be2d1 100644 --- a/archinstall/user_configuration.json +++ b/archinstall/user_configuration.json @@ -127,7 +127,10 @@ "cups", "system-config-printer", "fwupd", - "mdcat" + "mdcat", + "bitwarden", + "gnome-shell-extension-appindicator", + "libreoffice-fresh" ], "plugin": null, "profile": {