further adjustments to waybar
This commit is contained in:
parent
3f4392c233
commit
b04fe74ff4
147
flake.lock
147
flake.lock
|
@ -20,11 +20,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725199881,
|
"lastModified": 1725753098,
|
||||||
"narHash": "sha256-jsmipf/u1GFZE5tBUkr56CHMN6VpUWCAjfLIhvQijU0=",
|
"narHash": "sha256-/NO/h/qD/eJXAQr/fHA4mdDgYsNT9thHQ+oT6KPi2ac=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "aquamarine",
|
"repo": "aquamarine",
|
||||||
"rev": "f8a687dd29ff019657498f1bd14da2fbbf0e604b",
|
"rev": "e4a13203112a036fc7f437d391c7810f3dd5ab52",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -41,11 +41,11 @@
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726036322,
|
"lastModified": 1726357397,
|
||||||
"narHash": "sha256-9Hwl4lzB5yFah00OaXSMDPDubCy99wtLgsYxMVpMwlM=",
|
"narHash": "sha256-W68/drb51fBhOl/BMOoRlI+7qxeoNWGmCZwAyuXVlQY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "3e50a3c915882f07cb3f6c246f09febc4ad36c3e",
|
"rev": "8f14b37d4ad9eafd33315ba67faded5c1e1a1044",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -71,22 +71,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_2": {
|
"flake-compat_2": {
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696426674,
|
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-compat_3": {
|
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696426674,
|
"lastModified": 1696426674,
|
||||||
|
@ -103,7 +87,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_4": {
|
"flake-compat_3": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1650374568,
|
"lastModified": 1650374568,
|
||||||
|
@ -119,7 +103,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_5": {
|
"flake-compat_4": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1650374568,
|
"lastModified": 1650374568,
|
||||||
|
@ -173,7 +157,7 @@
|
||||||
},
|
},
|
||||||
"flake-utils-plus": {
|
"flake-utils-plus": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_4"
|
"flake-utils": "flake-utils_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715533576,
|
"lastModified": 1715533576,
|
||||||
|
@ -192,7 +176,7 @@
|
||||||
},
|
},
|
||||||
"flake-utils-plus_2": {
|
"flake-utils-plus_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_5"
|
"flake-utils": "flake-utils_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715533576,
|
"lastModified": 1715533576,
|
||||||
|
@ -228,24 +212,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_3": {
|
"flake-utils_3": {
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_4"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1710146030,
|
|
||||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils_4": {
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1644229661,
|
"lastModified": 1644229661,
|
||||||
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
|
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
|
||||||
|
@ -260,9 +226,9 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_5": {
|
"flake-utils_4": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_5"
|
"systems": "systems_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1694529238,
|
"lastModified": 1694529238,
|
||||||
|
@ -320,11 +286,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726036828,
|
"lastModified": 1726357542,
|
||||||
"narHash": "sha256-ZQHbpyti0jcAKnwQY1lwmooecLmSG6wX1JakQ/eZNeM=",
|
"narHash": "sha256-p4OrJL2weh0TRtaeu1fmNYP6+TOp/W2qdaIJxxQay4c=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "8a1671642826633586d12ac3158e463c7a50a112",
|
"rev": "e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -395,11 +361,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725976150,
|
"lastModified": 1726353438,
|
||||||
"narHash": "sha256-Dv4XEWRcVFZhBDbj11/zuuXyf7TGHFVU1IGH9W/yPX8=",
|
"narHash": "sha256-DLSpQXNt6LLkhREYrnhU+/XrfDNiSN41iD575ua9+yA=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "155d44016d0cb11332c454db73d59030cdbd7b13",
|
"rev": "e74efd87e5aa38f9cf84cb3848ee1ab26e5e4bcb",
|
||||||
"revCount": 5209,
|
"revCount": 5221,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
|
@ -483,11 +449,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725188252,
|
"lastModified": 1725997860,
|
||||||
"narHash": "sha256-yBH8c4GDaEAtBrh+BqIlrx5vp6gG/Gu8fQQK63KAQgs=",
|
"narHash": "sha256-d/rZ/fHR5l1n7PeyLw0StWMNLXVU9c4HFyfskw568so=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprlang",
|
"repo": "hyprlang",
|
||||||
"rev": "c12ab785ce1982f82594aff03b3104c598186ddd",
|
"rev": "dfeb5811dd6485490cce18d6cc1e38a055eea876",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -570,18 +536,16 @@
|
||||||
},
|
},
|
||||||
"nix-ld": {
|
"nix-ld": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
|
||||||
"flake-utils": "flake-utils_2",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"unstable"
|
"unstable"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1721411691,
|
"lastModified": 1726227680,
|
||||||
"narHash": "sha256-fN0NjkYcQrdVSvWlSnvdu8XD34q8tl84SEz5BOJYROA=",
|
"narHash": "sha256-pcqHXle7uHQTUESc40Yu0k05cFMRVpm3D8ZHPH6scOY=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-ld",
|
"repo": "nix-ld",
|
||||||
"rev": "7a990656e51465a18ba70f49c2cf9c8d0947b4c9",
|
"rev": "5ee22be69d8bd66da100157fab54d8dde37c775b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -607,8 +571,8 @@
|
||||||
},
|
},
|
||||||
"nixos-wsl": {
|
"nixos-wsl": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat",
|
||||||
"flake-utils": "flake-utils_3",
|
"flake-utils": "flake-utils_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
|
@ -629,11 +593,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725103162,
|
"lastModified": 1725983898,
|
||||||
"narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=",
|
"narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b",
|
"rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -689,11 +653,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725634671,
|
"lastModified": 1726062873,
|
||||||
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
|
"narHash": "sha256-IiA3jfbR7K/B5+9byVi9BZGWTD4VSbWe8VLpp9B/iYk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
|
"rev": "4f807e8940284ad7925ebd0a0993d2a1791acb2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -758,11 +722,11 @@
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725985110,
|
"lastModified": 1726220668,
|
||||||
"narHash": "sha256-0HKj+JI6rtxaE6Kzcd6HyFNbEFJRsLy5DoNgVF1pyRM=",
|
"narHash": "sha256-0Cb2bK2eyZ1njSX3593USMlcrj94VZprNN1/HllIfgw=",
|
||||||
"owner": "rust-lang",
|
"owner": "rust-lang",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "bcc708992104c2059f310fbc3ac00bfc377f9ea8",
|
"rev": "4221354a8fe90ea8218d3757d14735eac08d3e81",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -774,7 +738,7 @@
|
||||||
},
|
},
|
||||||
"snowfall-flake": {
|
"snowfall-flake": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_3",
|
"flake-compat": "flake-compat_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"unstable"
|
"unstable"
|
||||||
],
|
],
|
||||||
|
@ -796,7 +760,7 @@
|
||||||
},
|
},
|
||||||
"snowfall-lib": {
|
"snowfall-lib": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_4",
|
"flake-compat": "flake-compat_3",
|
||||||
"flake-utils-plus": "flake-utils-plus",
|
"flake-utils-plus": "flake-utils-plus",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"snowfall-flake",
|
"snowfall-flake",
|
||||||
|
@ -820,7 +784,7 @@
|
||||||
},
|
},
|
||||||
"snowfall-lib_2": {
|
"snowfall-lib_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_5",
|
"flake-compat": "flake-compat_4",
|
||||||
"flake-utils-plus": "flake-utils-plus_2",
|
"flake-utils-plus": "flake-utils-plus_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
@ -846,11 +810,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725922448,
|
"lastModified": 1726218807,
|
||||||
"narHash": "sha256-ruvh8tlEflRPifs5tlpa0gkttzq4UtgXkJQS7FusgFE=",
|
"narHash": "sha256-z7CoWbSOtsOz8TmRKDnobURkKfv6nPZCo3ayolNuQGc=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "cede1a08039178ac12957733e97ab1006c6b6892",
|
"rev": "f30b1bac192e2dc252107ac8a59a03ad25e1b96e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -919,28 +883,13 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_5": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"unstable": {
|
"unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725634671,
|
"lastModified": 1726062873,
|
||||||
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
|
"narHash": "sha256-IiA3jfbR7K/B5+9byVi9BZGWTD4VSbWe8VLpp9B/iYk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
|
"rev": "4f807e8940284ad7925ebd0a0993d2a1791acb2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -967,11 +916,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725228143,
|
"lastModified": 1726046979,
|
||||||
"narHash": "sha256-kbSiPA5oXiz1+1eVoRslMi5wylHD6SDT8dS9eZAxXAM=",
|
"narHash": "sha256-6SEsjurq9cdTkITA6d49ncAJe4O/8CgRG5/F//s6Xh8=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"rev": "11e15b437e7efc39e452f36e15a183225d6bfa39",
|
"rev": "e695669fd8e1d1be9eaae40f35e00f8bd8b64c18",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
{
|
|
||||||
"height": 24, // Waybar height (to be removed for auto height)
|
|
||||||
"modules-left": ["hyprland/workspaces"],
|
|
||||||
"modules-center": ["hyprland/window"],
|
|
||||||
"modules-right": ["tray", "idle_inhibitor", "pulseaudio", "clock"],
|
|
||||||
"hyprland/window": {
|
|
||||||
"separate-outputs": true
|
|
||||||
},
|
|
||||||
"idle_inhibitor": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"format-icons": {
|
|
||||||
"activated": "",
|
|
||||||
"deactivated": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tray": {
|
|
||||||
// "icon-size": 21,
|
|
||||||
"spacing": 10
|
|
||||||
},
|
|
||||||
"clock": {
|
|
||||||
"timezone": "Europe/Berlin",
|
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
||||||
"format": "{:L%Y-%m-%d<small> [%a] </small>%H:%M}"
|
|
||||||
},
|
|
||||||
"pulseaudio": {
|
|
||||||
"scroll-step": 5, // %, can be a float
|
|
||||||
"format": "{icon} {volume}% {format_source}",
|
|
||||||
"format-bluetooth": " {icon} {volume}% {format_source}",
|
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
|
||||||
"format-muted": "{format_source}",
|
|
||||||
"format-source": " {volume}%",
|
|
||||||
"format-source-muted": "",
|
|
||||||
"format-icons": {
|
|
||||||
"default": ["", "", ""]
|
|
||||||
},
|
|
||||||
"on-click": "pavucontrol",
|
|
||||||
"on-click-right": "foot -a pw-top pw-top"
|
|
||||||
},
|
|
||||||
}
|
|
208
modules/nixos/desktop/addons/waybar/config.jsonc
Normal file
208
modules/nixos/desktop/addons/waybar/config.jsonc
Normal file
|
@ -0,0 +1,208 @@
|
||||||
|
{
|
||||||
|
"layer":"top",
|
||||||
|
"position":"top",
|
||||||
|
"mod":"dock",
|
||||||
|
"margin-left":10,
|
||||||
|
"margin-right":10,
|
||||||
|
"margin-top":7,
|
||||||
|
"margin-bottom":0,
|
||||||
|
"exclusive":true,
|
||||||
|
"passthrough":false,
|
||||||
|
"gtk-layer-shell":true,
|
||||||
|
"reload_style_on_change":true,
|
||||||
|
"modules-left":[
|
||||||
|
"custom/smallspacer",
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"custom/spacer"
|
||||||
|
],
|
||||||
|
"modules-center":[
|
||||||
|
"custom/padd",
|
||||||
|
"custom/l_end",
|
||||||
|
"custom/r_end",
|
||||||
|
"hyprland/window",
|
||||||
|
"custom/padd"
|
||||||
|
],
|
||||||
|
"modules-right":[
|
||||||
|
"custom/padd",
|
||||||
|
"custom/l_end",
|
||||||
|
"tray",
|
||||||
|
"custom/smallspacer",
|
||||||
|
"pulseaudio",
|
||||||
|
"pulseaudio/slider",
|
||||||
|
"memory",
|
||||||
|
"cpu",
|
||||||
|
"clock",
|
||||||
|
"custom/padd"
|
||||||
|
],
|
||||||
|
"custom/smallspacer":{
|
||||||
|
"format":" "
|
||||||
|
},
|
||||||
|
"memory":{
|
||||||
|
"interval":1,
|
||||||
|
"rotate":270,
|
||||||
|
"format":"{icon}",
|
||||||
|
"format-icons":[
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"max-length":10
|
||||||
|
},
|
||||||
|
"cpu":{
|
||||||
|
"interval":1,
|
||||||
|
"format":"{icon}",
|
||||||
|
"rotate":270,
|
||||||
|
"format-icons":[
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"tray":{
|
||||||
|
"icon-size":15,
|
||||||
|
"rotate":0,
|
||||||
|
"spacing":3
|
||||||
|
},
|
||||||
|
"custom/menu":{
|
||||||
|
"format":" ",
|
||||||
|
"rotate":90
|
||||||
|
},
|
||||||
|
"hyprland/window":{
|
||||||
|
"format":"<span weight='bold' >{initialTitle}</span>",
|
||||||
|
"max-length":120,
|
||||||
|
"separate-outputs":true,
|
||||||
|
"icon":false,
|
||||||
|
"icon-size":13
|
||||||
|
},
|
||||||
|
"custom/spacer":{
|
||||||
|
"format":"|"
|
||||||
|
},
|
||||||
|
"hyprland/workspaces":{
|
||||||
|
"format":"{icon}",
|
||||||
|
"format-icons":{
|
||||||
|
"default":"○",
|
||||||
|
"active":"",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"wlr/workspaces":{
|
||||||
|
"persistent-workspaces":{
|
||||||
|
"1":[
|
||||||
|
"DP-2"
|
||||||
|
],
|
||||||
|
"2":[
|
||||||
|
"HDMI-A-1"
|
||||||
|
],
|
||||||
|
"3":[
|
||||||
|
"DP-2"
|
||||||
|
],
|
||||||
|
"4":[
|
||||||
|
"HDMI-A-1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"idle_inhibitor":{
|
||||||
|
"format":"{icon}",
|
||||||
|
"rotate":0,
|
||||||
|
"format-icons":{
|
||||||
|
"activated":"",
|
||||||
|
"deactivated":""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"clock":{
|
||||||
|
"format":"{:%H:%M}",
|
||||||
|
"rotate":0,
|
||||||
|
"tooltip-format":"<tt>{calendar}</tt>",
|
||||||
|
"calendar":{
|
||||||
|
"mode":"month",
|
||||||
|
"mode-mon-col":3,
|
||||||
|
"on-scroll":1,
|
||||||
|
"on-click-right":"mode",
|
||||||
|
"format":{
|
||||||
|
"months":"<span color='#ffead3'><b>{}</b></span>",
|
||||||
|
"weekdays":"<span color='#ffcc66'><b>{}</b></span>",
|
||||||
|
"today":"<span color='#ff6699'><b>{}</b></span>"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"actions":{
|
||||||
|
"on-click-right":"mode",
|
||||||
|
"on-click-forward":"tz_up",
|
||||||
|
"on-click-backward":"tz_down",
|
||||||
|
"on-scroll-up":"shift_up",
|
||||||
|
"on-scroll-down":"shift_down"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pulseaudio":{
|
||||||
|
"format":" {icon}",
|
||||||
|
"rotate":0,
|
||||||
|
"format-muted":"婢",
|
||||||
|
"tooltip-format":"{icon} {desc} // {volume}%",
|
||||||
|
"scroll-step":5,
|
||||||
|
"format-icons":{
|
||||||
|
"headphone":"",
|
||||||
|
"hands-free":"",
|
||||||
|
"headset":"",
|
||||||
|
"phone":"",
|
||||||
|
"portable":"",
|
||||||
|
"car":"",
|
||||||
|
"default":[
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"custom/l_end":{
|
||||||
|
"format":" ",
|
||||||
|
"interval":"once",
|
||||||
|
"tooltip":false
|
||||||
|
},
|
||||||
|
"custom/r_end":{
|
||||||
|
"format":" ",
|
||||||
|
"interval":"once",
|
||||||
|
"tooltip":false
|
||||||
|
},
|
||||||
|
"custom/sl_end":{
|
||||||
|
"format":" ",
|
||||||
|
"interval":"once",
|
||||||
|
"tooltip":false
|
||||||
|
},
|
||||||
|
"custom/sr_end":{
|
||||||
|
"format":" ",
|
||||||
|
"interval":"once",
|
||||||
|
"tooltip":false
|
||||||
|
},
|
||||||
|
"custom/rl_end":{
|
||||||
|
"format":" ",
|
||||||
|
"interval":"once",
|
||||||
|
"tooltip":false
|
||||||
|
},
|
||||||
|
"custom/rr_end":{
|
||||||
|
"format":" ",
|
||||||
|
"interval":"once",
|
||||||
|
"tooltip":false
|
||||||
|
},
|
||||||
|
"custom/padd":{
|
||||||
|
"format":" ",
|
||||||
|
"interval":"once",
|
||||||
|
"tooltip":false
|
||||||
|
},
|
||||||
|
"pulseaudio/slider":{
|
||||||
|
"min":5,
|
||||||
|
"max":100,
|
||||||
|
"rotate":0,
|
||||||
|
"device":"pulseaudio",
|
||||||
|
"scroll-step":1
|
||||||
|
}
|
||||||
|
}
|
|
@ -15,6 +15,7 @@ let
|
||||||
mkIf
|
mkIf
|
||||||
types
|
types
|
||||||
;
|
;
|
||||||
|
inherit (lib.wyrdgard) enabled;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.desktop.addons.waybar = {
|
options.${namespace}.desktop.addons.waybar = {
|
||||||
|
@ -29,8 +30,17 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
|
services.upower = enabled;
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
cascadia-code
|
||||||
|
jetbrains-mono
|
||||||
|
maple-mono-NF
|
||||||
|
material-design-icons
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
];
|
||||||
|
|
||||||
wyrdgard.home.file = {
|
wyrdgard.home.file = {
|
||||||
".config/waybar/config".source = ./config;
|
".config/waybar/config.jsonc".source = ./config.jsonc;
|
||||||
".config/waybar/style.css".source = ./style.css;
|
".config/waybar/style.css".source = ./style.css;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,182 +1,391 @@
|
||||||
window#waybar {
|
* {
|
||||||
background: transparent;
|
font-family: "JetBrains Mono Nerd Font";
|
||||||
/* background-color: rgba(43, 48, 59, 0.5); */
|
/*font-family: "JetBrainsMono Nerd Font";*/
|
||||||
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
|
|
||||||
color: #ffffff;
|
|
||||||
transition-property: background-color;
|
|
||||||
transition-duration: .5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar.hidden {
|
|
||||||
opacity: 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#waybar.empty #window {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces {
|
|
||||||
}
|
|
||||||
|
|
||||||
#window {
|
|
||||||
margin: 2px;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
background-color: rgba(0,0,0,0.3);
|
|
||||||
font-size:14px;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
#custom-notification {
|
||||||
/* Use box-shadow instead of border so the text isn't offset */
|
font-family: "JetBrains Mono Nerd Font";
|
||||||
box-shadow: inset 0 -3px transparent;
|
font-size: 17px;
|
||||||
/* Avoid rounded borders under each button name */
|
color: #A1BDCE;
|
||||||
border: none;
|
margin: 2px 0px 0px 0px;
|
||||||
border-radius: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
window#waybar {
|
||||||
button:hover {
|
background: #0F0F17;
|
||||||
background: inherit;
|
/* border-radius: 15px; */
|
||||||
border-top: 2px solid #c9545d;
|
/* border: 2px solid #124323; */
|
||||||
|
/* border: 0px solid #A1BDCE; */
|
||||||
|
border: 3px solid rgba(255, 255, 255, 0.1);
|
||||||
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
background: #171717;
|
||||||
|
color: #A1BDCE;
|
||||||
|
font-size: 13px;
|
||||||
|
border-radius: 7px;
|
||||||
|
border: 2px solid #101a24;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
#workspaces{
|
||||||
|
background: rgba(23, 23, 23, 0.0);
|
||||||
|
color: #888789;
|
||||||
|
box-shadow: none;
|
||||||
|
text-shadow: none;
|
||||||
|
border-radius: 9px;
|
||||||
|
transition: 0.2s ease;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
padding-top: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 4px;
|
background: rgba(23, 23, 23, 0.0);
|
||||||
/* background-color: rgba(0,0,0,0.3); */
|
color: #A1BDCE;
|
||||||
|
box-shadow: none;
|
||||||
|
text-shadow: none;
|
||||||
|
border-radius: 9px;
|
||||||
|
transition: 0.2s ease;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
/* animation: ws_normal 20s ease-in-out 1; */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
|
||||||
|
|
||||||
|
/* background-image: url("/home/anik/Documents/bar1.png");*/
|
||||||
|
color: #A1BDCE;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
/* transition: all 0.4s cubic-bezier(.55,0.68,.48,1.682); */
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
|
background: none;
|
||||||
|
color: #72D792;
|
||||||
|
animation: ws_hover 20s ease-in-out 1;
|
||||||
|
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#taskbar button {
|
||||||
/* box-shadow: inset 0 -2px #c9545d; */
|
box-shadow: none;
|
||||||
background-color: rgba(0,0,0,0.3);
|
text-shadow: none;
|
||||||
color:#c9545d;
|
font-size: 4px;
|
||||||
border-top: 2px solid #c9545d;
|
padding: 0px;
|
||||||
|
border-radius: 9px;
|
||||||
|
margin-bottom: 3px;
|
||||||
|
margin-left: 0px;
|
||||||
|
padding-left: 3px;
|
||||||
|
padding-right: 3px;
|
||||||
|
margin-right: 0px;
|
||||||
|
color: @wb-color;
|
||||||
|
animation: tb_normal 20s ease-in-out 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#taskbar button.active {
|
||||||
background-color: #eb4d4b;
|
background: @wb-act-bg;
|
||||||
|
color: @wb-act-color;
|
||||||
|
margin-left: 3px;
|
||||||
|
padding-left: 12px;
|
||||||
|
padding-right: 12px;
|
||||||
|
margin-right: 3px;
|
||||||
|
animation: tb_active 20s ease-in-out 1;
|
||||||
|
transition: all 0.4s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
|
min-height: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mode {
|
#taskbar button:hover {
|
||||||
background-color: #64727D;
|
background: @wb-hvr-bg;
|
||||||
border-bottom: 3px solid #ffffff;
|
color: @wb-hvr-color;
|
||||||
|
animation: tb_hover 20s ease-in-out 1;
|
||||||
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock,
|
#tray menu * {
|
||||||
#battery,
|
min-height: 16px;
|
||||||
#cpu,
|
font-weight: bold;
|
||||||
#memory,
|
font-size: 13px;
|
||||||
#disk,
|
color: #9488e3;
|
||||||
#temperature,
|
}
|
||||||
#backlight,
|
|
||||||
#network,
|
#tray menu separator {
|
||||||
#pulseaudio,
|
min-height: 10px
|
||||||
#wireplumber,
|
}
|
||||||
#custom-media,
|
|
||||||
#tray,
|
|
||||||
#mode,
|
#custom-spacer{
|
||||||
#idle_inhibitor,
|
opacity: 0.0;
|
||||||
#scratchpad,
|
}
|
||||||
#mpd {
|
#custom-smallspacer{
|
||||||
margin: 2px;
|
opacity: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#custom-mouse{
|
||||||
|
font-size: 14px;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
background: #161320;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#custom-power{
|
||||||
|
font-size: 15px;
|
||||||
|
color: #FFFFFF;
|
||||||
|
background: rgba(22, 19, 32, 0.9);
|
||||||
|
margin: 6px 0px 6px 0px;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
background-color: rgba(0,0,0,0.3);
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
#backlight{
|
||||||
.modules-left > widget:first-child > #workspaces {
|
color: #2096C0;
|
||||||
margin-left: 0;
|
background: rgba(23, 23, 23, 0.0);
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 19px;
|
||||||
|
margin: 1px 0px 0px 0px;
|
||||||
|
padding-left: 0px;
|
||||||
|
padding-right: 2px;
|
||||||
|
|
||||||
|
}
|
||||||
|
#bluetooth,
|
||||||
|
#custom-cliphist{
|
||||||
|
color: #E6E7E7;
|
||||||
|
background: #161320;
|
||||||
|
opacity: 1;
|
||||||
|
margin: 4px 0px 4px 0px;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
|
||||||
|
}
|
||||||
|
#battery{
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 22px;
|
||||||
|
color: #a6d189;
|
||||||
|
background: rgba(23, 23, 23, 0.0);
|
||||||
|
opacity: 1;
|
||||||
|
margin: 0px 0px 0px 0px;
|
||||||
|
padding-left: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the rightmost module, omit right margin */
|
#idle_inhibitor{
|
||||||
.modules-right > widget:last-child > #workspaces {
|
color: #24966e;
|
||||||
margin-right: 0;
|
background: @bar-bg;
|
||||||
}
|
opacity: 1;
|
||||||
|
margin: 4px 0px 4px 0px;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
|
||||||
|
}
|
||||||
#clock{
|
#clock{
|
||||||
font-size:14px;
|
color: #A1BDCE;
|
||||||
font-weight: bold;
|
font-size: 15px;
|
||||||
}
|
font-weight: 900;
|
||||||
|
font-family: "JetBrains Mono Nerd Font";
|
||||||
|
background: rgba(23, 23, 23, 0.0);
|
||||||
|
opacity: 1;
|
||||||
|
margin: 3px 0px 0px 0px;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
border: none;
|
||||||
|
|
||||||
#battery icon {
|
|
||||||
color: red;
|
|
||||||
}
|
}
|
||||||
|
#pulseaudio{
|
||||||
#battery.charging, #battery.plugged {
|
font-weight: normal;
|
||||||
color: #ffffff;
|
font-size: 18px;
|
||||||
background-color: #26A65B;
|
color: #6F8FDB;
|
||||||
|
background: rgba(22, 19, 32, 0.0);
|
||||||
|
opacity: 1;
|
||||||
|
margin: 0px 0px 0px 0px;
|
||||||
|
padding-left: 3px;
|
||||||
|
padding-right: 3px;
|
||||||
|
}
|
||||||
|
#cpu{
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 22px;
|
||||||
|
color: #915CAF;
|
||||||
|
}
|
||||||
|
#custom-led{
|
||||||
|
background: #427287;
|
||||||
|
color: #FFFFFF;
|
||||||
|
margin-top: 7px;
|
||||||
|
margin-bottom: 7px;
|
||||||
|
padding-left: 6px;
|
||||||
|
border-radius: 7px;
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
#custom-gpuinfo,
|
||||||
|
#custom-keybindhint,
|
||||||
|
#language,
|
||||||
|
#memory{
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 22px;
|
||||||
|
color: #E4C9AF;
|
||||||
|
}
|
||||||
|
#mpris{
|
||||||
|
color: white;
|
||||||
|
animation: repeat;
|
||||||
|
animation-name: blink;
|
||||||
|
animation-duration: 3s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
to {
|
to {
|
||||||
background-color: #ffffff;
|
color: #4a4a4a;
|
||||||
color: #000000;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#network{
|
||||||
|
color: #A1BDCE;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 19px;
|
||||||
|
padding-right: 0px;
|
||||||
|
padding-left: 4px
|
||||||
|
}
|
||||||
|
#custom-notifications,
|
||||||
|
#custom-spotify,
|
||||||
|
#taskbar,
|
||||||
|
#custom-theme,
|
||||||
|
#custom-menu{
|
||||||
|
color: #E8EDF0;
|
||||||
|
background: rgba(23, 23, 23, 0.0);
|
||||||
|
margin: 0px 0px 0px 0px;
|
||||||
|
padding-left: 1px;
|
||||||
|
padding-right: 1px;
|
||||||
|
opacity: 0.1
|
||||||
|
}
|
||||||
|
#tray,
|
||||||
|
#custom-updates,
|
||||||
|
#custom-wallchange,
|
||||||
|
#custom-wbar,
|
||||||
|
#window{
|
||||||
|
color: #A1BDCE;
|
||||||
|
font-family: "Martian Mono";
|
||||||
|
}
|
||||||
|
#custom-l_end,
|
||||||
|
#custom-r_end,
|
||||||
|
#custom-sl_end,
|
||||||
|
#custom-sr_end,
|
||||||
|
#custom-rl_end,
|
||||||
|
#cava,
|
||||||
|
#upower#headset,
|
||||||
|
#upower{
|
||||||
|
color: #a6d189;
|
||||||
|
}
|
||||||
|
#mpris{
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
#custom-rr_end {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #E8EDF0;
|
||||||
|
background: rgba(23, 23, 23, 0.0);
|
||||||
|
opacity: 1;
|
||||||
|
margin: 0px 0px 0px 0px;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#battery.warning:not(.charging) {
|
#backlight-slider slider,
|
||||||
background-color: #f53c3c;
|
#pulseaudio-slider slider {
|
||||||
color: #ffffff;
|
background: #A1BDCE;
|
||||||
animation-name: blink;
|
background-color: transparent;
|
||||||
animation-duration: 0.5s;
|
box-shadow: none;
|
||||||
animation-timing-function: linear;
|
margin-right: 7px;
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#backlight-slider trough,
|
||||||
|
#pulseaudio-slider trough {
|
||||||
|
margin-top: -3px;
|
||||||
|
min-width: 90px;
|
||||||
|
min-height: 10px;
|
||||||
|
margin-bottom: -4px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #343434;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight-slider highlight,
|
||||||
|
#pulseaudio-slider highlight {
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #2096C0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging, #battery.plugged {
|
||||||
|
color: #E8EDF0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
#battery.critical:not(.charging) {
|
||||||
background-color: #f53c3c;
|
color: red;
|
||||||
color: #ffffff;
|
|
||||||
animation-name: blink;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-timing-function: linear;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
label:focus {
|
|
||||||
background-color: #000000;
|
#taskbar {
|
||||||
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected {
|
#custom-r_end {
|
||||||
background-color: #f53c3c;
|
border-radius: 0px 7px 7px 0px;
|
||||||
|
margin-right: 1px;
|
||||||
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#temperature.critical {
|
#custom-l_end {
|
||||||
background-color: #eb4d4b;
|
border-radius: 7px 0px 0px 7px;
|
||||||
|
margin-left: 1px;
|
||||||
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor.activated {
|
#custom-sr_end {
|
||||||
background-color: #ecf0f1;
|
border-radius: 0px;
|
||||||
color: #2d3436;
|
margin-right: 1px;
|
||||||
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray > .passive {
|
#custom-sl_end {
|
||||||
-gtk-icon-effect: dim;
|
border-radius: 0px;
|
||||||
|
margin-left: 1px;
|
||||||
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray > .needs-attention {
|
#custom-rr_end {
|
||||||
-gtk-icon-effect: highlight;
|
border-radius: 0px 7px 7px 0px;
|
||||||
background-color: #eb4d4b;
|
margin-right: 1px;
|
||||||
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
#custom-rl_end {
|
||||||
|
border-radius: 7px 0px 0px 7px;
|
||||||
window#waybar.solo {
|
margin-left: 1px;
|
||||||
background-color: #FFFFFF;
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.termite {
|
|
||||||
background-color: #3F3F3F;
|
/* Style for launchers */
|
||||||
|
|
||||||
|
#custom-expand {
|
||||||
|
min-width: 25px;
|
||||||
|
color: #A1BDCE;
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.chromium {
|
#group-minimized {
|
||||||
background-color: #000000;
|
border-left: solid;
|
||||||
border: none;
|
border-left-width: 0.5;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
37
modules/nixos/desktop/default.nix
Normal file
37
modules/nixos/desktop/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
user = config.wyrdgard.user.name;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = {
|
||||||
|
wyrdgard.home.extraOptions = {
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
color-scheme = "prefer-dark";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
name = "Adwaita-dark";
|
||||||
|
package = pkgs.gnome-themes-extra;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.sessionVariables = config.home-manager.users.${user}.home.sessionVariables;
|
||||||
|
};
|
||||||
|
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme = "gnome";
|
||||||
|
style = "adwaita-dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
|
@ -5,13 +5,13 @@
|
||||||
namespace,
|
namespace,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
|
||||||
with lib.${namespace};
|
|
||||||
let
|
let
|
||||||
|
inherit (lib) mkIf types;
|
||||||
|
inherit (lib.wyrdgard) mkBoolOpt;
|
||||||
cfg = config.${namespace}.security.keyring;
|
cfg = config.${namespace}.security.keyring;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.security.keyring = with types; {
|
options.${namespace}.security.keyring = {
|
||||||
enable = mkBoolOpt true "Whether to enable gnome keyring.";
|
enable = mkBoolOpt true "Whether to enable gnome keyring.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue