From 282ade077b67cc3dedc09c1158ff7e747a4cf4f1 Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 1 May 2026 23:26:25 +0100 Subject: [PATCH] changed .gitignore --- .gitignore | 10 -- dotfiles/.config/waybar/bitwarden.svg | 1 + dotfiles/.config/waybar/config | 139 ++++++++++++++++++++++++++ dotfiles/.config/waybar/style.css | 129 ++++++++++++++++++++++++ 4 files changed, 269 insertions(+), 10 deletions(-) create mode 100644 dotfiles/.config/waybar/bitwarden.svg create mode 100644 dotfiles/.config/waybar/config create mode 100644 dotfiles/.config/waybar/style.css diff --git a/.gitignore b/.gitignore index e97e5c9..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +0,0 @@ -# Ignore everything in repository root -/* - -# Files to not ignore -!/.gitignore -!/some_other_files -!/README.md - -# Folder to not ignore -!/waybar/ \ No newline at end of file diff --git a/dotfiles/.config/waybar/bitwarden.svg b/dotfiles/.config/waybar/bitwarden.svg new file mode 100644 index 0000000..4c59526 --- /dev/null +++ b/dotfiles/.config/waybar/bitwarden.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config new file mode 100644 index 0000000..b0ea6f7 --- /dev/null +++ b/dotfiles/.config/waybar/config @@ -0,0 +1,139 @@ +{ + "modules-left": ["battery", "clock#date", "clock", "custom/launcher"], + "modules-center": ["hyprland/workspaces"], + "modules-right": ["network", "bluetooth", "pulseaudio", "custom/power"], + + "sway/mode": { + "format": "{}" + }, + "network": { + "format-wifi": "{icon} {essid} ({signalStrength}%)", + "format-ethernet": "Ethernet", + "format-disconnected": "󰅛 Not Connected", + "tooltip-format": "{ipaddr} via {gwaddr}", + "tooltip-format-disconnected": "Disconnected", + "max-length": 50, + "on-click": "orbit toggle top-right", + "on-click-right": "kitty -e nmtui", + "format-icons": { + "wifi": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"], + "ethernet": "", + "disconnected": "󰅛" + } + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "tray": { + "icon-size": 15, + "spacing": 10 + }, + "clock": { + "format": " {:%H:%M}" + }, + "clock#date": { + "format": " {:%A, %B %d, %Y}", + "tooltip-format": "{calendar}", + "calendar": { + "mode" : "year", + "mode-mon-col" : 2, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "months": "{}", + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + }, + "actions": { + "on-click-right": "mode" + } + }, + "pulseaudio": { + "format": "{icon} {volume}% {format_source}", + "format-muted": " {format_source}", + "format-bluetooth": "{icon} {volume}% {format_source}", + "format-bluetooth-muted": " {format_source}", + "format-source": " {volume}%", + "format-source-muted": " {volume}%", + "format-icons": { + "default": [ + "", + "", + ""] + }, + "on-click": "pavucontrol" + }, + "bluetooth": { + "format-on": " On", + "format-off": "󰂲 Off", + "format-disabled": "󰂲 Off", + "format-connected": "󰂱 {device_alias}", + "format-connected-battery": "󰂱 {device_alias} 󰥈 {device_battery_percentage}%", + "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", + "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", + "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", + "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%", + "on-click": "blueman-manager", + "on-click-right": "rfkill toggle bluetooth" + }, + "custom/power": { + "format": " ", + "on-click": "~/.config/rofi/powermenu/type-2/powermenu.sh" + }, + "custom/scratchpad-indicator": { + "format-text": "{}hi", + "return-type": "json", + "interval": 3, + "exec": "~/.local/bin/scratchpad-indicator 2> /dev/null", + "exec-if": "exit 0", + "on-click": "swaymsg 'scratchpad show'", + "on-click-right": "swaymsg 'move scratchpad'" + }, + "custom/launcher": { + "format":" ", + "tooltip-format": "Click To Launch Bitwarden", + "on-click": "exec bitwarden-desktop" + }, + "battery": { + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-charging": "{icon} {capacity}%", + "format-plugged": "{icon} {capacity}%", + "format-alt": "{time} {icon}", + "format-full": "󰁹 {capacity}%", + "format-icons": { + "default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂"], + "charging": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋"], + "plugged": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋"] + } + }, + "hyprland/workspaces": { + "format": "{icon}", + "on-click": "activate", + "format-icons": { + "1": "", + "2": "", + "3": "", + "4": "", + "urgent": "", + "active": "", + "default": "" + }, + "persistent-workspaces": { + "1": [], + "2": [], + "3": [] + }, + "sort-by-number": true + } +} diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css new file mode 100644 index 0000000..b88192e --- /dev/null +++ b/dotfiles/.config/waybar/style.css @@ -0,0 +1,129 @@ +* { + border: none; + font-family: Font Awesome, Roboto, Arial, sans-serif; + font-size: 13px; + color: #ffffff; + border-radius: 20px; +} + +window#waybar { + background: rgba(0, 0, 0, 0); +} +/*-----module groups----*/ +.modules-right { + margin: 2px 10px 0 0; +} +.modules-center { + margin: 2px 0 0 0; +} +.modules-left { + margin: 2px 0 0 5px; +} +/*-----modules indv----*/ +#workspaces button { + padding: 1px 5px; + background-color: transparent; +} +#workspaces button:hover { + box-shadow: inherit; + background-color: rgba(0,153,153,1); +} + +#workspaces button.focused { + background-color: rgba(0,43,51,0.85); +} + +#clock { + padding: 5px 15px; + background-color: rgba(0,43,51,0.85); + border-radius: 20px; + margin: 5px 3px; +} +#battery, +#cpu, +#memory, +#temperature, +#network { + padding: 5px 15px; + background-color: rgba(0,43,51,0.85); + border-radius: 20px; + margin: 5px 3px; +} +#pulseaudio { + padding: 5px 10px 5px 15px; + background-color: rgba(0,43,51,0.85); + border-radius: 20px; + margin: 5px 3px; +} +#bluetooth { + padding: 5px 15px 5px 15px; + background-color: rgba(0,43,51,0.85); + border-radius: 20px; + margin: 5px 3px; +} +#custom-media, +#custom-launcher{ + font-size: 16px; + background-image: url('./bitwarden.svg'); + background-position: center; + background-color: rgba(0,43,51,0.85); + background-repeat: no-repeat; + background-size: 18px 18px; + padding: 5px 8px; + margin: 5px 3px; + min-width: 20px; + min-height: 20px; +} +#tray, +#mode, +#custom-power, +#custom-menu, +#idle_inhibitor { + padding: 5px 15px; + background-color: rgba(0,43,51,0.85); + border-radius: 20px; + margin: 5px 3px; +} +#mode { + color: #cc3436; + font-weight: bold; +} +#custom-power { + background-color: rgba(255, 0, 0, 0.993); + border-radius: 100px; + margin: 6px 4px 5px 3px; + padding: 5px; + padding-left: 10px; +} +/*-----Indicators----*/ +#idle_inhibitor.activated { + color: #2dcc36; +} +#pulseaudio.muted { + color: #cc3436; +} +#battery.charging { + color: #2dcc36; +} +#battery.warning:not(.charging) { + color: #e6e600; +} +#battery.critical:not(.charging) { + color: #cc3436; +} +#temperature.critical { + color: #cc3436; +} +#workspaces { + padding: 5px 13px 5px 10px; + background-color: rgba(0,43,51,0.85); + border-radius: 20px; + margin: 5px 3px; +} +/*-----Colors----*/ +/* + *rgba(0,85,102,1),#005566 --> Indigo(dye) + *rgba(0,43,51,1),#002B33 --> Dark Green + *rgba(0,153,153,1),#009999 --> Persian Green + * + */