+++ /dev/null
--- kak: filetype=lua:tabstop=4:indentwidth=4
--- ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
--- ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
--- ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-
--- fragments/animations.lua
-
-hl.config({
- animations = {
- enabled = true,
-
- bezier = {
- { "easeOutQuint", 0.23, 1, 0.32, 1 },
- { "easeInOutCubic", 0.65, 0.05, 0.36, 1 },
- { "linear", 0, 0, 1, 1 },
- { "almostLinear", 0.5, 0.5, 0.75, 1.0 },
- { "quick", 0.15, 0, 0.1, 1 },
-
- -- custom curves
- { "border", 1, 1, 1, 1 },
- { "overshoot", 0.05, 0.9, 0.2, 1.00 },
-
- { "easeIn", 0.42, 0, 1, 1 },
- { "easeInBack", 0.36, 0, 0.66, -0.56 },
- { "easeInSine", 0.12, 0, 0.39, 0 },
- { "easeInQuart", 0.895,0.03, 0.685,0.22 },
- { "easeInQuint", 0.755,0.05, 0.855,0.06 },
- { "turboIn", 0.97, 0.22, 0.9, 0.48 },
-
- { "easeInOut", 0.42, 0, 0.58, 1 },
- { "easeInOutBack", 0.68,-0.55, 0.265,1.55 },
- { "easeInOutCirc", 0.785,0.135,0.15, 0.86 },
- { "easeInOutExpo", 1, 0, 0, 1 },
- { "easeInOutQuart", 0.77, 0, 0.175,1 },
- { "easeInOutSine", 0.445,0.05, 0.55, 0.95 },
-
- { "easeOut", 0, 0, 0.58, 1 },
- { "easeOutQuad", 0.5, 1, 0.89, 1 },
- { "easeOutQuart", 0.165,0.84, 0.44, 1 },
- { "easeOutBounce", 0.5, 1, 0.89, 1 },
- { "turboOut", 0.3, -0.3, 0, 1 },
- },
-
- animation = {
- -- defaults
- { "global", 1, 10, "default" },
- { "border", 1, 5.39, "easeOutQuint" },
- { "windows", 1, 4.79, "easeOutQuint" },
- { "windowsIn", 1, 4.1, "easeOutQuint", "popin 87%" },
- { "windowsOut", 1, 1.49, "linear", "popin 87%" },
-
- { "fade", 1, 3.03, "quick" },
- { "fadeIn", 1, 1.73, "almostLinear" },
- { "fadeOut", 1, 1.46, "almostLinear" },
-
- { "layers", 1, 3.81, "easeOutQuint" },
- { "layersIn", 1, 4, "easeOutQuint", "fade" },
- { "layersOut", 1, 1.5, "linear", "fade" },
-
- { "fadeLayersIn", 1, 1.79, "almostLinear" },
- { "fadeLayersOut", 1, 1.39, "almostLinear" },
-
- { "workspaces", 1, 1.94, "almostLinear", "fade" },
- { "workspacesIn", 1, 1.21, "almostLinear", "fade" },
- { "workspacesOut", 1, 1.94, "almostLinear", "fade" },
-
- { "zoomFactor", 1, 7, "quick" },
-
- -- overrides
- { "windowsMove", 1, 3, "easeOutQuad" },
-
- -- { "borderangle", 1, 5, "border", "loop" },
-
- { "workspacesIn", 1, 2.91, "easeInOutExpo", "slidefade 57%" },
- { "workspacesOut", 1, 2.21, "easeInOutExpo", "slidefade 57%" },
- },
- },
-})
--- /dev/null
+-- kak: filetype=lua:tabstop=4:indentwidth=4
+-- ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
+-- ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
+-- ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
+
+-- xdg stuff
+hl.env("AMD_VULKAN_ICD", "RADV")
+
+-- prefer wayland
+hl.env("QT_QPA_PLATFORM", "wayland;xcb")
+hl.env("QT_QPA_PLATFORMTHEME", "kde")
+-- hl.env("QT_QPA_PLATFORMTHEME", "hyprqt6engine") -- experimental
+hl.env("GDK_BACKEND", "wayland,x11,*")
+hl.env("GTK_USE_PORTAL", "1")
+hl.env("MOZ_ENABLE_WAYLAND", "1")
+-- hl.env("SDL_VIDEODRIVER", "wayland") -- remove or set to x11 for games providing older versions of SDL
+hl.env("CLUTTER_BACKEND", "wayland")
+
+-- tweak swww
+hl.env("SWWW_TRANSITION_FPS", "59")
+
+-- necessary for hi-dpi displays:
+-- hl.env("GDK_SCALE", "1") -- scaling XWayland clients
+-- hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
+
+-- set cursor
+hl.env("XCURSOR_THEME", "Bibata-Original-Ice")
+hl.env("XCURSOR_SIZE", "40")
+hl.env("HYPRCURSOR_THEME", "Bibata-Original-Ice")
+hl.env("HYPRCURSOR_SIZE", "40")
+
+-- tweak applications/frameworks
+hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1")
+hl.env("XDG_MENU_PREFIX", "plasma-")
+
+++ /dev/null
-# kak: filetype=conf:tabstop=4:indentwidth=4
-# ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
-# ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-# ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-
-# modifiers & variables
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-# Mod1 = Alt_L
-# Mod5 = Alt_R
-# Mod4 = Super_L
-
-$suremod = SHIFT ALT CTRL
-$mainmod = SUPER
-
-$fallbackterm = konsole
-$term = foot
-$floatterm = foot -a popup -o colors-dark.alpha=0.85 -o colors-bright.alpha=0.85
-
-# mainmod shortcuts
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-bind = $mainmod, Return, exec, $term
-bind = $mainmod Ctrl, Return, exec, $fallbackterm
-bind = $mainmod Shift, Return, exec, $floatterm
-bind = $mainmod Ctrl Shift, Return, exec, alacritty
-bind = $mainmod Shift, Q, killactive,
-bind = $mainmod, A, pseudo, # dwindle, A for Artificial
-bind = $mainmod, B, exec, $HOME/.config/hypr/scripts/browser_focus_or_run.sh
-bind = $mainmod, C, exec, qs -c noctalia-shell ipc call launcher clipboard
-bind = $mainmod, D, exec, qs -c noctalia-shell ipc call launcher toggle
-bind = $mainmod SHIFT, D, exec, killall fuzzel || fuzzel --config=$HOME/.config/fuzzel/fuzzel-centered.ini
-bind = $mainmod, E, exec, foot -a lf lf
-bind = $mainmod SHIFT, E, exec, dolphin
-bind = $mainmod, F, fullscreen,1
-bind = $mainmod Shift, F, fullscreen,0
-bind = $mainmod, G, togglegroup
-bind = $mainmod SHIFT, G, lockactivegroup, toggle
-bind = $mainmod CTRL, G, denywindowfromgroup, toggle
-bind = $mainmod ALT, G, moveoutofgroup, active
-bind = $mainmod, I, togglespecialworkspace, overlay
-bind = $mainmod SHIFT, I, movetoworkspace, special:overlay
-bind = $mainmod, P, exec, foot -w 640x400 -a popup -H hyprpicker #color Pipette
-bind = $mainmod SHIFT, P, pin
-bind = $mainmod, S, layoutmsg, togglesplit # dwindle
-bind = $mainmod Shift, S, layoutmsg, swapsplit # dwindle
-bind = $mainmod, S, layoutmsg, colresize +conf # scrolling
-bind = $mainmod Shift, S, layoutmsg, colresize -conf # scrolling
-bind = $mainmod, V, togglefloating
-bind = $mainmod, W, exec, qs -c noctalia-shell ipc call toast dismiss
-bind = $mainmod SHIFT, W, exec, qs -c noctalia-shell ipc call bar toggle
-bind = $mainmod, Z, centerwindow # floating only
-bind = $mainmod, grave, exec, qs -c noctalia-shell ipc call launcher emoji
-
-# suremod keys (prevent fat-fingering 'em by accident)
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-bind = $suremod, M, exit,
-bind = $suremod, Return, exec, konsole # fallback terminal app
-bind = $suremod, G, exec, ~/.config/hypr/scripts/gamemode.sh
-bind = $suremod, L, exec, ~/.config/hypr/scripts/powermenu.sh
-
-# misc keys
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-bind = $mainmod, Print, exec, flatpak run be.alexandervanhee.gradia --screenshot=INTERACTIVE
-bind = SHIFT, Print, exec, flatpak run be.alexandervanhee.gradia --screenshot=FULL
-bind = Mod1 Mod5, L, exec, qs -c noctalia-shell ipc call lockScreen lock
-
-# media keys
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-bindl = , XF86AudioRaiseVolume, exec, /home/andy/.local/bin/wp+
-bindl = , XF86AudioLowerVolume, exec, /home/andy/.local/bin/wp-
-bindl = , XF86AudioMute, exec, ~/.config/hypr/scripts/muteorunmute.sh
-bindl = , XF86AudioPlay, exec, playerctl play-pause
-bindl = , XF86AudioNext, exec, playerctl next
-bindl = , XF86AudioPrev, exec, playerctl previous
-bindl = , XF86audiostop, exec, playerctl stop
-
-# client switcher
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-bind = $mainmod, TAB, exec, ~/.config/hypr/scripts/windowswitch-rg.sh
-bind = ALT, TAB, focuscurrentorlast
-
-# movement
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-# Move focus with mainMod + arrow keys
-bind = $mainmod, left, movefocus, l
-bind = $mainmod, right, movefocus, r
-bind = $mainmod, up, movefocus, u
-bind = $mainmod, down, movefocus, d
-bind = $mainmod, H, movefocus, l
-bind = $mainmod, L, movefocus, r
-bind = $mainmod, K, movefocus, u
-bind = $mainmod, J, movefocus, d
-
-# swap windows or entire groups if tiled, move around if floated
-$moveAmount = 120
-bind = $mainmod SHIFT, left, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount l
-bind = $mainmod SHIFT, right, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount r
-bind = $mainmod SHIFT, up, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount u
-bind = $mainmod SHIFT, down, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount d
-bind = $mainmod SHIFT, H, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount l
-bind = $mainmod SHIFT, L, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount r
-bind = $mainmod SHIFT, K, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount u
-bind = $mainmod SHIFT, J, exec, $HOME/.config/hypr/scripts/moveorswapwindow.sh $moveAmount d
-
-# Move windows into or out of groups with $suremod
-bind = $mainmod SHIFT CTRL, left, movewindoworgroup, l
-bind = $mainmod SHIFT CTRL, right, movewindoworgroup, r
-bind = $mainmod SHIFT CTRL, up, movewindoworgroup, u
-bind = $mainmod SHIFT CTRL, down, movewindoworgroup, d
-bind = $mainmod SHIFT CTRL, H, movewindoworgroup, l
-bind = $mainmod SHIFT CTRL, L, movewindoworgroup, r
-bind = $mainmod SHIFT CTRL, K, movewindoworgroup, u
-bind = $mainmod SHIFT CTRL, J, movewindoworgroup, d
-
-# preselect direction for new windows
-bind = ALT CTRL, left, layoutmsg, preselect l
-bind = ALT CTRL, right, layoutmsg, preselect r
-bind = ALT CTRL, up, layoutmsg, preselect u
-bind = ALT CTRL, down, layoutmsg, preselect d
-
-# move through group windows
-bind = $mainmod, O, changegroupactive, f
-bind = $mainmod, U, changegroupactive, b
-bind = $mainmod SHIFT, O, movegroupwindow, f
-bind = $mainmod SHIFT, U, movegroupwindow, b
-
-# workspaces
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-
-# Roll between workspaces
-bind = $mainmod, PLUS, exec, ~/.config/hypr/scripts/workspace.sh +
-bind = $mainmod, MINUS, exec, ~/.config/hypr/scripts/workspace.sh -
-bind = $mainmod SHIFT, PLUS, exec, ~/.config/hypr/scripts/workspace.sh + mv
-bind = $mainmod SHIFT, MINUS, exec, ~/.config/hypr/scripts/workspace.sh - mv
-
-# Switch workspaces with mainMod + [0-9]
-bind = $mainmod, 1, exec, ~/.config/hypr/scripts/workspace.sh 1
-bind = $mainmod, 2, exec, ~/.config/hypr/scripts/workspace.sh 2
-bind = $mainmod, 3, exec, ~/.config/hypr/scripts/workspace.sh 3
-bind = $mainmod, 4, exec, ~/.config/hypr/scripts/workspace.sh 4
-bind = $mainmod, 5, exec, ~/.config/hypr/scripts/workspace.sh 5
-bind = $mainmod, 6, exec, ~/.config/hypr/scripts/workspace.sh 6
-bind = $mainmod, 7, exec, ~/.config/hypr/scripts/workspace.sh 7
-bind = $mainmod, 8, exec, ~/.config/hypr/scripts/workspace.sh 8
-bind = $mainmod, 9, exec, ~/.config/hypr/scripts/workspace.sh 9
-bind = $mainmod, 0, exec, ~/.config/hypr/scripts/workspace.sh 10
-
-# Move active window to a workspace with mainMod + SHIFT + [0-9]
-bind = $mainmod SHIFT, 1, exec, ~/.config/hypr/scripts/workspace.sh 1 mv
-bind = $mainmod SHIFT, 2, exec, ~/.config/hypr/scripts/workspace.sh 2 mv
-bind = $mainmod SHIFT, 3, exec, ~/.config/hypr/scripts/workspace.sh 3 mv
-bind = $mainmod SHIFT, 4, exec, ~/.config/hypr/scripts/workspace.sh 4 mv
-bind = $mainmod SHIFT, 5, exec, ~/.config/hypr/scripts/workspace.sh 5 mv
-bind = $mainmod SHIFT, 6, exec, ~/.config/hypr/scripts/workspace.sh 6 mv
-bind = $mainmod SHIFT, 7, exec, ~/.config/hypr/scripts/workspace.sh 7 mv
-bind = $mainmod SHIFT, 8, exec, ~/.config/hypr/scripts/workspace.sh 8 mv
-bind = $mainmod SHIFT, 9, exec, ~/.config/hypr/scripts/workspace.sh 9 mv
-bind = $mainmod SHIFT, 0, exec, ~/.config/hypr/scripts/workspace.sh 10 mv
-
-# Move active window in the background to a workspace with mainMod + CRTL + [0-9]
-bind = $mainmod CTRL, 1, exec, ~/.config/hypr/scripts/workspace.sh 1 mv s
-bind = $mainmod CTRL, 2, exec, ~/.config/hypr/scripts/workspace.sh 2 mv s
-bind = $mainmod CTRL, 3, exec, ~/.config/hypr/scripts/workspace.sh 3 mv s
-bind = $mainmod CTRL, 4, exec, ~/.config/hypr/scripts/workspace.sh 4 mv s
-bind = $mainmod CTRL, 5, exec, ~/.config/hypr/scripts/workspace.sh 5 mv s
-bind = $mainmod CTRL, 6, exec, ~/.config/hypr/scripts/workspace.sh 6 mv s
-bind = $mainmod CTRL, 7, exec, ~/.config/hypr/scripts/workspace.sh 7 mv s
-bind = $mainmod CTRL, 8, exec, ~/.config/hypr/scripts/workspace.sh 8 mv s
-bind = $mainmod CTRL, 9, exec, ~/.config/hypr/scripts/workspace.sh 9 mv s
-bind = $mainmod CTRL, 0, exec, ~/.config/hypr/scripts/workspace.sh 10 mv s
-
-
-# mouse binds
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-# Move/resize windows with mainMod + LMB/RMB and dragging
-# LMB = 272 // RMB = 273
-bindm = $mainmod, mouse:272, movewindow
-bindm = $mainmod, mouse:273, resizewindow
-
-# Mouse zoom
-bind = $mainmod, mouse_down, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 * 1.25}')
-bind = $mainmod, mouse_up, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 * 0.75}')
-
-# Cycle through workspaces or move windows with a mouse wheel tilt
-bind = $mainmod, mouse_left, exec, ~/.config/hypr/scripts/workspace.sh -
-bind = $mainmod, mouse_right, exec, ~/.config/hypr/scripts/workspace.sh +
-bind = $mainmod SHIFT, mouse_left, exec, ~/.config/hypr/scripts/workspace.sh - mv
-bind = $mainmod SHIFT, mouse_right, exec, ~/.config/hypr/scripts/workspace.sh + mv
-bind = $mainmod CTRL, mouse_left, exec, ~/.config/hypr/scripts/workspace.sh - mv s
-bind = $mainmod CTRL, mouse_right, exec, ~/.config/hypr/scripts/workspace.sh + mv s
-
-
-# submaps
-# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-# will switch to a submap called resize
-bind = $mainmod, R, submap, resize
-
-# will start a submap called "resize"
-submap = resize
-
-# sets repeatable binds for resizing the active window
-binde = , right, resizeactive, 10 0
-binde = , left, resizeactive, -10 0
-binde = , up, resizeactive, 0 -10
-binde = , down, resizeactive, 0 10
-binde = , l, resizeactive, 10 0
-binde = , h, resizeactive, -10 0
-binde = , k, resizeactive, 0 -10
-binde = , j, resizeactive, 0 10
-
-# use reset to go back to the global submap
-bind = , catchall, submap, reset
-
-# will reset the submap, which will return to the global submap
-submap = reset
-
-
local fallbackterm = "konsole"
local term = "foot"
-local floatterm = "foot -a popup -o colors-dark.alpha=0.85 -o colors-bright.alpha=0.85"
+local floatterm = "foot -a popup -o colors-dark.alpha=0.96 -o colors-bright.alpha=0.96"
local moveAmount = 120
+++ /dev/null
-# kak: filetype=conf:tabstop=4:indentwidth=4
-# ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
-# ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-# ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-
-layerrule {
- name = general
- blur_popups = 1
- match:namespace = top
-}
-
-layerrule {
- name = waybar
- blur = 1
- ignore_alpha = 0.5
- xray = 1
- no_anim = 1
- match:namespace = waybar
-}
-
-layerrule {
- name = mako
- blur = 1
- ignore_alpha = 0
- match:namespace = notifications
-}
-
-layerrule {
- name = gtkdock
- blur = 1
- ignore_alpha = 0.5
- xray = 1
- match:namespace = GTKDock
-}
-
-layerrule {
- name = fuzzel
- blur = 1
- blur_popups = 1
- ignore_alpha = 0.5
- animation = layers
- match:namespace = launcher
-}
-
-layerrule {
- name = noctalia
- match:namespace = noctalia-background-.*$
- ignore_alpha = 0.5
- blur = 1
- blur_popups = 1
-}
-
+++ /dev/null
-# kak: filetype=conf:tabstop=4:indentwidth=4
-# ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
-# ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-# ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-
-general {
- # col.active_border = rgba(33ccffee) rgba(00ff99ee) 15deg #vanilla colors
- col.active_border = 0xee$secondary_container 0xa1$secondary_container 50deg
- col.nogroup_border_active = 0xee$error 0xa1$error 50deg
- col.inactive_border = 0x77$surface
- col.nogroup_border = 0x77$error
-}
-
-group {
- col.border_active = 0xee$secondary_container 0xa1$secondary_container 50deg
- col.border_locked_active = 0xee$green_container 0xa1$green_container 50deg
- col.border_inactive = 0xcc$background
- col.border_locked_inactive = 0xcc$background
- groupbar {
- col.active = 0xee$secondary_container 0xa1$secondary_container 50deg
- col.locked_active = 0xff$green_container 0xa1$green_container 50deg
- col.inactive = 0xcc$background 0x80$background 50deg
- col.locked_inactive = 0xff$background 0x80$background 50deg
- text_color = 0xff$on_secondary_container
- text_color_locked_active = 0xff$on_green_container
- text_color_inactive = 0xaf$on_background
- text_color_locked_inactive = 0xaf$on_background
- }
-}
-
+++ /dev/null
-# kak: filetype=conf:tabstop=4:indentwidth=4
-# ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
-# ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-# ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-
-permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
-permission = /(usr|usr/local)/bin/(grim|wl-screenrec|wf-recorder), screencopy, ask
-permission = /usr/bin/steam, screencopy, ask
-
-permission = zsa-technology-labs-moonlander.*, keyboard, allow
-permission = ^(razer-razer-basilisk.*)$, keyboard, allow
-
-# placeholder:
-# permission = zsa-technology-labs-moonlander.*, mouse, allow
-# permission = ^(razer-razer-basilisk.*)$, mouse, allow
-
-# deny the rest
-permission = .*, screencopy, ask
-permission = .*, keyboard, ask
-permission = .*, plugin, deny
-
--- /dev/null
+-- kak: filetype=lua:tabstop=4:indentwidth=4
+-- ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
+-- ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
+-- ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
+
+hl.permission({
+ binary = "/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland",
+ type = "screencopy",
+ mode = "allow"
+})
+
+hl.permission({
+ binary = "(usr|usr/local)/bin/(grim|wl-screenrec|wf-recorder)",
+ type = "screencopy",
+ mode = "allow"
+})
+
+hl.permission({
+ binary = "/usr/bin/steam",
+ type = "screencopy",
+ mode = "allow",
+})
+
+hl.permission({
+ binary = "zsa-technology-labs-moonlander.*",
+ type = "keyboard",
+ mode = "allow",
+})
+
+hl.permission({
+ binary = "razer-razer-basilisk.*",
+ type = "keyboard",
+ mode = "allow",
+})
+
+hl.permission({
+ binary = "zsa-technology-labs-moonlander.*",
+ type = "cursorpos",
+ mode = "allow",
+})
+
+hl.permission({
+ binary = "razer-razer-basilisk.*",
+ type = "cursorpos",
+ mode = "allow",
+})
+
+
+-- deny the rest:
+--------------------
+hl.permission({
+ binary = ".*",
+ type = "screencopy",
+ mode = "ask"
+})
+
+hl.permission({
+ binary = ".*",
+ type = "keyboard",
+ mode = "ask"
+})
+
+hl.permission({
+ binary = ".*",
+ type = "cursorpos",
+ mode = "ask"
+})
+
+hl.permission({
+ binary = ".*",
+ type = "plugin",
+ mode = "ask"
+})
+
+++ /dev/null
-# kak: filetype=conf:tabstop=4:indentwidth=4
-# ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
-# ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-# ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-
-# hide hyprbars on non-floating windows
-# windowrule {
-# name = nobar1
-# match:float = 0
-# hyprbars:no_bar = 1
-# }
-
-# hide hyprbars on specific windows
-# windowrule {
-# name = nobar2
-# match:class = ^((steam|io.github.ilya_zlobintsev.LACT).*)$
-# hyprbars:no_bar = 1
-# }
-
-windowrule {
- name = floating_enable
- float = on
- size = 1280 800
- match:class = ^((qtpass|org.ijhack.qtpass|org.kde|smplayer|mpv|ark|lxqt|vlc|pcmanfm|qalculate|kdesystemsettings|org.keepassxc|KeePassXC|gimp|clipse|openrgb|nwg-look|alsa-scarlett-gui|lstopo|org.corectrl.CoreCtrl|LACT|lutris|blueman-manager|org.freedesktop.impl.portal|be.alexandervanhee.gradia|io.missioncenter.MissionCenter|io.github.ilya_zlobintsev.LACT|ncmpcpp).*)$
-}
-
-windowrule {
- name = gimp_mainwindow
- tile = on
- float = off
- match:class = ^(gimp)$
- match:title = ^(.*GIMP)$
-}
-
-windowrule {
- name = nextcloud
- min_size = 1 1
- stay_focused = on
- float = on
- match:class = ^(com.nextcloud.desktopclient.nextcloud)$
-}
-
-windowrule {
- name = dialogs_floating_bytitle
- float = on
- match:title = ^((Über|About|Öffnen|org.freedesktop.impl.portal.desktop.kde).*)$
-}
-
-windowrule {
- name = dialogs_focused_bytitle
- stay_focused = on
- match:title = ^((Über|About|Öffnen|Neuen Ordner erstellen|Datei überschreiben|Create New Folder|org.freedesktop.impl.portal).*)$
-}
-
-windowrule {
- name = dialogs_focused_byclass
- float = on
- stay_focused = on
- match:class = ^((org.gnupg.pinentry-qt|org.kde.kwalletd6|org.kde.ksecretd|org.kde.polkit-kde-authentication-agent-1).*)$
-}
-
-windowrule {
- name = game_launchers
- float = on
- match:title = ^(.*)auncher$
-}
-
-windowrule {
- name = heroic
- stay_focused = on
- match:class = negative:heroic
- match:title = ^(.*)Launcher$
-}
-
-
-# indicate windows with special attention
-windowrule {
- name = upgrayyedd
- border_color = 0xff$berror 0xff$black 30deg
- match:initial_title = ^(upgrayyedd)$
-}
-
-# handle windows tray items (xembedsniproxy)
-# dirty: can't match it since class+title are empty
-# maybe more elegant:
-# hyprctl -j clients | jq '.[] | {pid, address} | select(.pid == 6597) | .address'
-# windowrule = opacity 0, title:^()$, class:^()$
-# windowrule = noblur, title:^()$, class:^()$
-
-windowrule {
- name = browsers
- tag = +neverdim
- workspace = 1
- group = deny
- match:class = ^(firefox|firefox-bin|org.qutebrowser.qutebrowser|Microsoft-edge.*|qutebrowser)$
-}
-
-windowrule {
- name = workspace3
- pseudo = on
- no_initial_focus = on
- workspace = 3
- match:class = ^(Threema.*|discord.*)$
-}
-
-windowrule {
- name = workspace4
- workspace = 4
- match:class = ^((deezer|ncmpcpp|spotify|ardour).*)$
-}
-
-windowrule {
- name = workspace5
- workspace = 5
- match:class = ^(gimp|krita)$
-}
-
-windowrule {
- name = workspace6
- workspace = 6
- match:initial_class = ^(steam|heroic)$
-}
-
-windowrule {
- name = workspace7
- workspace = 7
- match:class = ^(pm|tm|pr|thunderbird|thunderbird-bin)$
-}
-
-# handle video PiPs
-windowrule {
- name = windowrule-26
- float = on
- move = ((monitor_w)-813) (55)
- size = 800 450
- no_initial_focus = on
- group = deny
- pin = on
- border_size = 0
- content = video
- tag = +neverdim
- # hyprbars:no_bar = 1
- match:class = ^(firefox.*)$
- match:initial_title = ^(Bild-im-Bild|Picture-in-Picture)$
-}
-
-# handle terminal(s/-apps)
-# windowrule {
-# name = wsize_limit
-# match:class = ^(foot|footclient)$
-# }
-
-windowrule {
- name = popup_class
- float = on
- group = deny
- size = 1280 800
- match:class = ^(popup)$
-}
-
-windowrule {
- name = kakpopupmove
- float = 1
- stay_focused = 1
- group = deny
- opacity = 1.0 override
- size = 1200 600
- move = ((monitor_w-1.7*window_w)-20) ((monitor_h-1.2*window_h)-10)
- match:class = ^(kakpopup)$
-}
-
-# handle ueberzugpp
-windowrule {
- name = windowrule-49
- no_anim = on
- no_initial_focus = on
- decorate = off
- no_shadow = on
- group = deny
- match:class = ^(ueberzugpp.*)$
-}
-
-windowrule {
- name = steam_general
- float = on
- match:initial_class = ^(steam)$
- match:title = negative:^()$
- rounding = 3
-}
-
-windowrule {
- name = steam_artifacts
- min_size = 1 1
- match:initial_class = ^(steam)$
- match:title = ^()$
-}
-
-windowrule {
- name = steam_friendlist
- match:initial_class = ^(steam)$
- match:title = ^(Freundesliste|Friendlist)$
- float = on
- size = 300 800
- move = ((monitor_w*1)-window_w-10) ((monitor_h*0.25))
-}
-
-# handle wine/proton games
-$GAMES = ^(steam_app_.*|steam_proton|streaming_client|gamescope)$
-windowrule {
- name = windowrule-56
- tag = +game
- match:initial_class = $GAMES
-}
-
-windowrule {
- name = windowrule-57
- content = game
- float = 1
- no_dim = 1
- no_blur = 1
- rounding = 0
- no_shadow = 1
- no_anim = 1
- opaque = 1
- min_size = 1280 800
- move = ((monitor_w*0.5)) ((monitor_h*0.5))
- idle_inhibit = always
- fullscreen = 2
- match:tag = game
-}
-
-# handle TAGS (always handle tags last)
-windowrule {
- name = neverdim
- no_dim = 1
- match:tag = neverdim
-}
-
-windowrule {
- name = windowrule-60
- fullscreen = on
- match:initial_title = ^(vkcube)$
-}
-
-# windowrule = immediate, tag:game #experimental
-
-
+++ /dev/null
-# kak: filetype=conf:tabstop=4:indentwidth=4
-# ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
-# ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-# ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-
-# workspace rules
-#example: on-created-empty: exec, something"
-
-workspace = 1, default:1, layout:dwindle
-workspace = 2, layout:dwindle
-workspace = 3, float
-workspace = 4, float
-workspace = 5, layout:scrolling
-workspace = 6, float
-workspace = 7, layout:scrolling
-workspace = 8, layout:scrolling
-workspace = 9, layout:scrolling
-workspace = 0, layout:dwindle
-workspace = special:magic
-
-
--- Ref https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/
--- "Smart gaps" / "No gaps when only"
--- uncomment all if you wish to use that.
--- hl.workspace_rule({ workspace = "1", layout = dwindle })
--- hl.workspace_rule({ workspace = "f[1]", gaps_out = 0, gaps_in = 0 })
--- hl.window_rule({
--- name = "no-gaps-wtv1",
--- match = { float = false, workspace = "w[tv1]" },
--- border_size = 0,
--- rounding = 0,
--- })
--- hl.window_rule({
--- name = "no-gaps-f1",
--- match = { float = false, workspace = "f[1]" },
--- border_size = 0,
--- rounding = 0,
--- })
-
+++ /dev/null
-# kak: filetype=conf:tabstop=4:indentwidth=4
-# ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
-# ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-# ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-# compiled plugins reside in /var/cache/hyprpm/[username]/
-source = ~/.config/hypr/noctalia/noctalia-colors.conf
-
-# LG 34"
-monitorv2 {
- output = DP-2
- mode = preferred
- position = 0x0
- scale = 1
- bitdepth = auto
- cm = auto
- sdrbrightness = 1.00
- sdrsaturation = 1.00
- sdr_min_luminance = 0.005
- sdr_max_luminance = 370
- vrr = 2
-}
-
-# other displays
-monitor=,preferred,auto-center-right,1,vrr,2
-
-# Execute your favorite apps at launch
-# exec-once = dbus-update-activation-environment --systemd --all
-exec-once = /usr/libexec/pam_kwallet_init
-exec-once = gmenudbusmenuproxy
-exec-once = env XDG_MENU_PREFIX=plasma- kbuildsycoca6 --noincremental
-exec-once = openrc -U hyprland
-exec-once = ~/.local/bin/run_after_noctalia.sh
-exec-once = hyprctl plugin load /usr/lib/hyprland-plugins/dynamic-cursors.so
-# exec-once = hyprctl plugin load /usr/lib/hyprland-plugins/hyprbars.so
-
-exec-shutdown = openrc -U default
-
-general {
- allow_tearing = 1
- border_size = 1
- gaps_in = 16
- gaps_out = 32
- snap {
- enabled = 1
- window_gap = 10
- monitor_gap = 0
- border_overlap = 0
- }
- layout = dwindle
- # col.nogroup_border = $surface
- # col.nogroup_border_active = $error
-}
-
-layout {
- single_window_aspect_ratio = 16 9.1
- single_window_aspect_ratio_tolerance = 0.1
-}
-
-dwindle {
- force_split = 2
- smart_split = 0
- split_width_multiplier = 2.0
- preserve_split = 1 # you probably want this
-}
-
-scrolling {
- fullscreen_on_one_column = 1
- column_width = 0.5 # default = 0.5
- focus_fit_method = 1
- follow_focus = 1
- follow_min_visible = 0.4
- explicit_column_widths = 0.333,0.5,0.667,1.0
- direction = right
-}
-
-master {
- new_status = slave
- allow_small_split = 1
- special_scale_factor = .80
- mfact = .45
- orientation = center
- slave_count_for_center_master = 2
- center_master_fallback = left
-}
-
-decoration {
- # screen_shader = ~/.config/hypr/shaders/bluefilter.frag
- rounding = 16
- rounding_power = 4
- dim_special = 0.3
- dim_inactive = 1
- dim_strength = 0.2
- blur {
- enabled = 1
- special = 1
- popups = 0
- size = 1
- passes = 2
- noise = 0.0117
- contrast = 0.9916
- brightness = 0.9172
- vibrancy = 0.5696
- vibrancy_darkness = 0.1
- ignore_opacity = 1
- }
- shadow {
- enabled = 1
- range = 8
- render_power = 2
- color = 0xee1a1a1a
- offset = 0.25, 0.25
- scale = 1.0
- }
-}
-
-input {
- float_switch_override_focus = 2
- numlock_by_default = 1
- kb_layout = us
- kb_variant = de_se_fi
- kb_model =
- kb_options =
- kb_rules =
-
- follow_mouse = 1
- follow_mouse_threshold = 10
- focus_on_close = 1
-
- touchpad {
- natural_scroll = no
- }
- sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
- off_window_axis_events = 2 # default = 1
- scroll_points = 3
- # scroll with right mouse button and mouse movement
- # scroll_method = on_button_down
- # scroll_button = 273
-}
-
-device {
- name = razer-razer-basilisk-v3
- sensitivity = -0.0
- accel_profile = custom 0.0965014878 0.000 0.110 0.220 0.330 0.440 0.550 0.697 0.862 1.028 1.194 1.359 1.525 1.690 1.856 2.022 2.187 2.392 2.597 2.802 3.05 3.335 3.650 3.901 4.153 4.404 4.656 4.908 5.159 5.411 5.662 5.914 6.165 6.417 6.668 6.920 7.171 7.423 7.675 7.926 8.178 8.429 8.681 8.932 9.184 9.435 9.687 9.938 10.190 10.442 10.961
-}
-
-device {
- name = zsa-technology-labs-moonlander-mark-i-1
- sensitivity = -0.2
- accel_profile = flat
-}
-
-group {
- merge_groups_on_drag = 0
- insert_after_current = 1
- groupbar {
- enabled = 1
- font_family = IBM Plex Sans
- font_size = 14
- font_weight_active = medium
- font_weight_inactive = medium
- # text_color = 0xffefefef
- # text_color_inactive = 0xff6f6f6f
- height = 12
- scrolling = 1
- indicator_gap = 2
- indicator_height = 0
- render_titles = 0
- priority = 3
- round_only_edges = 1
- gradients = 1
- gradient_rounding = 6
- gradient_rounding_power = 2
- gradient_round_only_edges = 1
- stacked = 0
- gaps_in = 2
- gaps_out = 2
- keep_upper_gap = 0
- blur = 0
- }
-}
-
-misc {
- force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
- disable_hyprland_logo = 0
- key_press_enables_dpms = 1
- # vfr = 1 # set to 1 for battery savings
- vrr = 2
- render_unfocused_fps = 15
- allow_session_lock_restore = 1
- initial_workspace_tracking = 1
- font_family = ZedMono NFP
- enable_swallow = 0
- swallow_regex = ^(foot)$
- size_limits_tiled = 0
- session_lock_xray = 1
- on_focus_under_fullscreen = 1
-}
-
-binds {
- drag_threshold = 50
- scroll_event_delay = 30
- workspace_center_on = 0
-}
-
-xwayland {
- force_zero_scaling = 1 # unscale XWayland
-}
-
-render {
- direct_scanout = 1
- cm_enabled = 1
- send_content_type = 1
- cm_auto_hdr = 0
- new_render_scheduling = 1
-}
-
-cursor {
- enable_hyprcursor = 1
- no_warps = 0
- no_hardware_cursors = 2
- no_break_fs_vrr = 1
- warp_on_change_workspace = 0
- warp_on_toggle_special = 1
- use_cpu_buffer = 2 # 2=nvidia-only
-}
-
-ecosystem {
-}
-
-experimental {
- # xx_color_management_v4 = 1
-}
-
-debug {
- disable_logs = 0 # file logging. defaults to 1 for production
-}
-
-# plugin {
-# hyprbars {
-# bar_text_font = ZedMono NFP
-# bar_text_size = 11
-# bar_height = 21
-# bar_color = rgb(101010)
-# col.text = rgb(efefef)
-# bar_part_of_window = 1
-# bar_precedence_over_border = 1
-# #NOTE: hyprbars-button = color, size, icon, on-click
-# hyprbars-button = $error, 18, , hyprctl dispatch killactive
-# hyprbars-button = $tertiary, 18, , hyprctl dispatch fullscreen 1
-# hyprbars-button = $secondary, 18, , hyprctl dispatch movetoworkspacesilent special:min
-# }
-# }
-
-source=./fragments/animations.conf
-source=./fragments/env.conf
-source=./fragments/permissions.conf
-source=./fragments/windowrules.conf
-source=./fragments/workspacerules.conf
-source=./fragments/layerrules.conf
-source=./fragments/keybinds.conf
-
-- ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-- ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
+require("fragments.env")
+require("fragments.permissions")
+require("fragments.keybinds")
+require("fragments.workspacerules")
+require("fragments.layerrules")
+require("fragments.animations")
+require("fragments.windowrules")
+
+
------------------
---- MONITORS ----
------------------
})
require("noctalia.noctalia-colors")
-require("fragments.keybinds")
-require("fragments.workspacerules")
-require("fragments.layerrules")
-require("fragments.animations")
-require("fragments.windowrules")
-background = rgba(1e1e2eff)
-base = rgba(1e1e2eff)
-text = rgba(cdd6f4ff)
-alternate_base = rgba(313244ff)
-bright_text = rgba(11111bff)
-accent = rgba(cba6f7ff)
-accent_secondary = rgba(fab387ff)
\ No newline at end of file
+background = rgba(0c0c0cff)
+base = rgba(0c0c0cff)
+text = rgba(ffffffff)
+alternate_base = rgba(1c1c1cff)
+bright_text = rgba(000000ff)
+accent = rgba(ffc799ff)
+accent_secondary = rgba(99ffe4ff)
\ No newline at end of file