Now works with Fedora
This commit is contained in:
21
settings/set_config.sh
Normal file
21
settings/set_config.sh
Normal file
@ -0,0 +1,21 @@
|
||||
mkdir ~/Documents/Configs
|
||||
cp -r ~/.local/share/sunhat/configs/dotfiles/. ~/Documents/Configs/
|
||||
|
||||
espanso service stop
|
||||
rm -rf ~/.config/espanso
|
||||
ln -s ~/Documents/Configs/espanso ~/.config/espanso
|
||||
espanso service start
|
||||
rm -rf ~/.config/espanso
|
||||
ln -s ~/Documents/Configs/forge ~/.config/forge
|
||||
rm -rf ~/.config/kitty
|
||||
ln -s ~/Documents/Configs/kitty ~/.config/kitty
|
||||
rm -rf ~/.config/lobster
|
||||
ln -s ~/Documents/Configs/lobster ~/.config/lobster
|
||||
rm -rf ~/.config/neomutt
|
||||
ln -s ~/Documents/Configs/neomutt ~/.config/neomutt
|
||||
rm -rf ~/.config/nvim
|
||||
ln -s ~/Documents/Configs/nvim ~/.config/nvim
|
||||
rm -rf ~/.config/powerline
|
||||
ln -s ~/Documents/Configs/powerline ~/.config/powerline
|
||||
rm -rf ~/.config/ranger
|
||||
ln -s ~/Documents/Configs/ranger ~/.config/ranger
|
2
settings/set_dock.sh
Normal file
2
settings/set_dock.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# Set default pinned applications (funny installer name to ensure it runs after all app installations!)
|
||||
gsettings set org.gnome.shell favorite-apps "['org.gnome.Settings.desktop', 'kitty.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'microsoft-edge.desktop', 'org.mozilla.Thunderbird.desktop', 'app.bluebubbles.BlueBubbles.desktop', 'com.discordapp.Discord.desktop', 'org.gnome.Connections.desktop', 'com.moonlight_stream.Moonlight.desktop', 'virt-manager.desktop', 'com.obsproject.Studio.desktop', 'sh.cider.Cider.desktop', 'tv.plex.PlexDesktop.desktop', 'steam.desktop', 'org.yuzu_emu.yuzu.desktop', 'com.mojang.Minecraft.desktop', 'md.obsidian.Obsidian.desktop', 'code.desktop', 'neovim.desktop']"
|
14
settings/set_git.sh
Normal file
14
settings/set_git.sh
Normal file
@ -0,0 +1,14 @@
|
||||
# Set common git aliases
|
||||
git config --global alias.co checkout
|
||||
git config --global alias.br branch
|
||||
git config --global alias.ci commit
|
||||
git config --global alias.st status
|
||||
git config --global pull.rebase true
|
||||
|
||||
# Set git editor and user
|
||||
git config --global core.editor "nvim"
|
||||
git config --global user.name "gibbyb"
|
||||
git config --global user.email "gib@gibbyb.com"
|
||||
|
||||
# Sign in to GitHub
|
||||
gh auth login
|
47
settings/set_gnome_extensions.sh
Normal file
47
settings/set_gnome_extensions.sh
Normal file
@ -0,0 +1,47 @@
|
||||
pipx install gnome-extensions-cli --system-site-packages
|
||||
|
||||
# Turn off Fedora Watermark extension
|
||||
gnome-extensions disable background-logo@fedorahosted.org
|
||||
|
||||
# Install new extensions
|
||||
gext install allowlockedremotedesktop@kamens.us
|
||||
gext install app-hider@lynith.dev
|
||||
gext install appindicatorsupport@rgcjonas.gmail.com
|
||||
gext install bluetooth-quick-connect@bjarosze.gmail.com
|
||||
gext install blur-my-shell@aunetx
|
||||
gext install burn-my-windows@schneegans.github.com
|
||||
gext install caffeine@patapon.info
|
||||
gext install clipboard-indicator@tudmotu.com
|
||||
gext install custom-hot-corners-extended@G-dH.github.com
|
||||
gext install dash-to-dock@micxgx.gmail.com
|
||||
gext install emoji-copy@felipeftn
|
||||
gext install forge@jmmaranan.com
|
||||
gext install gsconnect@andyholmes.github.io
|
||||
gext install hass-gshell@geoph9-on-github
|
||||
gext install user-theme@gnome-shell-extensions.gcampax.github.com
|
||||
gext install Vitals@CoreCoding.com
|
||||
gext install weatheroclock@CleoMenezesJr.github.io
|
||||
gext install wifiqrcode@glerro.pm.me
|
||||
# Install Hanabi
|
||||
git clone https://github.com/jeffshee/gnome-ext-hanabi.git ../packages/hanabi
|
||||
cd ../packages/hanabi
|
||||
./run.sh install
|
||||
|
||||
# Compile gsettings schemas in order to be able to set them
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/app-hider/schemas/org.gnome-shell-extension.app-hider.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/schemas/org.gnome.shell.extensions.appindicator.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com/schemas/org.gnome.shell.extensions.bluetooth-quick-connect.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/schemas/org.gnome.shell.extensions.blur-my-shell.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas/org.gnome.shell.extensions.caffeine.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/schemas/org.gnome.shell.extensions.clipboard-indicator.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/custom-hot-corners-extended@G-dH.github.com/schemas/org.gnome.shell.extensions.custom-hot-corners-extended.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/schemas/org.gnome.shell.extensions.dash-to-dock.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/emoji-copy@felipeftn/schemas/org.gnome.shell.extensions.emoji-copy.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/forge@jmmaranan.com/schemas/org.gnome.shell.extensions.forge.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/schemas/org.gnome.Shell.Extensions.GSConnect.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/hass-gshell@geoph9-on-github/schemas/org.gnome.shell.extensions.hass-data.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com/schemas/org.gnome.shell.extensions.user-theme.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo cp ~/.local/share/gnome-shell/extensions/Vitals@CoreCoding.com/schemas/org.gnome.shell.extensions.vitals.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
|
12
settings/set_gnome_settings.sh
Normal file
12
settings/set_gnome_settings.sh
Normal file
@ -0,0 +1,12 @@
|
||||
# Add minimize button to title bar.
|
||||
gsettings set org.gnome.desktop.wm.preferences button-layout \
|
||||
'appmenu:minimize,close'
|
||||
# Set GTK3 theme to Adwaita-dark.
|
||||
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
|
||||
# Set mouse cursor theme
|
||||
gsettings set org.gnome.desktop.interface cursor-theme oreo_blue_cursors
|
||||
# Set timeout time to 30 seconds to get rid of annoying popup.
|
||||
gsettings set org.gnome.mutter check-alive-timeout 30000
|
||||
# Enable fractional scaling
|
||||
gsettings set org.gnome.mutter experimental-features \
|
||||
"['scale-monitor-framebuffer']"
|
10
settings/set_gnome_shortcuts.sh
Normal file
10
settings/set_gnome_shortcuts.sh
Normal file
@ -0,0 +1,10 @@
|
||||
dconf load /org/gnome/desktop/wm/keybindings/ < \
|
||||
../configs/keyboard_shortcuts/shortcuts-wm.txt
|
||||
dconf load /org/gnome/settings-daemon/plugins/media-keys/ < \
|
||||
../configs/keyboard_shortcuts/shortcuts-media.txt
|
||||
dconf load /org/gnome/mutter/keybindings/ < \
|
||||
../configs/keyboard_shortcuts/shortcuts-mutter.txt
|
||||
dconf load /org/gnome/shell/keybindings/ < \
|
||||
../configs/keyboard_shortcuts/shortcuts-shell.txt
|
||||
dconf load /org/gnome/mutter/wayland/keybindings/ < \
|
||||
../configs/keyboard_shortcuts/shortcuts-wayland.txt
|
1
settings/set_secure_boot.sh
Normal file
1
settings/set_secure_boot.sh
Normal file
@ -0,0 +1 @@
|
||||
sudo mokutil --import /etc/pki/akmods/certs/public_key.der
|
2
settings/set_theme.sh
Normal file
2
settings/set_theme.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# Set default theme to to Tokyo Night
|
||||
source ~/.local/share/sunhat/themes/gnome/tokyo_night.sh
|
Reference in New Issue
Block a user