first commit

This commit is contained in:
2026-03-30 14:53:09 -06:00
commit fbec1a6ade
81 changed files with 4479 additions and 0 deletions

12
waybar/buscar_archivos.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Puedes usar locate, find o fd aquí
file=$(fd . ~/Documentos ~/Descargas ~/Proyectos \
--type f --hidden --exclude .git 2>/dev/null | \
wofi --dmenu --prompt "Buscar archivo")
# Si se seleccionó algo, ábrelo
if [[ -n "$file" ]]; then
xdg-open "$file" &
fi

21
waybar/config.jsonc Executable file
View File

@@ -0,0 +1,21 @@
[
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-3",
"position": "top",
"modules-center": ["clock"],
"modules-left": ["hyprland/workspaces", "hyprland/window"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-2",
"margin-top":5,
"margin-left":15,
"margin-right":15,
"name":"dp2_top",
"position": "top",
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-right": [ "clock","custom/weather", "custom/cpuinfo", "custom/gpu", "network", "custom/flagvpn","battery", "bluetooth", "pulseaudio", "custom/notification"]
}
]

22
waybar/config.jsonc.bk2 Executable file
View File

@@ -0,0 +1,22 @@
[
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-3",
"position": "top",
"modules-center": ["clock"],
"modules-left": ["hyprland/workspaces", "hyprland/window"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-2",
"margin-top":5,
"margin-left":15,
"margin-right":15,
"name":"dp2_top",
"position": "top",
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": [ "custom/weather", "custom/cpuinfo", "custom/gpu", "network", "custom/flagvpn","battery", "bluetooth", "pulseaudio", "custom/notification"]
}
]

27
waybar/config.jsonc.catpu Executable file
View File

@@ -0,0 +1,27 @@
[
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-3",
"position": "top",
"modules-center": ["clock"],
"modules-left": ["custom/uptime"],
"modules-right": ["custom/timer", "custom/cpuinfo", "custom/gpu", "network"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-2",
"position": "top",
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": ["custom/weather", "custom/cpuinfo", "custom/gpu", "network", "custom/flagvpn","pulseaudio","battery"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "HDMI-A-1",
"position": "top",
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": ["mpris", "custom/weather", "custom/cpuinfo", "custom/gpu", "network", "pulseaudio", "battery"]
}
]

34
waybar/config.jsonc.gruvbox Executable file
View File

@@ -0,0 +1,34 @@
[
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-3",
"position": "top",
"modules-center": ["clock"],
"modules-left": ["hyprland/workspaces", "hyprland/window"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-3",
"position": "bottom",
"modules-left": [ "custom/uptime"],
"modules-right": [ "custom/weather","custom/timer", "custom/cpuinfo", "custom/gpu", "network"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-2",
"position": "top",
"modules-left": ["hyprland/workspaces", "hyprland/window", "custom/menu1"],
"modules-center": ["clock"],
"modules-right": [ "custom/weather", "custom/cpuinfo", "custom/gpu", "network", "custom/flagvpn","pulseaudio","battery"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "HDMI-A-1",
"position": "top",
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": [ "custom/weather", "custom/cpuinfo", "custom/gpu", "network", "custom/flagvpn","pulseaudio","battery"]
}
]

29
waybar/config.jsonc.nord Executable file
View File

@@ -0,0 +1,29 @@
[
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-3",
"position": "top",
"modules-left": [ "clock", "hyprland/workspaces","hyprland/window" ],
"modules-right": [ "custom/timer", "temperature","cpu", "custom/gpu", "pulseaudio", "bluetooth", "custom/flagvpn", "network"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "DP-2",
"position": "top",
"modules-left": [ "clock", "hyprland/workspaces","hyprland/window" ],
"modules-right": [ "temperature","cpu", "custom/gpu", "pulseaudio", "bluetooth", "custom/flagvpn", "network"]
},
{
"include":"~/.config/waybar/modules.jsonc",
"output": "HDMI-A-1",
"position": "top",
"modules-left": [ "clock", "hyprland/workspaces","hyprland/window" ],
"modules-right": [ "temperature","cpu", "custom/gpu", "pulseaudio", "bluetooth", "custom/flagvpn", "network"]
}
]

147
waybar/modules.jsonc Executable file
View File

@@ -0,0 +1,147 @@
{
"hyprland/workspaces": {
"active-only": false,
"format": "{icon}",
"disable-scroll": true,
"on-click": "activate"
},
"clock": {
"format": "  {:%a %d/%m  %H:%M} ",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small> {calendar} </small></tt>"
},
"network": {
"interface": "enp111s0",
"format": "↗{bandwidthUpBytes} ↘ {bandwidthDownBytes} |"
},
"pulseaudio": {
"format": " {icon} {volume}% ",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "pavucontrol"
},
"custom/cpuinfo": {
"exec": "~/.config/waybar/scripts/cpu_info.sh",
"interval": 12,
"format": "{}"
},
"custom/gpu": {
"exec": "~/.config/waybar/scripts/gpu_temp.sh",
"interval": 12,
"format": "{}"
},
"custom/xpuinfo": {
"exec": "~/.config/waybar/scripts/xpu_info.sh",
"interval": 15,
"format": "{}"
},
"mpris": {
"format": "{player_icon} [{title} - {artist}]",
"format-paused": " [ {title} - {artist}] ",
"player-icons": {
"default": " ",
"firefox": " "
},
"max-length": 70,
"scroll": true
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.sh",
"interval": 600,
"return-type": "text"
},
"custom/uptime": {
"exec": "~/.config/waybar/scripts/uptime.sh",
"interval": 300,
"format": "時間 {}"
},
"custom/flagvpn": {
"exec": "~/scripts/get_flag.sh",
"interval": 60,
"format":"{}",
"tooltip" : true,
"tooltip-format": "{}"
},
"custom/steamhdd": {
"exec": "~/.config/waybar/scripts/hdd_info.sh",
"interval": 3600,
"format":"{}",
"tooltip" : true,
"tooltip-format": "{}"
},
"custom/timer": {
"exec": "/home/arthur/scripts/timer_module.sh",
"interval": 1,
"format":"{}",
"return-type": "json"
},
"custom/appicons": {
"format": "{}",
"exec": "~/.config/waybar/scripts/app-icons.sh",
"interval": 5,
"tooltip":"false"
},
"custom/workspaces-icons": {
"exec": "python ~/.config/waybar/scripts/workspaces_icons.py",
"interval": 5,
"format": "{}"
},
"custom/menu1": {
"format" : "⏻ ",
"tooltip": false,
"menu": "on-click",
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
}
,"bluetooth": {
"interval": 30,
"format": "BT {icon} ",
"format-icons": {
"enabled": "",
"disabled": ""
},
"on-click": "blueberry"
},
"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
},
"tray": {
"icon-size": 21,
"spacing": 10
}
}

147
waybar/modules.jsonc.bk2 Executable file
View File

@@ -0,0 +1,147 @@
{
"hyprland/workspaces": {
"active-only": false,
"format": "{icon}",
"disable-scroll": true,
"on-click": "activate"
},
"clock": {
"format": "~  {:%a [%d/%m]  [%H:%M]} ~",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small> {calendar} </small></tt>"
},
"network": {
"interface": "enp111s0",
"format": "↗{bandwidthUpBytes} ↘ {bandwidthDownBytes} |"
},
"pulseaudio": {
"format": " {icon} {volume}% ",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "pavucontrol"
},
"custom/cpuinfo": {
"exec": "~/.config/waybar/scripts/cpu_info.sh",
"interval": 12,
"format": "{}"
},
"custom/gpu": {
"exec": "~/.config/waybar/scripts/gpu_temp.sh",
"interval": 12,
"format": "{}"
},
"custom/xpuinfo": {
"exec": "~/.config/waybar/scripts/xpu_info.sh",
"interval": 15,
"format": "{}"
},
"mpris": {
"format": "{player_icon} [{title} - {artist}]",
"format-paused": " [ {title} - {artist}] ",
"player-icons": {
"default": " ",
"firefox": " "
},
"max-length": 70,
"scroll": true
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.sh",
"interval": 600,
"return-type": "text"
},
"custom/uptime": {
"exec": "~/.config/waybar/scripts/uptime.sh",
"interval": 300,
"format": "時間 {}"
},
"custom/flagvpn": {
"exec": "~/scripts/get_flag.sh",
"interval": 60,
"format":"{}",
"tooltip" : true,
"tooltip-format": "{}"
},
"custom/steamhdd": {
"exec": "~/.config/waybar/scripts/hdd_info.sh",
"interval": 3600,
"format":"{}",
"tooltip" : true,
"tooltip-format": "{}"
},
"custom/timer": {
"exec": "/home/arthur/scripts/timer_module.sh",
"interval": 1,
"format":"{}",
"return-type": "json"
},
"custom/appicons": {
"format": "{}",
"exec": "~/.config/waybar/scripts/app-icons.sh",
"interval": 5,
"tooltip":"false"
},
"custom/workspaces-icons": {
"exec": "python ~/.config/waybar/scripts/workspaces_icons.py",
"interval": 5,
"format": "{}"
},
"custom/menu1": {
"format" : "⏻ ",
"tooltip": false,
"menu": "on-click",
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
}
,"bluetooth": {
"interval": 30,
"format": "BT {icon} ",
"format-icons": {
"enabled": "",
"disabled": ""
},
"on-click": "blueberry"
},
"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
},
"tray": {
"icon-size": 21,
"spacing": 10
}
}

