Got some initial waybar style working.

This commit is contained in:
Joachim Nielandt 2022-06-08 16:33:03 +02:00
parent 2a4eba5449
commit 48441e5bfc
4 changed files with 13 additions and 12 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.css.map

View File

@ -2,7 +2,7 @@
{
// TOP BAR
"name": "top",
"layer": "bottom",
"layer": "top",
"output": "eDP-1",
// styling
"height": 30,
@ -10,12 +10,18 @@
"modules-left": [],
"modules-center": ["sway/window"],
"modules-right": ["clock", "tray"],
"clock": {
//"timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
}
,
{
// BOTTOM BAR
"name": "bottom",
//"layer": "top", // Waybar at top layer
"name": "top",
"layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
@ -23,7 +29,7 @@
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
"modules-center": [],
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock"],
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
@ -95,11 +101,6 @@
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"clock": {
//"timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}%  {icon}",
"format-icons": ["x", "y", "z"],

View File

@ -1 +0,0 @@
{"version":3,"sourceRoot":"","sources":["style.scss","gruvbox.scss"],"names":[],"mappings":"AAEA;AACI;AACA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PE;EDyPF;EACA;EACA;;AAEA;EACI;;AAGJ;EACI","file":"style.css"}

View File

@ -22,5 +22,5 @@ alias dddu="docker-compose down && docker-compose up -d"
# yank the last command from history into the clipboard
alias yk="cat ~/.zsh_history | tail -n 2 | head -n 1 | cut -d ';' -f 2- | xclip -selection clipboard"
# add space after sudo to make it consider aliases, other 'sudo vi' would fail for not aliasing to vim
alias sudo="sudo "