Reorg
This commit is contained in:
parent
66f6195ee5
commit
371d753f16
@ -1,6 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Get the path to this script
|
||||||
|
SCRIPT_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||||
|
|
||||||
# Check if dconf is available
|
# Check if dconf is available
|
||||||
if ! command -v dconf >/dev/null 2>&1; then
|
if ! command -v dconf >/dev/null 2>&1; then
|
||||||
echo "dconf is not installed, skipping GNOME configuration"
|
echo "dconf is not installed, skipping GNOME configuration"
|
||||||
@ -9,8 +12,4 @@ fi
|
|||||||
|
|
||||||
# Configure gnome-terminal
|
# Configure gnome-terminal
|
||||||
echo "Writing gnome-terminal settings..."
|
echo "Writing gnome-terminal settings..."
|
||||||
dconf load "/org/gnome/terminal/" < configs/gnome/terminal/terminal.dconf
|
dconf load "/org/gnome/terminal/" < $SCRIPT_PATH/terminal/terminal.dconf
|
||||||
|
|
||||||
# Configure GNOME itself
|
|
||||||
echo "Writing GNOME settings..."
|
|
||||||
sh ./configs/gnome/desktop-settings.sh
|
|
@ -9,7 +9,7 @@ export EWCONFIG_ROOT="$HOME/.config/ewconfig"
|
|||||||
|
|
||||||
# I always want my ~/bin to be in my PATH
|
# I always want my ~/bin to be in my PATH
|
||||||
export PATH="$HOME/bin:$PATH"
|
export PATH="$HOME/bin:$PATH"
|
||||||
export PATH="$EWCONFIG_ROOT/configs/scripts:$PATH"
|
export PATH="$EWCONFIG_ROOT/scripts:$PATH"
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
# A basic prompt to display user@host dir sign
|
# A basic prompt to display user@host dir sign
|
||||||
|
@ -18,7 +18,7 @@ fi
|
|||||||
|
|
||||||
# I always want my ~/bin to be in my PATH
|
# I always want my ~/bin to be in my PATH
|
||||||
export PATH="$HOME/bin:$PATH"
|
export PATH="$HOME/bin:$PATH"
|
||||||
export PATH="$EWCONFIG_ROOT/configs/scripts:$PATH"
|
export PATH="$EWCONFIG_ROOT/scripts:$PATH"
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
# Configure a sane default editor
|
# Configure a sane default editor
|
||||||
|
@ -131,7 +131,8 @@ if [ -d ~/.config/blender/3.6 ]; then ln -sf $EWCONFIG_ROOT/configs/blender/3.x/
|
|||||||
# -- Finalization --
|
# -- Finalization --
|
||||||
|
|
||||||
# On systems that need it, configure Gnome
|
# On systems that need it, configure Gnome
|
||||||
sh ./helpers/configure-gnome.sh
|
sh ./configs/gnome/gnome-terminal-settings.sh
|
||||||
|
sh ./configs/gnome/desktop-settings.sh
|
||||||
|
|
||||||
# Attempt to force a termux settings reload on Android devices
|
# Attempt to force a termux settings reload on Android devices
|
||||||
termux-reload-settings || true
|
termux-reload-settings || true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user