79
waybar/modules.jsonc.catpu Executable file
View File

@@ -0,0 +1,79 @@
{
"hyprland/workspaces": {
"active-only": false,
"all-outputs": false,
"format": "{icon}",
"persistent_workspaces": {
"2": [],
"3": [],
"4": [],
"5": []
},
"disable-scroll": true,
"on-click": "activate"
},
"clock": {
"format": "<span foreground='#f9f5d7'>  </span>{:%a [%d/%m] ~ [%H:%M]} ~",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small> {calendar} </small></tt>"
},
"network": {
"interface": "enp111s0",
"format": "↗{bandwidthUpBytes} ↘ {bandwidthDownBytes}"
},
"pulseaudio": {
"format": " {icon} {volume}% ",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "pavucontrol"
},
"custom/cpuinfo": {
"exec": "~/.config/waybar/scripts/cpu_info.sh",
"interval": 2,
"format": "{}"
},
"custom/gpu": {
"exec": "~/.config/waybar/scripts/gpu_temp.sh",
"interval": 2,
"format": "{}"
},
"mpris": {
"format": "{player_icon} [{title} - {artist}]",
"format-paused": " [ {title} - {artist}] ",
"player-icons": {
"default": " ",
"firefox": " "
},
"max-length": 70,
"scroll": true
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.sh",
"interval": 600,
"return-type": "text"
},
"custom/uptime": {
"exec": "~/.config/waybar/scripts/uptime.sh",
"interval": 60,
"format": "時間 {}"
},
"custom/flagvpn": {
"exec": "~/scripts/get_flag.sh",
"interval": 60,
"format": "{}"
},
"custom/timer": {
"exec": "/home/arthur/scripts/timer_module.sh",
"interval": 1,
"format":"{}",
"return-type": "json"
}
}

105
waybar/modules.jsonc.gruvbox Executable file
View File

@@ -0,0 +1,105 @@
{
"hyprland/workspaces": {
"active-only": false,
"all-outputs": false,
"format": "{icon}",
"persistent_workspaces": {
"2": [],
"3": [],
"4": [],
"5": []
},
"disable-scroll": true,
"on-click": "activate"
},
"clock": {
"format": "<span foreground='#f9f5d7'>  </span>{:%a [%d/%m] ~ [%H:%M]} ~",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small> {calendar} </small></tt>"
},
"network": {
"interface": "enp111s0",
"format": "↗{bandwidthUpBytes} ↘ {bandwidthDownBytes} |"
},
"pulseaudio": {
"format": " {icon} {volume}% ",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "pavucontrol"
},
"custom/cpuinfo": {
"exec": "~/.config/waybar/scripts/cpu_info.sh",
"interval": 2,
"format": "{}"
},
"custom/gpu": {
"exec": "~/.config/waybar/scripts/gpu_temp.sh",
"interval": 2,
"format": "{}"
},
"mpris": {
"format": "{player_icon} [{title} - {artist}]",
"format-paused": " [ {title} - {artist}] ",
"player-icons": {
"default": " ",
"firefox": " "
},
"max-length": 70,
"scroll": true
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.sh",
"interval": 600,
"return-type": "text"
},
"custom/uptime": {
"exec": "~/.config/waybar/scripts/uptime.sh",
"interval": 60,
"format": "時間 {}"
},
"custom/flagvpn": {
"exec": "~/scripts/get_flag.sh",
"interval": 60,
"format":"{}",
"tooltip" : true,
"tooltip-format": "{}"
},
"custom/timer": {
"exec": "/home/arthur/scripts/timer_module.sh",
"interval": 1,
"format":"{}",
"return-type": "json"
},
"custom/appicons": {
"format": "{}",
"exec": "~/.config/waybar/scripts/app-icons.sh",
"interval": 5,
"tooltip":"false"
},
"custom/workspaces-icons": {
"exec": "python ~/.config/waybar/scripts/workspaces_icons.py",
"interval": 5,
"format": "{}"
},
"custom/menu1": {
"format" : "⏻ ",
"tooltip": false,
"menu": "on-click",
"menu-file": "~/.config/waybar/power_menu.xml",
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
}
}

165
waybar/modules.jsonc.nord Executable file
View File

@@ -0,0 +1,165 @@
{
// Modules configuration
"hyprland/workspaces": {
"active-only": false,
"all-outputs": false,
"format": "{icon}",
"persistent_workspaces": {
"2": [],
"3": [],
"4": [],
"5": []
},
"disable-scroll": true,
"on-click": "activate"
},
"hyprland/window": {
"format": "{}",
"max-length": 50,
"tooltip": false
},
"bluetooth": {
"interval": 30,
"format": "{icon}",
"format-icons": {
"enabled": "",
"disabled": ""
},
"on-click": "blueberry"
},
"hyprland/language": {
"format": "<big></big> {}",
"max-length": 5,
"min-length": 5
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
"tooltip": "true"
},
"tray": {
//"icon-size": 11,
"spacing": 5
},
"clock": {
"format": " {:%H:%M  %e %b}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"today-format": "<b>{}</b>",
"on-click": "gnome-calendar"
},
"cpu": {
"interval": "1",
"format": " {max_frequency}GHz <span color=\"darkgray\">| {usage}%</span>",
"max-length": 13,
"min-length": 13,
"on-click": "kitty -e htop --sort-key PERCENT_CPU",
"tooltip": false
},
"temperature": {
//"thermal-zone": 1,
"interval": "4",
"hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
"critical-threshold": 74,
"format-critical": " {temperatureC}°C",
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""],
"max-length": 7,
"min-length": 7
},
"network": {
"interface": "enp111s0",
"format": "↗{bandwidthUpBytes} ↘ {bandwidthDownBytes}"
},
"pulseaudio": {
"scroll-step": 3, // %, can be a float
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol",
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
},
"custom/pacman": {
"format": "<big>􏆲</big> {}",
"interval": 3600, // every hour
"exec": "checkupdates | wc -l", // # of updates
"exec-if": "exit 0", // always run; consider advanced run conditions
"on-click": "kitty -e 'yay'; pkill -SIGRTMIN+8 waybar", // update system
"signal": 8,
"max-length": 5,
"min-length": 3
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.sh",
"interval": 3600,
"return-type": "text"
},
"custom/gpu": {
"exec": "$HOME/.config/waybar/scripts/gpu_temp.sh",
"format": " {}",
"interval": 2,
"tooltip": "{tooltip}",
"max-length": 19,
"min-length": 19,
"on-click": "powerupp"
},
"custom/cpugovernor": {
"format": "{icon}",
"interval": "30",
"exec": "$HOME/.config/waybar/scripts/cpu_info.sh",
"min-length": 2,
"max-length": 2,
"format-icons": {
"perf": "",
"sched": ""
}
},
"mpris": {
"format": "{player_icon} [{title} - {artist}]",
"format-paused": " [ {title} - {artist}] ",
"player-icons": {
"default": " ",
"firefox": " "
},
"max-length": 70,
"scroll": true
},
"custom/flagvpn": {
"exec": "~/scripts/get_flag.sh",
"interval": 60,
"format": "{}"
},
"custom/timer": {
"exec": "/home/arthur/scripts/timer_module.sh",
"interval": 1,
"format":"{}",
"return-type": "json"
}
}

28
waybar/power_menu.xml Executable file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="suspend">
<property name="label">Suspend</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="hibernat">
<property name="label">Hibernate</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="shutdown">
<property name="label">Shutdown</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
</child>
<child>
<object class="GtkMenuItem" id="reboot">
<property name="label">Reboot</property>
</object>
</child>
</object>
</interface>

29
waybar/scripts/app-icons.sh Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
# Define tus apps favoritas y su ícono Unicode (usa Font Awesome u otra)
declare -A apps=(
["zen"]=""
["kitty"]=""
["nvim"]=""
["ranger"]=""
["steam"]=""
)
# Colores (puedes personalizarlos desde CSS también)
active_color="#b8bb26"
inactive_color="#bdae93"
output=""
for app in "${!apps[@]}"; do
icon="${apps[$app]}"
# Detectar si el proceso está corriendo
if pgrep -x "$app" > /dev/null; then
output+="<span color='$active_color'>$icon</span> "
else
output+="<span color='$inactive_color'>$icon</span> "
fi
done
echo -e "$output"

21
waybar/scripts/cpu_info.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# Obtener temperatura desde sysfs
temp_raw=$(cat /sys/class/hwmon/hwmon2/temp1_input)
temp_c=$((temp_raw / 1000))
# Obtener uso de CPU
usage=$(grep 'cpu ' /proc/stat | awk '{u=$2+$4; t=$2+$4+$5; print u, t}')
sleep 0.5
usage2=$(grep 'cpu ' /proc/stat | awk '{u=$2+$4; t=$2+$4+$5; print u, t}')
u1=$(echo $usage | awk '{print $1}')
t1=$(echo $usage | awk '{print $2}')
u2=$(echo $usage2 | awk '{print $1}')
t2=$(echo $usage2 | awk '{print $2}')
cpu_usage=$((100 * (u2 - u1) / (t2 - t1)))
cpu_usage_formated=$(printf "%02d\n" $cpu_usage)
temp_c_formated=$(printf "%02d\n" $temp_c)
progress=$(sh ~/.config/waybar/scripts/status_bar.sh $cpu_usage)
# Imprimir formato
echo " CPU ${temp_c}°C / ${cpu_usage_formated}% ${progress}"

4
waybar/scripts/get_flag.py Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
flag=$(sh ~/scripts/get_flag.sh)
echo " ${flag}"

12
waybar/scripts/gpu_temp.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Obtener uso de la GPU con nvidia-smi
usage=$(nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits | head -n 1)
temp=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits | head -n 1)
temp_formated=$(printf "%02d\n" $temp)
usage_formated=$(printf "%02d\n" $usage)
progress=$(sh ~/.config/waybar/scripts/status_bar.sh $usage)
echo " GPU ${temp_formated}°C / ${usage_formated}% $progress"

28
waybar/scripts/hdd_info.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
local_hdd=$( df -h | grep /mnt/STEAM )
IFS=' ' read -r -a partes <<< "$local_hdd"
local_hdd=$( cut -c 1-2 <<< ${partes[4]} )
local_hdd="[steam_"$local_hdd"%]"$( sh /home/arthur/.config/waybar/scripts/status_bar.sh $((local_hdd)))
system_hdd=$( df -h | grep nvme1n1p2)
if [ -z $system_hdd ]; then
system_hdd=$( df -h | grep nvme0n1p2)
fi
IFS=' ' read -r -a partes <<< "$system_hdd"
system_hdd=$( cut -c 1-2 <<< ${partes[4]} )
system_hdd="[sys_____"$system_hdd"%]"$( sh /home/arthur/.config/waybar/scripts/status_bar.sh $((system_hdd)))
#raspberry info
hdd2=$( ssh arthur@192.168.1.131 "df -h" | grep /media/HDD2 )
if [ -z "$hdd2" ]; then
echo "|.:" $local_hdd ":.|&#013;|.:" $system_hdd ":.|"
else
IFS=' ' read -r -a partes <<< "$hdd2"
hdd2=$( cut -c 1-2 <<< ${partes[4]})
hdd2="[hdd2___"$hdd2"%]"$( sh /home/arthur/.config/waybar/scripts/status_bar.sh $((hdd2)))
echo "|.:" $local_hdd ":.|&#013;|.:" $system_hdd ":.|&#013;|.: "$hdd2" :.|"
fi

