Got some initial waybar style working.
This commit is contained in:
parent
2a4eba5449
commit
48441e5bfc
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.css.map
|
||||||
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
// TOP BAR
|
// TOP BAR
|
||||||
"name": "top",
|
"name": "top",
|
||||||
"layer": "bottom",
|
"layer": "top",
|
||||||
"output": "eDP-1",
|
"output": "eDP-1",
|
||||||
// styling
|
// styling
|
||||||
"height": 30,
|
"height": 30,
|
||||||
@ -10,12 +10,18 @@
|
|||||||
"modules-left": [],
|
"modules-left": [],
|
||||||
"modules-center": ["sway/window"],
|
"modules-center": ["sway/window"],
|
||||||
"modules-right": ["clock", "tray"],
|
"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
|
// BOTTOM BAR
|
||||||
"name": "bottom",
|
"name": "top",
|
||||||
//"layer": "top", // Waybar at top layer
|
"layer": "top", // Waybar at top layer
|
||||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
// "position": "bottom", // 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)
|
||||||
// "width": 1280, // Waybar width
|
// "width": 1280, // Waybar width
|
||||||
@ -23,7 +29,7 @@
|
|||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
|
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
|
||||||
"modules-center": [],
|
"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
|
// Modules configuration
|
||||||
// "sway/workspaces": {
|
// "sway/workspaces": {
|
||||||
// "disable-scroll": true,
|
// "disable-scroll": true,
|
||||||
@ -95,11 +101,6 @@
|
|||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format-alt": "{:%Y-%m-%d}"
|
"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": {
|
"cpu": {
|
||||||
"format": "{usage}% {icon}",
|
"format": "{usage}% {icon}",
|
||||||
"format-icons": ["x", "y", "z"],
|
"format-icons": ["x", "y", "z"],
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
{"version":3,"sourceRoot":"","sources":["style.scss","gruvbox.scss"],"names":[],"mappings":"AAEA;AACI;AACA;EACA;EACA;;;AAIA;EACI,kBCIF;EDHE,OCYF;EDXE;EACA;AAUA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AARA;EACI;;AAGJ;EACI;;AAYJ;EACI,kBCnBN;;ADsBE;EACI,kBCvBN;EDwBM;;;AAMZ;EACI;EACA;EACA,OCxBE;ADyBF;EACA;AACA;EACA;EACA;AAEA;;AACA;EACI;EACA;;AAGJ;EACI,kBC3CF;ED4CE;;AAGJ;EACI;;;AAKR;EACI,kBCtDE;EDuDF;;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAcI;EACA,OCpEE;;;ADuEN;AAAA;EAEI;;;AAGJ;AACA;EACI;;;AAGJ;AACA;EACI;;;AAOJ;EACI;IACI,kBC5FF;ID6FE,OCtGF;;;AD0GN;EAEI,OC7EW;;AD+EX;EACI,OCrFM;;ADyFV;EACI,OC3FI;ED6FJ;EACA;EACA;EACA;EACA;;;AAIR;EACI,OC/HE;;;ADkIN;EACI,OCzGU;ED0GV;;;AAGJ;EACI,OC7GW;ED8GX;;;AAGJ;EACI,OCjHS;EDkHT;;;AAGJ;EACI,OCrHW;EDsHX;;;AAGJ;EACI,OCzHS;ED0HT;;;AAGJ;EACI,OC5IO;;;AD+IX;EACI,OCrIW;;ADuIX;EACI,OCjJM;;;ADsJd;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;;AAKR;EACI,OC9JU;;ADgKV;EACI,OClKI;;;ADuKZ;EACI,kBCjME;;ADmMF;EACI;;AAGJ;EACI;EACA,kBCzLG;;;AD8LX;EACI,OCzLU;ED0LV;;AAEA;EACI,OCzLM;ED0LN;;;AAKR;EACI,OChMU;EDiMV;;AAEA;EACI,OC9MG;ED+MH;;AAGJ;EACI,OChNI;EDiNJ;;AAGJ;EACI,OC5MK;ED6ML;;;AAIR;EAEI,OC3NU;ED4NV;;;AAMJ;EACI,YClOQ;EDmOR,OCxPE;EDyPF;EACA;EACA;;AAEA;EACI;;AAGJ;EACI","file":"style.css"}
|
|
||||||
@ -22,5 +22,5 @@ alias dddu="docker-compose down && docker-compose up -d"
|
|||||||
# yank the last command from history into the clipboard
|
# 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"
|
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 "
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user