huge change
This commit is contained in:
parent
c159d2f3e3
commit
d86cc3c816
29 changed files with 1151 additions and 792 deletions
|
|
@ -19,6 +19,11 @@ with lib;
|
|||
default = ./waybar.jsonc;
|
||||
description = "The path to the waybar config";
|
||||
};
|
||||
stylePath = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
default = ./waybar-latte.css;
|
||||
description = "The path to the waybar config";
|
||||
};
|
||||
};
|
||||
};
|
||||
config = mkIf config.waybar.enable {
|
||||
|
|
@ -31,7 +36,7 @@ with lib;
|
|||
};
|
||||
};
|
||||
xdg.configFile."waybar/config.jsonc".source = config.waybar.configPath;
|
||||
xdg.configFile."waybar/style.css".source = ./waybar-latte.css;
|
||||
xdg.configFile."waybar/style.css".source = config.waybar.stylePath;
|
||||
};
|
||||
# catppuccin.waybar = {
|
||||
# enable = true;
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@
|
|||
],
|
||||
"modules-right": [
|
||||
"mpris",
|
||||
"bluetooth",
|
||||
"pulseaudio",
|
||||
"bluetooth",
|
||||
"clock"
|
||||
],
|
||||
"mpris": {
|
||||
"player": "Feishin",
|
||||
// "player": "Feishin",
|
||||
"format": "{player_icon} {title} — {artist}",
|
||||
"format-paused": " {player_icon} {title}",
|
||||
"format-stopped": "",
|
||||
|
|
@ -27,8 +27,7 @@
|
|||
"interval": 1,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{player} — {status}\n{artist}\n{title}\n{album}",
|
||||
// "on-click": "playerctl -p Feishin play-pause",
|
||||
"on-click": "pgrep playerctl-gtk && pkill playerctl-gtk || playerctl-gtk &",
|
||||
"on-click": "playerctl play-pause"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": " {status}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue