style
This commit is contained in:
parent
5b70bf8480
commit
06c10b7a32
@ -21,7 +21,7 @@
|
|||||||
"custom/battery",
|
"custom/battery",
|
||||||
"custom/pomodoro",
|
"custom/pomodoro",
|
||||||
"custom/bluetooth",
|
"custom/bluetooth",
|
||||||
"custom/media",
|
"custom/ScrollMPRIS",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"custom/language",
|
"custom/language",
|
||||||
"custom/userhost",
|
"custom/userhost",
|
||||||
@ -65,8 +65,16 @@
|
|||||||
"interval": 5,
|
"interval": 5,
|
||||||
"return-type": "text",
|
"return-type": "text",
|
||||||
},
|
},
|
||||||
|
"custom/ScrollMPRIS": {
|
||||||
|
"name": "custom-scrollmedia",
|
||||||
|
"return-type": "json",
|
||||||
|
"exec": "ScrollMPRIS -s 50 -w 40 --scroll wrapping --format '{title} - {artist}'",
|
||||||
|
"on-click": "playerctl play-pause",
|
||||||
|
"on-click-right": "playerctl next",
|
||||||
|
"on-middle-click": "playerctl previous",
|
||||||
|
},
|
||||||
"custom/media": {
|
"custom/media": {
|
||||||
"exec": "playerctl metadata --format '{{title}} - {{artist}}'",
|
"exec": "playerctl metadata --format '{{title}} - {{artist}}' | cut -c -30",
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"on-click": "playerctl play-pause",
|
"on-click": "playerctl play-pause",
|
||||||
"on-click-right": "playerctl next",
|
"on-click-right": "playerctl next",
|
||||||
|
|||||||
@ -39,6 +39,7 @@ window#waybar {
|
|||||||
#custom-cpu_temp,
|
#custom-cpu_temp,
|
||||||
#custom-bluetooth,
|
#custom-bluetooth,
|
||||||
#custom-media,
|
#custom-media,
|
||||||
|
#custom-scrollmedia,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#custom-pomodoro,
|
#custom-pomodoro,
|
||||||
#custom-language,
|
#custom-language,
|
||||||
@ -57,7 +58,7 @@ window#waybar {
|
|||||||
color: #81C784;
|
color: #81C784;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-media {
|
#custom-media, #custom-scrollmedia {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -40,15 +40,7 @@
|
|||||||
|
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
services.greetd = {
|
services.getty.autologinUser = username;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
default_session = {
|
|
||||||
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd sway";
|
|
||||||
user = "greeter";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gpm.enable = true;
|
services.gpm.enable = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user