Regenerated
This commit is contained in:
+324
-325
File diff suppressed because it is too large
Load Diff
@@ -891,7 +891,6 @@ in
|
|||||||
".config/hypr/layer-rules.conf" = { source = "${assetPath}/layer-rules.conf"; force = true; };
|
".config/hypr/layer-rules.conf" = { source = "${assetPath}/layer-rules.conf"; force = true; };
|
||||||
".config/hypr/layout.conf" = { source = "${assetPath}/layout.conf"; force = true; };
|
".config/hypr/layout.conf" = { source = "${assetPath}/layout.conf"; force = true; };
|
||||||
".config/hypr/monitor-rules.conf" = { source = "${assetPath}/monitor-rules.conf"; force = true; };
|
".config/hypr/monitor-rules.conf" = { source = "${assetPath}/monitor-rules.conf"; force = true; };
|
||||||
".config/scripts/layout-selector.sh" = { source = "${assetPath}/scripts/layout-selector.sh"; executable = true; force = true; };
|
|
||||||
".config/hypr/theming.css" = { source = "${assetPath}/theming.css"; force = true; };
|
".config/hypr/theming.css" = { source = "${assetPath}/theming.css"; force = true; };
|
||||||
".config/hypr/window-rules.conf" = { source = "${assetPath}/window-rules.conf"; force = true; };
|
".config/hypr/window-rules.conf" = { source = "${assetPath}/window-rules.conf"; force = true; };
|
||||||
".config/hypr/workspace-rules.conf" = { source = "${assetPath}/workspace-rules.conf"; force = true; };
|
".config/hypr/workspace-rules.conf" = { source = "${assetPath}/workspace-rules.conf"; force = true; };
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# layout-selector.sh
|
|
||||||
# Select a workspace layout using Wofi, shows description, applies with layoutmsg
|
|
||||||
|
|
||||||
# Define layouts and descriptions
|
|
||||||
declare -A LAYOUTS=(
|
|
||||||
[dwindle]="舘 Dwindle: Auto-tiling, windows shrink progressively"
|
|
||||||
[master]=" Master: One main window, others stacked"
|
|
||||||
[scrolling]=" Scrolling: Vertical list, scroll through windows"
|
|
||||||
[monocle]=" Monocle: One window fills the screen"
|
|
||||||
[floating]=" Floating: Free move & resize"
|
|
||||||
)
|
|
||||||
ORDER=(dwindle master scrolling monocle floating)
|
|
||||||
|
|
||||||
# Prepare Wofi menu: show "layoutname: description"
|
|
||||||
MENU_ITEMS=()
|
|
||||||
for key in "${ORDER[@]}"; do
|
|
||||||
MENU_ITEMS+=("$key: ${LAYOUTS[$key]}")
|
|
||||||
done
|
|
||||||
|
|
||||||
# Show selection menu via Wofi
|
|
||||||
CHOICE=$(printf '%s\n' "${MENU_ITEMS[@]}" | wofi --dmenu --prompt "Select Layout")
|
|
||||||
|
|
||||||
# Exit if cancelled
|
|
||||||
[ -z "$CHOICE" ] && exit 0
|
|
||||||
|
|
||||||
# Extract layout name from selection (before colon)
|
|
||||||
LAYOUT_NAME="${CHOICE%%:*}"
|
|
||||||
|
|
||||||
# Apply layout via layoutmsg
|
|
||||||
hyprctl dispatch layoutmsg setlayout "$LAYOUT_NAME"
|
|
||||||
|
|
||||||
# Show OSD feedback
|
|
||||||
hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
bt_connected=""
|
|
||||||
while read -r _ mac name_rest; do
|
|
||||||
if [ "$(bluetoothctl info "$mac" | awk '/Connected:/ {print $2}')" = "yes" ]; then
|
|
||||||
bt_connected+="$name_rest\n"
|
|
||||||
fi
|
|
||||||
done < <(bluetoothctl devices)
|
|
||||||
# icon
|
|
||||||
if [ -n "$bt_connected" ]; then
|
|
||||||
icon=""
|
|
||||||
tooltip=$(printf "%b" "$bt_connected")
|
|
||||||
else
|
|
||||||
icon=""
|
|
||||||
tooltip="No devices connected"
|
|
||||||
fi
|
|
||||||
# ALWAYS produce valid JSON
|
|
||||||
printf '{"text": "%s", "tooltip": "%s"}\n' "$icon" "$tooltip"
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Get focused monitor name
|
|
||||||
focused_monitor=$(hyprctl monitors -j | jq -r '.[] | select(.focused==true) | .name')
|
|
||||||
monitor="${WAYBAR_OUTPUT_NAME:-$focused_monitor}"
|
|
||||||
|
|
||||||
# Hide if not focused monitor
|
|
||||||
if [ "$monitor" != "$focused_monitor" ]; then
|
|
||||||
jq -c -n '{text:"", class:"hidden"}'
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Get active workspace on this monitor
|
|
||||||
active_ws=$(hyprctl monitors -j | jq -r \
|
|
||||||
".[] | select(.name==\"$monitor\") | .activeWorkspace.id")
|
|
||||||
|
|
||||||
# Get clients
|
|
||||||
clients=$(hyprctl clients -j | jq -r \
|
|
||||||
".[] | select(.workspace.id==$active_ws) | \"\(.title)\"")
|
|
||||||
|
|
||||||
count=$(echo "$clients" | grep -c '\S')
|
|
||||||
|
|
||||||
# Hide if 0 or 1 clients — no point showing window switcher
|
|
||||||
if [ "$count" -le 1 ]; then
|
|
||||||
jq -c -n '{text:"", class:"hidden"}'
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
tooltip=$(echo "$clients" | sed 's/^/• /' | paste -sd '\n' -)
|
|
||||||
|
|
||||||
jq -c -n \
|
|
||||||
--arg text "$count" \
|
|
||||||
--arg tooltip "$tooltip" \
|
|
||||||
--arg class "active" \
|
|
||||||
'{text:$text, tooltip:$tooltip, class:$class}'
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
|
|
||||||
clients=$(hyprctl clients -j | jq -r \
|
|
||||||
".[] | select(.workspace.id==$active_ws) | \"\(.address)|\(.title)\"")
|
|
||||||
choice=$(echo "$clients" | cut -d'|' -f2 | wofi -dmenu -j -p "Active apps" --style ~/.config/wofi/style.css)
|
|
||||||
[ -z "$choice" ] && exit 0
|
|
||||||
addr=$(echo "$clients" | grep "|$choice" | head -n1 | cut -d'|' -f1)
|
|
||||||
hyprctl dispatch focuswindow address:$addr
|
|
||||||
@@ -1,184 +0,0 @@
|
|||||||
@import url("file:///home/henrov/.config/shared/colors.css");
|
|
||||||
|
|
||||||
/* --- Global --- */
|
|
||||||
* {
|
|
||||||
font-family:
|
|
||||||
Aporetic Sans Mono,
|
|
||||||
Iosevka Nerd Font,
|
|
||||||
Roboto,
|
|
||||||
Helvetica,
|
|
||||||
Arial,
|
|
||||||
sans-serif;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
background-color: transparent;
|
|
||||||
color: @text;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --------------------------------------------------------- */
|
|
||||||
|
|
||||||
/* --- Group anchors default visible --- */
|
|
||||||
#custom-hardware-anchor,
|
|
||||||
#custom-connections-anchor {
|
|
||||||
min-width: 80px;
|
|
||||||
padding: 0 5px;
|
|
||||||
margin: 0 2px;
|
|
||||||
opacity: 1;
|
|
||||||
transition: opacity 0.2s ease, min-width 0.2s ease, padding 0.2s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --- Hide anchors on hover of the group --- */
|
|
||||||
#hardware:hover #custom-hardware-anchor,
|
|
||||||
#connections:hover #custom-connections-anchor {
|
|
||||||
opacity: 0;
|
|
||||||
min-width: 0;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#hardware:hover,
|
|
||||||
#connections:hover {
|
|
||||||
min-width: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* MODULES */
|
|
||||||
.modules-left > widget,
|
|
||||||
.modules-center > widget,
|
|
||||||
.modules-right > widget {
|
|
||||||
min-width: 80px;
|
|
||||||
color: @text;
|
|
||||||
font-weight: bold;
|
|
||||||
border-radius: 30px;
|
|
||||||
background:
|
|
||||||
linear-gradient(@base-alpha, @base-alpha) padding-box,
|
|
||||||
linear-gradient(45deg, @blue, @green) border-box;
|
|
||||||
border: 2px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-left > box + box,
|
|
||||||
.modules-center > box + box,
|
|
||||||
.modules-right > box + box {
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-left > widget label,
|
|
||||||
.modules-left > label ,
|
|
||||||
.modules-center > widget label,
|
|
||||||
.modules-center > label,
|
|
||||||
.modules-right > widget label,
|
|
||||||
.modules-right > label {
|
|
||||||
padding: 0px 5px;
|
|
||||||
transition: padding 0.2s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --------------------------------------------------------- */
|
|
||||||
/* SLIDERS / SPECIAL MODULES */
|
|
||||||
|
|
||||||
/* -----------------------------
|
|
||||||
WORKSPACES / WINDOWS MODULE
|
|
||||||
----------------------------- */
|
|
||||||
|
|
||||||
/* Disable hover effects completely */
|
|
||||||
#workspaces button,
|
|
||||||
#workspaces button:hover {
|
|
||||||
border: 2px solid transparent;
|
|
||||||
padding: 0 6px;
|
|
||||||
margin: 0;
|
|
||||||
border-radius: 30px;
|
|
||||||
transition: none; /* disable hover animation */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set custom/windows font to match workspace font */
|
|
||||||
#custom-windows label {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: @teal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Active vs inactive workspace colors */
|
|
||||||
#workspaces button.active {
|
|
||||||
background: linear-gradient(45deg, @blue, @green);
|
|
||||||
font-size: 14px;
|
|
||||||
color: @base;
|
|
||||||
}
|
|
||||||
|
|
||||||
activeworkspaces:not(.active) {
|
|
||||||
background: linear-gradient(@base-alpha, @base-alpha);
|
|
||||||
border: 2px solid transparent;
|
|
||||||
color: @text-muted; /* inactive text color */
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio-slider {
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
#pulseaudio-slider slider {
|
|
||||||
min-height: 0px;
|
|
||||||
min-width: 0px;
|
|
||||||
opacity: 0;
|
|
||||||
border-radius: 30px;
|
|
||||||
background: linear-gradient(45deg, @blue, @green);
|
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
#pulseaudio-slider trough {
|
|
||||||
min-height: 10px;
|
|
||||||
min-width: 80px;
|
|
||||||
border-radius: 30px;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
#pulseaudio-slider highlight {
|
|
||||||
min-width: 10px;
|
|
||||||
border-radius: 30px;
|
|
||||||
background: linear-gradient(45deg, @blue, @green);
|
|
||||||
border: 2px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --------------------------------------------------------- */
|
|
||||||
/* STATES / SPECIALS */
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
background: linear-gradient(45deg, @blue, @green);
|
|
||||||
border: 2px solid transparent;
|
|
||||||
color: @base;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.charging {
|
|
||||||
color: @green;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.warning:not(.charging) {
|
|
||||||
color: white;
|
|
||||||
animation: blink 0.5s linear infinite alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
to {
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disconnected {
|
|
||||||
background-color: @red;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature.critical {
|
|
||||||
background-color: @red;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --------------------------------------------------------- */
|
|
||||||
/* GLOBAL MODULE SPACING */
|
|
||||||
#clock,
|
|
||||||
#idle_inhibitor,
|
|
||||||
#battery,
|
|
||||||
#cpu,
|
|
||||||
#memory,
|
|
||||||
#temperature,
|
|
||||||
#network,
|
|
||||||
#pulseaudio,
|
|
||||||
#tray {
|
|
||||||
margin: 0 5px;
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
@@ -28,7 +28,6 @@ in
|
|||||||
".config/hypr/layer-rules.conf" = { source = "${assetPath}/layer-rules.conf"; force = true; };
|
".config/hypr/layer-rules.conf" = { source = "${assetPath}/layer-rules.conf"; force = true; };
|
||||||
".config/hypr/layout.conf" = { source = "${assetPath}/layout.conf"; force = true; };
|
".config/hypr/layout.conf" = { source = "${assetPath}/layout.conf"; force = true; };
|
||||||
".config/hypr/monitor-rules.conf" = { source = "${assetPath}/monitor-rules.conf"; force = true; };
|
".config/hypr/monitor-rules.conf" = { source = "${assetPath}/monitor-rules.conf"; force = true; };
|
||||||
".config/scripts/layout-selector.sh" = { source = "${assetPath}/scripts/layout-selector.sh"; executable = true; force = true; };
|
|
||||||
".config/hypr/theming.css" = { source = "${assetPath}/theming.css"; force = true; };
|
".config/hypr/theming.css" = { source = "${assetPath}/theming.css"; force = true; };
|
||||||
".config/hypr/window-rules.conf" = { source = "${assetPath}/window-rules.conf"; force = true; };
|
".config/hypr/window-rules.conf" = { source = "${assetPath}/window-rules.conf"; force = true; };
|
||||||
".config/hypr/workspace-rules.conf" = { source = "${assetPath}/workspace-rules.conf"; force = true; };
|
".config/hypr/workspace-rules.conf" = { source = "${assetPath}/workspace-rules.conf"; force = true; };
|
||||||
|
|||||||
Reference in New Issue
Block a user