diff --git a/custom/wall0.png b/custom/wall0.png new file mode 100644 index 0000000..73bdeef Binary files /dev/null and b/custom/wall0.png differ diff --git a/custom/wall1.png b/custom/wall1.png new file mode 100644 index 0000000..53e4c90 Binary files /dev/null and b/custom/wall1.png differ diff --git a/emacs/init.el b/emacs/init.el index 554d0de..4bfa099 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -41,12 +41,39 @@ (setq company-idle-delay 0.0 ; How long to wait before popup (0 = instant) company-minimum-prefix-length 1)) ; Show list after typing 1 character -(use-package lsp-mode - :ensure t - :init - :hook ((c-mode . lsp) - (c++-mode . lsp)) - :commands lsp) +;(use-package lsp-mode +; :ensure t +; :init +; :hook ( ;(c-mode . lsp) +; (c++-mode . lsp)) + ; :commands lsp) + +(setenv "PATH" (concat "/home/cool/opt/cross/bin:" (getenv "PATH"))) +(add-to-list 'exec-path "/home/cool/opt/cross/bin") + +(setq-default c-basic-offset 8) + +(defun c-style () + (c-set-offset 'defun-open 0) + (c-set-offset 'substatement-open 0) + + (setq c-backslash-column 80) + (setq c-backslash-max-column 80)) + +(add-hook 'c-mode-common-hook 'c-style) + +(setq-default fill-column 80) + +(global-display-fill-column-indicator-mode) + +(defun my-c-backslash-region-80 () + (interactive) + (c-backslash-region (region-beginning) (region-end) 80 nil)) + +(add-hook 'c-mode-hook + (lambda () + (local-set-key (kbd "C-c \\") 'my-c-backslash-region-80))) + (custom-set-variables ;; custom-set-variables was added by Custom. @@ -54,8 +81,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(company gruber-darker-theme lsp-mode lsp-ui magit multiple-cursors - rust-mode))) + '(company gruber-darker-theme lsp-mode magit multiple-cursors))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf new file mode 100644 index 0000000..ab6a4cd --- /dev/null +++ b/hypr/hyprland.conf @@ -0,0 +1,354 @@ +# This is an example Hyprland config file. +# Refer to the wiki for more information. +# https://wiki.hypr.land/Configuring/ + +# Please note not all available settings / options are set here. +# For a full list, see the wiki + +# You can split this configuration into multiple files +# Create your files separately and then link them to this file like this: +# source = ~/.config/hypr/myColors.conf + + +################ +### MONITORS ### +################ + +# See https://wiki.hypr.land/Configuring/Monitors/ +monitor=,preferred,auto,1 + +################### +### MY PROGRAMS ### +################### + +# See https://wiki.hypr.land/Configuring/Keywords/ + +# Set programs that you use +$terminal = alacritty +$fileManager = nemo +$menu = wofi + +################# +### AUTOSTART ### +################# + +# Autostart necessary processes (like notifications daemons, status bars, etc.) +# Or execute your favorite apps at launch like this: + +# exec-once = $terminal +# exec-once = nm-applet & +# exec-once = waybar & hyprpaper & firefox +exec-once = hyprpaper +exec-once = waybar & sway-nc +exec-once = opensnitch-ui +exec-once = wl-paste --type text --watch cliphist store + +############################# +### ENVIRONMENT VARIABLES ### +############################# + +# See https://wiki.hypr.land/Configuring/Environment-variables/ + +env = XCURSOR_SIZE,24 +env = HYPRCURSOR_SIZE,24 + + +################### +### PERMISSIONS ### +################### + +# See https://wiki.hypr.land/Configuring/Permissions/ +# Please note permission changes here require a Hyprland restart and are not applied on-the-fly +# for security reasons + +# ecosystem { +# enforce_permissions = 1 +# } + +# permission = /usr/(bin|local/bin)/grim, screencopy, allow +# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow +# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow + + +##################### +### LOOK AND FEEL ### +##################### + +# Refer to https://wiki.hypr.land/Configuring/Variables/ + +# https://wiki.hypr.land/Configuring/Variables/#general +general { + gaps_in = 5 + gaps_out = 10 + + border_size = 1 + + # https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = false + + # Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on + allow_tearing = false + + layout = dwindle +} + +# https://wiki.hypr.land/Configuring/Variables/#decoration +decoration { + rounding = 10 + rounding_power = 2 + + # Change transparency of focused and unfocused windows + active_opacity = 1.0 + inactive_opacity = 1.0 + + shadow { + enabled = true + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } + + # https://wiki.hypr.land/Configuring/Variables/#blur + blur { + enabled = true + size = 3 + passes = 1 + + vibrancy = 0.1696 + } +} + +# https://wiki.hypr.land/Configuring/Variables/#animations +animations { + enabled = yes + + animation = windowsMove, 0, 1, default + + # Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves + # NAME, X0, Y0, X1, Y1 + bezier = easeOutQuint, 0.23, 1, 0.32, 1 + bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1 + bezier = linear, 0, 0, 1, 1 + bezier = almostLinear, 0.5, 0.5, 0.75, 1 + bezier = quick, 0.15, 0, 0.1, 1 + + # Default animations, see https://wiki.hypr.land/Configuring/Animations/ + # NAME, ONOFF, SPEED, CURVE, [STYLE] + animation = global, 1, 10, default + animation = border, 1, 5.39, easeOutQuint + animation = windows, 1, 4.79, easeOutQuint + animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% + animation = windowsOut, 1, 1.49, linear, popin 87% + animation = fadeIn, 1, 1.73, almostLinear + animation = fadeOut, 1, 1.46, almostLinear + animation = fade, 1, 3.03, quick + animation = layers, 1, 3.81, easeOutQuint + animation = layersIn, 1, 4, easeOutQuint, fade + animation = layersOut, 1, 1.5, linear, fade + animation = fadeLayersIn, 1, 1.79, almostLinear + animation = fadeLayersOut, 1, 1.39, almostLinear + animation = workspaces, 1, 1.94, almostLinear, fade + animation = workspacesIn, 1, 1.21, almostLinear, fade + animation = workspacesOut, 1, 1.94, almostLinear, fade + animation = zoomFactor, 1, 7, quick +} + +# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/ +# "Smart gaps" / "No gaps when only" +# uncomment all if you wish to use that. +# workspace = w[tv1], gapsout:0, gapsin:0 +# workspace = f[1], gapsout:0, gapsin:0 +# windowrule { +# name = no-gaps-wtv1 +# match:float = false +# match:workspace = w[tv1] +# +# border_size = 0 +# rounding = 0 +# } +# +# windowrule { +# name = no-gaps-f1 +# match:float = false +# match:workspace = f[1] +# +# border_size = 0 +# rounding = 0 +# } + +# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more +dwindle { + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # You probably want this +} + +# See https://wiki.hypr.land/Configuring/Master-Layout/ for more +master { + new_status = master +} + +# https://wiki.hypr.land/Configuring/Variables/#misc +misc { + force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( +} + + +############# +### INPUT ### +############# + +# https://wiki.hypr.land/Configuring/Variables/#input +input { + kb_layout = tr + kb_variant = + kb_model = + kb_options = + kb_rules = + + follow_mouse = 1 + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + + touchpad { + natural_scroll = false + } +} + +# See https://wiki.hypr.land/Configuring/Gestures +gesture = 3, horizontal, workspace + +# Example per-device config +# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more +device { + name = epic-mouse-v1 + sensitivity = -0.5 +} + + +################### +### KEYBINDINGS ### +################### + +# See https://wiki.hypr.land/Configuring/Keywords/ +$mainMod = SUPER # Sets "Windows" key as main modifier + +# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more +bind = $mainMod, return, exec, $terminal +bind = $mainMod, C, killactive, +bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit +bind = $mainMod, E, exec, $fileManager +bind = $mainMod, V, togglefloating +bind = $mainMod, D, exec, $menu --show drun +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, T, togglesplit, # dwindle +bind = , Print, exec, grim -g "$(slurp)" - | swappy -f - +bind = $mainMod CTRL, L, exec, hyprlock +bind = $mainMod SHIFT, F, fullscreen +bind = $mainMod, F, fullscreen, 1 +bind = $mainMod, X, exec, cliphist list | wofi --dmenu | cliphist decode + +# Move focus with mainMod + arrow keys +bind = $mainMod, h, movefocus, l +bind = $mainMod, l, movefocus, r +bind = $mainMod, k, movefocus, u +bind = $mainMod, j, movefocus, d + +bind = $mainMod SHIFT, h, movewindow, l +bind = $mainMod SHIFT, l, movewindow, r +bind = $mainMod SHIFT, k, movewindow, u +bind = $mainMod SHIFT, j, movewindow, d + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# Example special workspace (scratchpad) +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# Laptop multimedia keys for volume and LCD brightness +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- + +# Requires playerctl +bindl = , XF86AudioNext, exec, playerctl next +bindl = , XF86AudioPause, exec, playerctl play-pause +bindl = , XF86AudioPlay, exec, playerctl play-pause +bindl = , XF86AudioPrev, exec, playerctl previous + +############################## +### WINDOWS AND WORKSPACES ### +############################## + +# See https://wiki.hypr.land/Configuring/Window-Rules/ for more +# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules + +# Example windowrules that are useful + +windowrule { + # Ignore maximize requests from all apps. You'll probably like this. + name = suppress-maximize-events + match:class = .* + + suppress_event = maximize +} + +windowrule { + # Fix some dragging issues with XWayland + name = fix-xwayland-drags + match:class = ^$ + match:title = ^$ + match:xwayland = true + match:float = true + match:fullscreen = false + match:pin = false + + no_focus = true +} + +# Hyprland-run windowrule +windowrule { + name = move-hyprland-run + + match:class = hyprland-run + + move = 20 monitor_h-120 + float = yes +} diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf new file mode 100644 index 0000000..8c5be9b --- /dev/null +++ b/hypr/hyprlock.conf @@ -0,0 +1,69 @@ +# sample hyprlock.conf +# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock +# +# rendered text in all widgets supports pango markup (e.g. or tags) +# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks +# +# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace +# +# you can get started by copying this config to ~/.config/hypr/hyprlock.conf +# + +$font = Monospace + +general { + hide_cursor = true +} + +# uncomment to enable fingerprint authentication +# auth { +# fingerprint { +# enabled = true +# ready_message = Scan fingerprint to unlock +# present_message = Scanning... +# retry_delay = 250 # in milliseconds +# } +# } + +animations { + enabled = true + bezier = linear, 1, 1, 0, 0 + animation = fadeIn, 1, 5, linear + animation = fadeOut, 1, 5, linear + animation = inputFieldDots, 1, 2, linear +} + +background { + monitor = +} + +input-field { + monitor = + size = 10%, 5% + outline_thickness = 3 + inner_color = rgba(0, 0, 0, 0.0) # no fill + + outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg + check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg + fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg + + font_color = rgb(143, 143, 143) + fade_on_empty = false + rounding = 15 + + font_family = $font + placeholder_text = Password... + fail_text = $PAMFAIL + + # uncomment to use a letter instead of a dot to indicate the typed password + # dots_text_format = * + # dots_size = 0.4 + dots_spacing = 0.3 + + # uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator) + # hide_input = true + + position = 0, -20 + halign = center + valign = center +} diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf new file mode 100644 index 0000000..bc2fb5b --- /dev/null +++ b/hypr/hyprpaper.conf @@ -0,0 +1,5 @@ +wallpaper { + monitor = + path = ~/.config/custom/sunset.png + fit_mode = cover +} diff --git a/sway/config b/sway/config index df551c1..aafe260 100644 --- a/sway/config +++ b/sway/config @@ -259,3 +259,5 @@ bar { } include /etc/sway/config.d/* + +exec opensnitch-ui diff --git a/waybar/config b/waybar/config new file mode 100644 index 0000000..b7c3af2 --- /dev/null +++ b/waybar/config @@ -0,0 +1,145 @@ +{ + "layer": "top", + "position": "top", + "margin-bottom": -10, + "spacing" : 0, + "modules-left": [ + "hyprland/workspaces", + "custom/uptime", + "cpu" + ], + + "modules-center": ["clock"], + + "modules-right": [ + "custom/pomodoro", + "bluetooth", + "network", + "pulseaudio", + "backlight", + "battery", + "tray", + ], + + "hyprland/workspaces": { + "format": "{name}: {icon}", + "format-icons": { + "active": "", + "default": "" + } + }, + + "bluetooth": { + "format": "󰂲", + "format-on": "{icon}", + "format-off": "{icon}", + "format-connected":"{icon}", + "format-icons":{ + "on":"󰂯", + "off": "󰂲", + "connected": "󰂱", + }, + "on-click": "blueman-manager", + "tooltip-format-connected":"{device_enumerate}" + }, + + "custom/music": { + "format": " {}", + "escape": true, + "interval": 5, + "tooltip": false, + "exec": "playerctl metadata --format='{{ artist }} - {{ title }}'", + "on-click": "playerctl play-pause", + "max-length": 50 + }, + + "clock": { + "timezone": "Europe/Amsterdam", + "tooltip": false, + "format": "{:%H:%M:%S - %A, %d}", + "interval": 1, + }, + + "network": { + "format-wifi": "󰤢", + "format-ethernet": "󰈀 ", + "format-disconnected": "󰤠 ", + "interval": 5, + "tooltip-format": "{essid} ({signalStrength}%)", + "on-click": "nm-connection-editor" + + }, + + "cpu": { + "interval": 1, + "format": " {icon0}{icon1}{icon2}{icon3} {usage:>2}%", + "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], + "on-click": "alacritty -e htop" + }, + + "memory": { + "interval": 30, + "format": " {used:0.1f}G/{total:0.1f}G", + "tooltip-format": "Memory" + }, + + "custom/uptime": { + "format": "{}", + "format-icon": [""], + "tooltip": false, + "interval": 1600, + "exec": "$HOME/.config/waybar/scripts/uptime.sh" + }, + + "backlight": { + "format": "{icon} {percent}%", + "format-icons": ["","󰃜", "󰃛", "󰃞","󰃝","󰃟","󰃠"], + "tooltip": false + }, + + "pulseaudio": { + "format": "{icon} {volume}%", + "format-muted": "", + "format-icons": { + "default": ["", "", " "] + }, + "on-click": "pavucontrol" + }, + + "battery": { + "interval":2, + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-full": "{icon} {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-alt": "{icon} {time}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + + "custom/lock": { + "tooltip": false, + "on-click": "sh -c '(sleep 0s; hyprlock)' & disown", + "format" : "" + }, + + "custom/pomodoro": { + "format": "{}", + "return-type": "json", + "exec": "/home/cool/Projects/Pomodoro/pomodoro", + "on-click": "/home/cool/Projects/Pomodoro/pomodoro toggle", + "on-click-right": "/home/cool/Projects/Pomodoro/pomodoro reset", + }, + "tray": { + "icon-size": 21, + "spacing": 10 +}, + +} + diff --git a/waybar/scripts/uptime.sh b/waybar/scripts/uptime.sh new file mode 100755 index 0000000..fff00d9 --- /dev/null +++ b/waybar/scripts/uptime.sh @@ -0,0 +1,6 @@ +#!/bin/bash +UPTIME_PRETTY=$(uptime -p) + +UPTIME_FORMATTED=$(echo "$UPTIME_PRETTY"| sed 's/^up //;s/,*$//;s/minute/m/; s/hour/h/; s/day/d/; s/s//g') + +echo " $UPTIME_FORMATTED" diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..caa4a0f --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,226 @@ +/* --- Global Styles --- */ +* { + font-family: 'SF Pro Text', 'Inter', 'Segoe UI, NotoSans Nerd Font', sans-serif; + font-size: 13px; + min-height: 0; + padding-right: 0px; + padding-left: 0px; + padding-bottom: 0px; +} + +/* --- Waybar Container --- */ +#waybar { + background: transparent; + color: #c6d0f5; + margin: 0px; + font-weight: 500; +} + +/* --- Left Modules (Individual, Fully Rounded Blocks - With Horizontal Spacing & Simple Hover) --- */ +#workspaces, +#custom-uptime, +#cpu { + background-color: #1a1b26; + padding: 0.3rem 0.7rem; + margin: 5px 0px; /* 5px top/bottom margin, 0px left/right (base for individual control) */ + border-radius: 6px; /* These modules are always rounded */ + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + min-width: 0; + border: none; + /* Transition for background-color and color only */ + transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; +} + +#workspaces { + padding: 2px; + margin-left: 7px; /* Margin from the far left edge */ + margin-right: 5px; /* Spacing after the workspaces module */ +} + +#custom-uptime { + margin-right: 5px; /* Spacing after the uptime module */ +} + +/* Simple Hover effects for individual left modules - BRIGHTER COLOR */ +#custom-uptime:hover, +#cpu:hover { + background-color: rgb(41, 42, 53); /* Brighter highlight */ +} + +#workspaces button { + color: #babbf1; + border-radius: 5px; /* Workspaces buttons are always rounded */ + padding: 0.3rem 0.6rem; + background: transparent; + transition: all 0.2s ease-in-out; + border: none; + outline: none; +} + +#workspaces button.active { + color: #99d1db; + background-color: rgba(153, 209, 219, 0.1); + box-shadow: inset 0 0 0 1px rgba(153, 209, 219, 0.2); +} + +#workspaces button:hover { + background: rgb(41, 42, 53); /* Reference bright hover color */ + color: #c6d0f5; +} + +/* --- Center Module (Individual, Fully Rounded Block - With Simple Hover) --- */ +#clock { + background-color: #1a1b26; + padding: 0.3rem 0.7rem; + margin: 5px 0px; + border-radius: 6px; /* This module is always rounded */ + box-shadow: 0 1px 3px rgba(153, 209, 219, 0.2); + min-width: 0; + border: none; + transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; +} + +/* Simple Hover effect for clock module - BRIGHTER COLOR */ +#clock:hover { + background-color: rgba(153, 209, 219, 0.1); /* Brighter highlight */ +} + +#custom-pomodoro { + background-color: #1a1b26; /* Consistent dark background */ + padding: 0.3rem 0.7rem; /* Consistent padding with other modules (e.g., cpu, uptime) */ + margin: 5px 0px; /* 5px top/bottom margin, 0px left/right (base for individual control) */ + border-radius: 6px; /* Consistent rounded corners with other individual modules */ + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Consistent shadow */ + min-width: 0; + border: none; + outline: none; /* Ensure no default outline */ + /* Transition for background-color, color, outline, and box-shadow for smooth effect */ + transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, outline 0.2s ease-in-out, box-shadow 0.2s ease-in-out; + color: #babbf1; /* A calm color, consistent with custom-uptime */ + font-weight: 600; /* Slightly bolder for the timer, consistent with clock */ +} + +/* Positioning and spacing for the custom-pomodoro module */ +#custom-pomodoro { + margin-left: 5px; /* Spacing from the previous module (e.g., clock) */ + margin-right: 5px; /* Spacing before the seamless right bar starts (e.g., bluetooth) */ +} + +/* Hover effect for the new pomodoro module (consistent with others + rectangular outline) */ +#custom-pomodoro:hover { + background-color: rgb(41, 42, 53); /* Brighter highlight, consistent with other individual modules */ + color: #c6d0f5; /* Text color change on hover, consistent with other individual modules */ + outline: 1px solid rgba(255, 255, 255, 0.1); /* Rectangular outline on hover */ + outline-offset: -1px; +} + +/* --- Highlighted state for Pomodoro module when running (work or break) --- */ +#custom-pomodoro.work, +#custom-pomodoro.break { + color: #99d1db; /* Text color consistent with active workspaces button */ + background-color: rgba(153, 209, 219, 0.1); /* Background color consistent with active workspaces button */ + box-shadow: inset 0 0 0 1px rgba(153, 209, 219, 0.2); /* Inner shadow for outline effect */ + outline: none; +} + +/* --- Right Modules (Single, Seamless Bar ) --- */ +#bluetooth, +#pulseaudio, +#backlight, +#network, +#custom-lock, +#battery { + background-color: #1a1b26; + padding: 0.3rem 0.7rem; + margin: 5px 0px; + border-radius: 0; + box-shadow: none; + min-width: 0; + border: none; + transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; +} + +#bluetooth:hover, +#pulseaudio:hover, +#backlight:hover, +#network:hover, +#custom-lock:hover, +#battery:hover { + background-color: rgb(41, 42, 53); +} + +#bluetooth { + margin-left: 0px; + border-top-left-radius: 6px; + border-bottom-left-radius: 6px; +} + +#battery { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; + margin-right: 7px; +} + +#custom-uptime { + color: #babbf1; +} +#cpu { + color: #c6d0f5; +} + +#clock { + color: #99d1db; + font-weight: 500; +} + +#pulseaudio { + color: #c6d0f5; +} +#backlight { + color: #c6d0f5; +} + +#network { + color: #c6d0f5; +} + +#network.disconnected { + color: #e78284; +} + +#custom-lock { + color: #babbf1; +} +#bluetooth { + color: #888888; + font-size: 16px; +} +#bluetooth.on { + color: #2196f3; +} +#bluetooth.connected { + color: #99d1db; +} +#battery { + color: #99d1db;; +} +#battery.charging { + color: #a6d189; +} +#battery.warning:not(.charging) { + color: #e78284; +} + +/* --- Tooltip Styles --- */ +tooltip { + background-color: #1a1b26; + color: #dddddd; + padding: 5px 12px; + margin: 5px 0px; + border-radius: 6px; + border: 1px solid rgba(255, 255, 255, 0.1); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); + font-size: 12px; +} + +