Waybar : Restyle a bit.
This commit is contained in:
parent
42c8679067
commit
3ba1edb4bc
|
@ -2,5 +2,6 @@
|
|||
fonts.packages = with pkgs; [
|
||||
(pkgs.callPackage ./applefont {})
|
||||
(nerdfonts.override { fonts = [ "Terminus" ]; })
|
||||
font-awesome
|
||||
];
|
||||
}
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
"mode": "dock",
|
||||
// "mode": "dock",
|
||||
"exclusive": false,
|
||||
"start_hidden": true,
|
||||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
"sway/mode",
|
||||
"sway/scratchpad",
|
||||
],
|
||||
"modules-right": [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
text = ''
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: "${style.font.serif.name}", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-family: "${style.font.serif.name}", FontAwesome;
|
||||
font-size: ${toString(style.font.size.desktop)}px;
|
||||
}
|
||||
'';
|
||||
|
|
|
@ -2,23 +2,10 @@
|
|||
text = ''
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#mpd {
|
||||
margin: 2px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
#language {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{ style, ... }: {
|
||||
text = ''
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
padding: 0 4px;
|
||||
color: #${style.color.fg.light};
|
||||
border-top: 2px solid transparent;
|
||||
background-color: transparent;
|
||||
background-color: rgba(${style.color.bg-r},${style.color.bg-g},${style.color.bg-b},${toString(style.opacity.desktop)});
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: rgba(${style.color.bg-r},${style.color.bg-g},${style.color.bg-b},${toString(style.opacity.desktop)});
|
||||
border-top: 2px solid #${style.color.accent};
|
||||
}
|
||||
'';
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
seek = "C";
|
||||
wait = "z";
|
||||
exit = "Z";
|
||||
launch = "Space";
|
||||
launch = "r";
|
||||
repeat = ".";
|
||||
};
|
||||
|
||||
|
@ -104,7 +104,7 @@
|
|||
sway = {
|
||||
launch.terminal = "Escape";
|
||||
mod = "Mod4";
|
||||
bar = "r";
|
||||
bar = "space";
|
||||
notification = {
|
||||
dismiss = "shift+N";
|
||||
restore = "n";
|
||||
|
|
Loading…
Reference in a new issue