add helix configs, organize

This commit is contained in:
bullshar-k
2026-10-04 21:28:24 -04:00
parent de686a6507
commit 8822de718c
12 changed files with 67 additions and 0 deletions

235
uiconfig/mango/config.jsonc Normal file
View File

@@ -0,0 +1,235 @@
[
{
"layer": "top",
"position": "top",
"height": 36,
"margin-top": 7,
"margin-left": 446,
"margin-right": 446,
"spacing": 6,
"modules-left": [
"image",
"dwl/tags",
"dwl/window"
],
"modules-center": [
"cpu",
"temperature",
"memory",
"disk",
"network"
],
"modules-right": [
"custom/layout",
"tray",
"custom/notifications",
"battery",
"pulseaudio",
"clock",
"custom/power"
],
"image": {
"exec": "$HOME/.config/waybar/scripts/fedora-logo-themed.sh",
"size": 18,
"interval": "once",
"tooltip": false
},
"dwl/tags": {
"num-tags": 9,
"tag-labels": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"
]
},
"dwl/window": {
"format": "{title}",
"max-length": 50,
"rewrite": {
"(.*) \u2014 Mozilla Firefox": "\uf279 $1",
"(.*) - Chromium": "\uf268 $1",
"(.*) - Visual Studio Code": "\uf121 $1",
"(.*) - zed": "\uf121 $1",
"(.*) - Discord": "\uf392 $1",
"(.*) - Steam": "\uf1b6 $1"
}
},
"cpu": {
"format": "\uf4bc {usage}%",
"interval": 2,
"tooltip": true,
"tooltip-format": "CPU: {usage}%"
},
"temperature": {
"format": "\uf2c9 {temperatureC}\u00b0",
"interval": 2,
"tooltip": true,
"tooltip-format": "CPU Temp: {temperatureC}\u00b0C"
},
"memory": {
"format": "\uefcd {used:0.1f}G",
"interval": 2,
"tooltip": true,
"tooltip-format": "RAM: {used:0.1f}GB / {total:0.1f}GB ({percentage}%)"
},
"disk": {
"format": "\uf07a {used}",
"interval": 30,
"path": "/",
"tooltip": true,
"tooltip-format": "Disk: {used} / {total} ({percentage_used}%)"
},
"network": {
"format-wifi": "\uf07a {bandwidthDownBytes} \uf07a {bandwidthUpBytes}",
"format-ethernet": "\uf07a {bandwidthDownBytes} \uf07a {bandwidthUpBytes}",
"format-disconnected": "\uf1eb Offline",
"interval": 2,
"tooltip": true,
"tooltip-format-wifi": "WiFi: {essid} ({signalStrength}%)\nDown: {bandwidthDownBits}\nUp: {bandwidthUpBits}",
"tooltip-format-ethernet": "Ethernet: {ifname}\nDown: {bandwidthDownBits}\nUp: {bandwidthUpBits}"
},
"custom/layout": {
"exec": "$HOME/.config/mango/bin/layout-switcher.sh",
"interval": 1,
"return-type": "json",
"on-click": "python3 $HOME/.config/mango/bin/layout-picker.py",
"tooltip": true
},
"tray": {
"icon-size": 16,
"spacing": 8,
"show-passive-items": true
},
"custom/notifications": {
"format": "{}",
"exec": "$HOME/.config/waybar/scripts/notifications.sh",
"interval": 2,
"return-type": "json",
"on-click": "makoctl dismiss --all",
"on-click-right": "makoctl restore"
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": [
"\uf244",
"\uf243",
"\uf242",
"\uf241",
"\uf240"
],
"format-charging": "\uf0e7 {capacity}%",
"format-plugged": "\uf1e6 {capacity}%",
"tooltip": true,
"tooltip-format": "{timeTo} {capacity}%"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "\uf2e2 Muted",
"format-icons": {
"default": [
"\uf026",
"\uf027",
"\uf028"
]
},
"on-click": "pavucontrol",
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%",
"tooltip": true,
"tooltip-format": "{desc}"
},
"clock": {
"format": "{:%I:%M %p %a, %b %d}",
"tooltip": true,
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "month",
"weeks-pos": "right",
"on-scroll": 1,
"format": {
"months": "<span color='#d79921'><b>{}</b></span>",
"weekdays": "<span color='#d79921'><b>{}</b></span>",
"today": "<span color='#b8bb26'><b>{}</b></span>"
}
}
},
"custom/power": {
"format": "\uf011",
"tooltip": "Session Menu",
"on-click": "python3 $HOME/.config/waybar/scripts/logout-menu.py"
},
"output": [
"DP-1",
"DP-2"
]
},
{
"output": "HDMI-A-1",
"layer": "top",
"position": "top",
"height": 36,
"margin-top": 7,
"margin-left": 50,
"margin-right": 50,
"spacing": 6,
"modules-left": [
"image#fedora",
"dwl/tags#vertical"
],
"modules-center": [],
"modules-right": [
"clock#vertical",
"custom/power#vertical"
],
"image#fedora": {
"exec": "$HOME/.config/waybar/scripts/fedora-logo-themed.sh",
"size": 18,
"interval": "once",
"tooltip": false
},
"dwl/tags#vertical": {
"num-tags": 9,
"tag-labels": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"
]
},
"clock#vertical": {
"format": "{:%I:%M %p}",
"tooltip": true,
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "month",
"weeks-pos": "right",
"on-scroll": 1,
"format": {
"months": "<span color='#d79921'><b>{}</b></span>",
"weekdays": "<span color='#d79921'><b>{}</b></span>",
"today": "<span color='#b8bb26'><b>{}</b></span>"
}
}
},
"custom/power#vertical": {
"format": "\uf011",
"tooltip": "Session Menu",
"on-click": "python3 $HOME/.config/waybar/scripts/logout-menu.py"
}
}
]

View File

@@ -0,0 +1,67 @@
theme = "catppuccin_frappe"
# ─── Normal mode ────────────────────────────────────────────────────────────
[keys.normal]
# Movement: wasd
w = "move_visual_line_up"
a = "move_char_left"
s = "move_visual_line_down"
d = "move_char_right"
# Word jumps
"S-a" = "move_prev_word_start" # Shift+a: previous word
"S-d" = "move_next_word_start" # Shift+d: next word
# Insert before / after cursor
v = "insert_mode" # insert before cursor
b = "append_mode" # insert after cursor
V = "select_mode" # enter select/extend mode ("v" was repurposed)
# Editing
o = "open_below"
O = "open_above"
x = "extend_line_below" # select current line (repeat to extend down)
J = "join_selections"
">" = "indent"
"<" = "unindent"
C-z = "undo"
C-y = "redo"
C-s = ":w" # Ctrl+s: save file
# Search
"/" = "search"
n = "search_next"
N = "search_prev"
# Cursor stack & deletes (shift layer)
W = "copy_selection_on_prev_line" # Shift+w: add cursor above
S = "copy_selection_on_next_line" # Shift+s: add cursor below
X = ["extend_line_below", "delete_selection"] # Shift+x: delete current line (yanks)
D = "delete_selection" # Shift+d: delete selection
";" = "keep_primary_selection" # collapse multi-cursors to one (primary)
"S-r" = "select_regex"
# ─── Goto mode (g prefix) ───────────────────────────────────────────────────
[keys.normal.g]
g = "goto_file_start" # gg -> start of file; {num}gg -> jump to that line
e = "goto_last_line" # ge -> end of file
h = "goto_line_start" # gh -> start of line
l = "goto_line_end" # gl -> end of line
w = "goto_word" # gw -> word label jump
# ─── View mode (z prefix) ───────────────────────────────────────────────────
[keys.normal.z]
z = "align_view_center" # zz -> center cursor on screen
# ─── Insert mode ────────────────────────────────────────────────────────────
[keys.insert]
# ─── Select / extend mode (entered via V) ───────────────────────────────────
[keys.select]
# wasd movement consistent with normal mode
w = "extend_visual_line_up"
a = "extend_char_left"
s = "extend_visual_line_down"
d = "extend_char_right"
"S-a" = "extend_prev_word_start" # Shift+a: extend to previous word
"S-d" = "extend_next_word_start" # Shift+d: extend to next word

299
uiconfig/mango/style.css Executable file
View File

@@ -0,0 +1,299 @@
/* ─── Noctalia-inspired Waybar stylesheet ─── */
/* GruvboxAlt dark colors, floating bar with 12px radius */
* {
all: initial;
font-family:
"JetBrainsMono Nerd Font", "JetBrains Mono", "Font Awesome 6 Free",
monospace;
font-size: 13px;
font-weight: 500;
}
/* ─── Main Bar ─── */
#waybar {
background-color: rgba(29, 32, 33, 0.85);
color: #ebdbb2;
border-radius: 8px;
padding: 4px 8px;
}
/* ─── Module Sections ─── */
.modules-left,
.modules-center,
.modules-right {
padding: 0 4px;
}
/* ─── Individual Modules ─── */
#image,
#tags,
#window,
#cpu,
#temperature,
#memory,
#disk,
#network,
#tray,
#custom-notifications,
#battery,
#pulseaudio,
#clock,
#custom-layout,
#custom-power,
#custom-power#vertical {
padding: 4px 10px;
margin: 2px 3px;
border-radius: 8px;
background-color: transparent;
}
/* ─── Fedora Logo (Image) ─── */
#image,
#image#fedora {
padding: 4px 8px;
margin: 2px 3px;
border-radius: 8px;
background-color: transparent;
}
/* ─── Workspaces (dwl/tags) ─── */
#tags,
#tags#vertical {
background-color: transparent;
padding: 2px 6px;
}
#tags button,
#tags#vertical button {
padding: 2px 7px;
margin: 0 2px;
color: #665c54;
background-color: transparent;
border-radius: 6px;
transition: all 0.2s ease;
}
/* Occupied workspace */
#tags button.occupied,
#tags#vertical button.occupied {
color: #d79921;
}
/* Empty workspace */
#tags button.empty,
#tags#vertical button.empty {
color: #665c54;
}
/* Focused workspace */
#tags button.focused,
#tags button.active,
#tags#vertical button.focused,
#tags#vertical button.active {
color: #282828;
background-color: #b8bb26;
font-weight: bold;
}
/* Urgent workspace */
#tags button.urgent,
#tags#vertical button.urgent {
color: #cc241d;
background-color: rgba(204, 36, 29, 0.2);
}
/* Hover effect */
#tags button:hover,
#tags#vertical button:hover {
background-color: rgba(184, 187, 38, 0.3);
color: #ebdbb2;
}
#tags button.focused:hover,
#tags button.active:hover,
#tags#vertical button.focused:hover,
#tags#vertical button.active:hover {
background-color: #b8bb26;
color: #282828;
}
#tags button {
padding: 2px 5px;
margin: 0 2px;
color: #665c54;
background-color: transparent;
border-radius: 6px;
transition: all 0.2s ease;
}
/* Occupied workspace */
#tags button.occupied {
color: #d79921;
}
/* Empty workspace */
#tags button.empty {
color: #665c54;
}
/* Focused workspace */
#tags button.focused,
#tags button.active {
color: #282828;
background-color: #b8bb26;
font-weight: bold;
}
/* Urgent workspace */
#tags button.urgent {
color: #cc241d;
background-color: rgba(204, 36, 29, 0.2);
}
/* Hover effect */
#tags button:hover {
background-color: rgba(184, 187, 38, 0.3);
color: #ebdbb2;
}
#tags button.focused:hover,
#tags button.active:hover {
background-color: #b8bb26;
color: #282828;
}
/* ─── Active Window (dwl/window) ─── */
#window {
color: #ebdbb2;
background-color: transparent;
}
/* ─── Center System Stats ─── */
#cpu {
color: #fb4934;
}
#temperature {
color: #fe8019;
}
#temperature.critical {
color: #cc241d;
background-color: rgba(204, 36, 29, 0.2);
}
#memory {
color: #d79921;
}
#disk {
color: #b8bb26;
}
#network {
color: #8ec07c;
}
#network.disconnected {
color: #928374;
}
/* ─── System Tray ─── */
#tray {
background-color: transparent;
padding: 4px 8px;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: rgba(214, 93, 14, 0.3);
}
/* ─── Notifications ─── */
#custom-notifications {
color: #689d6a;
}
#custom-notifications.has-notifications {
color: #fb4934;
}
/* ─── Battery ─── */
#battery {
color: #689d6a;
}
#battery.warning {
color: #d79921;
}
#battery.critical {
color: #cc241d;
}
#battery.charging,
#battery.plugged {
color: #b8bb26;
}
/* ─── Pulseaudio ─── */
#pulseaudio {
color: #83a598;
}
#pulseaudio.muted {
color: #928374;
}
/* ─── Clock ─── */
#clock,
#clock#vertical {
color: #ebdbb2;
background-color: transparent;
font-weight: 600;
}
/* ─── Layout Switcher ─── */
#custom-layout {
color: #8ec07c;
padding: 4px 10px;
margin: 2px 3px;
border-radius: 8px;
background-color: transparent;
}
#custom-layout:hover {
background-color: rgba(142, 192, 124, 0.15);
}
/* ─── Power Button ─── */
#custom-power,
#custom-power#vertical {
color: #fb4934;
background-color: transparent;
font-size: 14px;
padding: 2px 12px;
}
#custom-power:hover,
#custom-power#vertical:hover {
background-color: rgba(251, 73, 52, 0.15);
}
/* ─── Tooltip ─── */
tooltip {
background-color: rgba(29, 32, 33, 0.95);
border: 1px solid rgba(80, 73, 69, 0.8);
border-radius: 8px;
padding: 8px;
}
tooltip label {
color: #ebdbb2;
padding: 4px;
}