34
waybar/scripts/status_bar.sh Executable file
View File

@@ -0,0 +1,34 @@
totalval=$1
usage_10=$((totalval/10))
progress=""
max=8
for (( i=1; (( i <= max )); i++ )); do
if (( i == 1 )); then
if (( usage_10 >= i )); then
progress=""
else
progress=""
break;
fi
fi
if (( usage_10 <= i )); then
progress=$progress""
else
progress=$progress""
fi
if (( i==max )); then
if (( usage_10 >= max+2 )); then
progress=$progress""
break;
else
progress=$progress""
break;
fi
fi
done
echo $progress

5
waybar/scripts/uptime.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
# Devuelve el tiempo encendido del sistema en formato legible
uptime -p | sed 's/up //'

15
waybar/scripts/weather.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
API_KEY="bc07f366f9c10599a7700f80cc66e0d6"
CITY_ID="3583361" # Puedes encontrarlo en https://openweathermap.org/find?q=San+Salvador
UNITS="metric" # o "imperial" para Fahrenheit
WEATHER=$(curl -sf "https://api.openweathermap.org/data/2.5/weather?id=${CITY_ID}&appid=${API_KEY}&units=${UNITS}")
if [ "$WEATHER" != "" ]; then
TEMP=$(echo "$WEATHER" | jq '.main.temp' | cut -d "." -f 1)
ICON=$(echo "$WEATHER" | jq -r '.weather[0].icon')
echo ".:  ${TEMP}󰔄 :."
else
echo ".: Weather unavailable :."
fi

View File

@@ -0,0 +1,47 @@
#!/usr/bin/env python3
import json
import subprocess
icons = {
"firefox": "",
"kitty": "",
"code": "",
"nemo": "",
"discord": "",
"spotify": "",
}
def get_windows():
result = subprocess.run(["hyprctl", "clients", "-j"], stdout=subprocess.PIPE)
return json.loads(result.stdout)
def get_workspaces():
result = subprocess.run(["hyprctl", "workspaces", "-j"], stdout=subprocess.PIPE)
return json.loads(result.stdout)
def main():
windows = get_windows()
workspaces = get_workspaces()
ws_icons = {}
for ws in workspaces:
ws_id = ws["id"]
ws_icons[ws_id] = []
for win in windows:
app = win["class"].lower()
ws_id = win["workspace"]["id"]
icon = icons.get(app, "?")
if icon not in ws_icons[ws_id]:
ws_icons[ws_id].append(icon)
output = " ".join(
f"{ws}:{''.join(ws_icons[ws])}" for ws in sorted(ws_icons.keys())
)
print(output)
if __name__ == "__main__":
main()

30
waybar/scripts/xpu_info.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
# Obtener uso de la GPU con nvidia-smi
usage=$(nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits | head -n 1)
temp=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits | head -n 1)
temp_formated=$(printf "%02d\n" $temp)
usage_formated=$(printf "%02d\n" $usage)
progress_gpu=$(sh ~/.config/waybar/scripts/status_bar.sh $usage)
# Obtener temperatura desde sysfs
temp_raw=$(cat /sys/class/hwmon/hwmon2/temp1_input)
temp_c=$((temp_raw / 1000))
# Obtener uso de CPU
usage=$(grep 'cpu ' /proc/stat | awk '{u=$2+$4; t=$2+$4+$5; print u, t}')
sleep 0.5
usage2=$(grep 'cpu ' /proc/stat | awk '{u=$2+$4; t=$2+$4+$5; print u, t}')
u1=$(echo $usage | awk '{print $1}')
t1=$(echo $usage | awk '{print $2}')
u2=$(echo $usage2 | awk '{print $1}')
t2=$(echo $usage2 | awk '{print $2}')
cpu_usage=$((100 * (u2 - u1) / (t2 - t1)))
cpu_usage_formated=$(printf "%02d\n" $cpu_usage)
temp_c_formated=$(printf "%02d\n" $temp_c)
progress=$(sh ~/.config/waybar/scripts/status_bar.sh $cpu_usage)
# Imprimir formato
echo "  CPU ${temp_c}°C / ${cpu_usage_formated}% ${progress} &#013; ""  GPU ${temp_formated}°C / ${usage_formated}% $progress_gpu"

259
waybar/style.css Executable file
View File

@@ -0,0 +1,259 @@
@define-color fondo_color rgba(10, 11, 19, 0.6);
@define-color fore_color #bec1cb;
@define-color borde_color #bec1cb;
* {
font-family: "Mononoki Nerd Font Bold";
font-size: 13px;
min-height: 0;
font-weight: bold;
/*color: @fore_color;*/ /* Cambiar color de texto a blanco */
}
window#waybar {
background: transparent;
background-color: @fondo_color;
border-radius : 15px;
color: @fore_color;
transition-property: background-color;
transition-duration: 0.1s;
border: 2px solid @borde_color; /* Borde de color blanco semi-transparente */
}
#window {
border-radius: 5px;
margin: 8px;
padding-left: 8px;
padding-right: 8px;
background-color: transparent;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 5px; /* Borde redondeado */
padding: 6px 12px; /* Ajusta el padding para que se vea más ovalado */
background-color: @fondo_color;
color: @fore_color; /* Color de texto blanco */
transition: background-color 0.3s, color 0.3s;
border: 2px solid @borde_color; /* Borde de color blanco semi-transparente */
}
button:hover {
background: inherit;
color: #32302f;
border-top: 2px solid @fondo_color;
}
#workspaces button {
border-radius: 5px; /* Borde redondeado */
padding: 0 4px;
border-radius: 20px; /* Borde redondeado */
color: @fore_color; /* Color de texto blanco */
border: 2px solid @borde_color /* Borde de color blanco semi-transparente */
}
#
#workspaces button.focused {
/*border-radius: 5px;*/ /* Borde redondeado */
background-color: rgba(0, 0, 0, 0.3);
color: @rosewater;
/* border: 2px solid @rosewater; *//* Borde color rosa */
}
#workspaces button.active {
/*border-radius: 5px; *//* Borde redondeado */
background-color: @fore_color;
color: @fondo_color;
border: 2px solid @borde_color;/* Borde color rosa */
}
#workspaces button.urgent {
border-radius: 5px; /* Borde redondeado */
background-color: #eb4d4b;
color: @fore_color;
border: 2px solid #eb4d4b; /* Borde rojo */
}
/* Estilos generales para otros módulos */
#puleaudio,
#custom-gpu
#custom-cpuinfo
#clock,
#battery,
cpu,
#memory,
#disk,
temperature,
#backlight,
#wireplumber,
#tray,
#network,
#mode,
#scratchpad {
margin-top: 2px;
margin-bottom: 2px;
margin-left: 2px;
margin-right: 4px;
padding-left: 1px;
padding-right: 1px;
/*border-radius: 5px; *//* Borde redondeado */
/*background-color: rgba(0, 0, 0, 0.3);*/ /* Fondo ligeramente oscuro */
color: @fore_color;
/*border: 2px solid #32302f; *//* Borde de color blanco */
}
#network {
margin-right: 8px;
/* border:2px solid #d8a657 ; */
}
#pulseaudio {
/*border:2px solid #ea6962 */;
/* border-radius: 5px; *//* Borde redondeado */
}
#clock{
/* border:2px solid #7daea3; */
/* border-radius: 5px;*/ /* Borde redondeado */
}
#temperature.cpu,
#temperature.gpu {
padding: 0 8px;
border: 2px solid @green;
border-radius: 5px;
color: white;
background-color: rgba(0, 0, 0, 0.3);
}
#temperature.cpu.critical,
#temperature.gpu.critical {
border-color: @red;
color: @red;
}
#custom-gpu {
margin-right: 8px;
padding: 0 1px;
/*border: 2px solid #458588; */
/*border-radius: 5px; */
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-gpu.critical {
border-color: red;
color: red;
}
#custom-cpuinfo {
padding: 8px;
margin-right: 8px;
/*border: 2px solid #a9b665; */
/*border-radius: 5px; */
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-cpuinfo.critical {
border-color: red;
color: red;
}
#mpris {
margin-right: 8px;
padding: 20px;
border: 2px solid #d65d0e;
border-radius: 5px;
color: @fore_color;
background-color: rgba(0, 0, 0, 0.3);
}
#mpris.paused {
border-color: #a89984;
color: @borde_color;
}
#custom-weather {
margin-right: 2px;
padding: 0 2px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-uptime {
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
}
#custom-flagvpn {
margin-right: 8px;
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-timer {
margin-right: 8px;
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
border-radius: 5px;
margin-left: 1;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
border-radius: 5px;
margin-right: 0;
}
#custom-vpn {
margin-right: 8px;
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}
#custom-appicons {
font-size: 30px;
margin-right: 8px;
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}
menu {
background: transparent;
background-color: @fondo_color;
border-radius: 15px;
color: @fore_color;
border: 1px solid @borde_color; /* Borde de color blanco semi-transparente */
}
menuitem {
border-radius: 15px;
background: transparent;
background-color: @fondo_color;
color: @fore_color;
border: 1px solid @borde_color; /* Borde de color blanco semi-transparente */
}

261
waybar/style.css.bk2 Executable file
View File

@@ -0,0 +1,261 @@
@define-color fondo_color rgba(12, 8, 10, 0.6);
@define-color fore_color #ded4d8;
@define-color borde_color #ded4d8;
* {
font-family: "Mononoki Nerd Font Bold";
font-size: 13px;
min-height: 0;
font-weight: bold;
/*color: @fore_color;*/ /* Cambiar color de texto a blanco */
}
window#waybar {
background: transparent;
background-color: @fondo_color;
border-radius : 15px;
color: @fore_color;
transition-property: background-color;
transition-duration: 0.1s;
border: 2px solid @borde_color; /* Borde de color blanco semi-transparente */
}
#window {
border-radius: 5px;
margin: 8px;
padding-left: 8px;
padding-right: 8px;
background-color: transparent;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 5px; /* Borde redondeado */
padding: 6px 12px; /* Ajusta el padding para que se vea más ovalado */
background-color: @fondo_color;
color: @fore_color; /* Color de texto blanco */
transition: background-color 0.3s, color 0.3s;
border: 2px solid @borde_color; /* Borde de color blanco semi-transparente */
}
button:hover {
background: inherit;
color: #32302f;
border-top: 2px solid @fondo_color;
}
#workspaces button {
border-radius: 5px; /* Borde redondeado */
padding: 0 4px;
border-radius: 20px; /* Borde redondeado */
color: @fore_color; /* Color de texto blanco */
border: 2px solid @borde_color /* Borde de color blanco semi-transparente */
}
#
#workspaces button.focused {
/*border-radius: 5px;*/ /* Borde redondeado */
background-color: rgba(0, 0, 0, 0.3);
color: @rosewater;
/* border: 2px solid @rosewater; *//* Borde color rosa */
}
#workspaces button.active {
/*border-radius: 5px; *//* Borde redondeado */
background-color: @fore_color;
color: @fondo_color;
border: 2px solid @borde_color;/* Borde color rosa */
}
#workspaces button.urgent {
border-radius: 5px; /* Borde redondeado */
background-color: #eb4d4b;
color: @fore_color;
border: 2px solid #eb4d4b; /* Borde rojo */
}
/* Estilos generales para otros módulos */
#puleaudio,
#custom-gpu
#custom-cpuinfo
#clock,
#battery,
cpu,
#memory,
#disk,
temperature,
#backlight,
#wireplumber,
#tray,
#network,
#mode,
#scratchpad {
margin-top: 2px;
margin-bottom: 2px;
margin-left: 2px;
margin-right: 4px;
padding-left: 1px;
padding-right: 1px;
/*border-radius: 5px; *//* Borde redondeado */
/*background-color: rgba(0, 0, 0, 0.3);*/ /* Fondo ligeramente oscuro */
color: @fore_color;
/*border: 2px solid #32302f; *//* Borde de color blanco */
}
#network {
margin-right: 8px;
/* border:2px solid #d8a657 ; */
}
#pulseaudio {
/*border:2px solid #ea6962 */;
/* border-radius: 5px; *//* Borde redondeado */
}
#clock{
/* border:2px solid #7daea3; */
/* border-radius: 5px;*/ /* Borde redondeado */
}
#temperature.cpu,
#temperature.gpu {
padding: 0 8px;
border: 2px solid @green;
border-radius: 5px;
color: white;
background-color: rgba(0, 0, 0, 0.3);
}
#temperature.cpu.critical,
#temperature.gpu.critical {
border-color: @red;
color: @red;
}
#custom-gpu {
margin-right: 8px;
padding: 0 1px;
/*border: 2px solid #458588; */
/*border-radius: 5px; */
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-gpu.critical {
border-color: red;
color: red;
}
#custom-cpuinfo {
padding: 8px;
margin-right: 8px;
/*border: 2px solid #a9b665; */
/*border-radius: 5px; */
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-cpuinfo.critical {
border-color: red;
color: red;
}
#mpris {
margin-right: 8px;
padding: 20px;
border: 2px solid #d65d0e;
border-radius: 5px;
color: @fore_color;
background-color: rgba(0, 0, 0, 0.3);
}
#mpris.paused {
border-color: #a89984;
color: @borde_color;
}
#custom-weather {
margin-right: 2px;
padding: 0 2px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-uptime {
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
}
#custom-flagvpn {
margin-right: 8px;
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-timer {
margin-right: 8px;
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
border-radius: 5px;
margin-left: 1;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
border-radius: 5px;
margin-right: 0;
}
#custom-vpn {
margin-right: 8px;
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}
#custom-appicons {
font-size: 30px;
margin-right: 8px;
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}
menu {
background: transparent;
background-color: @fondo_color;
border-radius: 15px;
color: @fore_color;
border: 1px solid @borde_color; /* Borde de color blanco semi-transparente */
}
menuitem {
border-radius: 15px;
background: transparent;
background-color: @fondo_color;
color: @fore_color;
border: 1px solid @borde_color; /* Borde de color blanco semi-transparente */
}

