migrate to dotter
This commit is contained in:
parent
c5618f2f2c
commit
23b6c0a596
265 changed files with 62 additions and 3125 deletions
154
configs/waybar/config.jsonc
Normal file
154
configs/waybar/config.jsonc
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"reload_style_on_change": true,
|
||||
|
||||
"height": 20,
|
||||
"margin-top": 5,
|
||||
"margin-bottom": 0,
|
||||
"margin-left": 10,
|
||||
"margin-right": 10,
|
||||
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"idle_inhibitor",
|
||||
// "network",
|
||||
"bluetooth",
|
||||
"backlight",
|
||||
"wireplumber",
|
||||
"battery",
|
||||
"custom/notification",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"default": ""
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1 1>/dev/null",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1 1>/dev/null",
|
||||
"sort-by-number": true,
|
||||
"active-only": false
|
||||
},
|
||||
"backlight": {
|
||||
"format": "<span color='#8ccf7e'> </span> {percent}% ",
|
||||
"device": "intel_backlight",
|
||||
"on-scroll-down": "brightnessctl s 5%-",
|
||||
"on-scroll-up": "brightnessctl s +5%"
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": "true"
|
||||
},
|
||||
|
||||
"wireplumber": {
|
||||
"on-click": "pavucontrol",
|
||||
"on-click-right": "amixer sset Master toggle 1>/dev/null",
|
||||
"format": "<span foreground='#e5c76b'>{icon}</span> {volume}%",
|
||||
"format-muted": "<span foreground='#e5c76b'></span> Muted",
|
||||
"format-icons": {
|
||||
"headphone": " ",
|
||||
"hands-free": " ",
|
||||
"headset": " ",
|
||||
"phone": " ",
|
||||
"portable": " ",
|
||||
"car": " ",
|
||||
"default": [" ", " ", " "]
|
||||
}
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": "<span color='#67b0e8'></span> {essid} ",
|
||||
"format-ethernet": "<span color='#67b0e8'></span> {ifname}",
|
||||
"format-linked": "<span color='#67b0e8'></span> {ifname} (No IP)",
|
||||
"format": "<span color='#67b0e8'></span> Connected",
|
||||
"format-disconnected": "<span color='#67b0e8'></span> Disconnected",
|
||||
"interval": 60,
|
||||
"on-click": "~/.config/rofi/rofi-wifi-menu.sh"
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%R}",
|
||||
"locale": "es_CL.UTF-8",
|
||||
"format-alt": "{:%a %d, %B %Y}",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "left",
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"months": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#c6a0f6'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#c6a0f6'><b>{}</b></span>",
|
||||
"today": "<span color='#8bd5ca'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
"battery": {
|
||||
"interval": 2,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "<span color='#8ccf7e'>{icon}</span> {capacity}%",
|
||||
"format-charging": "<span color='#8ccf7e'></span> {capacity}%",
|
||||
"format-plugged": "<span color='#8ccf7e'></span> {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"bluetooth": {
|
||||
"format-on": "<span color='#e57474'></span> Turned On",
|
||||
"format-off": "<span color='#e57474'></span> Turned Off",
|
||||
"format-disabled": "<span color='#e57474'></span> Disabled",
|
||||
"format-connected": "<span color='#e57474'></span> Connected",
|
||||
"format": "<span color='#e57474'></span> Disabled",
|
||||
"on-click": "blueman-manager &"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"on-click": "wlogout"
|
||||
},
|
||||
"tray": {
|
||||
"show-passive-items": true
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{} {icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
}
|
||||
}
|
||||
179
configs/waybar/style-bkp.css
Normal file
179
configs/waybar/style-bkp.css
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
@import "./themes/catppuccin-macchiato.css";
|
||||
|
||||
@keyframes blink_red {
|
||||
to {
|
||||
background-color: @red;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: JetBrainsMono Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
box.modules-left,
|
||||
box.modules-center,
|
||||
box.modules-right {
|
||||
border-radius: 1rem;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.warning,
|
||||
.critical,
|
||||
.urgent {
|
||||
animation-name: blink_red;
|
||||
animation-duration: 800ms;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#mode,
|
||||
#clock,
|
||||
#memory,
|
||||
#temperature,
|
||||
#cpu,
|
||||
#custom-weather,
|
||||
#mpd,
|
||||
#idle_inhibitor,
|
||||
#backlight,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#battery,
|
||||
#custom-powermenu,
|
||||
#custom-cava-internal,
|
||||
#custom-launcher,
|
||||
#tray,
|
||||
#disk,
|
||||
#custom-pacman,
|
||||
#custom-scratchpad-indicator {
|
||||
padding: 0 0.6rem;
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
/* Bar */
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
window > box {
|
||||
background-color: transparent;
|
||||
margin: 5px 11px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
window#waybar button:not(:first-child),
|
||||
window#waybar button:not(:last-child) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
window#waybar button:first-child {
|
||||
border-radius: 1rem 0 0 1rem;
|
||||
}
|
||||
|
||||
window#waybar button:last-child {
|
||||
border-radius: 0 1rem 1rem 0;
|
||||
}
|
||||
|
||||
/* Workspaces */
|
||||
#workspaces button {
|
||||
padding: 0.2rem 0.75rem;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#workspaces button label {
|
||||
background-color: transparent;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
#workspaces button:not(:first-child) label {
|
||||
/* Fix fontawesome miss alignment, depends of the padding above and font size */
|
||||
margin-right: 0.45rem;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: @teal;
|
||||
background-color: alpha(@teal, 0.15);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
/* border: .2px solid transparent; */
|
||||
background: alpha(@blue, 0.15);
|
||||
color: @blue;
|
||||
border-color: transparent;
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
|
||||
/* Tooltip */
|
||||
tooltip {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
color: @rosewater;
|
||||
}
|
||||
|
||||
/* battery */
|
||||
#battery {
|
||||
color: @mauve;
|
||||
padding-right: 1.15rem;
|
||||
}
|
||||
#battery.full {
|
||||
color: @green;
|
||||
}
|
||||
#battery.charging {
|
||||
color: @teal;
|
||||
}
|
||||
#battery.discharging {
|
||||
color: @peach;
|
||||
}
|
||||
#battery.critical:not(.charging) {
|
||||
color: @pink;
|
||||
}
|
||||
#custom-powermenu {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @peach;
|
||||
}
|
||||
#cpu {
|
||||
color: @blue;
|
||||
}
|
||||
#clock {
|
||||
color: @rosewater;
|
||||
}
|
||||
#idle_inhibitor {
|
||||
color: @green;
|
||||
padding-right: 0.9rem;
|
||||
}
|
||||
#temperature {
|
||||
color: @sapphire;
|
||||
}
|
||||
#backlight {
|
||||
color: @green;
|
||||
}
|
||||
#pulseaudio {
|
||||
color: @mauve; /* not active */
|
||||
}
|
||||
#network {
|
||||
color: @pink; /* not active */
|
||||
}
|
||||
#network.disconnected {
|
||||
color: @foreground; /* not active */
|
||||
}
|
||||
#disk {
|
||||
color: @maroon;
|
||||
}
|
||||
#custom-pacman {
|
||||
color: @sky;
|
||||
}
|
||||
#custom-scratchpad-indicator {
|
||||
color: @yellow;
|
||||
}
|
||||
#custom-weather {
|
||||
color: @red;
|
||||
}
|
||||
96
configs/waybar/style.css
Normal file
96
configs/waybar/style.css
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
@import "./themes/catppuccin-macchiato.css";
|
||||
|
||||
*{
|
||||
font-size: 13px;
|
||||
font-family: Open Sans, JetBrainsMono Nerd Font;
|
||||
font-weight: 500;
|
||||
color: @text;
|
||||
}
|
||||
#waybar {
|
||||
background: transparent;
|
||||
border-radius: 5px;
|
||||
}
|
||||
#workspaces{
|
||||
border-radius:5px;
|
||||
}
|
||||
|
||||
#workspaces button{
|
||||
padding: .25rem .5rem;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
||||
#workspaces button:last-child{
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @teal;
|
||||
background-color: alpha(@teal, 0.15);
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: @red;
|
||||
background-color: alpha(@red, 0.15);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
/* border: .2px solid transparent; */
|
||||
background: alpha(@blue, 0.15);
|
||||
color: @blue;
|
||||
border-color: transparent;
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
|
||||
box.modules-left,
|
||||
box.modules-center,
|
||||
box.modules-right {
|
||||
border-radius: 6px;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#network,
|
||||
#backlight,
|
||||
#wireplumber,
|
||||
#clock,
|
||||
#battery,
|
||||
#idle_inhibitor,
|
||||
#bluetooth,
|
||||
#custom-power,
|
||||
#custom-notification{
|
||||
padding: 0 0.6rem;
|
||||
}
|
||||
|
||||
#network,
|
||||
#wireplumber,
|
||||
#backlight,
|
||||
#bluetooth{
|
||||
margin:0px;
|
||||
}
|
||||
#backlight,
|
||||
#bluetooth{
|
||||
border-radius:0px;
|
||||
}
|
||||
#wireplumber{
|
||||
border-radius: 0px 5px 5px 0px;
|
||||
}
|
||||
|
||||
#idle_inhibitor,
|
||||
#clock,
|
||||
#workspaces,
|
||||
#custom-lizzy,
|
||||
#custom-power,
|
||||
#battery,
|
||||
#custom-notification{
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated{
|
||||
color:#e57474;
|
||||
}
|
||||
|
||||
#custom-power{
|
||||
color:#c47fd5;
|
||||
margin-right:10px;
|
||||
padding-right:14px;
|
||||
}
|
||||
13
configs/waybar/sway-bar.sh
Normal file
13
configs/waybar/sway-bar.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Date
|
||||
date=$(date "+%a %F %R")
|
||||
|
||||
# Battery
|
||||
battery=$(cat /sys/class/power_supply/BAT*/capacity)
|
||||
|
||||
# Alsa master volume
|
||||
volume=$(amixer get Master | grep "Right:" | cut -f 7,8 -d " ")
|
||||
|
||||
# Status bar
|
||||
echo "Vol: $volume | Bat: ${battery}% | $date"
|
||||
26
configs/waybar/themes/catppuccin-macchiato.css
Normal file
26
configs/waybar/themes/catppuccin-macchiato.css
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
@define-color rosewater #f4dbd6;
|
||||
@define-color flamingo #f0c6c6;
|
||||
@define-color pink #f5bde6;
|
||||
@define-color mauve #c6a0f6;
|
||||
@define-color red #ed8796;
|
||||
@define-color maroon #ee99a0;
|
||||
@define-color peach #f5a97f;
|
||||
@define-color yellow #eed49f;
|
||||
@define-color green #a6da95;
|
||||
@define-color teal #8bd5ca;
|
||||
@define-color sky #91d7e3;
|
||||
@define-color sapphire #7dc4e4;
|
||||
@define-color blue #8aadf4;
|
||||
@define-color lavender #b7bdf8;
|
||||
@define-color text #cad3f5;
|
||||
@define-color subtext1 #b8c0e0;
|
||||
@define-color subtext0 #a5adcb;
|
||||
@define-color overlay2 #939ab7;
|
||||
@define-color overlay1 #8087a2;
|
||||
@define-color overlay0 #6e738d;
|
||||
@define-color surface2 #5b6078;
|
||||
@define-color surface1 #494d64;
|
||||
@define-color surface0 #363a4f;
|
||||
@define-color base #24273a;
|
||||
@define-color mantle #1e2030;
|
||||
@define-color crust #181926;
|
||||
Loading…
Add table
Add a link
Reference in a new issue