update config-stow

This commit is contained in:
2026-03-14 04:34:04 +01:00
parent 1a019366ba
commit 763013ae87
6 changed files with 51 additions and 40 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
screenshot-path "~/Pictures/Screenshots/niri_screenshot_%Y-%m-%d_%H-%M-%S.png"
debug {
render-drm-device "/dev/dri/renderD128"
render-drm-device "/dev/dri/renderD129"
}
// gestures {
+17 -8
View File
@@ -1,17 +1,26 @@
[Settings]
gtk-theme-name=catppuccin-mocha-blue-standard+default
gtk-icon-theme-name=Papirus
gtk-font-name=Noto Sans 10
gtk-application-prefer-dark-theme=true
gtk-button-images=true
gtk-cursor-blink=true
gtk-cursor-blink-time=1000
gtk-cursor-theme-name=Bibata-Modern-Ice
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-font-name=Noto Sans, 10
gtk-icon-theme-name=Papirus
gtk-menu-images=true
gtk-modules=colorreload-gtk-module:appmenu-gtk-module
gtk-primary-button-warps-slider=true
gtk-shell-shows-menubar=1
gtk-sound-theme-name=ocean
gtk-theme-name=catppuccin-mocha-blue-standard+default
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-toolbar-style=3
gtk-xft-antialias=1
gtk-xft-dpi=122880
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme=1
+11 -4
View File
@@ -1,7 +1,14 @@
[Settings]
gtk-theme-name=catppuccin-mocha-blue-standard+default
gtk-icon-theme-name=Papirus
gtk-font-name=Noto Sans 10
gtk-application-prefer-dark-theme=true
gtk-cursor-blink=true
gtk-cursor-blink-time=1000
gtk-cursor-theme-name=Bibata-Modern-Ice
gtk-cursor-theme-size=24
gtk-application-prefer-dark-theme=1
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-font-name=Noto Sans, 10
gtk-icon-theme-name=Papirus
gtk-primary-button-warps-slider=true
gtk-sound-theme-name=ocean
gtk-theme-name=catppuccin-mocha-blue-standard+default
gtk-xft-dpi=122880
+4 -6
View File
@@ -1,20 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
# Description:
# Updates configurations of several apps according to the current (or given as parameter) desktop environment.
if [ -z "$1" ]; then
desktop="$XDG_CURRENT_DESKTOP"
else
desktop="$1"
fi
desktop=${1:-${XDG_CURRENT_DESKTOP:-default}}
for item in "kitty" "wlogout"; do
if [ ! -L "$HOME/.config/$item" ] && [ -e "$HOME/.config/$item" ]; then
echo "Error: $HOME/.config/$item exists and is not a symlink." >&2
exit 1
elif [ -L "$HOME/.config/$item" ]; then
rm "$HOME/.config/$item" || {
rm -f "$HOME/.config/$item" || {
echo "Error: Failed to remove existing symlink $HOME/.config/$item." >&2
exit 1
}
@@ -4,9 +4,6 @@
"dirs": [
{
"path": "~/Pictures/backgrounds"
},
{
"path": "/media/Beta/壁纸/库"
}
],
"excludes": [