This commit is contained in:
2025-10-25 12:14:47 +02:00
parent 0df5fd8644
commit f10af1ca02
6 changed files with 10 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ This feature is only enabled in Niri. Swww also manages wallpapers of the Hyprla
The most suitable primary color (or so-called flavor) will be chosen from the [Catppuccin Mocha](https://catppuccin.com/palette/) palette and applied to various apps automatically after changing wallpaper. And also: The most suitable primary color (or so-called flavor) will be chosen from the [Catppuccin Mocha](https://catppuccin.com/palette/) palette and applied to various apps automatically after changing wallpaper. And also:
- [wallpaper-chooser](https://github.com/Uyanide/Wallpaper_Chooser) to select wallpaper, which implements an Image Carousel with Qt Widgets. - [wallpaper-carousel](https://github.com/Uyanide/Wallpaper_Carousel) to select wallpaper, which implements an Image Carousel with Qt Widgets.
- [backgrounds collection](https://github.com/Uyanide/backgrounds) for personal use. - [backgrounds collection](https://github.com/Uyanide/backgrounds) for personal use.
## Rofi ## Rofi

View File

@@ -165,7 +165,7 @@ environment {
// Themes // Themes
QT_QPA_PLATFORM "wayland" QT_QPA_PLATFORM "wayland"
QT_QPA_PLATFORMTHEME "kde" QT_QPA_PLATFORMTHEME "kde"
QT_STYLE_OVERRIDE "Kvantum" QT_STYLE_OVERRIDE "Breeze"
// Nvidia // Nvidia
LIBVA_DRIVER_NAME "nvidia" LIBVA_DRIVER_NAME "nvidia"
@@ -233,7 +233,7 @@ window-rule {
match app-id="org.kde.kalk" match app-id="org.kde.kalk"
match app-id="org.gnome.NautilusPreviewer" match app-id="org.gnome.NautilusPreviewer"
match app-id="coin" match app-id="coin"
match app-id="wallpaper-chooser" match app-id="wallpaper-carousel"
match app-id="be.alexandervanhee.gradia" match app-id="be.alexandervanhee.gradia"
match title="^(图片查看器)(.*)$" // QQ match title="^(图片查看器)(.*)$" // QQ
open-floating true open-floating true
@@ -292,14 +292,14 @@ binds {
// Apps // Apps
Mod+C { spawn-sh "code --password-store=gnome-libsecret"; } Mod+C { spawn-sh "code --password-store=gnome-libsecret"; }
Mod+E { spawn-sh "nautilus --new-window"; } Mod+E { spawn-sh "nautilus --new-window"; }
Mod+W { spawn "zen"; } Mod+W { spawn-sh "zen || zen-browser"; }
Mod+X { spawn "gnome-text-editor" "--new-window"; } Mod+X { spawn "gnome-text-editor" "--new-window"; }
Mod+B { spawn-sh "pkill -x -n btop || ghostty -e btop"; } Mod+B { spawn-sh "pkill -x -n btop || ghostty -e btop"; }
Mod+T { spawn "kitty"; } Mod+T { spawn "kitty"; }
Mod+Return { spawn "kitty"; } Mod+Return { spawn "kitty"; }
Mod+Shift+T { spawn "ghostty"; } Mod+Shift+T { spawn "ghostty"; }
Mod+Shift+Return { spawn "ghostty"; } Mod+Shift+Return { spawn "ghostty"; }
Mod+Shift+W { spawn "wallpaper-chooser"; } Mod+Shift+W { spawn "wallpaper-carousel"; }
Mod+P { spawn-sh "pkill -x -n pwvucontrol || pwvucontrol"; } Mod+P { spawn-sh "pkill -x -n pwvucontrol || pwvucontrol"; }
// Quickshell // Quickshell

View File

@@ -157,6 +157,9 @@ Singleton {
if (!geoURLToken) if (!geoURLToken)
Logger.warn("IpService", "No token found for geoIP service, assuming none is required"); Logger.warn("IpService", "No token found for geoIP service, assuming none is required");
if (geoURLToken[geoURLToken.length - 1] === "\n")
geoURLToken = geoURLToken.slice(0, -1);
fetchIP(); fetchIP();
fetchTimer.start(); fetchTimer.start();
} }

View File

@@ -11,7 +11,7 @@ Singleton {
id: process id: process
running: true running: true
command: ["kquitapp6", "kded6"] command: ["sh", "-c", "which kquitapp6 && kquitapp6 kded6"]
onExited: (code, status) => { onExited: (code, status) => {
if (code !== 0) if (code !== 0)
Logger.warn("NukeKded6", `Failed to kill kded6: ${code}`); Logger.warn("NukeKded6", `Failed to kill kded6: ${code}`);

View File

@@ -5,7 +5,6 @@
环境: 环境:
hyprland (kde 下无此问题) hyprland (kde 下无此问题)
hybrid (独显直连没有测试)
结论: 结论:
罗技 Bolt 接收器导致的 罗技 Bolt 接收器导致的

View File

@@ -18,7 +18,7 @@ for item in "kitty" "ghostty" "wlogout"; do
fi fi
done done
if [ "$desktop" = "niri" ]; then if [ "$desktop" = "niri" ] || [ "$desktop" = "GNOME" ]; then
ln -sv "$(realpath --relative-to="$HOME/.config" "$path/../config/$item-niri")" "$HOME/.config/$item" ln -sv "$(realpath --relative-to="$HOME/.config" "$path/../config/$item-niri")" "$HOME/.config/$item"
else else
ln -sv "$(realpath --relative-to="$HOME/.config" "$path/../config/$item")" "$HOME/.config/$item" ln -sv "$(realpath --relative-to="$HOME/.config" "$path/../config/$item")" "$HOME/.config/$item"