update:lockscreen migration
This commit is contained in:
85
mango/.deprecated/waybar/config.jsonc
Normal file
85
mango/.deprecated/waybar/config.jsonc
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"width": "auto",
|
||||
"height": 36,
|
||||
"modules-left": ["ext/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["bluetooth", "wireplumber", "network", "cpu", "memory", "battery", "custom/power"],
|
||||
|
||||
"custom/power": {
|
||||
"format-icons": ["<span color='#e2d0a3'></span>"],
|
||||
"format": "{icon}",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.local/bin/rofi-power-manager.sh"
|
||||
},
|
||||
"ext/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"ignore-hidden": true,
|
||||
"all-outputs": false,
|
||||
"on-click": "activate",
|
||||
"format": "{name}"
|
||||
},
|
||||
"cpu": {
|
||||
"format-icons": ["<span color='#8aade0'></span>"],
|
||||
"format": "{usage}% {icon}",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format-icons": ["<span color='#8aade0'></span>"],
|
||||
"format": "{}% {icon}"
|
||||
},
|
||||
"network": {
|
||||
"max-length": 10,
|
||||
"format-wifi": "{essid} <span color='#8aade0'></span>",
|
||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"on-click": "ghostty -e nmtui & disown"
|
||||
// "format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%b %d - %H:%M}",
|
||||
"tooltip-format": "<span size='11pt' font='Geist Mono'>{calendar}</span>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 4,
|
||||
"on-scroll" : 1,
|
||||
"format": {
|
||||
"today": "<span color='#3d3555' background='#a5c5a5'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-scroll-up": "shift_down",
|
||||
"on-scroll-down": "shift_up"
|
||||
}
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "<span color='#db9a9a'></span>",
|
||||
"tooltip": false,
|
||||
"on-click": "blueman-manager"
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{volume}% <span color='#8aade0'>{icon}</span>",
|
||||
"format-icons": {
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"format-muted": "<span color='#8aade0'></span>",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-full": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["<span color='#8aade0'></span>", "<span color='#8aade0'></span>", "<span color='#8aade0'></span>", "<span color='#8aade0'></span>", "<span color='#8aade0'></span>"]
|
||||
}
|
||||
}
|
||||
84
mango/.deprecated/waybar/style.css
Normal file
84
mango/.deprecated/waybar/style.css
Normal file
@@ -0,0 +1,84 @@
|
||||
* {
|
||||
font-family: "Geist", sans-serif;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(33, 28, 46, 0.6);
|
||||
color: rgb(205, 214, 244);
|
||||
}
|
||||
window#waybar > box.horizontal:dir(ltr) {
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
margin-left: 12px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
font-family: "Octal", monospace;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
padding: 0 6px;
|
||||
margin: 0 3px;
|
||||
background:rgba(137, 180, 250, 0.15);
|
||||
color: rgba(208, 181, 210, 0.65);
|
||||
border: none;
|
||||
}
|
||||
|
||||
#workspaces button.focused,
|
||||
#workspaces button.active {
|
||||
color: rgb(30, 30, 46);
|
||||
background: rgb(180, 190, 254);
|
||||
padding: 0 12px;
|
||||
}
|
||||
#workspaces button.focused:hover,
|
||||
#workspaces button.active:hover {
|
||||
background: rgba(180, 190, 254, 0.75);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0 15px;
|
||||
background: rgba(137, 180, 250, 0.15);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border: 1px solid #d093d1;
|
||||
background: #3d3555;
|
||||
}
|
||||
tooltip label {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
label#wireplumber,
|
||||
label#bluetooth,
|
||||
label#network,
|
||||
label#battery,
|
||||
label#cpu,
|
||||
label#custom-power,
|
||||
label#memory {
|
||||
padding: 0 9px;
|
||||
border-radius: 10px;
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
label#custom-power {
|
||||
margin-right: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
label#wireplumber,
|
||||
label#bluetooth,
|
||||
label#network {
|
||||
background:rgba(137, 180, 250, 0.15);
|
||||
}
|
||||
|
||||
label#battery,
|
||||
label#cpu,
|
||||
label#memory {
|
||||
background: rgba(208, 181, 210, 0.15);
|
||||
}
|
||||
94
mango/.deprecated/waybar/waybar/config.jsonc
Normal file
94
mango/.deprecated/waybar/waybar/config.jsonc
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"width": "auto",
|
||||
"height": 36,
|
||||
"modules-left": ["ext/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["bluetooth", "wireplumber", "network", "custom/usb", "cpu", "memory", "battery", "custom/power"],
|
||||
|
||||
"custom/power": {
|
||||
"format-icons": ["<span color='#e2d0a3'></span>"],
|
||||
"format": "{icon}",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.local/bin/rofi-power-manager.sh"
|
||||
},
|
||||
"ext/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"ignore-hidden": true,
|
||||
"all-outputs": false,
|
||||
"on-click": "activate",
|
||||
"format": "{name}"
|
||||
},
|
||||
"cpu": {
|
||||
"format-icons": ["<span color='#8aade0'></span>"],
|
||||
"format": "{usage}% {icon}",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format-icons": ["<span color='#8aade0'></span>"],
|
||||
"format": "{}% {icon}"
|
||||
},
|
||||
"network": {
|
||||
"max-length": 10,
|
||||
"format-wifi": "{essid} <span color='#8aade0'></span>",
|
||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"on-click": "ghostty -e nmtui & disown"
|
||||
// "format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%b %d - %H:%M}",
|
||||
"tooltip-format": "<span size='11pt' font='Geist Mono'>{calendar}</span>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 4,
|
||||
"on-scroll" : 1,
|
||||
"format": {
|
||||
"today": "<span color='#3d3555' background='#a5c5a5'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-scroll-up": "shift_down",
|
||||
"on-scroll-down": "shift_up"
|
||||
}
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "<span color='#db9a9a'></span>",
|
||||
"tooltip": false,
|
||||
"on-click": "blueman-manager"
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{volume}% <span color='#8aade0'>{icon}</span>",
|
||||
"format-icons": {
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"format-muted": "<span color='#8aade0'></span>",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-full": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["<span color='#8aade0'></span>", "<span color='#8aade0'></span>", "<span color='#8aade0'></span>", "<span color='#8aade0'></span>", "<span color='#8aade0'></span>"]
|
||||
},
|
||||
"custom/usb": {
|
||||
// "format": "{} {icon}",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["<span color='#8aade0'></span>"],
|
||||
// "interval": 15,
|
||||
// "exec": "lsblk -nlo NAME,MOUNTPOINT | grep '/run/media' | wc -l",
|
||||
"on-click": "env GDK_BACKEND=x11 thunar /run/media/$USER",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
86
mango/.deprecated/waybar/waybar/style.css
Normal file
86
mango/.deprecated/waybar/waybar/style.css
Normal file
@@ -0,0 +1,86 @@
|
||||
* {
|
||||
font-family: "Geist", sans-serif;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(33, 28, 46, 0.6);
|
||||
color: rgb(205, 214, 244);
|
||||
}
|
||||
window#waybar > box.horizontal:dir(ltr) {
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
margin-left: 12px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
font-family: "Octal", monospace;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
padding: 0 6px;
|
||||
margin: 0 3px;
|
||||
background:rgba(137, 180, 250, 0.15);
|
||||
color: rgba(208, 181, 210, 0.65);
|
||||
border: none;
|
||||
}
|
||||
|
||||
#workspaces button.focused,
|
||||
#workspaces button.active {
|
||||
color: rgb(30, 30, 46);
|
||||
background: rgb(180, 190, 254);
|
||||
padding: 0 12px;
|
||||
}
|
||||
#workspaces button.focused:hover,
|
||||
#workspaces button.active:hover {
|
||||
background: rgba(180, 190, 254, 0.75);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0 15px;
|
||||
background: rgba(137, 180, 250, 0.15);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border: 1px solid #d093d1;
|
||||
background: #3d3555;
|
||||
}
|
||||
tooltip label {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
label#wireplumber,
|
||||
label#bluetooth,
|
||||
label#network,
|
||||
label#battery,
|
||||
label#cpu,
|
||||
label#custom-power,
|
||||
label#custom-usb,
|
||||
label#memory {
|
||||
padding: 0 9px;
|
||||
border-radius: 10px;
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
label#custom-power {
|
||||
margin-right: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
label#wireplumber,
|
||||
label#bluetooth,
|
||||
label#custom-usb,
|
||||
label#network {
|
||||
background:rgba(137, 180, 250, 0.15);
|
||||
}
|
||||
|
||||
label#battery,
|
||||
label#cpu,
|
||||
label#memory {
|
||||
background: rgba(208, 181, 210, 0.15);
|
||||
}
|
||||
Reference in New Issue
Block a user