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