This commit is contained in:
Stephan Raabe 2024-01-23 17:11:47 +01:00
parent 7d7286489d
commit fdfd25491c
4 changed files with 29 additions and 5 deletions

View File

@ -1 +1 @@
272
280

View File

@ -1,3 +1,12 @@
Version 2.8
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8
--------------------------------------------------------
Hyprland:
- New Welcome app based on GTK4. Can be launched with the icon on waybar
- nwg-look to define a custom GTK Theme
- Updated waybar starter theme
- New waybar idle-inhibator icon
Version 2.7.2
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.7.2
--------------------------------------------------------

View File

@ -1,4 +1,4 @@
# ML4W dotfiles 2.7.2
# ML4W dotfiles 2.8RC1
This is my configuration of Hyprland (Wayland) and Qtile (X11) for Arch Linux based distributions. This package includes an installation script to install and setup the required components.
@ -70,7 +70,7 @@ cd dotfiles
cd ~/Downloads
# 2.) Unzip
git clone --branch 2.7.1 https://gitlab.com/stephan-raabe/dotfiles.git
git clone --branch 2.7.2 https://gitlab.com/stephan-raabe/dotfiles.git
# 3.) Change into the new dotfiles folder
cd dotfiles
@ -90,7 +90,7 @@ cd ~/Downloads/dotfiles
# git checkout origin/main
# Switch to other version
# git checkout 2.7.1
# git checkout 2.7.2
# 2.) Pull the latest version and update the repository
git stash; git pull

View File

@ -1,2 +1,17 @@
#!/bin/bash
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
# Source: https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
if [ ! -f "$config" ]; then exit 1; fi
gnome_schema="org.gnome.desktop.interface"
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')"
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')"
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')"
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')"
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
gsettings set "$gnome_schema" icon-theme "$icon_theme"
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name"
gsettings set "$gnome_schema" color-scheme "prefer-dark"