chore: update README.md
This commit is contained in:
@@ -224,8 +224,8 @@ def _change_quickshell(palette: dict[str, str], flavor: str):
|
||||
|
||||
|
||||
apply_theme_funcs: dict[str, Callable[[dict[str, str], str], None]] = {
|
||||
# 'kvantum': _change_kvantum,
|
||||
# 'nwg-look': _change_nwglook,
|
||||
'kvantum': _change_kvantum,
|
||||
'nwg-look': _change_nwglook,
|
||||
'eww': _change_eww,
|
||||
'hypr': _change_hypr,
|
||||
'rofi': _change_rofi,
|
||||
|
||||
@@ -80,13 +80,13 @@ if [ "$XDG_CURRENT_DESKTOP" = "Hyprland" ]; then
|
||||
|
||||
notify-send -a "change-wallpaper" "Wallpaper Changed" "$image" -i "$image_copied"
|
||||
|
||||
change-colortheme -i "$image_copied" !quickshell || exit 1
|
||||
change-colortheme -i "$image_copied" !quickshell !nwg-look || exit 1
|
||||
elif [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then
|
||||
swww img -n background "$image_copied" --transition-type fade --transition-duration 2 > /dev/null 2> /dev/null
|
||||
|
||||
notify-send -a "change-wallpaper" "Wallpaper Changed" "$image" -i "$image_copied"
|
||||
|
||||
change-colortheme -i "$image_copied" !waybar !eww || exit 1
|
||||
change-colortheme -i "$image_copied" !waybar !eww !mako !nwg-look || exit 1
|
||||
else
|
||||
echo "Unsupported desktop environment: $XDG_CURRENT_DESKTOP"
|
||||
exit 1
|
||||
|
||||
29
README.md
29
README.md
@@ -2,16 +2,27 @@
|
||||
|
||||
- Hyprland & Waybar & Eww:
|
||||
|
||||
<figure>
|
||||
<img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/desktop.jpg?raw=true"/>
|
||||
</figure>
|
||||
|
||||
- Niri & Quickshell
|
||||
|
||||
<figure>
|
||||
<img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/desktop-alt.jpg?raw=true"/>
|
||||
<figcaption><a href="#swww">auto blurred wallpaper</a></figcaption>
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/backdrop.jpg?raw=true"/>
|
||||
<figcaption><a href="#wallpaper--colortheme">dynamic colortheme</a></figcaption>
|
||||
</figure>
|
||||
|
||||
- Grub menu:
|
||||
|
||||
<figure>
|
||||
<img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/grub.jpg?raw=true"/>
|
||||
</figure>
|
||||
|
||||
## Setup Overview
|
||||
|
||||
@@ -28,7 +39,7 @@
|
||||
- Wallpaper Daemon: Swww
|
||||
- Notification Daemon: Mako | **Quickshell**
|
||||
|
||||
(**bold**: I currently prefer)
|
||||
(**bold**: currently preferred)
|
||||
|
||||
## Hyprland & friends
|
||||
|
||||
@@ -47,18 +58,24 @@ This setup is currently only adapted for Niri.
|
||||
## Eww
|
||||
|
||||
- `main`, main dashboard, modified from [syndrizzle/hotfiles](https://github.com/syndrizzle/hotfiles/tree/bspwm) but without notification center.
|
||||
- `lyrics`, scrolling lyrics player, depends on [a small utility](https://github.com/Uyanide/spotify-lyrics) from myself <small>(which also happens to be my frist Golang program :D)</small>.
|
||||
- `lyrics`, scrolling lyrics player, depends on [a small utility](https://github.com/Uyanide/Spotify_Lyrics) from myself <small>(which also happens to be my frist Golang program :D)</small>.
|
||||
- `lyrics-single`, similar to `lyrics`, but only with a single line and can be easily embeded into the status bar.
|
||||
|
||||
## Swww
|
||||
|
||||
The wallpaper will be automatically blurred when there are windows in focus. And the backdrop (overview) also has a blurred version of the wallpaper applied to its background. These are implemented in [wallpaper-daemon](https://github.com/Uyanide/dotfiles/blob/main/.scripts/wallpaper-daemon).
|
||||
|
||||
This feature is only enabled in Niri. Swww also manages the wallpaper of the Hyprland setup, yet only in the regular way.
|
||||
This feature is only enabled in Niri. Swww also manages wallpapers of the Hyprland setup, yet only in the regular way.
|
||||
|
||||
## Wallpaper & Colortheme
|
||||
|
||||
[A small utility](https://github.com/Uynide/Wallpaper_Chooser) from myself, which implements a Image Carousel with Qt Widgets, is used to select a wallpaper from the collection. Once selected, [a script](https://github.com/Uyanide/dotfiles/blob/main/.scripts/change-colortheme) will pick the most suitable primary color (so-called flavor) for the wallpaper from the Catppuccin Mocha palette. Many applications that can be configured with a colortheme will adhere the result (including most Qt6 apps via Kvantum and GTK3&4 apps via nwg-look).
|
||||
|
||||
As for the wallpaper collection, see [backgrounds repo for personal use](https://github.com/Uyanide/backgrounds).
|
||||
|
||||
## Rofi
|
||||
|
||||
Based on [codeopshq/dotfiles](https://github.com/codeopshq/dotfiles), also serves as clipboard history browser and emoji picker.
|
||||
Based on [codeopshq/dotfiles](https://github.com/codeopshq/dotfiles), also serves as the clipboard history browser and emoji picker.
|
||||
|
||||
## Grub theme
|
||||
|
||||
@@ -68,10 +85,6 @@ Based on [vinceliuice/Elegant-grub2-themes](https://github.com/vinceliuice/Elega
|
||||
|
||||
Based on [noelsimbolon/mpv-config](https://github.com/noelsimbolon/mpv-config.git).
|
||||
|
||||
## Wallpaper(s)
|
||||
|
||||
See [backgrounds repo for personal usage](https://github.com/Uyanide/backgrounds).
|
||||
|
||||
## Fonts
|
||||
|
||||
including:
|
||||
|
||||
@@ -164,7 +164,7 @@ environment {
|
||||
// Themes
|
||||
QT_QPA_PLATFORM "wayland"
|
||||
QT_QPA_PLATFORMTHEME "kde"
|
||||
QT_STYLE_OVERRIDE "Breeze"
|
||||
QT_STYLE_OVERRIDE "Kvantum"
|
||||
|
||||
// Nvidia
|
||||
LIBVA_DRIVER_NAME "nvidia"
|
||||
|
||||
@@ -164,7 +164,7 @@ environment {
|
||||
// Themes
|
||||
QT_QPA_PLATFORM "wayland"
|
||||
QT_QPA_PLATFORMTHEME "kde"
|
||||
QT_STYLE_OVERRIDE "Breeze"
|
||||
QT_STYLE_OVERRIDE "Kvantum"
|
||||
|
||||
// Nvidia
|
||||
LIBVA_DRIVER_NAME "nvidia"
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
"lastSeenTs": 1760464428000
|
||||
},
|
||||
"primaryColor": "#89b4fa",
|
||||
"showLyricsBar": true
|
||||
"showLyricsBar": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user