Rename sway desktop to represent how fedora-specific it is
This commit is contained in:
83
sericea/.config/waybar/config
Normal file
83
sericea/.config/waybar/config
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"height": 40,
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": ["tray"],
|
||||
"modules-right": ["mpris", "idle_inhibitor", "pulseaudio", "battery", "clock"],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a %b %d %I:%M %p}",
|
||||
"format-alt": "{:%Y-%m-%d}",
|
||||
"tooltip": false
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 100,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": "{icon} {capacity}%",
|
||||
"format-plugged": "{icon} {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"mpris": {
|
||||
"interval": 1,
|
||||
"format": "{player_icon}",
|
||||
"ignored-players": [
|
||||
"firefox"
|
||||
],
|
||||
"player-icons": {
|
||||
"default": "♫"
|
||||
},
|
||||
"status-icons": {
|
||||
"playing": "⏵",
|
||||
"paused": "⏸",
|
||||
"stopped": "⏹"
|
||||
}
|
||||
},
|
||||
"pulseaudio": {
|
||||
"scroll-step": 0,
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol-qt"
|
||||
}
|
||||
}
|
91
sericea/.config/waybar/style.css
Normal file
91
sericea/.config/waybar/style.css
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* style.css
|
||||
* Copyright (C) 2021 Vintage Salt
|
||||
*
|
||||
* Distributed under terms of the MIT license.
|
||||
*/
|
||||
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "IBM Plex Sans Medium";
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: #282828;
|
||||
border-bottom: 4px solid #32302f;
|
||||
}
|
||||
|
||||
/* swaywm stuff */
|
||||
#workspaces {
|
||||
padding: 0 6px;
|
||||
}
|
||||
#workspaces button {
|
||||
background: transparent;
|
||||
color: #ebdbb2;
|
||||
padding: 0 0.9em;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
background: #83a598;
|
||||
color: #282828;
|
||||
}
|
||||
#workspaces button.urgent {
|
||||
background: #fabd2f;
|
||||
color: #282828;
|
||||
}
|
||||
#workspaces button.persistent {
|
||||
color: #32302f;
|
||||
}
|
||||
#mode {
|
||||
background: #fb4934;
|
||||
color: #ebdbb2;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
/* widgets */
|
||||
#pulseaudio {
|
||||
padding: 0 1em;
|
||||
color: #ebdbb2;
|
||||
}
|
||||
#mpris {
|
||||
padding: 0 1em;
|
||||
}
|
||||
#mpris.playing {
|
||||
background: #d3869b;
|
||||
color: #282828;
|
||||
}
|
||||
#mpris.paused, #mpris.stopped {
|
||||
background: #32302f;
|
||||
color: #282828;
|
||||
}
|
||||
#idle_inhibitor {
|
||||
color: #282828;
|
||||
padding: 0 1em;
|
||||
}
|
||||
#idle_inhibitor.deactivated {
|
||||
background: #32302f;
|
||||
}
|
||||
#idle_inhibitor.activated {
|
||||
background: #fb4934;
|
||||
}
|
||||
#battery {
|
||||
padding: 0 1em;
|
||||
}
|
||||
#battery.charging {
|
||||
color: #b8bb26;
|
||||
}
|
||||
#battery.good {
|
||||
color: #b8bb26;
|
||||
}
|
||||
#battery.warning {
|
||||
color: #fabd2f;
|
||||
}
|
||||
#battery.critical {
|
||||
color: #fb4934;
|
||||
}
|
||||
#clock {
|
||||
border-left: 1px solid #32302f;
|
||||
color: #ebdbb2;
|
||||
padding: 0 1em;
|
||||
}
|
Reference in New Issue
Block a user