diff --git a/README.md b/README.md index 2b10c6e..307a506 100644 --- a/README.md +++ b/README.md @@ -77,17 +77,14 @@ This setup is currently only adapted for Niri. - `lyrics`, scrolling lyrics player, depends on [a small utility](https://github.com/Uyanide/Spotify_Lyrics) from myself (which also happens to be my frist Golang program :D). - `lyrics-single`, similar to `lyrics`, but only with a single line and can be easily embeded into the status bar. -## Awww (Swww) - -The wallpaper will be automatically blurred when there is a window in focus, which is implemented in the [wallpaper-daemon](https://github.com/Uyanide/dotfiles/blob/main/config/scripts/.local/scripts/wallpaper-daemon) script. - -This feature is only enabled in Niri. Awww also manages wallpapers of the Hyprland setup, yet only in the regular way. - ## Wallpaper & Colortheme 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. See also: -- [wallpaper-carousel](https://github.com/Uyanide/Wallpaper_Carousel) to select wallpaper, which implements an Image Carousel with Qt Widgets. +- [wallpaper-carousel](https://github.com/Uyanide/Wallpaper_Carousel): an Image Carousel implemented with Qt Widgets to browse and set wallpapers from. +- [wallpaper-daemon](./config/scripts/.local/scripts/wallpaper-daemon): automatic blur (only works in niri). +- [change-wallpaper](./config/scripts/.local/scripts/change-wallpaper): script that changes wallpaper with a few extra features. +- [change-colortheme](./config/scripts/.local/scripts/change-colortheme): script that changes color scheme based on wallpaper. - [backgrounds collection](https://github.com/Uyanide/backgrounds) for personal use. ## Rofi diff --git a/config/niri/.config/niri/config/misc.kdl b/config/niri/.config/niri/config/misc.kdl index b6a5dca..cccfe86 100644 --- a/config/niri/.config/niri/config/misc.kdl +++ b/config/niri/.config/niri/config/misc.kdl @@ -1,7 +1,7 @@ screenshot-path "~/Pictures/Screenshots/niri_screenshot_%Y-%m-%d_%H-%M-%S.png" debug { - render-drm-device "/dev/dri/card2" + render-drm-device "/dev/dri/card0" } // gestures { diff --git a/config/wallpaper/Pictures/backgrounds b/config/wallpaper/Pictures/backgrounds index 503ff8b..389750e 160000 --- a/config/wallpaper/Pictures/backgrounds +++ b/config/wallpaper/Pictures/backgrounds @@ -1 +1 @@ -Subproject commit 503ff8b986e64409bdb118c73316d0b739fe5296 +Subproject commit 389750ee97f9075cc099ff8c3d96dbcc224d3493 diff --git a/memo/oh-my-altgr.md b/memo/oh-my-altgr.md new file mode 100644 index 0000000..216163f --- /dev/null +++ b/memo/oh-my-altgr.md @@ -0,0 +1,23 @@ +Deutsche Tastaturbelegung unter Linux + +``` +base ^ 1 2 3 4 5 6 7 8 9 0 ß ´ +shift ° ! " § $ % & / ( ) = ? ` +altgr ′ ¹ ² ³ ¼ ½ ¬ { [ ] } \ ¸ +sh+al ″ ¡ ⅛ £ ¤ ⅜ ⅝ ⅞ ™ ± ° ¿ ˛ + +base q w e r t z u i o p ü + +shift Q W E R T Z U I O P Ü * +altgr @ ſ € ¶ ŧ ← ↓ → ø þ ¨ ~ +sh+al Ω § € ® Ŧ ¥ ↑ ı Ø Þ ° ¯ + +base a s d f g h j k l ö ä # +shift A S D F G H J K L Ö Ä ' +altgr æ ſ ð đ ŋ ħ ̣ ĸ ł ˝ ^ ’ +sh+al Æ ẞ Ð ª Ŋ Ħ ̇ & Ł ̣ ˇ ˘ + +base < y x c v b n m , . - +shift > Y X C V B N M ; : _ +altgr | » « ¢ „ “ ” µ · … – +sh+al ˍ › ‹ © ‚ ‘ ’ º × ÷ — +``` diff --git a/memo/x-root.md b/memo/x-root.md new file mode 100644 index 0000000..ab99864 --- /dev/null +++ b/memo/x-root.md @@ -0,0 +1,9 @@ +有时候会遇到一些需要提权运行的 GUI 应用显示不了窗口的情况, +例如 Gtk 报错:`cannot open display: :1`。 +这有可能是 root 用户无权访问 X 显示服务导致的。运行 + +```bash +xhost +SI:localuser:root +``` + +可以允许本机的 root 用户访问 X 显示服务,或许可以解决问题。