From c8d1857c750b6a6ea174de28e26283e6c39b5917 Mon Sep 17 00:00:00 2001 From: Adrian Victor Date: Mon, 16 Feb 2026 13:45:49 -0300 Subject: [PATCH] v2 --- .config/rofi/config.rasi | 2 +- .../asidebar-worlds-porter-robinson.rasi | 110 ++++++++++++++++++ .config/waybar/config | 91 ++++++++++----- .config/waybar/style.css | 11 +- 4 files changed, 177 insertions(+), 37 deletions(-) create mode 100644 .config/rofi/themes/asidebar-worlds-porter-robinson.rasi diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 5e2beb3..a35cb01 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1 +1 @@ -@theme "asidebar.rasi" +@theme "asidebar-worlds-porter-robinson.rasi" diff --git a/.config/rofi/themes/asidebar-worlds-porter-robinson.rasi b/.config/rofi/themes/asidebar-worlds-porter-robinson.rasi new file mode 100644 index 0000000..3d8cef5 --- /dev/null +++ b/.config/rofi/themes/asidebar-worlds-porter-robinson.rasi @@ -0,0 +1,110 @@ +/** + * ROFI Color theme + * User: tenkuma + * Copyright: Dave Davenport + */ + +* { + text-color: #87ceeb; + background-color: rgba(7, 4, 4, 0); + dark: #1c1c1c; + + // Black + black: #000000F1; + lightblack: #101010; + + // Red + red: #cd5c5c; + lightred: #cc5533; + + // Blue + blue: #6495ed; + lightblue: #87ceeb; + + // Magenta + magenta: #DE87CF; + lightmagenta: #996600; + darkmagenta: #3D2539; + + // Cyan + cyan: #b0c4de; + lightcyan: #b0c4de; + + // White + white: #ffffff; + lightwhite: #dddcdcff; + + // Bold, Italic, Underline + highlight: bold #ffffff; +} +window { + height: 100%; + width: 30em; + location: west; + anchor: west; + border: 0px 2px 0px 0px; + text-color: @lightblue; +} +mode-switcher { + border: 2px 0px 0px 0px; + background-color: @lightblack; + padding: 4px; +} +button selected { + border-color: @black; + text-color: @lightblue; +} +inputbar { + background-color: @black; + text-color: @black; + padding: 4px; + border: 0px 0px 2px 0px; +} +mainbox { + expand: true; + background-color: @black; + spacing: 1em; +} +listview { + padding: 0em 0.4em 0em 1em; + dynamic: false; + lines: 0; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element selected normal { + background-color: @darkmagenta; + text-color: @magenta; +} +element normal active { + text-color: @lightblue; +} +element normal urgent { + text-color: @lightred; +} +element alternate normal { + text-color: @blue; +} +element alternate active { + text-color: @lightblue; +} +element alternate urgent { + text-color: @lightred; +} +element selected active { + background-color: @lightblue; + text-color: @dark; +} +element selected urgent { + background-color: @lightred; + text-color: @dark; +} +error-message { + expand: true; + background-color: red; + border-color: darkred; + border: 2px; + padding: 1em; +} diff --git a/.config/waybar/config b/.config/waybar/config index 0bf1a53..40a8d4c 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,35 +1,39 @@ -// 😉 Config created by Felipe Facundes -//  Telegram: @FeFacundes -//  Telegram Group: t.me/winehq_linux -// 😅 Dúvidas:https://github.com/Alexays/Waybar/wiki/Module:-Custom +// By tenkuma +// Originally by Felipe Facundes +// Documentation: https://github.com/Alexays/Waybar/wiki/Module:-Custom // vim:ft=json -{ - // "layer": "top", // Waybar at top layer - // "position": "bottom", // Waybar position (top|bottom|left|right) - "height": 30, // Waybar height (to be removed for auto height) - // "width": 1280, // Waybar width - "spacing": 4, // Gaps between modules (4px) +[{ + "bar_id": "bar-0", + "ipc": true, + "output": "eDP-1", + // "layer": "top", + "position": "bottom", // (top|bottom|left|right) + "height": 10, // remove for auto height + // "width": 1280, + "spacing": 0, // Gaps between modules // Choose the order of the modules "modules-left": ["custom/menu", "sway/workspaces", "sway/window"], //"sway/mode", "sway/scratchpad", "sway/window" //"modules-center": ["sway/window"], - "modules-right": ["custom/playerctl2", "pulseaudio", "custom/wf-recorder2", "network", "bluetooth", "custom/gpu", "idle_inhibitor", "cpu", "memory", "disk", "temperature", "battery", "custom/pacman", "custom/weather", "clock", "custom/clipboard", "tray", "custom/poweroff"], + // "modules-right": ["custom/playerctl2", "custom/wf-recorder2", "network", "pulseaudio", "bluetooth", "custom/gpu", "idle_inhibitor", "cpu", "memory", "disk", "temperature", "battery", "custom/pacman", "custom/weather", "clock", "custom/clipboard", "tray", "custom/poweroff"], + "modules-right": ["network", "pulseaudio", "bluetooth", "custom/gpu", "idle_inhibitor", "cpu", "memory", "disk", "temperature", "battery", "clock", "custom/clipboard", "tray"], // Modules configuration - // "sway/workspaces": { - // "disable-scroll": true, - // "all-outputs": true, - // "format": "{name}: {icon}", - // "format-icons": { - // "1": "", - // "2": "", - // "3": "", - // "4": "", - // "5": "", - // "urgent": "", - // "focused": "", - // "default": "" - // } - // }, + "sway/workspaces": { + "disable-scroll": true, + //"all-outputs": true, + //"format": "{name}", + "format": "[{name}] {icon}", + "format-icons": { + // "1": "", + // "2": "", + // "3": "", + // "4": "", + // "5": "", + // "urgent": "", + "focused": "■", + "default": "□" + } + }, "sway/mode": { "format": "{}" }, @@ -123,8 +127,8 @@ "tooltip-format": "{ifname} via {gwaddr}", "format-linked": "{ifname} (No IP) LNK", "format-disconnected": "Disconnected", //⚠ - "format-alt": "{ifname}: {ipaddr}/{cidr}", - "on-click-right": "alacritty -e iwctl" + // "format-alt": "{ifname}: {ipaddr}/{cidr}", + "on-click-right": "kitty -e iwctl" }, "pulseaudio": { @@ -150,7 +154,7 @@ "disk": { "interval": 30, "format": "[ (/) {used}/{total} ]", - "format-alt": "Free: {}%", + //"format-alt": "Free: {}%", "tooltip-format": "{used} used\n{free} free\n{total} total", "on-click-right": "pcmanfm", "on-click-middle": "kitty -e watch df -h /", @@ -166,7 +170,7 @@ "format" : "[CLIPBOARD]", "tooltip": false, //  󰅇 󱓦 󱉥 󱉦 󱓥 "on-click": "cliphist list | rofi -dmenu | cliphist decode | wl-copy", - "on-click-right": "cliphist list | dmenu | cliphist decode | wl-copy", + // "on-click-right": "cliphist list | dmenu | cliphist decode | wl-copy", "on-click-middle": "cliphist wipe", "signal": 8 }, @@ -180,4 +184,29 @@ "exec-if": "exit 0", "on-click": "swaynag -t warning -m 'Power Options:' -b 'Exit' 'loginctl terminate-session self' -b 'LockScreen' 'swaylock' -b 'Suspend' 'systemctl suspend; swaylock' -b 'Reboot' 'systemctl -i reboot' -b 'Poweroff' 'openrc-shutdown -p now && systemctl shutdown -h now'" } -} +}, +{ + "bar_id": "bar-0", + "ipc": true, + "output": "HDMI-A-1", + "position": "top", + "height": 10, + "spacing": 0, + "modules-left": ["sway/workspaces"], + "modules-right": ["sway/window"], + + "sway/workspaces": { + "disable-scroll": true, + "format": "[{name}] {icon}", + "format-icons": { + // "1": "", + // "2": "", + // "3": "", + // "4": "", + // "5": "", + // "urgent": "", + "focused": "■", + "default": "□" + } + } +}] diff --git a/.config/waybar/style.css b/.config/waybar/style.css index d9aa6f1..d82d7a3 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -44,20 +44,21 @@ nord15 #b48ead color: #FFFFFF; /* #FFFFFF; */ border: 0; border-radius: 0; - padding: 0 0; + padding: 1px 0; font-family: 'UbuntuMono Nerd Font'; font-size: 15px; margin-right: 5px; margin-left: 5px; - padding-bottom:3px; - } + padding-bottom: 2px; + font-weight: bold; +} window#waybar { background:rgba (0, 0, 0, 0.8); } #workspaces button { - padding: 2px 0px; + /* padding: 2px 0px; */ border-bottom: 0px; color: #FFFFFF; border-color: #FFFFFF; @@ -74,7 +75,7 @@ window#waybar { } #clock, #battery, #cpu, #memory, #idle_inhibitor, #temperature, #custom-keyboard-layout, #language, #keyboard-state, #backlight, #bluetooth, #network, #pulseaudio, #mode, #disk, #tray, #window, #custom-menu, #custom-gpu, #custom-clipboard, #custom-uptime, #custom-pacman, #custom-playerctl2, #custom-wf-recorder2, #custom-weather, #custom-weather2, #custom-poweroff { - padding: 0 3px; + padding: 0 4px; border-bottom: 0px; border-style: solid; }