214
waybar/style.css.catpu Executable file
View File

@@ -0,0 +1,214 @@
@import "mocha.css";
* {
font-family: "MesloLGS Nerd Font Mono Bold";
font-size: 13px;
min-height: 0;
font-weight: bold;
color: white; /* Cambiar color de texto a blanco */
}
window#waybar {
background: transparent;
background-color: rgba(30, 30, 46, 0.6);;
color: @overlay0;
transition-property: background-color;
transition-duration: 0.1s;
border: 1px solid @rosewater;
border-radius: 15px;
padding-left: 8px;
}
tooltip {
background: transparent;
background-color: rgba(30, 30, 46, 0.6);;
color: @overlay0;
transition-property: background-color;
transition-duration: 0.1s;
border: 1px solid @rosewater;
border-radius: 35px;
padding-left: 8px;
}
#window {
margin: 8px;
padding-left: 8px;
padding-right: 8px;
background-color: transparent;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
padding: 6px 12px; /* Ajusta el padding para que se vea más ovalado */
color: white; /* Color de texto blanco */
transition: background-color 0.3s, color 0.3s;
}
button:hover {
background: inherit;
color: @mauve;
border-top: 2px solid @mauve;
}
#workspaces button {
padding: 0 4px;
color: white; /* Color de texto blanco */
}
#workspaces button.focused {
color: @rosewater;
}
#workspaces button.active {
color: @mauve;
border: 1px solid @mauve;
}
#workspaces button.urgent {
color: white;
}
/* Estilos generales para otros módulos */
#pulseaudio,
#clock,
#battery,
cpu,
#memory,
#disk,
temperature,
#backlight,
#wireplumber,
#tray,
#network,
#mode,
#scratchpad {
margin-top: 2px;
margin-bottom: 2px;
margin-left: 4px;
margin-right: 4px;
padding-left: 4px;
padding-right: 4px;
/*color: white; Texto blanco */
}
#network {
color: @rosewater;
}
#pulseaudio {
color: @mauve;
}
#clock{
color: @yellow;
}
#temperature.cpu,
#temperature.gpu {
padding: 0 8px;
border: 2px solid @green;
border-radius: 15px;
color: white;
background-color: rgba(0, 0, 0, 0.3);
}
#temperature.cpu.critical,
#temperature.gpu.critical {
border-color: @red;
color: @red;
}
#custom-gpu {
padding: 0 8px;
color: @blue;
}
#custom-gpu.critical {
border-color: red;
color: red;
}
#custom-cpuinfo {
padding: 0 8px;
color: @green;
}
#custom-cpuinfo.critical {
border-color: red;
color: red;
}
#mpris {
padding: 1 20px;
border: 2px solid @mauve;
border-radius: 15px;
color: white;
background-color: rgba(0, 0, 0, 0.3);
}
#mpris.paused {
border-color: @gray;
color: @gray;
}
#custom-gpu {
margin-right: 8px;
color: @blue;
}
#custom-gpu.critical {
border-color: red;
color: red;
}
#custom-weather {
margin-right: 8px;
padding: 0 8px;
color: @sky;
}
#custom-uptime {
color: #d3869b;
}
#custom-flagvpn {
color: #d3869b;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
margin-right: 0;
}
#custom-vpn {
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}
#custom-timer {
margin-right: 8px;
padding: 0 8px;
border: 2px solid @lavender;
border-radius: 15px;
color: #f9f5d7;
background-color: rgba(0, 0, 0, 0.3);
}

266
waybar/style.css.gruvbox Executable file
View File

@@ -0,0 +1,266 @@
@define-color fondo_color rgba(40, 33, 31, 0.6);
@define-color fore_color #ede9e3;
@define-color borde_color #ede9e3;
* {
font-family: "Mononoki Nerd Font Bold";
font-size: 13px;
min-height: 0;
font-weight: bold;
/*color: @fore_color;*/ /* Cambiar color de texto a blanco */
}
window#waybar {
background: transparent;
background-color: @fondo_color;
border-radius : 15px;
color: @fore_color;
transition-property: background-color;
transition-duration: 0.1s;
border: 1px solid @borde_color; /* Borde de color blanco semi-transparente */
padding-left: 8;
padding-right: 8;
padding-top: 8;
padding-bottom: 8;
}
#window {
border-radius: 5px;
margin: 8px;
padding-left: 8;
padding-right: 8;
background-color: transparent;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 5px; /* Borde redondeado */
padding: 6px 12px; /* Ajusta el padding para que se vea más ovalado */
background-color: @fondo_color;
color: @fore_color; /* Color de texto blanco */
transition: background-color 0.3s, color 0.3s;
border: 2px solid @borde_color; /* Borde de color blanco semi-transparente */
}
button:hover {
background: inherit;
color: #32302f;
border-top: 2px solid @fondo_color;
}
#workspaces button {
border-radius: 5px; /* Borde redondeado */
padding: 0 4px;
border-radius: 20px; /* Borde redondeado */
color: @fore_color; /* Color de texto blanco */
border: 2px solid @borde_color /* Borde de color blanco semi-transparente */
}
#
#workspaces button.focused {
/*border-radius: 5px;*/ /* Borde redondeado */
background-color: rgba(0, 0, 0, 0.3);
color: @rosewater;
/* border: 2px solid @rosewater; *//* Borde color rosa */
}
#workspaces button.active {
/*border-radius: 5px; *//* Borde redondeado */
background-color: @fore_color;
color: @fondo_color;
border: 2px solid @borde_color;/* Borde color rosa */
}
#workspaces button.urgent {
border-radius: 5px; /* Borde redondeado */
background-color: #eb4d4b;
color: @fore_color;
border: 2px solid #eb4d4b; /* Borde rojo */
}
/* Estilos generales para otros módulos */
#puleaudio,
#custom-gpu
#custom-cpuinfo
#clock,
#battery,
cpu,
#memory,
#disk,
temperature,
#backlight,
#wireplumber,
#tray,
#network,
#mode,
#scratchpad {
margin-top: 2px;
margin-bottom: 2px;
margin-left: 2px;
margin-right: 4px;
padding-left: 1px;
padding-right: 1px;
/*border-radius: 5px; *//* Borde redondeado */
/*background-color: rgba(0, 0, 0, 0.3);*/ /* Fondo ligeramente oscuro */
color: @fore_color;
/*border: 2px solid #32302f; *//* Borde de color blanco */
}
#network {
margin-right: 8px;
/* border:2px solid #d8a657 ; */
}
#pulseaudio {
/*border:2px solid #ea6962 */;
/* border-radius: 5px; *//* Borde redondeado */
}
#clock{
/* border:2px solid #7daea3; */
/* border-radius: 5px;*/ /* Borde redondeado */
}
#temperature.cpu,
#temperature.gpu {
padding: 0 8px;
border: 2px solid @green;
border-radius: 5px;
color: white;
background-color: rgba(0, 0, 0, 0.3);
}
#temperature.cpu.critical,
#temperature.gpu.critical {
border-color: @red;
color: @red;
}
#custom-gpu {
margin-right: 8px;
padding: 0 1px;
/*border: 2px solid #458588; */
/*border-radius: 5px; */
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-gpu.critical {
border-color: red;
color: red;
}
#custom-cpuinfo {
padding: 1 8px;
margin-right: 8px;
/*border: 2px solid #a9b665; */
/*border-radius: 5px; */
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-cpuinfo.critical {
border-color: red;
color: red;
}
#mpris {
margin-right: 8px;
padding: 1 20px;
border: 2px solid #d65d0e;
border-radius: 5px;
color: @fore_color;
background-color: rgba(0, 0, 0, 0.3);
}
#mpris.paused {
border-color: #a89984;
color: @borde_color;
}
#custom-weather {
margin-right: 2px;
padding: 0 2px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-uptime {
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
}
#custom-flagvpn {
margin-right: 8px;
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
#custom-timer {
margin-right: 8px;
padding: 0 8px;
/*border: 2px solid #d3869b;*/
/*border-radius: 5px;*/
color: @fore_color;
/*background-color: rgba(0, 0, 0, 0.3);*/
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
border-radius: 5px;
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
border-radius: 5px;
margin-right: 0;
}
#custom-vpn {
margin-right: 8px;
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}
#custom-appicons {
font-size: 30px;
margin-right: 8px;
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}
menu {
background: transparent;
background-color: @fondo_color;
border-radius: 15px;
color: @fore_color;
border: 1px solid @borde_color; /* Borde de color blanco semi-transparente */
}
menuitem {
border-radius: 15px;
background: transparent;
background-color: @fondo_color;
color: @fore_color;
border: 1px solid @borde_color; /* Borde de color blanco semi-transparente */
}

