Regenerated

This commit is contained in:
2026-04-13 14:12:16 +02:00
parent cdc2934d2e
commit 4bb25b3945
5 changed files with 541 additions and 425 deletions
+461 -382
View File
File diff suppressed because it is too large Load Diff
+69 -40
View File
@@ -2245,8 +2245,8 @@ $mainMod = SUPER
# Terminal / launcher / kill / reload # Terminal / launcher / kill / reload
bind = $mainMod, E, exec, thunar bind = $mainMod, E, exec, thunar
bind = $mainMod, RETURN, exec, kitty bind = $mainMod, RETURN, exec, kitty
bind = $mainMod, Space, exec, wofi --show drun --style ~/.config/wofi/style.css bind = $mainMod, Space, exec, ~/.config/scripts/wofi-launcher.sh
bind = ALT, Space, exec, wofi --show drun bind = ALT, Space, exec, ~/.config/scripts/wofi-launcher.sh
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, Q, exit, bind = $mainMod SHIFT, Q, exit,
bind = $mainMod SHIFT, R, exec, hyprctl reload bind = $mainMod SHIFT, R, exec, hyprctl reload
@@ -3412,6 +3412,17 @@ echo "📦 Updating Flatpaks..."
flatpak update -y flatpak update -y
#+END_SRC #+END_SRC
** =generated/.config/scripts/wofi-launcher.sh=
Providing an media
#+BEGIN_SRC sh :tangle generated/.config/scripts/wofi-launcher.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
wofi --show drun \
--style ~/.config/wofi/style.css \
--no-actions \
--allow-images=false \
--columns 1 \
--prompt "Apps"
#+END_SRC
** =generated/.config/shared/Colors.css= ** =generated/.config/shared/Colors.css=
A file containing color variables A file containing color variables
#+BEGIN_SRC css :tangle generated/.config/shared/Colors.css :noweb yes :mkdirp yes :eval never #+BEGIN_SRC css :tangle generated/.config/shared/Colors.css :noweb yes :mkdirp yes :eval never
@@ -4041,7 +4052,7 @@ These are config files for waybar
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠",
"tooltip-format-wifi": "{essid} ({signalStrength}%)", "tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"on-click": "networkmanager_dmenu", "on-click": "networkmanager_dmenu -dmenu "wofi -dmenu --style ~/.config/wofi/style.css"",
"on-click-right": "nm-connection-editor" "on-click-right": "nm-connection-editor"
}, },
@@ -4503,94 +4514,112 @@ prompt = > ...
#+END_SRC #+END_SRC
** =generated/.config/wofi/style.css= ** =generated/.config/wofi/style.css=
These are config files for .config/wofi This is the default layout for wofi
#+BEGIN_SRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never #+BEGIN_SRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never
@import url("file:///home/henrov/.config/shared/Colors.css"); @import url("file:///home/henrov/.config/shared/Colors.css");
/* Global styles */ /* --- GLOBAL --- */
* { * {
background-color: transparent; background-color: transparent;
color: @text; color: @text;
font-family: "JetBrainsMono Nerd Font", monospace; font-family: "JetBrainsMono Nerd Font", monospace;
font-size: 12pt; font-size: 12pt;
} }
/* --- DRUN menu (full size) --- */ /* --- MAIN WINDOW (works for BOTH drun + dmenu) --- */
#main { #window, #main, #outer-box {
background:
linear-gradient(@base-alpha, @base-alpha) padding-box, /* Inner fill */
linear-gradient(45deg, @blue, @green) border-box; /* Gradient border */
border: 2px solid transparent; /* required for border-box layering */
border-radius: 30px;
padding: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
width: 800px;
height: 600px;
}
/* --- DMENU menu --- */
#dmenu {
background: background:
linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(@base-alpha, @base-alpha) padding-box,
linear-gradient(45deg, @blue, @green) border-box; linear-gradient(45deg, @blue, @green) border-box;
border: 2px solid transparent; border: 2px solid transparent;
border-radius: 30px; border-radius: 30px;
padding: 10px; /* smaller padding for half-height */ padding: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); box-shadow: 0 0 20px rgba(0,0,0,0.3);
width: 800px; width: 800px;
height: 150px;
} }
/* Input field */ /* --- INNER LAYOUT (force compact like dmenu) --- */
#inner-box {
spacing: 4px;
}
/* --- INPUT FIELD --- */
#input { #input {
background-color: @surface0; background-color: @surface0;
color: @text; color: @text;
border: 1px solid @surface1; border: 1px solid @surface1;
border-radius: 30px; border-radius: 30px;
padding: 5px 10px; padding: 6px 12px;
margin-bottom: 10px; margin-bottom: 8px;
} }
/* Entries */ /* --- ENTRY (default state) --- */
#entry { #entry {
background-color: rgba(200,200,200,0.2); background-color: rgba(200,200,200,0.15);
color: @text; color: @subtext1;
border-radius: 30px; border-radius: 30px;
padding: 5px 10px; padding: 6px 12px;
margin: 2px 0; margin: 2px 0;
border: 2px solid transparent; /* needed for gradient on selection */
transition: all 0.2s ease; border: 2px solid transparent;
transition: all 0.15s ease;
} }
/* Entry focus (hover or typing) */ /* --- HOVER / FOCUS --- */
#entry:focus { #entry:focus {
background: background:
linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(@base-alpha, @base-alpha) padding-box,
linear-gradient(45deg, @blue, @green) border-box; linear-gradient(45deg, @blue, @green) border-box;
color: @lavender; color: @lavender;
border-radius: 30px;
} }
/* Entry selection */ /* --- SELECTED --- */
#entry:selected { #entry:selected {
background: background:
linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(@base-alpha, @base-alpha) padding-box,
linear-gradient(45deg, @blue, @green) border-box; linear-gradient(45deg, @blue, @green) border-box;
color: @text; color: @text;
border-radius: 30px;
} }
/* Scrollbar */ /* --- ICONS (drun only, keep subtle) --- */
#entry image {
margin-right: 10px;
opacity: 0.8;
}
/* --- SCROLLBAR --- */
#scroll {
margin-top: 5px;
}
#scrollbar { #scrollbar {
background-color: @surface0; background-color: @surface0;
border-radius: 30px; border-radius: 30px;
width: 8px; width: 6px;
} }
#scrollbar.handle { #scrollbar handle {
background-color: @blue; background-color: @blue;
border-radius: 30px; border-radius: 30px;
} }
/* --- DMENU SPECIFIC (force same look) --- */
#dmenu {
padding: 0;
}
/* Remove weird spacing differences */
#outer-box > box {
spacing: 4px;
}
/* Optional: hide prompt icon spacing inconsistencies */
#prompt {
margin-right: 6px;
color: @subtext0;
}
#+END_SRC #+END_SRC
@@ -4,8 +4,8 @@ $mainMod = SUPER
# Terminal / launcher / kill / reload # Terminal / launcher / kill / reload
bind = $mainMod, E, exec, thunar bind = $mainMod, E, exec, thunar
bind = $mainMod, RETURN, exec, kitty bind = $mainMod, RETURN, exec, kitty
bind = $mainMod, Space, exec, wofi --show drun --style ~/.config/wofi/style.css bind = $mainMod, Space, exec, ~/.config/scripts/wofi-launcher.sh
bind = ALT, Space, exec, wofi --show drun bind = ALT, Space, exec, ~/.config/scripts/wofi-launcher.sh
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, Q, exit, bind = $mainMod SHIFT, Q, exit,
bind = $mainMod SHIFT, R, exec, hyprctl reload bind = $mainMod SHIFT, R, exec, hyprctl reload
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
wofi --show drun \
--style ~/.config/wofi/style.css \
--no-actions \
--allow-images=false \
--columns 1 \
--prompt "Apps"
+1 -1
View File
@@ -171,7 +171,7 @@
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠",
"tooltip-format-wifi": "{essid} ({signalStrength}%)", "tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"on-click": "networkmanager_dmenu", "on-click": "networkmanager_dmenu -dmenu "wofi -dmenu --style ~/.config/wofi/style.css"",
"on-click-right": "nm-connection-editor" "on-click-right": "nm-connection-editor"
}, },