Remove GNOME support

This commit is contained in:
2024-06-06 23:40:15 +01:00
parent bdeb8fe62d
commit 5c6c7ce25b
5 changed files with 25 additions and 114 deletions

View File

@@ -33,9 +33,6 @@ Looking for my **sway** dotfiles? [Click Here](https://github.com/TrudeEH/dotfil
**The install script allows selecting which DE to install.** **The install script allows selecting which DE to install.**
### GNOME (Wayland)
![screenshot gnome](images/screenshot-gnome.png)
### DWM (X11) ### DWM (X11)
![screenshot dwm](images/screenshot-dwm.png) ![screenshot dwm](images/screenshot-dwm.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 KiB

View File

@@ -382,13 +382,13 @@ else
fi fi
echo echo
main_menu_opts=("Install Trude's Dotfiles" "Install DWM (desktop)" "Install GNOME (desktop)" "Install GitHub CLI" "Install Google Chrome" "Install AI" "Install Tailscale" "+Install Games") main_menu_opts=("Install Trude's Dotfiles" "Install DWM (desktop)" "Install GitHub CLI" "Install Google Chrome" "Install AI" "Install Tailscale" "+Install Games")
main_menu=$(checkbox "Press SPACE to select and ENTER to continue." "${main_menu_opts[@]}") main_menu=$(checkbox "Press SPACE to select and ENTER to continue." "${main_menu_opts[@]}")
log "$LOG_DEBUG" "Menu opts: $main_menu" log "$LOG_DEBUG" "Menu opts: $main_menu"
# Submenus # Submenus
if [[ ${main_menu[@]} =~ 7 ]]; then # +Games if [[ ${main_menu[@]} =~ 6 ]]; then # +Games
echo "Select games to install" echo "Select games to install"
game_menu_opts=("Install MultiMC and Java 8,17,21." "Install Minecraft Bedrock" "Install Steam") game_menu_opts=("Install MultiMC and Java 8,17,21." "Install Minecraft Bedrock" "Install Steam")
game_menu=$(checkbox "Press SPACE to select and ENTER to continue." "${game_menu_opts[@]}") game_menu=$(checkbox "Press SPACE to select and ENTER to continue." "${game_menu_opts[@]}")
@@ -477,17 +477,7 @@ if [[ ${main_menu[@]} =~ 1 ]]; then # DWM
compile herbe compile herbe
fi fi
if [[ ${main_menu[@]} =~ 2 ]]; then # GNOME if [[ ${main_menu[@]} =~ 2 ]]; then # Github CLI
sudo nala install gnome-core
sudo rm -rf /etc/network/interfaces #Fix Wifi settings bug
# Load settings
if test -f ~/dotfiles/settings.dconf; then
dconf load / < ~/dotfiles/settings.dconf
fi
fi
if [[ ${main_menu[@]} =~ 3 ]]; then # Github CLI
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) && (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) &&
sudo mkdir -p -m 755 /etc/apt/keyrings && sudo mkdir -p -m 755 /etc/apt/keyrings &&
wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg >/dev/null && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg >/dev/null &&
@@ -502,13 +492,13 @@ if [[ ${main_menu[@]} =~ 3 ]]; then # Github CLI
fi fi
fi fi
if [[ ${main_menu[@]} =~ 4 ]]; then # Chrome if [[ ${main_menu[@]} =~ 3 ]]; then # Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo nala install ./google-chrome-stable_current_amd64.deb sudo nala install ./google-chrome-stable_current_amd64.deb
rm ./google-chrome-stable_current_amd64.deb rm ./google-chrome-stable_current_amd64.deb
fi fi
if [[ ${main_menu[@]} =~ 5 ]]; then # AI if [[ ${main_menu[@]} =~ 4 ]]; then # AI
# Ollama - LLM Server # Ollama - LLM Server
curl -fsSL https://ollama.com/install.sh | sh curl -fsSL https://ollama.com/install.sh | sh
@@ -523,7 +513,7 @@ if [[ ${main_menu[@]} =~ 5 ]]; then # AI
rm -rf fabric rm -rf fabric
fi fi
if [[ ${main_menu[@]} =~ 6 ]]; then # Tailscale if [[ ${main_menu[@]} =~ 5 ]]; then # Tailscale
curl -fsSL https://tailscale.com/install.sh | sh curl -fsSL https://tailscale.com/install.sh | sh
sudo systemctl enable tailscaled sudo systemctl enable tailscaled
sudo tailscale up sudo tailscale up

19
programs/herbe/config.h Normal file
View File

@@ -0,0 +1,19 @@
static const char *background_color = "#3e3e3e";
static const char *border_color = "#ececec";
static const char *font_color = "#ececec";
static const char *font_pattern = "JetBrainsMono NF:size=10";
static const unsigned line_spacing = 5;
static const unsigned int padding = 15;
static const unsigned int width = 450;
static const unsigned int border_size = 2;
static const unsigned int pos_x = 30;
static const unsigned int pos_y = 60;
enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT };
enum corners corner = TOP_RIGHT;
static const unsigned int duration = 5; /* in seconds */
#define DISMISS_BUTTON Button1
#define ACTION_BUTTON Button3

View File

@@ -1,95 +0,0 @@
[org/gnome/desktop/background]
color-shading-type='solid'
picture-options='zoom'
picture-uri='file:///home/trude/dotfiles/bg2.png'
picture-uri-dark='file:///home/trude/dotfiles/bg2.png'
primary-color='#000000000000'
secondary-color='#000000000000'
[org/gnome/desktop/input-sources]
sources=[('xkb', 'pt')]
xkb-options=@as []
[org/gnome/desktop/interface]
clock-format='12h'
color-scheme='prefer-dark'
toolkit-accessibility=false
[org/gnome/desktop/peripherals/touchpad]
two-finger-scrolling-enabled=true
[org/gnome/desktop/screensaver]
color-shading-type='solid'
picture-options='zoom'
picture-uri='file:///home/trude/dotfiles/bg2.png'
primary-color='#000000000000'
secondary-color='#000000000000'
[org/gnome/desktop/search-providers]
sort-order=['org.gnome.Contacts.desktop', 'org.gnome.Documents.desktop', 'org.gnome.Nautilus.desktop']
[org/gnome/desktop/session]
idle-delay=uint32 300
[org/gnome/evolution-data-server]
migrated=true
[org/gnome/gnome-system-monitor]
cpu-colors=[(uint32 0, '#e6194B'), (1, '#f58231'), (2, '#ffe119'), (3, '#bfef45'), (4, '#3cb44b'), (5, '#42d4f4'), (6, '#4363d8'), (7, '#911eb4'), (8, '#f032e6'), (9, '#fabebe'), (10, '#ffd8b1'), (11, '#fffac8'), (12, '#aaffc3'), (13, '#469990'), (14, '#000075'), (15, '#e6beff'), (16, '#7999f3329f8c'), (17, '#f3327c107999'), (18, '#79999a9cf332'), (19, '#be17f3327999')]
current-tab='processes'
maximized=false
network-total-in-bits=false
show-dependencies=false
show-whose-processes='user'
window-state=(771, 733, 26, 23)
[org/gnome/gnome-system-monitor/disktreenew]
col-6-visible=true
col-6-width=0
[org/gnome/nautilus/icon-view]
default-zoom-level='small'
[org/gnome/nautilus/preferences]
default-folder-viewer='icon-view'
migrated-gtk-settings=true
search-filter-time-type='last_modified'
[org/gnome/settings-daemon/plugins/color]
night-light-enabled=true
night-light-temperature=uint32 2085
[org/gnome/shell]
favorite-apps=['org.gnome.Nautilus.desktop', 'org.gnome.Terminal.desktop']
last-selected-power-profile='performance'
[org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
background-color='rgb(46,52,54)'
font='JetBrainsMono Nerd Font Mono 12'
foreground-color='rgb(211,215,207)'
palette=['rgb(46,52,54)', 'rgb(204,0,0)', 'rgb(78,154,6)', 'rgb(196,160,0)', 'rgb(52,101,164)', 'rgb(117,80,123)', 'rgb(6,152,154)', 'rgb(211,215,207)', 'rgb(85,87,83)', 'rgb(239,41,41)', 'rgb(138,226,52)', 'rgb(252,233,79)', 'rgb(114,159,207)', 'rgb(173,127,168)', 'rgb(52,226,226)', 'rgb(238,238,236)']
use-system-font=false
use-theme-colors=true
[org/gtk/gtk4/settings/file-chooser]
date-format='regular'
location-mode='path-bar'
show-hidden=false
show-size-column=true
show-type-column=true
sort-column='name'
sort-directories-first=false
sort-order='ascending'
type-format='category'
[org/gtk/settings/file-chooser]
clock-format='12h'
date-format='regular'
location-mode='path-bar'
show-hidden=false
show-size-column=true
show-type-column=true
sort-column='name'
sort-directories-first=false
sort-order='ascending'
type-format='category'