229
waybar/style.css.gruvbox.bk1 Executable file
View File

@@ -0,0 +1,229 @@
@import "mocha.css";
* {
font-family: "Mononoki Nerd Font Bold";
font-size: 9px;
min-height: 0;
font-weight: bold;
color: #f9f5d7; /* Cambiar color de texto a blanco */
}
window#waybar {
background: transparent;
background-color: rgba(29, 32, 33, 0.6);;
color: @overlay0;
transition-property: background-color;
transition-duration: 0.1s;
}
#window {
border-radius: 5px;
margin: 8px;
padding-left: 8;
padding-right: 8;
background-color: transparent;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 5px; /* Borde redondeado */
padding: 6px 12px; /* Ajusta el padding para que se vea más ovalado */
background-color: #32302f;
color: #f9f5d7; /* Color de texto blanco */
transition: background-color 0.3s, color 0.3s;
border: 2px solid #46413e; /* Borde de color blanco semi-transparente */
}
button:hover {
background: inherit;
color: #32302f;
border-top: 2px solid #46413e;
}
#workspaces button {
border-radius: 5px; /* Borde redondeado */
padding: 0 4px;
border-radius: 20px; /* Borde redondeado */
color: #f9f5d7; /* Color de texto blanco */
border: 2px solid rgba(255, 255, 255, 0.6); /* Borde de color blanco semi-transparente */
}
#
#workspaces button.focused {
border-radius: 5px; /* Borde redondeado */
background-color: rgba(0, 0, 0, 0.3);
color: @rosewater;
border: 2px solid @rosewater; /* Borde color rosa */
}
#workspaces button.active {
border-radius: 5px; /* Borde redondeado */
background-color: rgba(0, 0, 0, 0.3);
color: @mauve;
border: 2px solid #8ec07c; /* Borde color mauve */
}
#workspaces button.urgent {
border-radius: 5px; /* Borde redondeado */
background-color: #eb4d4b;
color: #f9f5d7;
border: 2px solid #eb4d4b; /* Borde rojo */
}
/* Estilos generales para otros módulos */
#puleaudio,
#custom-gpu
#custom-cpuinfo
#clock,
#battery,
cpu,
#memory,
#disk,
temperature,
#backlight,
#wireplumber,
#tray,
#network,
#mode,
#scratchpad {
margin-top: 2px;
margin-bottom: 2px;
margin-left: 4px;
margin-right: 4px;
padding-left: 4px;
padding-right: 4px;
border-radius: 5px; /* Borde redondeado */
background-color: rgba(0, 0, 0, 0.3); /* Fondo ligeramente oscuro */
/*color: white; Texto blanco */
/* border: 2px solid #32302f; /* Borde de color blanco */ */
}
#network {
margin-right: 8px;
border:2px solid #d8a657 ;
}
#pulseaudio {
border:2px solid #ea6962 ;
border-radius: 5px; /* Borde redondeado */
}
#clock{
/* border:2px solid #7daea3; */
/* border-radius: 5px; */ /* Borde redondeado */
}
#temperature.cpu,
#temperature.gpu {
padding: 0 8px;
border: 2px solid @green;
border-radius: 5px;
color: white;
background-color: rgba(0, 0, 0, 0.3);
}
#temperature.cpu.critical,
#temperature.gpu.critical {
border-color: @red;
color: @red;
}
#custom-gpu {
margin-right: 8px;
padding: 0 8px;
border: 2px solid #458588;
border-radius: 5px;
color: #f9f5d7;
background-color: rgba(0, 0, 0, 0.3);
}
#custom-gpu.critical {
border-color: red;
color: red;
}
#custom-cpuinfo {
padding: 1 8px;
margin-right: 8px;
border: 2px solid #a9b665;
border-radius: 5px;
color: #f9f5d7;
background-color: rgba(0, 0, 0, 0.3);
}
#custom-cpuinfo.critical {
border-color: red;
color: red;
}
#mpris {
margin-right: 8px;
padding: 1 20px;
border: 2px solid #d65d0e;
border-radius: 5px;
color: #f9f5d7;
background-color: rgba(0, 0, 0, 0.3);
}
#mpris.paused {
border-color: #a89984;
color: #fbf1c7;
}
#custom-weather {
margin-right: 8px;
padding: 0 8px;
border: 2px solid #d3869b;
border-radius: 5px;
color: #f9f5d7;
background-color: rgba(0, 0, 0, 0.3);
}
#custom-uptime {
padding: 0 8px;
border: 2px solid #d3869b;
border-radius: 5px;
color: #f9f5d7;
}
#custom-flagvpn {
margin-right: 8px;
padding: 0 8px;
border: 2px solid #d3869b;
border-radius: 5px;
color: #f9f5d7;
background-color: rgba(0, 0, 0, 0.3);
}
#custom-timer {
margin-right: 8px;
padding: 0 8px;
border: 2px solid #d3869b;
border-radius: 5px;
color: #f9f5d7;
background-color: rgba(0, 0, 0, 0.3);
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
border-radius: 5px;
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
border-radius: 5px;
margin-right: 0;
}
#custom-vpn {
margin-right: 8px;
color: @lavender;
border-radius: 15px;
padding-left: 6px;
padding-right: 6px;
}

