Modules/Hyprland: Update wallpapers
This commit is contained in:
@ -23,15 +23,12 @@
|
|||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
description = "Available wallpapers";
|
description = "Available wallpapers";
|
||||||
|
|
||||||
# Run eza -1 | sd ".png" "" | sd "^" "\"" | sd "\$" "\"" | sd "\"\"" "" | wl-copy
|
# Run eza -1 | sd ".jpg" "" | sd "^" "\"" | sd "\$" "\"" | sd "\"\"" "" | wl-copy
|
||||||
# in ~/NixFlake/wallpapers/
|
# in ~/NixFlake/wallpapers/
|
||||||
default = [
|
default = [
|
||||||
"Blade-Runner-Atari"
|
|
||||||
"Blade-Runner-Coca-Cola"
|
|
||||||
"Blade-Runner-Downwards"
|
"Blade-Runner-Downwards"
|
||||||
"Blade-Runner-Upwards"
|
"Blade-Runner-Upwards"
|
||||||
"City-Outlook"
|
"City-Outlook"
|
||||||
"Cozy-Bedroom"
|
|
||||||
"Everest-Fishing"
|
"Everest-Fishing"
|
||||||
"Foggy-Lake"
|
"Foggy-Lake"
|
||||||
"Three-Bears"
|
"Three-Bears"
|
||||||
|
@ -41,6 +41,9 @@ in {
|
|||||||
inherit (config.lib.formats.rasi) mkLiteral;
|
inherit (config.lib.formats.rasi) mkLiteral;
|
||||||
|
|
||||||
trans = "rgba(0, 0, 0, 0)";
|
trans = "rgba(0, 0, 0, 0)";
|
||||||
|
|
||||||
|
paddingInner = "5px";
|
||||||
|
paddingOuter = "10px";
|
||||||
in {
|
in {
|
||||||
"element-text,element-icon,mode-switcher" = {
|
"element-text,element-icon,mode-switcher" = {
|
||||||
background-color = mkLiteral "inherit";
|
background-color = mkLiteral "inherit";
|
||||||
@ -49,7 +52,7 @@ in {
|
|||||||
|
|
||||||
"window" = {
|
"window" = {
|
||||||
height = "50%";
|
height = "50%";
|
||||||
width = "50%";
|
width = "33%";
|
||||||
border = mkLiteral "2 solid 2 solid 2 solid 2 solid";
|
border = mkLiteral "2 solid 2 solid 2 solid 2 solid";
|
||||||
border-radius = 6;
|
border-radius = 6;
|
||||||
border-color = mkLiteral color.hexS.accent;
|
border-color = mkLiteral color.hexS.accent;
|
||||||
@ -160,7 +163,7 @@ in {
|
|||||||
wallpaper-menu = let
|
wallpaper-menu = let
|
||||||
setWallpaperOnMonitor = name: monitor:
|
setWallpaperOnMonitor = name: monitor:
|
||||||
"hyprctl hyprpaper wallpaper "
|
"hyprctl hyprpaper wallpaper "
|
||||||
+ "${monitor},${config.paths.nixflake}/wallpapers/${name}.png";
|
+ "${monitor},${config.paths.nixflake}/wallpapers/${name}.jpg";
|
||||||
|
|
||||||
setWallpaperOnMonitors = monitors: name: {
|
setWallpaperOnMonitors = monitors: name: {
|
||||||
${name} =
|
${name} =
|
||||||
|
Reference in New Issue
Block a user