Removed commit history
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
commit
b1335a3628
199 changed files with 36930 additions and 0 deletions
120
home/.config/waybar/config
Normal file
120
home/.config/waybar/config
Normal file
|
@ -0,0 +1,120 @@
|
|||
// vim: ft=jsonc
|
||||
{
|
||||
"layer": "bottom", // Waybar at top layer
|
||||
"height": 22, // Waybar height
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "custom/playerctl"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": [
|
||||
"idle_inhibitor",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"cpu",
|
||||
"memory",
|
||||
"battery",
|
||||
"clock",
|
||||
"tray"
|
||||
],
|
||||
// Modules configuration
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"urgent": "",
|
||||
"focused": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"tooltip": false,
|
||||
"format": "{:%Y-%m-%d %H:%M}"
|
||||
},
|
||||
"cpu": {
|
||||
"tooltip": false,
|
||||
"format": "{usage}% CPU"
|
||||
},
|
||||
"memory": {
|
||||
"tooltip": false,
|
||||
"format": "{}% RAM"
|
||||
},
|
||||
"backlight": {
|
||||
// "device": "acpi_video1",
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["", ""]
|
||||
},
|
||||
"battery": {
|
||||
"tooltip": false,
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"battery#bat2": {
|
||||
"bat": "BAT2"
|
||||
},
|
||||
"network": {
|
||||
"tooltip": false,
|
||||
"interface": "wg0",
|
||||
"format-ethernet": "VPN Connected",
|
||||
"format-disconnected": "VPN disconnected ⚠",
|
||||
"on-click": "sudo systemctl start wg-quick@wg0.service",
|
||||
"on-click-right": "sudo systemctl stop wg-quick@wg0.service",
|
||||
"interval": 10
|
||||
},
|
||||
"pulseaudio": {
|
||||
"tooltip": false,
|
||||
//"scroll-step": 1,
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", ""]
|
||||
},
|
||||
"on-click": "pulseaudio-ctl mute",
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-scroll-up": "pulseaudio-ctl up",
|
||||
"on-scroll-down": "pulseaudio-ctl down"
|
||||
},
|
||||
"custom/playerctl": {
|
||||
"tooltip": false,
|
||||
"format": "{}",
|
||||
"exec": "$HOME/Scripts/metadata.sh",
|
||||
"interval": 2,
|
||||
"max-length": 40,
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-click-right": "playerctl next",
|
||||
"on-scroll-up": "playerctl volume 0.05+",
|
||||
"on-scroll-down": "playerctl volume 0.05-"
|
||||
}
|
||||
}
|
111
home/.config/waybar/style.css
Normal file
111
home/.config/waybar/style.css
Normal file
|
@ -0,0 +1,111 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "Noto Sans Display", "Font Awesome 5 Free";
|
||||
font-size: 13px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: #282828;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background: transparent;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: #64727D;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: #64727D;
|
||||
}
|
||||
|
||||
#clock, #battery, #cpu, #memory, #backlight, #network, #pulseaudio, #custom-playerctl, #tray, #mode, #idle_inhibitor {
|
||||
padding: 0 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
background-color: #64727D;
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: #ffffff;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: black;
|
||||
background-color: #a3be8c;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background: #bf616a;
|
||||
color: white;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background: #2ecc71;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: black;
|
||||
background: #b48ead;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background: #90b1b1;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: black;
|
||||
background: #81a1c1;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
background: #f53c3c;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
background: #88c0d0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background: #90b1b1;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#custom-playerctl {
|
||||
background: #a3be8c;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: #282828;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
background-color: #8fbcbb;
|
||||
color: #000000;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue