Regenerated

This commit is contained in:
2026-04-22 14:49:16 +02:00
parent 8102ac4d89
commit a736dbfed0
7 changed files with 388 additions and 593 deletions
+382 -382
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -1346,8 +1346,8 @@ in
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
home.file = { home.file = {
".config/waybar/config.jsonc" = { ".config/waybar/config.json" = {
text = builtins.readFile "${assetPath}/config.jsonc"; text = builtins.readFile "${assetPath}/config.json";
force = true; force = true;
}; };
".config/waybar/style-dark.css" = { ".config/waybar/style-dark.css" = {
@@ -4647,9 +4647,9 @@ These are config files for waybar
#+END_SRC #+END_SRC
** =generated/.config/waybar/config.jsonc= ** =generated/.config/waybar/config.json=
These are config files for waybar These are config files for waybar
#+BEGIN_SRC json :tangle generated/.config/waybar/config.jsonc :noweb yes :mkdirp yes :eval never #+BEGIN_SRC json :tangle generated/.config/waybar/config.json :noweb yes :mkdirp yes :eval never
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
@@ -1,138 +0,0 @@
// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
import Quickshell
import Quickshell.Io
import QtQuick
import QtQuick.Layouts
ShellRoot {
QtObject {
id: colors
readonly property color baseAlpha: Qt.rgba(30/255, 30/255, 46/255, 0.9)
readonly property color base: "#1e1e2e"
readonly property color surface0: "#313244"
readonly property color surface1: "#45475a"
readonly property color surface2: "#585b70"
readonly property color text: "#cdd6f4"
readonly property color subtext0: "#a6adc8"
readonly property color subtext1: "#bac2de"
readonly property color blue: "#89b4fa"
readonly property color green: "#a6e3a1"
readonly property color teal: "#94e2d5"
readonly property color red: "#f38ba8"
readonly property color mauve: "#cba6f7"
readonly property color peach: "#fab387"
readonly property color lavender: "#b4befe"
}
FloatingWindow {
id: root
title: "quickshell-layoutswitcher"
visible: true
width: 220
height: contentLayout.implicitHeight + 32
color: colors.base
Shortcut {
sequence: "Escape"
onActivated: Qt.quit()
}
Rectangle {
anchors.fill: parent
anchors.margins: -2
radius: 18
z: -1
opacity: Qt.application.active ? 0 : 1
Behavior on opacity {
NumberAnimation { duration: 150 }
}
gradient: Gradient {
orientation: Gradient.Horizontal
GradientStop { position: 0.0; color: colors.blue }
GradientStop { position: 1.0; color: colors.green }
}
}
Rectangle {
anchors.fill: parent
radius: 16
color: colors.base
ColumnLayout {
id: contentLayout
anchors {
top: parent.top
left: parent.left
right: parent.right
margins: 16
}
spacing: 4
Text {
text: "󰕰 Layout"
color: colors.text
font.pixelSize: 13
font.bold: true
Layout.bottomMargin: 8
}
Repeater {
model: [
{ label: " Dwindle", layout: "dwindle" },
{ label: "󰡎 Master", layout: "master" },
{ label: "󰾲 Scrolling", layout: "scrolling" },
{ label: "󱒉 Monocle", layout: "monocle" },
]
delegate: Rectangle {
id: item
Layout.fillWidth: true
height: 38
radius: 8
color: hovered ? colors.surface1 : colors.base
property bool hovered: false
Rectangle {
anchors.fill: parent
anchors.margins: -2
radius: parent.radius + 2
visible: item.hovered
z: -1
gradient: Gradient {
orientation: Gradient.Horizontal
GradientStop { position: 0.0; color: colors.blue }
GradientStop { position: 1.0; color: colors.green }
}
}
Text {
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 12
text: modelData.label
color: item.hovered ? colors.text : colors.subtext1
font.pixelSize: 13
}
MouseArea {
anchors.fill: parent
hoverEnabled: true
onEntered: item.hovered = true
onExited: item.hovered = false
onClicked: proc.running = true
}
Process {
id: proc
command: ["hyprctl", "keyword", "general:layout", modelData.layout]
onExited: Qt.quit()
}
}
}
Item { height: 4 }
}
}
}
}
@@ -1,35 +0,0 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
# 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,32 +0,0 @@
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
/* Catppuccin Mocha Palette */
@define-color crust #11111b;
@define-color mantle #181825;
@define-color base #1e1e2e;
@define-color base-alpha rgba(30, 30, 46, 0.9);
@define-color surface0 #313244;
@define-color surface1 #45475a;
@define-color surface2 #585b70;
@define-color overlay0 #6c7086;
@define-color overlay1 #7f849c;
@define-color overlay2 #9399b2;
@define-color subtext0 #a6adc8;
@define-color subtext1 #bac2de;
@define-color text #cdd6f4;
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@@ -13,8 +13,8 @@ in
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
home.file = { home.file = {
".config/waybar/config.jsonc" = { ".config/waybar/config.json" = {
text = builtins.readFile "${assetPath}/config.jsonc"; text = builtins.readFile "${assetPath}/config.json";
force = true; force = true;
}; };
".config/waybar/style-dark.css" = { ".config/waybar/style-dark.css" = {