318
waybar/style.css.nord Executable file
View File

@@ -0,0 +1,318 @@
@keyframes blink-warning {
70% {
color: @light;
}
to {
color: @light;
background-color: @warning;
}
}
@keyframes blink-critical {
70% {
color: @light;
}
to {
color: @light;
background-color: @critical;
}
}
/* -----------------------------------------------------------------------------
* Styles
* -------------------------------------------------------------------------- */
/* COLORS */
/* Nord */
@define-color bg #2E3440;
/*@define-color bg #353C4A;*/
@define-color light #D8DEE9;
/*@define-color dark @nord_dark_font;*/
@define-color warning #ebcb8b;
@define-color critical #BF616A;
@define-color mode #434C5E;
/*@define-color workspaces @bg;*/
/*@define-color workspaces @nord_dark_font;*/
/*@define-color workspacesfocused #434C5E;*/
@define-color workspacesfocused #4C566A;
@define-color tray @workspacesfocused;
@define-color sound #EBCB8B;
@define-color network #5D7096;
@define-color memory #546484;
@define-color cpu #596A8D;
@define-color temp #4D5C78;
@define-color layout #5e81ac;
@define-color battery #88c0d0;
@define-color date #434C5E;
@define-color time #434C5E;
@define-color backlight #434C5E;
@define-color nord_bg #434C5E;
@define-color nord_bg_blue #546484;
@define-color nord_light #D8DEE9;
@define-color nord_light_font #D8DEE9;
@define-color nord_dark_font #434C5E;
@define-color nord_bg_blue_obscure #4c566a;
/* Reset all styles */
* {
border: none;
border-radius: 3px;
min-height: 0;
margin: 0.2em 0.3em 0.2em 0.3em;
}
/* The whole bar */
#waybar {
background: transparent;
background-color: rgba(29, 32, 33, 0.6);
color: @light;
font-family: "Cantarell", "Font Awesome 5 Pro";
font-size: 12px;
transition-property: background-color;
font-weight: bold;
}
/* Each module */
#battery,
#clock,
#cpu,
#custom-layout,
#memory,
#mode,
#network,
#pulseaudio,
#temperature,
#custom-alsa,
#custom-pacman,
#custom-weather,
#custom-gpu,
#custom-timer
#tray,
#backlight,
#language,
#custom-cpugovernor {
padding-left: 0.6em;
padding-right: 0.6em;
}
/* Each module that should blink */
#mode,
#memory,
#temperature,
#battery {
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
/* Each critical module */
#memory.critical,
#cpu.critical,
#temperature.critical,
#battery.critical {
color: @critical;
}
/* Each critical that should blink */
#mode,
#memory.critical,
#temperature.critical,
#battery.critical.discharging {
animation-name: blink-critical;
animation-duration: 2s;
}
/* Each warning */
#network.disconnected,
#memory.warning,
#cpu.warning,
#temperature.warning,
#battery.warning {
background: @warning;
color: @nord_dark_font;
}
/* Each warning that should blink */
#battery.warning.discharging {
animation-name: blink-warning;
animation-duration: 3s;
}
/* And now modules themselves in their respective order */
#mode { /* Shown current Sway mode (resize etc.) */
color: @light;
background: @mode;
}
/* Workspaces stuff */
/*new*/
#workspaces button {
padding : 0 4px;
border-radius: 0px; /* Borde redondeado */
color: white; /* Color de texto blanco */
border: 2px solid rgba(255, 255, 255, 0.6); /* Borde de color blanco semi-transparente */
}
#workspaces button.focused {
color: white;
border: 2px solid red; /* Borde color rosa */
}
#workspaces button.active {
background-color: @nord_bg_blue;
color: white;
border: 2px solid @light; /* Borde color mauve */
}
#workspaces button.urgent {
background-color: #eb4d4b;
color: white;
border: 2px solid #eb4d4b; /* Borde rojo */
}
#window {
margin-right: 40px;
margin-left: 40px;
font-weight: normal;
}
#bluetooth {
background: @nord_bg_blue;
font-size: 1.2em;
font-weight: bold;
padding: 0 0.6em;
}
#custom-flagvpn {
background: @nord_bg_blue;
font-size: 1.2em;
font-weight: bold;
padding: 0 0.6em;
}
#custom-gpu {
background: @nord_bg_blue_obscure;
font-weight: bold;
padding: 0 0.6em;
}
#custom-timer {
background: @nord_bg_blue_obscure;
font-weight: bold;
padding: 0 0.6em;
}
#custom-weather {
background: @mode;
font-weight: bold;
padding: 0 0.6em;
}
#custom-pacman {
background: @nord_light;
color: @nord_dark_font;
font-weight: bold;
padding: 0 0.6em;
}
#custom-scratchpad-indicator {
background: @nord_light;
color: @nord_dark_font;
font-weight: bold;
padding: 0 0.6em;
}
#idle_inhibitor {
background: @mode;
/*font-size: 1.6em;*/
font-weight: bold;
padding: 0 0.6em;
}
#custom-alsa {
background: @sound;
}
#network {
background: @nord_bg_blue;
}
#memory {
background: @memory;
}
#cpu {
background: @nord_bg;
color: #D8DEE9;
}
#cpu.critical {
color: @nord_dark_font;
}
#language {
background: @nord_bg_blue;
color: #D8DEE9;
padding: 0 0.4em;
}
#custom-cpugovernor {
background-color: @nord_light;
color: @nord_dark_font;
}
#custom-cpugovernor.perf {
}
#temperature {
background-color: @nord_bg;
color: #D8DEE9;
}
#temperature.critical {
background: @critical;
}
#custom-layout {
background: @layout;
}
#battery {
background: @battery;
}
#backlight {
background: @backlight;
}
#clock {
background: @nord_bg_blue;
color: #D8DEE9;
}
#clock.date {
background: @date;
}
#clock.time {
background: @mode;
}
#pulseaudio { /* Unsused but kept for those who needs it */
background: @nord_bg_blue;
color: #D8DEE9;
}
#pulseaudio.muted {
background: #BF616A;
color: #BF616A;
/* No styles */
}
#pulseaudio.source-muted {
background: #D08770;
color: #D8DEE9;
/* No styles */
}
#tray {
background: #434C5E;
}