Dont rely on the shortcut where it might not be properly set
This commit is contained in:
parent
09c2721e3e
commit
0786909669
@ -1,7 +1,7 @@
|
|||||||
if [ -n "$FORCE" ] || ! command -v alacritty &>/dev/null; then
|
if [ -n "$FORCE" ] || ! command -v alacritty &>/dev/null; then
|
||||||
sudo apt install -y alacritty
|
sudo apt install -y alacritty
|
||||||
mkdir -p ~/.config/alacritty
|
mkdir -p ~/.config/alacritty
|
||||||
cp $OMAKUB_PATH/configs/alacritty.toml ~/.config/alacritty/alacritty.toml
|
cp ~/.local/share/omakub/configs/alacritty.toml ~/.config/alacritty/alacritty.toml
|
||||||
cp $OMAKUB_PATH/configs/alacritty/theme.toml ~/.config/alacritty/theme.toml
|
cp ~/.local/share/omakub/configs/alacritty/theme.toml ~/.config/alacritty/theme.toml
|
||||||
cp $OMAKUB_PATH/configs/alacritty/font.toml ~/.config/alacritty/font.toml
|
cp ~/.local/share/omakub/configs/alacritty/font.toml ~/.config/alacritty/font.toml
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
if [ -n "$FORCE" ] || [ ! -f "~/.XCompose" ]; then
|
if [ -n "$FORCE" ] || [ ! -f "~/.XCompose" ]; then
|
||||||
cp $OMAKUB_PATH/configs/xcompose ~/.XCompose
|
cp ~/.local/share/omakub/configs/xcompose ~/.XCompose
|
||||||
ibus restart
|
ibus restart
|
||||||
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:caps']"
|
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:caps']"
|
||||||
fi
|
fi
|
||||||
|
@ -3,5 +3,5 @@ if [ -n "$FORCE" ] || ! command -v neovim &>/dev/null; then
|
|||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
sudo apt install -y neovim
|
sudo apt install -y neovim
|
||||||
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
||||||
cp $OMAKUB_PATH/themes/neovim/tokyo-night.lua ~/.config/nvim/lua/plugins/theme.lua
|
cp ~/.local/share/omakub/themes/neovim/tokyo-night.lua ~/.config/nvim/lua/plugins/theme.lua
|
||||||
fi
|
fi
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# Setup default theme
|
# Setup default theme
|
||||||
source $OMAKUB_PATH/themes/gnome/tokyo-night.sh
|
source ~/.local/share/omakub/themes/gnome/tokyo-night.sh
|
||||||
|
@ -6,8 +6,8 @@ if [ -n "$FORCE" ] || ! command -v ulauncher &>/dev/null; then
|
|||||||
|
|
||||||
# Start ulauncher to have it populate config before we overwrite
|
# Start ulauncher to have it populate config before we overwrite
|
||||||
mkdir -p ~/.config/autostart/
|
mkdir -p ~/.config/autostart/
|
||||||
cp $OMAKUB_PATH/configs/ulauncher.desktop ~/.config/autostart/ulauncher.desktop
|
cp ~/.local/share/omakub/configs/ulauncher.desktop ~/.config/autostart/ulauncher.desktop
|
||||||
gtk-launch ulauncher.desktop
|
gtk-launch ulauncher.desktop
|
||||||
sleep 2 # ensure enough time for ulauncher to set defaults
|
sleep 2 # ensure enough time for ulauncher to set defaults
|
||||||
cp $OMAKUB_PATH/configs/ulauncher.json ~/.config/ulauncher/settings.json
|
cp ~/.local/share/omakub/configs/ulauncher.json ~/.config/ulauncher/settings.json
|
||||||
fi
|
fi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
if [ -n "$FORCE" ] || ! command -v code &>/dev/null; then
|
if [ -n "$FORCE" ] || ! command -v code &>/dev/null; then
|
||||||
sudo snap install code --classic
|
sudo snap install code --classic
|
||||||
mkdir -p ~/.config/Code/User
|
mkdir -p ~/.config/Code/User
|
||||||
cp $OMAKUB_PATH/configs/vscode.json ~/.config/Code/User/settings.json
|
cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json
|
||||||
|
|
||||||
# Install default supported themes
|
# Install default supported themes
|
||||||
code --install-extension enkia.tokyo-night
|
code --install-extension enkia.tokyo-night
|
||||||
|
@ -1 +1 @@
|
|||||||
for script in $OMAKUB_PATH/web-apps/*.sh; do source $script; done
|
for script in ~/.local/share/omakub/web-apps/*.sh; do source $script; done
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
if [ -n "$FORCE" ] || ! command -v zellij &>/dev/null; then
|
if [ -n "$FORCE" ] || ! command -v zellij &>/dev/null; then
|
||||||
sudo snap install zellij --classic
|
sudo snap install zellij --classic
|
||||||
mkdir -p ~/.config/zellij/
|
mkdir -p ~/.config/zellij/
|
||||||
cp $OMAKUB_PATH/configs/zellij.kdl ~/.config/zellij/config.kdl
|
cp ~/.local/share/omakub/configs/zellij.kdl ~/.config/zellij/config.kdl
|
||||||
ln -s $OMAKUB_PATH/themes/zellij ~/.config/zellij/themes
|
ln -s ~/.local/share/omakub/themes/zellij ~/.config/zellij/themes
|
||||||
fi
|
fi
|
||||||
|
@ -3,7 +3,7 @@ gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
|
|||||||
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-magenta-dark'
|
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-magenta-dark'
|
||||||
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-magenta'
|
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-magenta'
|
||||||
|
|
||||||
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$OMAKUB_PATH/backgrounds/catppuccintotoro.png"
|
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/catppuccintotoro.png"
|
||||||
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
||||||
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
||||||
gsettings set org.gnome.desktop.background picture-options 'zoom'
|
gsettings set org.gnome.desktop.background picture-options 'zoom'
|
||||||
|
@ -3,7 +3,7 @@ gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
|
|||||||
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-sage-dark'
|
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-sage-dark'
|
||||||
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-sage'
|
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-sage'
|
||||||
|
|
||||||
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$OMAKUB_PATH/backgrounds/ferns-green.jpg"
|
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/ferns-green.jpg"
|
||||||
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
||||||
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
|
||||||
gsettings set org.gnome.desktop.background picture-options 'zoom'
|
gsettings set org.gnome.desktop.background picture-options 'zoom'
|
||||||
|
Loading…
Reference in New Issue
Block a user