Compare commits

...

2 commits

Author SHA1 Message Date
dab387ec31
Add some Gnome Settings 2022-06-04 02:58:45 +02:00
f67bf86b78
add ufw 2022-06-04 02:58:34 +02:00
2 changed files with 18 additions and 10 deletions

25
arch.sh
View file

@ -167,7 +167,7 @@ then
rm "$HOME"/.config/flameshot/flameshot.ini 2> /dev/null rm "$HOME"/.config/flameshot/flameshot.ini 2> /dev/null
wget -q --show-progress https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/flameshot/flameshot.ini -P "$HOME"/.config/flameshot/ wget -q --show-progress https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/flameshot/flameshot.ini -P "$HOME"/.config/flameshot/
# Change keybindings # Change keybindings
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot "[]" gsettings set org.gnome.shell.keybindings show-screenshot-ui "[]"
CUSTOM_KEYBINDINGS_LIST=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings) CUSTOM_KEYBINDINGS_LIST=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings)
if [[ $CUSTOM_KEYBINDINGS_LIST == "@as []" ]] # creating new list if not exists if [[ $CUSTOM_KEYBINDINGS_LIST == "@as []" ]] # creating new list if not exists
then then
@ -222,22 +222,29 @@ 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
gsettings set org.gnome.desktop.wm.keybindings close "['<Super>Q', '<Alt>F4']" # Alt-F4 keybinding yay -S gnome-shell-extension-dash-to-dock --noconfirm
gsettings set org.gnome.desktop.interface show-battery-percentage true # show battery poucentage
gsettings set org.gnome.desktop.wm.preferences audible-bell false # remove sound of notification when going too far away in a window
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
# Add gesture gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false # add Dash to Dock
sudo systemctl enable touchegg.service gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" # affiche les boutons maximisé et minimisé
sudo systemctl start touchegg gsettings set org.gnome.desktop.wm.preferences audible-bell false # remove sound of notification when going too far away in a window
# Better alt-tab gsettings set org.gnome.desktop.wm.interface gtk-theme Adwaita # thème noire
gsettings set org.gnome.desktop.wm.interface clock-show-seconds true # affiche les secondes dans l'horloge
gsettings set org.gnome.desktop.wm.keybindings close "['<Super>Q', '<Alt>F4']" # Alt-F4 keybinding
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab', '<Super>Tab']" # new behaviour gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab', '<Super>Tab']" # new behaviour
gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]" # old behaviour gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]" # old behaviour
gsettings set org.gnome.desktop.interface show-battery-percentage true # show battery poucentage
gsettings set org.gnome.desktop.background show-desktop-icons true # show icons on desktop gsettings set org.gnome.desktop.background show-desktop-icons true # show icons on desktop
gsettings set org.gnome.shell.extensions.ding show-home false # hide personal user folder gsettings set org.gnome.shell.extensions.ding show-home false # hide personal user folder
gsettings set org.gnome.shell.extensions.ding show-drop-place false # hide square when moving icons gsettings set org.gnome.shell.extensions.ding show-drop-place false # hide square when moving icons
gsettings set org.gnome.nautilus.preferences show-image-thumbnails 'always' # thumbnails nautilus gsettings set org.gnome.nautilus.preferences show-image-thumbnails 'always' # thumbnails nautilus
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true # mode "nuit" (lumière bleue)
sudo pacman -Rsn epiphany --noconfirm # gnome-firefox removal # Add gesture
sudo systemctl enable touchegg.service
sudo systemctl start touchegg
# === Remove extra packages ==
sudo pacman -Rsn epiphany gnome-maps cheese gnome-weather gnome-music gnome-books vim --noconfirm # gnome-firefox, maps, caméra, météo, musique, liseuse, vim
# === Clipboard history == # === Clipboard history ==
copyq > /dev/null & disown copyq > /dev/null & disown

View file

@ -60,7 +60,8 @@
"exa", "exa",
"xdg-desktop-portal", "xdg-desktop-portal",
"texlive-most", "texlive-most",
"syncthing" "syncthing",
"ufw"
], ],
"plugin": null, "plugin": null,
"profile": { "profile": {