From 5aab90affdcfbc04216ebed435fd451575c500ab Mon Sep 17 00:00:00 2001 From: mpuchstein Date: Thu, 6 Feb 2025 00:04:58 +0100 Subject: [PATCH] update --- .gitmodules | 3 + alacritty/alacritty.toml | 2 +- fuzzel/fuzzel.ini | 1 + fuzzel/theme_dracula | 1 + hypr/hyprland.conf | 2 +- hypr/hyprland.d/autostart.conf | 4 - hypr/hyprland.d/keybinds.conf | 4 +- hyprpanel/config.json | 6 +- uwsm/env | 2 + walker/config.toml | 2 +- walker/themes/vikingowl.css | 168 +++++++++++++++++++++++++++++++++ walker/themes/vikingowl.toml | 103 ++++++++++++++++++++ 12 files changed, 287 insertions(+), 11 deletions(-) create mode 120000 fuzzel/fuzzel.ini create mode 160000 fuzzel/theme_dracula create mode 100644 walker/themes/vikingowl.css create mode 100644 walker/themes/vikingowl.toml diff --git a/.gitmodules b/.gitmodules index aaf6fab..06777ad 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "alacritty/themes"] path = alacritty/themes url = https://github.com/alacritty/alacritty-theme +[submodule "fuzzel/theme_dracula"] + path = fuzzel/theme_dracula + url = https://github.com/dracula/fuzzel.git diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml index 7911b8b..7a084af 100644 --- a/alacritty/alacritty.toml +++ b/alacritty/alacritty.toml @@ -6,7 +6,7 @@ live_config_reload = true ipc_socket = true [window] -opacity = 0.9 +opacity = 0.7 [font] normal = { family = "Inconsolata Nerd Font Mono", style = "Regular" } diff --git a/fuzzel/fuzzel.ini b/fuzzel/fuzzel.ini new file mode 120000 index 0000000..38b1b73 --- /dev/null +++ b/fuzzel/fuzzel.ini @@ -0,0 +1 @@ +theme_dracula/fuzzel.ini \ No newline at end of file diff --git a/fuzzel/theme_dracula b/fuzzel/theme_dracula new file mode 160000 index 0000000..0a17de1 --- /dev/null +++ b/fuzzel/theme_dracula @@ -0,0 +1 @@ +Subproject commit 0a17de1c24b2bf7d2577424c8ee763a6867177ec diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index ab85090..a1905d4 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -57,7 +57,7 @@ decoration { # Dim inactive windows dim_inactive = true - dim_strength = 0.2 + dim_strength = 0.1 shadow { enabled = false diff --git a/hypr/hyprland.d/autostart.conf b/hypr/hyprland.d/autostart.conf index c207a1d..b8728c5 100644 --- a/hypr/hyprland.d/autostart.conf +++ b/hypr/hyprland.d/autostart.conf @@ -1,9 +1,5 @@ # AUTOSTART # most apps are either started as systemd service like either directly like hyprpolkitagent or indirectly via uwsm # and ~/.config/autostart -exec-once = uwsm app -- nm-applet --indicator exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store -exec-once = uwsm app -- nwg-screenshot-applet -exec-once = uwsm app -- hyprpanel -exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 diff --git a/hypr/hyprland.d/keybinds.conf b/hypr/hyprland.d/keybinds.conf index 1e6f4eb..adc5206 100644 --- a/hypr/hyprland.d/keybinds.conf +++ b/hypr/hyprland.d/keybinds.conf @@ -23,6 +23,7 @@ bind = $mainMod Shift, E, exec, $editor bind = $mainMod, X, exec, $launcher bind = $mainMod, C, exec, uwsm app -- nwg-clipman bind = $mainMod, Return, exec, $terminal +bind = ALT_L, Escape, exec, uwsm app -- uuctl bind = $mainMod SHIFT, C, exec, hyprctl reload # reload Hyprland bind = $mainMod SHIFT, Escape, exit, @@ -102,4 +103,5 @@ bindl = , XF86AudioPause, exec, playerctl -a play-pause bindl = , XF86AudioPlay, exec, playerctl -a play-pause bindl = , XF86AudioPrev, exec, playerctl -a previous -bind = , Print, exec, grim +bind = , Print, exec, grimblast --notify copy output +bind = $mainMod, Print, exec, grimblast --notify edit area diff --git a/hyprpanel/config.json b/hyprpanel/config.json index d90f939..bae7b6c 100644 --- a/hyprpanel/config.json +++ b/hyprpanel/config.json @@ -69,7 +69,6 @@ "storage" ], "right": [ - "cava", "media", "updates", "systray", @@ -103,7 +102,7 @@ "hyprpanel.restartCommand": "uwsm app -- hyprpanel -q; uwsm app --hyprpanel", "menus.transitionTime": 200, "theme.bar.buttons.workspaces.smartHighlight": true, - "bar.customModules.ram.labelType": "used/total", + "bar.customModules.ram.labelType": "used", "theme.bar.buttons.modules.cpu.enableBorder": false, "bar.customModules.cpuTemp.unit": "metric", "bar.customModules.cpuTemp.sensor": "/sys/devices/platform/nct6683.2592/hwmon/hwmon4/temp1_input", @@ -498,5 +497,6 @@ "theme.bar.buttons.modules.storage.enableBorder": false, "notifications.position": "top right", "menus.dashboard.shortcuts.right.shortcut1.icon": "", - "menus.dashboard.shortcuts.right.shortcut1.command": "sleep 0.5 && hyprpicker -a" + "menus.dashboard.shortcuts.right.shortcut1.command": "sleep 0.5 && hyprpicker -a", + "menus.clock.weather.enabled": false } \ No newline at end of file diff --git a/uwsm/env b/uwsm/env index 3b6cc07..b6bbb3b 100644 --- a/uwsm/env +++ b/uwsm/env @@ -15,3 +15,5 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export XDG_MENU_PREFIX=arch- export MOZ_ENABLE_WAYLAND=1 + +export GRIMBLAST_EDITOR='swappy -f' diff --git a/walker/config.toml b/walker/config.toml index 06662de..f6fb1aa 100644 --- a/walker/config.toml +++ b/walker/config.toml @@ -3,7 +3,7 @@ terminal= "alacritty" terminal_title_flag = "" locale = "" close_when_open = false -theme = "default" +theme = "vikingowl" monitor = "" hotreload_theme = false as_window = false diff --git a/walker/themes/vikingowl.css b/walker/themes/vikingowl.css new file mode 100644 index 0000000..b66aec8 --- /dev/null +++ b/walker/themes/vikingowl.css @@ -0,0 +1,168 @@ +/* AUTO GENERATED. DO NOT EDIT. CHANGES WILL BE OVERWRITTEN. */ + +@define-color foreground rgba(255, 255, 255, 0.8); +@define-color background hsla(240, 12.7%, 13.9%, 0.98); +@define-color color1 hsl(172, 100%, 25.3%); +/* AUTO GENERATED. DO NOT EDIT. CHANGES WILL BE OVERWRITTEN. */ + +#window, +#box, +#aiScroll, +#aiList, +#search, +#password, +#input, +#prompt, +#clear, +#typeahead, +#list, +child, +scrollbar, +slider, +#item, +#text, +#label, +#bar, +#sub, +#activationlabel { + all: unset; +} + +#cfgerr { + background: rgba(255, 0, 0, 0.4); + margin-top: 20px; + padding: 8px; + font-size: 1.2em; +} + +#window { + color: @foreground; +} + +#box { + padding: 32px; + background: rgba(0, 0, 0, 0.9); + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); + backdrop-filter: blur(25px); + + border-image: linear-gradient(45deg, #33ccffee, #00ff99ee) 1; + border-width: 1px; + border-style: solid; +} + + +#search { + padding: 14px 8px 8px 8px; + border-radius: 16px; +} + +#search:focus-visible, #search:focus-within, #search:focus { + border-image: linear-gradient(45deg, #33ccffee, #00ff99ee) 1; + border-width: 1px; + border-style: solid; +} + +#prompt { + margin-left: 4px; + margin-right: 12px; + color: @foreground; + opacity: 0.2; +} + +#clear { + color: @foreground; + opacity: 0.8; +} + +#password, +#input, +#typeahead { + border-radius: 2px; +} + +#input { + background: none; +} + +#password { +} + +#spinner { + padding: 8px; +} + +#typeahead { + color: @foreground; + opacity: 0.8; +} + +#input placeholder { + opacity: 0.5; +} + +#list { +} + +child { + padding: 8px; + border-radius: 2px; +} + +child:selected, +child:hover { + background: linear-gradient(45deg, rgba(51, 204, 255, 0.5), rgba(0, 255, 153, 0.5)); + border-radius: 16px; +} + +#item { +} + +#icon { + margin-right: 8px; +} + +#text { +} + +#label { + font-weight: 500; +} + +#sub { + opacity: 0.5; + font-size: 0.8em; +} + +#activationlabel { +} + +#bar { +} + +.barentry { +} + +.activation #activationlabel { +} + +.activation #text, +.activation #icon, +.activation #search { + opacity: 0.5; +} + +.aiItem { + padding: 10px; + border-radius: 2px; + color: @foreground; + background: @background; +} + +.aiItem.user { + padding-left: 0; + padding-right: 0; +} + +.aiItem.assistant { + background: lighter(@background); +} diff --git a/walker/themes/vikingowl.toml b/walker/themes/vikingowl.toml new file mode 100644 index 0000000..60a7cbe --- /dev/null +++ b/walker/themes/vikingowl.toml @@ -0,0 +1,103 @@ +# AUTO GENERATED. DO NOT EDIT. CHANGES WILL BE OVERWRITTEN. + +[ui.anchors] +bottom = true +left = true +right = true +top = true + +[ui.window] +h_align = "fill" +v_align = "fill" + +[ui.window.box] +h_align = "center" +width = 450 + +[ui.window.box.bar] +orientation = "horizontal" +position = "end" + +[ui.window.box.bar.entry] +h_align = "fill" +h_expand = true + +[ui.window.box.bar.entry.icon] +h_align = "center" +h_expand = true +pixel_size = 24 +theme = "" + +[ui.window.box.margins] +top = 200 + +[ui.window.box.ai_scroll] +name = "aiScroll" +h_align = "fill" +v_align = "fill" +max_height = 300 +min_width = 400 +height = 300 +width = 400 + +[ui.window.box.ai_scroll.margins] +top = 8 + +[ui.window.box.ai_scroll.list] +name = "aiList" +orientation = "vertical" +width = 400 +spacing = 10 + +[ui.window.box.ai_scroll.list.item] +name = "aiItem" +h_align = "fill" +v_align = "fill" +x_align = 0 +y_align = 0 +wrap = true + +[ui.window.box.scroll.list] +marker_color = "#1BFFE1" +max_height = 300 +max_width = 400 +min_width = 400 +width = 400 + +[ui.window.box.scroll.list.item.activation_label] +h_align = "fill" +v_align = "fill" +width = 20 +x_align = 0.5 +y_align = 0.5 + +[ui.window.box.scroll.list.item.icon] +pixel_size = 26 +theme = "" + +[ui.window.box.scroll.list.margins] +top = 8 + +[ui.window.box.search.prompt] +name = "prompt" +icon = "edit-find" +theme = "" +pixel_size = 26 +h_align = "center" +v_align = "center" + +[ui.window.box.search.clear] +name = "clear" +icon = "edit-clear" +theme = "" +pixel_size = 18 +h_align = "center" +v_align = "center" + +[ui.window.box.search.input] +h_align = "fill" +h_expand = true +icons = true + +[ui.window.box.search.spinner] +hide = true