2024-01-15 22:30:48 -05:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
{
|
2024-01-16 22:43:56 -05:00
|
|
|
xdg.configFile = {
|
|
|
|
"waybar/config" = {
|
|
|
|
enable = true;
|
|
|
|
executable = false;
|
|
|
|
text = ''
|
2024-02-07 23:32:44 -05:00
|
|
|
[{
|
2024-01-16 22:43:56 -05:00
|
|
|
"exclusive": false,
|
2024-02-07 23:32:44 -05:00
|
|
|
"position": "top",
|
2024-02-10 12:31:53 -05:00
|
|
|
"height": 20,
|
2024-01-16 22:43:56 -05:00
|
|
|
"fixed-center": false,
|
2024-02-07 23:32:44 -05:00
|
|
|
"modules-left": [
|
2024-02-13 00:25:27 -05:00
|
|
|
"river/mode"
|
2024-02-07 23:32:44 -05:00
|
|
|
],
|
2024-01-16 22:43:56 -05:00
|
|
|
"modules-right": [
|
|
|
|
"clock"
|
|
|
|
],
|
|
|
|
"clock": {
|
|
|
|
"format": "{:%H:%M:%S}",
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
"format-alt": "{:%Y-%m-%d}",
|
|
|
|
"interval": 1
|
2024-02-07 23:32:44 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclusive": false,
|
|
|
|
"position": "bottom",
|
2024-02-10 12:31:53 -05:00
|
|
|
"height": 20,
|
2024-02-07 23:32:44 -05:00
|
|
|
"fixed-center": false,
|
|
|
|
"modules-left": [
|
2024-02-13 00:25:27 -05:00
|
|
|
"user"
|
2024-02-07 23:32:44 -05:00
|
|
|
],
|
|
|
|
"modules-right": [
|
|
|
|
"tray"
|
|
|
|
],
|
2024-02-13 00:25:27 -05:00
|
|
|
"user": {
|
2024-02-21 11:24:20 -05:00
|
|
|
"format": "{work_d}:{work_H}:{work_M}",
|
2024-02-13 00:25:27 -05:00
|
|
|
"interval": 1
|
|
|
|
},
|
2024-02-07 23:32:44 -05:00
|
|
|
"tray": {
|
2024-02-10 12:31:53 -05:00
|
|
|
"icon-size": 16,
|
2024-02-07 23:32:44 -05:00
|
|
|
"spacing": 4,
|
|
|
|
"show-passive-items": true,
|
|
|
|
"reverse-direction": true
|
2024-01-16 22:43:56 -05:00
|
|
|
}
|
2024-02-07 23:32:44 -05:00
|
|
|
}]
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
"waybar/style.css" = {
|
|
|
|
enable = true;
|
|
|
|
executable = false;
|
|
|
|
text = ''
|
|
|
|
* {
|
|
|
|
background: transparent;
|
|
|
|
color: #F2F2F8;
|
2024-02-13 00:25:27 -05:00
|
|
|
font-size: 15px;
|
2024-02-07 23:32:44 -05:00
|
|
|
}
|
|
|
|
#user {
|
|
|
|
background: #282A36;
|
|
|
|
padding: 0 8 0 8;
|
|
|
|
}
|
|
|
|
#clock {
|
|
|
|
background: #282A36;
|
|
|
|
padding: 0 8 0 8;
|
|
|
|
}
|
|
|
|
#mode {
|
|
|
|
background: #282A36;
|
|
|
|
padding: 0 8 0 8;
|
|
|
|
}
|
|
|
|
#tray {
|
|
|
|
background: #282A36;
|
|
|
|
padding: 0 4 0 8;
|
2024-01-16 22:43:56 -05:00
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
2024-01-15 22:30:48 -05:00
|
|
|
};
|
|
|
|
}
|