Add better support for pyenv, set up GTK themes, and add (manually linkable for now) application shortcuts
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=USDB Syncer
|
||||||
|
Comment=Download karaoke songs
|
||||||
|
Exec=usdb_syncer
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Software;
|
||||||
@@ -1,23 +1,23 @@
|
|||||||
[Settings]
|
[Settings]
|
||||||
gtk-application-prefer-dark-theme=true
|
gtk-application-prefer-dark-theme=true
|
||||||
gtk-button-images=true
|
gtk-button-images=1
|
||||||
gtk-cursor-blink=true
|
gtk-cursor-blink=true
|
||||||
gtk-cursor-blink-time=1000
|
gtk-cursor-blink-time=1000
|
||||||
gtk-cursor-theme-name=breeze_cursors
|
gtk-cursor-theme-name=Qogir-dark
|
||||||
gtk-cursor-theme-size=24
|
gtk-cursor-theme-size=24
|
||||||
gtk-decoration-layout=icon:minimize,maximize,close
|
gtk-decoration-layout=icon:minimize,maximize,close
|
||||||
gtk-enable-animations=true
|
gtk-enable-animations=true
|
||||||
gtk-enable-event-sounds=0
|
gtk-enable-event-sounds=0
|
||||||
gtk-enable-input-feedback-sounds=0
|
gtk-enable-input-feedback-sounds=0
|
||||||
gtk-font-name=Noto Sans, 10
|
gtk-font-name=Noto Sans, 10
|
||||||
gtk-icon-theme-name=breeze-dark
|
gtk-icon-theme-name=Gruvbox_Dark
|
||||||
gtk-menu-images=true
|
gtk-menu-images=1
|
||||||
gtk-modules=colorreload-gtk-module
|
gtk-modules=colorreload-gtk-module
|
||||||
gtk-primary-button-warps-slider=true
|
gtk-primary-button-warps-slider=true
|
||||||
gtk-sound-theme-name=ocean
|
gtk-sound-theme-name=ocean
|
||||||
gtk-theme-name=Gruvbox-Dark-BL
|
gtk-theme-name=Gruvbox-Dark-BL
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
gtk-toolbar-style=3
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||||
gtk-xft-antialias=1
|
gtk-xft-antialias=1
|
||||||
gtk-xft-dpi=122880
|
gtk-xft-dpi=122880
|
||||||
gtk-xft-hinting=1
|
gtk-xft-hinting=1
|
||||||
|
|||||||
@@ -114,3 +114,8 @@ if program_installed ssh-add && [ ! -z "$SSH_AUTH_SOCK" ] && [ -d "$SSH_AUTH_SOC
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if program_installed i3; then
|
||||||
|
# Set QT environment variables
|
||||||
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||||
|
fi
|
||||||
|
|||||||
+3
-1
@@ -204,8 +204,10 @@ fi
|
|||||||
|
|
||||||
# pyenv-virtualenv (for managing virtualenvs for different python versions)
|
# pyenv-virtualenv (for managing virtualenvs for different python versions)
|
||||||
if program_installed pyenv; then
|
if program_installed pyenv; then
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
||||||
eval "$(pyenv init --path)"
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init - zsh)"
|
||||||
# eval "$(pyenv virtualenv-init -)"
|
# eval "$(pyenv virtualenv-init -)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
+12
@@ -125,6 +125,7 @@ dunst
|
|||||||
conky
|
conky
|
||||||
rofi
|
rofi
|
||||||
gtk-3.0
|
gtk-3.0
|
||||||
|
qt5ct
|
||||||
powerline
|
powerline
|
||||||
xfce4
|
xfce4
|
||||||
picom.conf
|
picom.conf
|
||||||
@@ -672,6 +673,17 @@ function setup_bare_i3() {
|
|||||||
echo "Linking: 85-drm-hotplug.rules ($config_dir/udev/85-drm-hotplug.rules -> /etc/udev/rules.d/85-drm-hotplug.rules)"
|
echo "Linking: 85-drm-hotplug.rules ($config_dir/udev/85-drm-hotplug.rules -> /etc/udev/rules.d/85-drm-hotplug.rules)"
|
||||||
sudo ln -s $config_dir/udev/85-drm-hotplug.rules /etc/udev/rules.d/85-drm-hotplug.rules
|
sudo ln -s $config_dir/udev/85-drm-hotplug.rules /etc/udev/rules.d/85-drm-hotplug.rules
|
||||||
fi
|
fi
|
||||||
|
# Setup GTK themes
|
||||||
|
# TODO: It might be necessary to rerun `dotfiles-install dotfiles` after this
|
||||||
|
if [ ! -d "$config_dir/themes" ]; then
|
||||||
|
mkdir "$config_dir/themes"
|
||||||
|
fi
|
||||||
|
if [ ! -d "$config_dir/icons" ]; then
|
||||||
|
mkdir "$config_dir/icons"
|
||||||
|
fi
|
||||||
|
# TODO: Can I symlink these instead?
|
||||||
|
cp -r "$DOTFILES_DIR"/dependencies/Gruvbox-GTK-Theme/themes/* "$config_dir/themes"
|
||||||
|
cp -r "$DOTFILES_DIR"/dependencies/Gruvbox-GTK-Theme/icons/* "$config_dir/icons"
|
||||||
# TODO: Actually launch into i3 rather than plasma, need to set up DM configs
|
# TODO: Actually launch into i3 rather than plasma, need to set up DM configs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user