diff --git a/henrovnix_ok/README.org b/henrovnix_ok/README.org index 4e7460cc0..82c002d79 100755 --- a/henrovnix_ok/README.org +++ b/henrovnix_ok/README.org @@ -91,17 +91,17 @@ They are never tangled into the filesystem. These blocks generate real =.nix= files and insert the same code into the documentation. Example: #+begin_example - ** install_packages.nix + ** packages.nix - #+begin_src nix :tangle configuration/apps/install_packages.nix :noweb tangle :mkdirp yes + #+begin_src nix :tangle configuration/apps/packages.nix :noweb tangle :mkdirp yes #+end_src #+end_example Explanation: -- The headline =install_packages.nix= becomes a documentation chapter. +- The headline =packages.nix= becomes a documentation chapter. - The paragraph == explains what the module does. -- == is exactly what will be written into the .nix module =configuration/apps/install_packages.nix= +- == is exactly what will be written into the .nix module =configuration/apps/packages.nix= - The same source block is rendered as a code block in the documentation. This means: @@ -324,7 +324,7 @@ flatpak search or by browsing: https://flathub.org/. -The behavior and integration of Flatpak installation within the system are defined in =install_flatpaks.nix=, which reads the corresponding configuration files and ensures declarative installation. +The behavior and integration of Flatpak installation within the system are defined in =flatpaks.nix=, which reads the corresponding configuration files and ensures declarative installation. This separation maintains clarity between system-level packages and user-facing Flatpak applications while preserving reproducibility and modular structure. @@ -521,12 +521,12 @@ The tree below shows the full repository layout, with the standardized internal │   │   │   └── ssh │   │   │   └── ssh-client.conf │   │   └── services -│   ├── lock.png +│   ├── lockscreen.png │   └── scripts ├── configuration │   ├── apps -│   │   ├── install_flatpaks.nix -│   │   └── install_packages.nix +│   │   ├── flatpaks.nix +│   │   └── packages.nix │   ├── core │   │   ├── boot.nix │   │   ├── files.nix @@ -864,8 +864,8 @@ This section describes the main system configuration for the computers that I ha { pkgs, user, ... } : { imports = [ - ./apps/install_flatpaks.nix - ./apps/install_packages.nix + ./apps/flatpaks.nix + ./apps/packages.nix ./core/files.nix ./core/locale.nix ./core/networking.nix @@ -899,8 +899,8 @@ This section describes the main system configuration for the computers that I ha ** Apps section This section describes a way of installing packages, either through nixpkgs orr flatpak. What apps to instal is decided in the files ./assets/conf/apps/packages.conf and flatpaks.conf -** install_packages.nix -#+begin_src nix :tangle configuration/apps/install_packages.nix :noweb tangle :mkdirp yes +** packages.nix +#+begin_src nix :tangle configuration/apps/packages.nix :noweb tangle :mkdirp yes { config, lib, pkgs, flakeRoot, inputs, ... }: let packagesConfPath = flakeRoot.outPath + "/assets/conf/apps/packages.conf"; @@ -928,7 +928,7 @@ let in if found == null then throw '' - install_packages.nix: package not found in pkgs + packages.nix: package not found in pkgs Token : ${builtins.toJSON name} packages.conf : ${toString packagesConfPath} Hint : check the attribute name on search.nixos.org/packages @@ -946,8 +946,8 @@ in } #+end_src -** install_flatpaks.nix -#+begin_src nix :tangle configuration/apps/install_flatpaks.nix :noweb tangle :mkdirp yes +** flatpaks.nix +#+begin_src nix :tangle configuration/apps/flatpaks.nix :noweb tangle :mkdirp yes { config, pkgs, lib, flakeRoot, ... }: let moduleName = "install-flatpaks"; @@ -1133,7 +1133,7 @@ This file has most of the settings the control how the computer boots up. } #+end_src -** Login +* Login Here we control what the login screen would look like. In configuration/default.nix you can choose whether to use tuigreet (very minimalistic) or LightDM (nicer, themeable) ** Tuigreet @@ -1162,7 +1162,7 @@ Doesn't match the rest of the aesthetic of the system (with hyprland), but I lik let lightdmConf = builtins.readFile ../../assets/conf/core/lightdm.conf; - lockPng = ../../assets/lock.png; + lockPng = ../../assets/lockscreen.png; greeterConfPath = ../../assets/conf/core/lightdm-gtk-greeter.conf; greeterRaw = builtins.readFile greeterConfPath; @@ -1186,17 +1186,14 @@ let if ms == [] then null else builtins.elemAt ms 0; in if m == null then null else lib.strings.trim (builtins.elemAt m 0); - # In your greeter.conf these are *package keys*, not theme names. themePkgKey = getIniValue "theme-name"; iconPkgKey = getIniValue "icon-theme-name"; cursorPkgKey = getIniValue "cursor-theme-name"; - cursorSizeStr = getIniValue "cursor-theme-size"; cursorSize = if cursorSizeStr == null then null else lib.toInt (lib.strings.trim cursorSizeStr); - # Map package-keys (from greeter.conf) -> { package, name } # # IMPORTANT: @@ -1802,13 +1799,13 @@ They are configured below. #+begin_src nix :tangle home/desktop/hyprlock.nix :noweb tangle :mkdirp yes { config, lib, pkgs, flakeRoot, ... }: let - lockPngSrc = flakeRoot.outPath + "/assets/lock.png"; + lockPngSrc = flakeRoot.outPath + "/assets/lockscreen.png"; hyprlockConf = flakeRoot.outPath + "/assets/conf/desktop/hypr/hyprlock.conf"; in { home.packages = [ pkgs.hyprlock ]; # Gebruik home.file voor echte bestanden (geen symlinks) - home.file.".config/hypr/lock.png" = { + home.file.".config/hypr/lockscreen.png" = { source = lib.mkForce lockPngSrc; }; home.file.".config/hypr/hyprlock.conf" = { diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/Thunar/accels.scm b/henrovnix_ok/assets/conf (kopie 1)/.config/Thunar/accels.scm new file mode 100644 index 000000000..d4035cb56 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/Thunar/accels.scm @@ -0,0 +1,131 @@ +; thunar GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +; (gtk_accel_path "/ThunarDetailsView/expandable-folders" "") +; (gtk_accel_path "/ThunarBookmarks/f4f9b7c05a683015a19351e94cf07e3d" "") +; (gtk_accel_path "/ThunarStandardView/sort-by-type" "") +; (gtk_accel_path "/ThunarStatusBar/toggle-last-modified" "") +; (gtk_accel_path "/Thunarwindow/menu" "") +; (gtk_accel_path "/ThunarActionManager/cut" "x") +; (gtk_accel_path "/ThunarStandardView/sort-by-size" "") +; (gtk_accel_path "/ThunarWindow/file-menu" "") +; (gtk_accel_path "/ThunarWindow/close-tab" "w") +; (gtk_accel_path "/ThunarWindow/switch-previous-tab-alt" "ISO_Left_Tab") +; (gtk_accel_path "/ThunarStatusBar/toggle-size" "") +; (gtk_accel_path "/ThunarWindow/new-window" "n") +; (gtk_accel_path "/ThunarWindow/clear-directory-specific-settings" "") +; (gtk_accel_path "/ThunarWindow/close-window" "q") +; (gtk_accel_path "/ThunarWindow/open-parent" "Up") +; (gtk_accel_path "/ThunarWindow/view-side-pane-menu" "") +; (gtk_accel_path "/ThunarStatusBar/toggle-size-in-bytes" "") +; (gtk_accel_path "/ThunarWindow/switch-previous-tab" "Page_Up") +; (gtk_accel_path "/ThunarActionManager/open" "o") +; (gtk_accel_path "/ThunarStandardView/sort-ascending" "") +; (gtk_accel_path "/ThunarWindow/toggle-split-view" "F3") +; (gtk_accel_path "/ThunarActionManager/copy-2" "Insert") +; (gtk_accel_path "/ThunarActionManager/trash-delete" "Delete") +; (gtk_accel_path "/ThunarWindow/open-recent" "") +; (gtk_accel_path "/ThunarWindow/view-configure-toolbar" "") +; (gtk_accel_path "/ThunarStandardView/forward" "Right") +; (gtk_accel_path "/ThunarActionManager/restore" "") +; (gtk_accel_path "/ThunarWindow/open-location-alt" "d") +; (gtk_accel_path "/ThunarWindow/zoom-out-alt" "KP_Subtract") +; (gtk_accel_path "/ThunarStandardView/select-by-pattern" "s") +; (gtk_accel_path "/ThunarWindow/open-file-menu" "F10") +; (gtk_accel_path "/ThunarWindow/contents" "F1") +; (gtk_accel_path "/ThunarWindow/show-highlight" "") +; (gtk_accel_path "/ThunarStandardView/sort-descending" "") +; (gtk_accel_path "/ThunarStandardView/sort-by-name" "") +; (gtk_accel_path "/ThunarBookmarks/b642744ba505349eb43f3232902f4a96" "") +; (gtk_accel_path "/ThunarStandardView/select-all-files" "a") +; (gtk_accel_path "/ThunarActionManager/execute" "") +; (gtk_accel_path "/ThunarStandardView/properties" "Return") +; (gtk_accel_path "/ThunarActionManager/cut-2" "") +; (gtk_accel_path "/ThunarStandardView/sort-by-dtime" "") +; (gtk_accel_path "/ThunarBookmarks/51e116aa815495db13c58c73eec99304" "") +; (gtk_accel_path "/ThunarWindow/switch-next-tab" "Page_Down") +; (gtk_accel_path "/ThunarWindow/open-templates" "") +; (gtk_accel_path "/ThunarActionManager/paste-2" "Insert") +; (gtk_accel_path "/ThunarStatusBar/toggle-filetype" "") +; (gtk_accel_path "/ThunarWindow/close-all-windows" "w") +; (gtk_accel_path "/ThunarStandardView/create-document" "") +; (gtk_accel_path "/ThunarWindow/detach-tab" "") +; (gtk_accel_path "/ThunarWindow/cancel-search" "Escape") +; (gtk_accel_path "/ThunarWindow/zoom-in-alt2" "equal") +; (gtk_accel_path "/ThunarStatusBar/toggle-hidden-count" "") +; (gtk_accel_path "/ThunarShortcutsPane/sendto-shortcuts" "d") +; (gtk_accel_path "/ThunarActionManager/undo" "z") +; (gtk_accel_path "/ThunarBookmarks/f08c8da7eedf52bf1705513340708bed" "") +; (gtk_accel_path "/ThunarStandardView/toggle-sort-order" "") +; (gtk_accel_path "/ThunarWindow/view-location-selector-entry" "") +; (gtk_accel_path "/ThunarActionManager/paste" "v") +; (gtk_accel_path "/ThunarWindow/zoom-in-alt1" "KP_Add") +; (gtk_accel_path "/ThunarWindow/view-menubar" "m") +; (gtk_accel_path "/ThunarStandardView/back" "Left") +; (gtk_accel_path "/ThunarWindow/open-desktop" "") +; (gtk_accel_path "/ThunarWindow/view-as-detailed-list" "2") +; (gtk_accel_path "/ThunarActionManager/restore-show" "") +; (gtk_accel_path "/ThunarWindow/sendto-menu" "") +; (gtk_accel_path "/ThunarStatusBar/toggle-display-name" "") +; (gtk_accel_path "/ThunarWindow/go-menu" "") +; (gtk_accel_path "/ThunarWindow/zoom-out" "minus") +; (gtk_accel_path "/ThunarWindow/remove-from-recent" "") +; (gtk_accel_path "/ThunarActionManager/open-with-other" "") +; (gtk_accel_path "/ThunarStandardView/invert-selection" "i") +; (gtk_accel_path "/ThunarWindow/view-side-pane-shortcuts" "b") +; (gtk_accel_path "/ThunarWindow/reload-alt-2" "Reload") +; (gtk_accel_path "/ThunarWindow/view-location-selector-menu" "") +; (gtk_accel_path "/ThunarStandardView/sort-by-mtime" "") +; (gtk_accel_path "/ThunarWindow/edit-menu" "") +; (gtk_accel_path "/ThunarActionManager/copy" "c") +; (gtk_accel_path "/ThunarWindow/bookmarks-menu" "") +; (gtk_accel_path "/ThunarStandardView/forward-alt" "Forward") +; (gtk_accel_path "/ThunarActionManager/move-to-trash" "") +; (gtk_accel_path "/ThunarWindow/reload-alt-1" "F5") +; (gtk_accel_path "/ThunarActionManager/delete-3" "KP_Delete") +; (gtk_accel_path "/ThunarWindow/reload" "r") +; (gtk_accel_path "/ThunarStandardView/arrange-items-menu" "") +; (gtk_accel_path "/ThunarStandardView/unselect-all-files" "Escape") +; (gtk_accel_path "/ThunarWindow/open-computer" "") +; (gtk_accel_path "/ThunarWindow/toggle-image-preview" "") +; (gtk_accel_path "/ThunarWindow/toggle-side-pane" "F9") +; (gtk_accel_path "/ThunarWindow/view-as-icons" "1") +; (gtk_accel_path "/ThunarActionManager/delete-2" "Delete") +; (gtk_accel_path "/ThunarWindow/zoom-in" "plus") +; (gtk_accel_path "/ThunarStandardView/configure-columns" "") +; (gtk_accel_path "/ThunarStandardView/rename" "F2") +; (gtk_accel_path "/ThunarWindow/open-location" "l") +; (gtk_accel_path "/ThunarWindow/view-as-compact-list" "3") +; (gtk_accel_path "/ThunarWindow/view-menu" "") +; (gtk_accel_path "/ThunarWindow/search" "f") +; (gtk_accel_path "/ThunarWindow/new-tab" "t") +; (gtk_accel_path "/ThunarWindow/zoom-reset" "0") +; (gtk_accel_path "/ThunarWindow/contents/help-menu" "") +; (gtk_accel_path "/ThunarActionManager/open-in-new-tab" "p") +; (gtk_accel_path "/ThunarWindow/view-location-selector-buttons" "") +; (gtk_accel_path "/ThunarStandardView/back-alt2" "Back") +; (gtk_accel_path "/ThunarActionManager/redo" "z") +; (gtk_accel_path "/ThunarWindow/open-trash" "") +; (gtk_accel_path "/ThunarActionManager/open-in-new-window" "o") +; (gtk_accel_path "/ThunarWindow/view-statusbar" "") +; (gtk_accel_path "/ThunarActionManager/open-location" "") +; (gtk_accel_path "/ThunarStandardView/duplicate" "") +; (gtk_accel_path "/ThunarActionManager/trash-delete-2" "KP_Delete") +; (gtk_accel_path "/ThunarStandardView/back-alt1" "BackSpace") +; (gtk_accel_path "/ThunarStandardView/create-folder" "n") +; (gtk_accel_path "/ThunarWindow/open-home" "Home") +; (gtk_accel_path "/ThunarWindow/switch-focused-split-view-pane" "") +; (gtk_accel_path "/ThunarWindow/show-hidden" "h") +; (gtk_accel_path "/ThunarStandardView/set-default-app" "") +; (gtk_accel_path "/ThunarWindow/empty-trash" "") +; (gtk_accel_path "/ThunarWindow/preferences" "") +; (gtk_accel_path "/ThunarActionManager/delete" "") +; (gtk_accel_path "/ThunarWindow/open-network" "") +; (gtk_accel_path "/ThunarWindow/view-side-pane-tree" "e") +; (gtk_accel_path "/ThunarWindow/open-file-system" "") +; (gtk_accel_path "/ThunarWindow/search-alt" "Search") +; (gtk_accel_path "/ThunarWindow/switch-next-tab-alt" "Tab") +; (gtk_accel_path "/ThunarActionManager/sendto-desktop" "") +; (gtk_accel_path "/ThunarStandardView/make-link" "") +; (gtk_accel_path "/ThunarWindow/zoom-reset-alt" "KP_0") +; (gtk_accel_path "/ThunarWindow/about" "") diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/Thunar/uca.xml b/henrovnix_ok/assets/conf (kopie 1)/.config/Thunar/uca.xml new file mode 100644 index 000000000..7ec1149b6 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/Thunar/uca.xml @@ -0,0 +1,31 @@ + + + + utilities-terminal + Open Terminal Here + + 1771155705496049-1 + exo-open --working-directory %f --launch TerminalEmulator + Example for a custom action + + * + + + + + + Copy Full Path + + 1771928240025354-1 + sh -c 'printf "%s" "%f" | wl-copy' + Copy Full Path + * + * + + + + + + + + diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/git/config b/henrovnix_ok/assets/conf (kopie 1)/.config/git/config new file mode 100644 index 000000000..5b3b03eec --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/git/config @@ -0,0 +1,5 @@ +[filter "lfs"] + clean = "git-lfs clean -- %f" + process = "git-lfs filter-process" + required = true + smudge = "git-lfs smudge -- %f" diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/README.org b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/README.org new file mode 100644 index 000000000..e69de29bb diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hypridle.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hypridle.conf new file mode 100644 index 000000000..fa196fd52 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hypridle.conf @@ -0,0 +1,16 @@ +general { + lock_cmd = hyprlock + after_sleep_cmd = hyprctl dispatch dpms on + ignore_dbus_inhibit = false +} + +listener { + timeout = 600 + on-timeout = hyprlock +} + +listener { + timeout = 900 + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprland.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprland.conf new file mode 100644 index 000000000..2885ad344 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprland.conf @@ -0,0 +1,311 @@ +exec-once = /nix/store/c9cnbxhxbagj7gfpc1g5hl4x4f8dzayv-dbus-1.16.2/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target +exec-once=hyprctl plugin load /nix/store/pp3nj4j10p34f3hx2kdwd6m3yxzkaygd-hyprscrolling-0.53.0/lib/libhyprscrolling.so +exec-once=hyprctl plugin load /nix/store/bmrcf2a9sa5adbgmlg38kgzssj7s5wjz-hyprexpo-0.53.0/lib/libhyprexpo.so +source=/nix/store/mjbgcv2gizslspivcnr7bpqi7igrs75z-catppuccin-hyprland-0-unstable-2024-06-19/mocha.conf +source=/nix/store/09fs6r6g6l8s3a433bzqwbjgp8d5dal1-hyprland-blue-accent.conf +windowrule=match:class nm-connection-editor, float 1, center 1, size 900 700 +source = /home/henrov/.config/hypr/conf.d/90-hyprscrolling.conf + +############################################## +# These files are just for reference. +# If you want to change anything definitive, edit the source files in: +# ~/henrovnix/assets/conf +# Temporarily(!) testing can by editing this file, edit the file and reloading hyprshell +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################### + +############################ +# Variables +############################ + +# Colors (Hyprland "col" values commonly use rgba(aarrggbb)-style hex) +# See Hyprland variable / type docs for color formats & bools. :contentReference[oaicite:2]{index=2} +$base = rgba(1e1e2eff) +$inactive = rgba(595959aa) +$blue = rgba(33ccffee) +$green = rgba(00ff99ee) + +# Recommended for correct environment in systemd user session / portals. :contentReference[oaicite:4]{index=4} +exec-once = dbus-update-activation-environment --systemd --all +exec-once = uwsm app -- waybar + +# put these at top-level (recommended), not inside general { }: +layerrule = blur on, ignore_alpha 1, match:namespace waybar +layerrule = xray 1, match:namespace waybar +layerrule = blur on, ignore_alpha 1, match:namespace walker +layerrule = xray 1, match:namespace walker +layerrule = blur on, ignore_alpha 1, match:namespace swaync-control-center +layerrule = blur on, ignore_alpha 1, match:namespace swaync-notification-window + +input { + follow_mouse = 1 + kb_layout = us + kb_options = ctrl:nocaps + sensitivity = -0.5 + accel_profile = adaptive + scroll_factor = 0.5 + touchpad { + natural_scroll = yes + scroll_factor = 0.5 + } +} +cursor { + no_hardware_cursors = true +} +general { + gaps_in = 2 + gaps_out = 4 + border_size = 2 + # Gradient syntax: color color angle (e.g. 45deg). :contentReference[oaicite:5]{index=5} + col.active_border = $blue $green 45deg + col.inactive_border = $inactive + layout = scrolling + resize_on_border = true + extend_border_grab_area = 20 # Makes it easier to "grab" the edge +} +decoration { + rounding = 5 + blur { + enabled = yes + size = 8 + passes = 3 + new_optimizations = on + } +} +animations { + enabled = yes + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} +dwindle { + pseudotile = yes + preserve_split = yes +} +misc { + disable_hyprland_logo = false + focus_on_activate = true +} +# Start required session helpers +exec-once = hypridle +exec-once = hyprpolkitagent +# Lid close: lock only if no external monitor is connected +bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-lock.sh +# Lid open: turn DPMS back on (does not unlock) +bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on + +exec-once = systemd-run --user --scope --unit=elephant elephant +exec-once = ~/.config/hypr/scripts/hyprscrolling-listener.sh + +# --- Repo keybindings --- +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# Temporarily(!) testing can by editing this file, edit the file and reloading hyprshell +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################### + + + +# Keybindings # +############### + +$mainMod = SUPER + +# use walker to show exec menu +bind = $mainMod, Space , exec, walker +bind = $mainMod, P, pseudo +bind = $mainMod, T, togglesplit + +# grimblast +bind = $mainMod SHIFT, p, exec, grimblast -n -f copysave active +bind = $mainMod SHIFT, a, exec, grimblast -n -f copysave area +bind = $mainMod ALT, p, exec, grimblast -n -f copysave output +bind = $mainMod CTRL, p, exec, grimblast -n -f copysave screen + +# Terminal / launcher / kill / reload +bind = $mainMod, E, exec, thunar +bind = $mainMod, RETURN, exec, kitty +bind = $mainMod, D, exec, wofi --show drun +bind = $mainMod, Q, killactive, +bind = $mainMod SHIFT, Q, exit, +bind = $mainMod SHIFT, R, exec, hyprctl reload + +# Switch windows +bind = $mainMod, TAB, hyprexpo:expo, toggle +bind = ALT, TAB, cyclenext, +# bind = ALT SHIFT, TAB, cyclenext prev + +# Hyprscrolling +bind = $mainMod, period, layoutmsg, move +col +bind = $mainMod, comma, layoutmsg, swapcol l +# Make / break a tab-group (stack) +bind = $mainMod, S, togglegroup +# Cycle tabs in the group +bind = $mainMod, L, changegroupactive, f +bind = $mainMod, H, changegroupactive, b +bind = $mainMod, T, exec, ~/.config/hypr/scripts/toggle-layout-scrolling-dwindle.sh + +# Focus movement +bind = $mainMod, H, movefocus, l +bind = $mainMod, L, movefocus, r +bind = $mainMod, K, movefocus, u +bind = $mainMod, J, movefocus, d +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Move windows +bind = $mainMod SHIFT, H, movewindow, l +bind = $mainMod SHIFT, L, movewindow, r +bind = $mainMod SHIFT, K, movewindow, u +bind = $mainMod SHIFT, J, movewindow, d +bind = $mainMod SHIFT, left, movewindow, l +bind = $mainMod SHIFT, right, movewindow, r +bind = $mainMod SHIFT, up, movewindow, u +bind = $mainMod SHIFT, down, movewindow, d + +# Resize windows +bind = $mainMod CTRL, H, resizeactive, -30 0 +bind = $mainMod CTRL, L, resizeactive, 30 0 +bind = $mainMod CTRL, K, resizeactive, 0 -30 +bind = $mainMod CTRL, J, resizeactive, 0 30 + +# Floating / fullscreen +bind = $mainMod, V, togglefloating, +bind = $mainMod, F, fullscreen, 0 +bind = $mainMod SHIFT, F, fullscreen, 1 + +# Workspaces +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# Cycle workspaces +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Mouse drag +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +######################### +# Screenshots +######################### +bind = $mainMod SHIFT, s, exec, grim -g "$(slurp)" - | wl-copy +bind = , XF86Screenshot, exec, grim - | wl-copy + +######################### +# Audio (pamixer) +######################### +bind = , XF86AudioRaiseVolume, exec, pamixer -i 5 +bind = , XF86AudioLowerVolume, exec, pamixer -d 5 +bind = , XF86AudioMute, exec, pamixer -t +bind = , XF86AudioMicMute, exec, pamixer --default-source -t + +######################### +# Media (playerctl) +######################### +bind = , XF86AudioPlay, exec, playerctl play-pause +bind = , XF86AudioPause, exec, playerctl pause +bind = , XF86AudioNext, exec, playerctl next +bind = , XF86AudioPrev, exec, playerctl previous +bind = , XF86AudioStop, exec, playerctl stop + +######################### +# Brightness (brightnessctl) +######################### +bind = , XF86MonBrightnessUp, exec, brightnessctl set +10% +bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%- +bind = , XF86KbdBrightnessUp, exec, brightnessctl -d '*kbd_backlight*' set +10% +bind = , XF86KbdBrightnessDown, exec, brightnessctl -d '*kbd_backlight*' set 10%- + +######################### +# Power / session +######################### +bind = , XF86Sleep, exec, systemctl suspend +bind = , XF86PowerOff, exec, systemctl poweroff +bind = , XF86WakeUp, exec, systemctl suspend +bind = $mainMod, L, exec, loginctl lock-session +bind = $mainMod, X, exec, ~/.config/hypr/scripts/powermenu.sh + +######################### +# Laptop lid settings +######################### +bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-action.sh +bindl = , switch:off:Lid Switch, exec, ~/.config/hypr/scripts/lid-restore.sh + +######################### +# Start apps +######################### +bind = CTRL ALT, B, exec, flatpak run eu.betterbird.Betterbird +bind = CTRL ALT, S, exec, spotify +bind = $mainMod, z, exec, zeditor +bind = $mainMod, w, exec, zen --url https://nextcloud.data-pro.nu + + +# Default portable monitor rule +monitor=DP-1,3840x1080@144,1920x0,1 + +############################ +# Hyprexpo (workspace/window overview) +############################ + +# Basic plugin config (tweak as you like) +plugin { + hyprexpo { + columns = 3 + gaps_in = 5 + gaps_out = 20 + + # Optional; comment out if you don't want it + # workspace_method = center current + } +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprlock.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprlock.conf new file mode 100644 index 000000000..c7fdcd37b --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprlock.conf @@ -0,0 +1,32 @@ +# ~/.config/hypr/hyprlock.conf + +general { + grace = 2 + ignore_empty_input = true +} + +background { + path = ~/.config/hypr/lock.png + blur_passes = 2 + blur_size = 6 +} + +input-field { + size = 320, 60 + outline_thickness = 2 + dots_size = 0.25 + dots_spacing = 0.20 + fade_on_empty = true + placeholder_text = "Password" + position = 0, -120 + halign = center + valign = center +} + +label { + text = $TIME + font_size = 72 + position = 0, 120 + halign = center + valign = center +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprpaper/config/DP-1/defaults.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprpaper/config/DP-1/defaults.conf new file mode 100644 index 000000000..25fd36675 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprpaper/config/DP-1/defaults.conf @@ -0,0 +1,9 @@ +w-1= /home/henrov/nixos_conf/wallpaperstuff/pictures/1.jpg +w-2= /home/henrov/nixos_conf/wallpaperstuff/pictures/2.jpg +w-3= /home/henrov/nixos_conf/wallpaperstuff/pictures/3.jpg +w-4= /home/henrov/nixos_conf/wallpaperstuff/pictures/4.png +w-5= /home/henrov/nixos_conf/wallpaperstuff/pictures/5.jpg +w-6= /home/henrov/nixos_conf/wallpaperstuff/pictures/6.jpg +w-7= /home/henrov/nixos_conf/wallpaperstuff/pictures/7.jpg +w-8= /home/henrov/nixos_conf/wallpaperstuff/pictures/8.jpg +w-9= /home/henrov/nixos_conf/wallpaperstuff/pictures/9.jpg diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprpaper/config/eDP-1/defaults.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprpaper/config/eDP-1/defaults.conf new file mode 100644 index 000000000..25fd36675 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/hyprpaper/config/eDP-1/defaults.conf @@ -0,0 +1,9 @@ +w-1= /home/henrov/nixos_conf/wallpaperstuff/pictures/1.jpg +w-2= /home/henrov/nixos_conf/wallpaperstuff/pictures/2.jpg +w-3= /home/henrov/nixos_conf/wallpaperstuff/pictures/3.jpg +w-4= /home/henrov/nixos_conf/wallpaperstuff/pictures/4.png +w-5= /home/henrov/nixos_conf/wallpaperstuff/pictures/5.jpg +w-6= /home/henrov/nixos_conf/wallpaperstuff/pictures/6.jpg +w-7= /home/henrov/nixos_conf/wallpaperstuff/pictures/7.jpg +w-8= /home/henrov/nixos_conf/wallpaperstuff/pictures/8.jpg +w-9= /home/henrov/nixos_conf/wallpaperstuff/pictures/9.jpg diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/lock.png b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/lock.png new file mode 100755 index 000000000..46eb4a70c Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/lock.png differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/scripts/lid-lock.sh b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/scripts/lid-lock.sh new file mode 100755 index 000000000..55e0e92ef --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/scripts/lid-lock.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash +set -euo pipefail + +INTERNAL="eDP1" + +has_external() { + # Any monitor name that is not INTERNAL counts as external + hyprctl monitors -j | grep -q '"name"' && ! hyprctl monitors -j | grep -q "\"name\":\"$INTERNAL\"\"" +} + +has_external_robust() { + # robust without jq: count monitor names; if there's >1 OR there's a name not INTERNAL + local names + names="$(hyprctl monitors -j | sed -n 's/.*"name":"\([^"]*\)".*/\1/p')" + # if any name != INTERNAL then external + echo "$names" | grep -vx "$INTERNAL" >/dev/null 2>&1 +} + +if has_external_robust; then + # Clamshell: disable laptop panel, no lock + hyprctl keyword monitor "${INTERNAL},disable" +else + # Laptop only: suspend + systemctl suspend +fi diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/scripts/powermenu.sh b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/scripts/powermenu.sh new file mode 100755 index 000000000..97e931661 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hypr/scripts/powermenu.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +set -euo pipefail + +OPTIONS=" Lock + Logout (Hyprland) + Suspend + Hibernate + Reboot + Shutdown + Cancel" + +CHOICE=$(printf "%s" "$OPTIONS" | walker --dmenu ) + +case "$CHOICE" in + "Lock") + loginctl lock-session + ;; + "Logout (Hyprland)") + hyprctl dispatch exit + ;; + "Suspend") + loginctl lock-session && systemctl suspend + ;; + "Hibernate") + loginctl lock-session && systemctl hibernate + ;; + "Reboot") + systemctl reboot + ;; + "Shutdown") + systemctl poweroff + ;; + *) + exit 0 + ;; +esac diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hyprshell/config.ron b/henrovnix_ok/assets/conf (kopie 1)/.config/hyprshell/config.ron new file mode 100644 index 000000000..9928604e0 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hyprshell/config.ron @@ -0,0 +1,71 @@ +// Edit with `hyprshell config edit` <-- GUI app, resize! +( + version: 3, + windows: ( + scale: 8.5, + items_per_row: 5 , + overview: ( + launcher: ( + default_terminal: None, + launch_modifier: "ctrl", + width: 800, + max_items: 5, + show_when_empty: true, + plugins: ( + applications: ( + run_cache_weeks: 8, + show_execs: true, + show_actions_submenu: true, + ), + terminal: None, + shell: None, + websearch: None, + calc: (), + path: (), + actions: ( + actions: [ + lock_screen, + hibernate, + logout, + reboot, + shutdown, + suspend, + custom( + names: [ + "Kill", + "Stop", + ], + details: "Kill or stop a process by name", + command: "pkill \"{}\" && notify-send hyprshell \"stopped {}\"", + icon: "remove", + ), + custom( + names: [ + "Reload Hyprshell", + ], + details: "Reload Hyprshell", + command: "sleep 1; hyprshell socat \'\"Restart\"\'", + icon: "system-restart", + ), + ], + ), + ), + ), + key: "Super_L", + modifier: "super", + filter_by: [], + hide_filtered: false, + exclude_special_workspaces: "", + ), + switch: ( + modifier: "alt", + key: "Tab", + filter_by: [ + current_monitor, + ], + switch_workspaces: false, + exclude_special_workspaces: "", + ), + switch_2: None, + ), +) diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/hyprshell/styles.css b/henrovnix_ok/assets/conf (kopie 1)/.config/hyprshell/styles.css new file mode 100644 index 000000000..ac37156a3 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/hyprshell/styles.css @@ -0,0 +1,8 @@ +window { + background: rgba(20, 20, 20, 0.92); + border-radius: 18px; +} + +* { + background-color: unset; +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/certificate.pem b/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/certificate.pem new file mode 100644 index 000000000..13c471df6 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/certificate.pem @@ -0,0 +1,11 @@ +-----BEGIN CERTIFICATE----- +MIIBnTCCAUSgAwIBAgIUH22zKyfwunPmVhN8fQFqDve51bswCgYIKoZIzj0EAwQw +TzEpMCcGA1UEAwwgMWU1Y2ZhMDdiNTQxNDQ5OWE4Yzg0YTIzMzFjYTkyY2QxDDAK +BgNVBAoMA0tERTEUMBIGA1UECwwLS0RFIENvbm5lY3QwHhcNMjUwMjE2MTU1NjI2 +WhcNMzYwMjE0MTU1NjI2WjBPMSkwJwYDVQQDDCAxZTVjZmEwN2I1NDE0NDk5YThj +ODRhMjMzMWNhOTJjZDEMMAoGA1UECgwDS0RFMRQwEgYDVQQLDAtLREUgQ29ubmVj +dDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABMFIBTF9LuWEQIoTOD6lxKUzLQQ1 +gVfkpoMCSO3m6TKawSqz5RIkL46lPb3dhRs9GPz7RlqV00GNzj7sVcOmMHgwCgYI +KoZIzj0EAwQDRwAwRAIgJfSj4nXAVB7EEIt1xJVo5fnqPsLoUK3ina34JIXkAu4C +IApwICWB8PgU209qhYWFLVU5DWuFt1vF3Cql/ijSUW0y +-----END CERTIFICATE----- diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/config b/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/config new file mode 100644 index 000000000..cdad8a7a4 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/config @@ -0,0 +1,3 @@ +[General] +keyAlgorithm=EC +name=nixos diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/privateKey.pem b/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/privateKey.pem new file mode 100644 index 000000000..ba4802f2d --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/kdeconnect/privateKey.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIbKpOVq1bq2oO0xZ/nOt6VYQRafML7fh5id4IxYqmd+oAoGCCqGSM49 +AwEHoUQDQgAEwUgFMX0u5YRAihM4PqXEpTMtBDWBV+SmgwJI7ebpMprBKrPlEiQv +jqU9vd2FGz0Y/PtGWpXTQY3OPuxVw6YweA== +-----END EC PRIVATE KEY----- diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/kitty/kitty.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/kitty/kitty.conf new file mode 100644 index 000000000..39646efb4 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/kitty/kitty.conf @@ -0,0 +1,46 @@ +# Generated by Home Manager. +# See https://sw.kovidgoyal.net/kitty/conf.html +include /nix/store/inyp0v9sjc28ndwjbd4lkh80zw2av0nc-kitty-themes-0-unstable-2026-02-01/share/kitty-themes/themes/Catppuccin-Mocha.conf + +# Shell integration is sourced and configured manually +shell_integration no-rc + + + + + + +# 1) Theme first (stable path) +include themes/Catppuccin-Mocha.conf +# 2) Your repo config (may also include theme; harmless if duplicated) +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################### + +# Force transparency (comes from the conf file, as you want) +background_opacity 0.40 +dynamic_background_opacity yes + +# the rest… +map ctrl+shift+v paste_from_clipboard +map ctrl+shift+c copy_to_clipboard + +# 3) Force transparency last (wins) +#background_opacity 0.60 +#dynamic_background_opacity yes + diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/kitty/themes/Catppuccin-Mocha.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/kitty/themes/Catppuccin-Mocha.conf new file mode 100644 index 000000000..6eb38becc --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/kitty/themes/Catppuccin-Mocha.conf @@ -0,0 +1,84 @@ +# vim:ft=kitty + +## name: Catppuccin Kitty Mocha +## author: Catppuccin Org +## license: MIT +## upstream: https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf +## blurb: Soothing pastel theme for the high-spirited! + + + +# The basic colors +foreground #cdd6f4 +background #1e1e2e +selection_foreground #1e1e2e +selection_background #f5e0dc + +# Cursor colors +cursor #f5e0dc +cursor_text_color #1e1e2e + +# Scrollbar colors +scrollbar_handle_color #9399b2 +scrollbar_track_color #45475a + +# URL color when hovering with mouse +url_color #f5e0dc + +# Kitty window border colors +active_border_color #b4befe +inactive_border_color #6c7086 +bell_border_color #f9e2af + +# OS Window titlebar colors +wayland_titlebar_color system +macos_titlebar_color system + +# Tab bar colors +active_tab_foreground #11111b +active_tab_background #cba6f7 +inactive_tab_foreground #cdd6f4 +inactive_tab_background #181825 +tab_bar_background #11111b + +# Colors for marks (marked text in the terminal) +mark1_foreground #1e1e2e +mark1_background #b4befe +mark2_foreground #1e1e2e +mark2_background #cba6f7 +mark3_foreground #1e1e2e +mark3_background #74c7ec + +# The 16 terminal colors + +# black +color0 #45475a +color8 #585b70 + +# red +color1 #f38ba8 +color9 #f38ba8 + +# green +color2 #a6e3a1 +color10 #a6e3a1 + +# yellow +color3 #f9e2af +color11 #f9e2af + +# blue +color4 #89b4fa +color12 #89b4fa + +# magenta +color5 #f5c2e7 +color13 #f5c2e7 + +# cyan +color6 #94e2d5 +color14 #94e2d5 + +# white +color7 #bac2de +color15 #a6adc8 diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/starship.toml b/henrovnix_ok/assets/conf (kopie 1)/.config/starship.toml new file mode 100644 index 000000000..ba9bd82ab --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/starship.toml @@ -0,0 +1,279 @@ +"$schema" = 'https://starship.rs/config-schema.json' + +format = """ +[](red)\ +$os\ +$username\ +[](bg:peach fg:red)\ +$directory\ +[](bg:yellow fg:peach)\ +$git_branch\ +$git_status\ +[](fg:yellow bg:green)\ +$c\ +$rust\ +$golang\ +$nodejs\ +$php\ +$java\ +$kotlin\ +$haskell\ +$python\ +[](fg:green bg:sapphire)\ +$conda\ +[](fg:sapphire bg:lavender)\ +$time\ +[ ](fg:lavender)\ +$cmd_duration\ +$line_break\ +$character""" + +palette = 'catppuccin_mocha' + +[os] +disabled = false +style = "bg:red fg:crust" + +[os.symbols] +Windows = "" +Ubuntu = "󰕈" +SUSE = "" +Raspbian = "󰐿" +Mint = "󰣭" +Macos = "󰀵" +Manjaro = "" +Linux = "󰌽" +Gentoo = "󰣨" +Fedora = "󰣛" +Alpine = "" +Amazon = "" +Android = "" +AOSC = "" +Arch = "󰣇" +Artix = "󰣇" +CentOS = "" +Debian = "󰣚" +Redhat = "󱄛" +RedHatEnterprise = "󱄛" + +[username] +show_always = true +style_user = "bg:red fg:crust" +style_root = "bg:red fg:crust" +format = '[ $user]($style)' + +[directory] +style = "bg:peach fg:crust" +format = "[ $path ]($style)" +truncation_length = 3 +truncation_symbol = "…/" + +[directory.substitutions] +"Documents" = "󰈙 " +"Downloads" = " " +"Music" = "󰝚 " +"Pictures" = " " +"Developer" = "󰲋 " + +[git_branch] +symbol = "" +style = "bg:yellow" +format = '[[ $symbol $branch ](fg:crust bg:yellow)]($style)' + +[git_status] +style = "bg:yellow" +format = '[[($all_status$ahead_behind )](fg:crust bg:yellow)]($style)' + +[nodejs] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[c] +symbol = " " +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[rust] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[golang] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[php] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[java] +symbol = " " +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[kotlin] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[haskell] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[python] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version)(\(#$virtualenv\)) ](fg:crust bg:green)]($style)' + +[docker_context] +symbol = "" +style = "bg:sapphire" +format = '[[ $symbol( $context) ](fg:crust bg:sapphire)]($style)' + +[conda] +symbol = "  " +style = "fg:crust bg:sapphire" +format = '[$symbol$environment ]($style)' +ignore_base = false + +[time] +disabled = false +time_format = "%R" +style = "bg:lavender" +format = '[[  $time ](fg:crust bg:lavender)]($style)' + +[line_break] +disabled = false + +[character] +disabled = false +success_symbol = '[❯](bold fg:green)' +error_symbol = '[❯](bold fg:red)' +vimcmd_symbol = '[❮](bold fg:green)' +vimcmd_replace_one_symbol = '[❮](bold fg:lavender)' +vimcmd_replace_symbol = '[❮](bold fg:lavender)' +vimcmd_visual_symbol = '[❮](bold fg:yellow)' + +[cmd_duration] +show_milliseconds = true +format = " in $duration " +style = "bg:lavender" +disabled = false +show_notifications = true +min_time_to_notify = 45000 + +[palettes.catppuccin_mocha] +rosewater = "#f5e0dc" +flamingo = "#f2cdcd" +pink = "#f5c2e7" +mauve = "#cba6f7" +red = "#f38ba8" +maroon = "#eba0ac" +peach = "#fab387" +yellow = "#f9e2af" +green = "#a6e3a1" +teal = "#94e2d5" +sky = "#89dceb" +sapphire = "#74c7ec" +blue = "#89b4fa" +lavender = "#b4befe" +text = "#cdd6f4" +subtext1 = "#bac2de" +subtext0 = "#a6adc8" +overlay2 = "#9399b2" +overlay1 = "#7f849c" +overlay0 = "#6c7086" +surface2 = "#585b70" +surface1 = "#45475a" +surface0 = "#313244" +base = "#1e1e2e" +mantle = "#181825" +crust = "#11111b" + +[palettes.catppuccin_frappe] +rosewater = "#f2d5cf" +flamingo = "#eebebe" +pink = "#f4b8e4" +mauve = "#ca9ee6" +red = "#e78284" +maroon = "#ea999c" +peach = "#ef9f76" +yellow = "#e5c890" +green = "#a6d189" +teal = "#81c8be" +sky = "#99d1db" +sapphire = "#85c1dc" +blue = "#8caaee" +lavender = "#babbf1" +text = "#c6d0f5" +subtext1 = "#b5bfe2" +subtext0 = "#a5adce" +overlay2 = "#949cbb" +overlay1 = "#838ba7" +overlay0 = "#737994" +surface2 = "#626880" +surface1 = "#51576d" +surface0 = "#414559" +base = "#303446" +mantle = "#292c3c" +crust = "#232634" + +[palettes.catppuccin_latte] +rosewater = "#dc8a78" +flamingo = "#dd7878" +pink = "#ea76cb" +mauve = "#8839ef" +red = "#d20f39" +maroon = "#e64553" +peach = "#fe640b" +yellow = "#df8e1d" +green = "#40a02b" +teal = "#179299" +sky = "#04a5e5" +sapphire = "#209fb5" +blue = "#1e66f5" +lavender = "#7287fd" +text = "#4c4f69" +subtext1 = "#5c5f77" +subtext0 = "#6c6f85" +overlay2 = "#7c7f93" +overlay1 = "#8c8fa1" +overlay0 = "#9ca0b0" +surface2 = "#acb0be" +surface1 = "#bcc0cc" +surface0 = "#ccd0da" +base = "#eff1f5" +mantle = "#e6e9ef" +crust = "#dce0e8" + +[palettes.catppuccin_macchiato] +rosewater = "#f4dbd6" +flamingo = "#f0c6c6" +pink = "#f5bde6" +mauve = "#c6a0f6" +red = "#ed8796" +maroon = "#ee99a0" +peach = "#f5a97f" +yellow = "#eed49f" +green = "#a6da95" +teal = "#8bd5ca" +sky = "#91d7e3" +sapphire = "#7dc4e4" +blue = "#8aadf4" +lavender = "#b7bdf8" +text = "#cad3f5" +subtext1 = "#b8c0e0" +subtext0 = "#a5adcb" +overlay2 = "#939ab7" +overlay1 = "#8087a2" +overlay0 = "#6e738d" +surface2 = "#5b6078" +surface1 = "#494d64" +surface0 = "#363a4f" +base = "#24273a" +mantle = "#1e2030" +crust = "#181926" diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/walker/config.toml b/henrovnix_ok/assets/conf (kopie 1)/.config/walker/config.toml new file mode 100644 index 000000000..366317aec --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/walker/config.toml @@ -0,0 +1,116 @@ +# Walker UI layout/theme config (Catppuccin Mocha tuned) + +theme = "frosted" +debug = true + +[ui] +css = "home/henrov/themes/frosted/walker.css" + +[ui.anchors] +top = true +left = true +right = true +bottom = false # don't stretch to full height; keeps it as a panel + +[ui.window] +h_align = "fill" +v_align = "fill" + +[ui.window.box] +h_align = "center" +# Single source of truth for the main content width +width = 520 + +[ui.window.box.margins] +top = 140 + +[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 = false +pixel_size = 22 +theme = "" # leave empty to inherit your system icon theme (Papirus etc.) + +# --- AI scroll area (match main width, reduce hardcoding) --- +[ui.window.box.ai_scroll] +name = "aiScroll" +h_align = "fill" +v_align = "fill" +min_width = 520 +width = 520 +max_height = 260 +height = 260 + +[ui.window.box.ai_scroll.margins] +top = 10 + +[ui.window.box.ai_scroll.list] +name = "aiList" +orientation = "vertical" +width = 520 +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 + +# --- Main results list --- +[ui.window.box.scroll.list] +# Catppuccin Mocha accent (pick one): +# - teal: #94e2d5 +# - blue: #89b4fa +marker_color = "#89b4fa" +max_height = 360 +min_width = 520 +max_width = 520 +width = 520 + +[ui.window.box.scroll.list.margins] +top = 10 + +[ui.window.box.scroll.list.item.activation_label] +h_align = "fill" +v_align = "fill" +width = 22 +x_align = 0.5 +y_align = 0.5 + +[ui.window.box.scroll.list.item.icon] +pixel_size = 24 +theme = "" # inherit system icon theme + +# --- Search row (icons + input) --- +[ui.window.box.search.prompt] +name = "prompt" +icon = "edit-find" +theme = "" +pixel_size = 18 +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 diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/walker/themes/frosted/default.css b/henrovnix_ok/assets/conf (kopie 1)/.config/walker/themes/frosted/default.css new file mode 100644 index 000000000..239449398 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/walker/themes/frosted/default.css @@ -0,0 +1,162 @@ +/* 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 { + border-radius: 2px; + background: @background; + padding: 32px; + border: 1px solid lighter(@background); + box-shadow: + 0 19px 38px rgba(0, 0, 0, 0.3), + 0 15px 12px rgba(0, 0, 0, 0.22); +} + +#search { + box-shadow: + 0 1px 3px rgba(0, 0, 0, 0.1), + 0 1px 2px rgba(0, 0, 0, 0.22); + background: lighter(@background); + padding: 8px; +} + +#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: alpha(@color1, 0.4); +} + +#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/henrovnix_ok/assets/conf (kopie 1)/.config/walker/themes/frosted/style.css b/henrovnix_ok/assets/conf (kopie 1)/.config/walker/themes/frosted/style.css new file mode 100644 index 000000000..dadd5a994 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/walker/themes/frosted/style.css @@ -0,0 +1,185 @@ +/* Catppuccin Mocha Walker Theme — Frosted Glass */ + +@import "default.css"; + +/* --- Palette --- */ +/* glass layers: low alpha + slightly cool tint */ +@define-color base rgba(220, 230, 255, 0.15); +@define-color mantle rgba(24, 24, 37, 0.55); /* was opaque */ +@define-color crust rgba(17, 17, 27, 0.80); + +@define-color text #cdd6f4; +@define-color subtext0 #a6adc8; +@define-color subtext1 #bac2de; + +/* use these as “edge lights” more than solid fills */ +@define-color surface0 rgba(49, 50, 68, 0.35); +@define-color surface1 rgba(69, 71, 90, 0.40); +@define-color surface2 rgba(88, 91, 112, 0.45); + +@define-color overlay0 rgba(108, 112, 134, 0.70); +@define-color overlay1 rgba(127, 132, 156, 0.85); +@define-color overlay2 rgba(147, 153, 178, 0.90); + +@define-color blue #89b4fa; +@define-color lavender #b4befe; +@define-color mauve #cba6f7; +@define-color green #a6e3a1; +@define-color red #f38ba8; +@define-color peach #fab387; +@define-color yellow #f9e2af; + +/* --- Walker expected tokens --- */ +@define-color foreground @text; + +/* very transparent base to let compositor blur show through */ +@define-color background: rgba(26, 26, 40, 0.75); + +/* selection tint */ +@define-color color1 @blue; + +/* --- Reset --- */ +#window, +#box, +#aiScroll, +#aiList, +#search, +#password, +#input, +#prompt, +#clear, +#typeahead, +#list, +child, +scrollbar, +slider, +#item, +#text, +#label, +#bar, +#sub, +#activationlabel { + all: unset; +} + +/* --- Error --- */ +#cfgerr { + background: alpha(@red, 0.35); + margin-top: 20px; + padding: 10px; + border-radius: 10px; + border: 1px solid alpha(@red, 0.3); + font-size: 1.1em; +} + +/* --- Window --- */ +#window { + color: @foreground; +} + +/* --- Main container (frosted glass card) --- */ +#box { + border-radius: 18px; + background: @background; + + border: 1px solid alpha(@text, 0.08); + + box-shadow: + inset 0 1px 0 alpha(@text, 0.04), + 0 8px 18px alpha(@crust, 0.4); + + padding: 28px; +} + +/* --- Search “pill” --- */ +#search { + background: rgba(49, 50, 68, 0.22); + padding: 10px 12px; + border-radius: 14px; + + border: 1px solid alpha(@text, 0.1); + box-shadow: + inset 0 1px 0 alpha(@text, 0.06), + 0 6px 16px alpha(@crust, 0.35); +} + +#prompt { + margin-left: 6px; + margin-right: 12px; + color: alpha(@overlay1, 0.9); +} + +#clear { + color: alpha(@overlay2, 0.9); +} + +/* --- Inputs --- */ +#password, +#input, +#typeahead { + border-radius: 10px; +} + +#input { + background: none; +} + +#typeahead { + color: alpha(@subtext1, 0.85); +} + +#input placeholder { + color: alpha(@overlay0, 0.75); +} + +/* --- List items --- */ +child { + padding: 10px 12px; + border-radius: 14px; + background: @background; + border: 1px solid alpha(@text, 0.05); +} + +/* Hover / Selection: brighter glass + tinted glow */ +child:selected, +child:hover { + background: rgba(22, 22, 34, 0.8); + border: 1px solid alpha(@text, 0.08); + + box-shadow: + inset 0 1px 0 alpha(@text, 0.05), + 0 6px 14px alpha(@crust, 0.35); +} + +/* --- Text --- */ +#label { + font-weight: 600; +} + +#sub { + color: alpha(@subtext0, 0.85); + font-size: 0.85em; +} + +/* --- Activation --- */ +.activation #text, +.activation #icon, +.activation #search { + opacity: 0.55; +} + +/* --- AI Panel --- */ +.aiItem { + padding: 12px; + border-radius: 14px; + color: @foreground; + + /* glass tile */ + background: rgba(24, 24, 37, 0.3); + border: 1px solid rgba(255, 255, 255, 0.05); + box-shadow: inset 0 1px 0 alpha(@text, 0.05); +} + +.aiItem.assistant { + background: rgba(49, 50, 68, 0.22); +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/waybar/config b/henrovnix_ok/assets/conf (kopie 1)/.config/waybar/config new file mode 100644 index 000000000..a684e744c --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/waybar/config @@ -0,0 +1 @@ +Henro diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/waybar/style.css b/henrovnix_ok/assets/conf (kopie 1)/.config/waybar/style.css new file mode 100644 index 000000000..e69de29bb diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/xdg-desktop-portal/hyprland-portals.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/xdg-desktop-portal/hyprland-portals.conf new file mode 100644 index 000000000..78742ffc6 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/xdg-desktop-portal/hyprland-portals.conf @@ -0,0 +1,3 @@ +[preferred] +org.freedesktop.impl.portal.RemoteDesktop=hyprland +org.freedesktop.impl.portal.Screencast=hyprland diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/xdg-desktop-portal/portals.conf b/henrovnix_ok/assets/conf (kopie 1)/.config/xdg-desktop-portal/portals.conf new file mode 100644 index 000000000..80d1469ae --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/xdg-desktop-portal/portals.conf @@ -0,0 +1,2 @@ +[preferred] +default=gtk diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/zed/settings.json b/henrovnix_ok/assets/conf (kopie 1)/.config/zed/settings.json new file mode 100644 index 000000000..fb0762da7 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/zed/settings.json @@ -0,0 +1,26 @@ +// Zed settings +// +// For information on how to configure Zed, see the Zed +// documentation: https://zed.dev/docs/configuring-zed +// +// To see all of Zed's default settings without changing your +// custom settings, run `zed: open default settings` from the +// command palette (cmd-shift-p / ctrl-shift-p) +{ + "agent": { + "default_model": { + "provider": "ollama", + "model": "codellama:34b", + "enable_thinking": false + }, + "favorite_models": [], + "model_parameters": [] + }, + "ui_font_size": 16, + "buffer_font_size": 15, + "theme": { + "mode": "system", + "light": "One Light", + "dark": "One Dark", + }, +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/.config/zed/settings.json.backup b/henrovnix_ok/assets/conf (kopie 1)/.config/zed/settings.json.backup new file mode 100644 index 000000000..c459f0da7 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/.config/zed/settings.json.backup @@ -0,0 +1,29 @@ +{ + "agent": { + "default_model": { + "provider": "ollama", + "model": "starcoder2:15b" + }, + "favorite_models": [], + "model_parameters": [] + }, + "auto_install_extensions": { + "catppuccin-icons": true, + "nix": true, + "rust": true, + "toml": true, + "org-mode": true + }, + "icon_theme": "Catppuccin Mocha", + "language_models": { + "ollama": { + "api_url": "http://localhost:11434", + "auto_discover": true, + "context_window": 8192 + } + }, + "theme": { + "dark": "Catppuccin Mocha (blue)", + "light": "Catppuccin Mocha (blue)" + } +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ai.conf b/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ai.conf new file mode 100644 index 000000000..de9bd8ace --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ai.conf @@ -0,0 +1,13 @@ +{ + "language_models": { + "ollama": { + "api_url": "http://127.0.0.1:11434" + } + }, + "agent": { + "default_model": { + "provider": "ollama", + "model": "codellama:70b" + } + } +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ai.env b/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ai.env new file mode 100644 index 000000000..c9e4d3b05 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ai.env @@ -0,0 +1,2 @@ +MISTRAL_API_KEY=CWo91GHwIClzLj6bCLQ69IioSi54PpTZ +OLLAMA_HOST=http://127.0.0.1:11434 diff --git a/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ollama/ollama.conf b/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ollama/ollama.conf new file mode 100644 index 000000000..e2b2c53e9 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/apps/ai/ollama/ollama.conf @@ -0,0 +1,5 @@ +{ + "OLLAMA_HOST": "http://127.0.0.1:11434", + "OLLAMA_DEFAULT_MODEL": "codellama:70b", + "OLLAMA_ADDITIONAL_MODELS": "llama3.1:70b" +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/apps/flatpaks.conf b/henrovnix_ok/assets/conf (kopie 1)/apps/flatpaks.conf new file mode 100644 index 000000000..627a8daf5 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/apps/flatpaks.conf @@ -0,0 +1,22 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################## +#app.zen_browser.zen +com.github.tchx84.Flatseal +eu.betterbird.Betterbird +com.todoist.Todoist diff --git a/henrovnix_ok/assets/conf (kopie 1)/apps/packages.conf b/henrovnix_ok/assets/conf (kopie 1)/apps/packages.conf new file mode 100644 index 000000000..8dc2d8722 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/apps/packages.conf @@ -0,0 +1,79 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +# +#IMPORTANT: +# Only packages/attributes that exist in Nixpkgs can be installed. +# Check names on https://search.nixos.org/packages +# A wrong package name (or attribute path) will cause the Nix build to fail. +############################################### + + +# system +nixVersions.latest +wofi +xdg-utils +desktop-file-utils +playerctl +mpv +networkmanagerapplet + +#productivity +todoist + +# browsers +brave +vivaldi +chromium + +# hyprland +hyprpaper + +# utils +wget +kdePackages.kdeconnect-kde +_1password-gui +tree +gparted +file +htop +wev +solaar +baobab +duf +zed-editor + +# office +obsidian +onlyoffice-desktopeditors + +# development +postman +tea + +#jetbrains.pycharm +python3 + +# communication +nextcloud-talk-desktop +signal-desktop +openssl + +# multimedia +audacity +handbrake +spotify +vlc diff --git a/henrovnix_ok/assets/conf (kopie 1)/core/lightdm-gtk-greeter.conf b/henrovnix_ok/assets/conf (kopie 1)/core/lightdm-gtk-greeter.conf new file mode 100644 index 000000000..39e54aea0 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/core/lightdm-gtk-greeter.conf @@ -0,0 +1,7 @@ +[greeter] +theme-name = catppuccinThemePkg +icon-theme-name = papirus-icon-theme +cursor-theme-name = bibata-cursors +cursor-theme-size = 24 +font-name = Sans 11 +indicators = ~host;~spacer;~clock;~spacer;~session;~language;~power diff --git a/henrovnix_ok/assets/conf (kopie 1)/core/lightdm.conf b/henrovnix_ok/assets/conf (kopie 1)/core/lightdm.conf new file mode 100644 index 000000000..159ccc4cc --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/core/lightdm.conf @@ -0,0 +1,27 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################## +# Minimal Hyprland config for greetd + +[LightDM] +run-directory=/run/lightdm + +[Seat:*] +greeter-session=lightdm-gtk-greeter +user-session=hyprland +allow-guest=false diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/bindings.conf b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/bindings.conf new file mode 100644 index 000000000..6e2b76a68 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/bindings.conf @@ -0,0 +1,175 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# Temporarily(!) testing can by editing this file, edit the file and reloading hyprshell +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################### + + + +# Keybindings # +############### + +$mainMod = SUPER + +# use walker to show exec menu +bind = $mainMod, Space , exec, walker +bind = $mainMod, P, pseudo +bind = $mainMod, T, togglesplit + +# grimblast +bind = $mainMod SHIFT, p, exec, grimblast -n -f copysave active +bind = $mainMod SHIFT, a, exec, grimblast -n -f copysave area +bind = $mainMod ALT, p, exec, grimblast -n -f copysave output +bind = $mainMod CTRL, p, exec, grimblast -n -f copysave screen + +# Terminal / launcher / kill / reload +bind = $mainMod, E, exec, thunar +bind = $mainMod, RETURN, exec, kitty +bind = $mainMod, D, exec, wofi --show drun +bind = $mainMod, Q, killactive, +bind = $mainMod SHIFT, Q, exit, +bind = $mainMod SHIFT, R, exec, hyprctl reload + +# Switch windows +bind = $mainMod, TAB, hyprexpo:expo, toggle +bind = ALT, TAB, cyclenext, +# bind = ALT SHIFT, TAB, cyclenext prev + +# Hyprscrolling +bind = $mainMod, period, layoutmsg, move +col +bind = $mainMod, comma, layoutmsg, swapcol l +# Make / break a tab-group (stack) +bind = $mainMod, S, togglegroup +# Cycle tabs in the group +bind = $mainMod, L, changegroupactive, f +bind = $mainMod, H, changegroupactive, b +bind = $mainMod, T, exec, ~/.config/hypr/scripts/toggle-layout-scrolling-dwindle.sh + +# Focus movement +bind = $mainMod, H, movefocus, l +bind = $mainMod, L, movefocus, r +bind = $mainMod, K, movefocus, u +bind = $mainMod, J, movefocus, d +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Move windows +bind = $mainMod SHIFT, H, movewindow, l +bind = $mainMod SHIFT, L, movewindow, r +bind = $mainMod SHIFT, K, movewindow, u +bind = $mainMod SHIFT, J, movewindow, d +bind = $mainMod SHIFT, left, movewindow, l +bind = $mainMod SHIFT, right, movewindow, r +bind = $mainMod SHIFT, up, movewindow, u +bind = $mainMod SHIFT, down, movewindow, d + +# Resize windows +bind = $mainMod CTRL, H, resizeactive, -30 0 +bind = $mainMod CTRL, L, resizeactive, 30 0 +bind = $mainMod CTRL, K, resizeactive, 0 -30 +bind = $mainMod CTRL, J, resizeactive, 0 30 + +# Floating / fullscreen +bind = $mainMod, V, togglefloating, +bind = $mainMod, F, fullscreen, 0 +bind = $mainMod SHIFT, F, fullscreen, 1 + +# Workspaces +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# Cycle workspaces +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Mouse drag +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +######################### +# Screenshots +######################### +bind = $mainMod SHIFT, s, exec, grim -g "$(slurp)" - | wl-copy +bind = , XF86Screenshot, exec, grim - | wl-copy + +######################### +# Audio (pamixer) +######################### +bind = , XF86AudioRaiseVolume, exec, pamixer -i 5 +bind = , XF86AudioLowerVolume, exec, pamixer -d 5 +bind = , XF86AudioMute, exec, pamixer -t +bind = , XF86AudioMicMute, exec, pamixer --default-source -t + +######################### +# Media (playerctl) +######################### +bind = , XF86AudioPlay, exec, playerctl play-pause +bind = , XF86AudioPause, exec, playerctl pause +bind = , XF86AudioNext, exec, playerctl next +bind = , XF86AudioPrev, exec, playerctl previous +bind = , XF86AudioStop, exec, playerctl stop + +######################### +# Brightness (brightnessctl) +######################### +bind = , XF86MonBrightnessUp, exec, brightnessctl set +10% +bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%- +bind = , XF86KbdBrightnessUp, exec, brightnessctl -d '*kbd_backlight*' set +10% +bind = , XF86KbdBrightnessDown, exec, brightnessctl -d '*kbd_backlight*' set 10%- + +######################### +# Power / session +######################### +bind = , XF86Sleep, exec, systemctl suspend +bind = , XF86PowerOff, exec, systemctl poweroff +bind = , XF86WakeUp, exec, systemctl suspend +bind = $mainMod, L, exec, loginctl lock-session +bind = $mainMod, X, exec, ~/.config/hypr/scripts/powermenu.sh + +######################### +# Laptop lid settings +######################### +bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-action.sh +bindl = , switch:off:Lid Switch, exec, ~/.config/hypr/scripts/lid-restore.sh + +######################### +# Start apps +######################### +bind = CTRL ALT, B, exec, flatpak run eu.betterbird.Betterbird +bind = CTRL ALT, S, exec, spotify +bind = $mainMod, z, exec, zeditor +bind = $mainMod, w, exec, zen --url https://nextcloud.data-pro.nu diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hypridle.conf b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hypridle.conf new file mode 100644 index 000000000..fa196fd52 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hypridle.conf @@ -0,0 +1,16 @@ +general { + lock_cmd = hyprlock + after_sleep_cmd = hyprctl dispatch dpms on + ignore_dbus_inhibit = false +} + +listener { + timeout = 600 + on-timeout = hyprlock +} + +listener { + timeout = 900 + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprland.conf b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprland.conf new file mode 100644 index 000000000..73d176d9a --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprland.conf @@ -0,0 +1,106 @@ +############################################## +# These files are just for reference. +# If you want to change anything definitive, edit the source files in: +# ~/henrovnix/assets/conf +# Temporarily(!) testing can by editing this file, edit the file and reloading hyprshell +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################### + +############################ +# Variables +############################ + +# Colors (Hyprland "col" values commonly use rgba(aarrggbb)-style hex) +# See Hyprland variable / type docs for color formats & bools. :contentReference[oaicite:2]{index=2} +$base = rgba(1e1e2eff) +$inactive = rgba(595959aa) +$blue = rgba(33ccffee) +$green = rgba(00ff99ee) + +# Recommended for correct environment in systemd user session / portals. :contentReference[oaicite:4]{index=4} +exec-once = dbus-update-activation-environment --systemd --all +exec-once = uwsm app -- waybar + +# put these at top-level (recommended), not inside general { }: +layerrule = blur on, ignore_alpha 1, match:namespace waybar +layerrule = xray 1, match:namespace waybar +layerrule = blur on, ignore_alpha 1, match:namespace walker +layerrule = xray 1, match:namespace walker +layerrule = blur on, ignore_alpha 1, match:namespace swaync-control-center +layerrule = blur on, ignore_alpha 1, match:namespace swaync-notification-window + +input { + follow_mouse = 1 + kb_layout = us + kb_options = ctrl:nocaps + sensitivity = -0.5 + accel_profile = adaptive + scroll_factor = 0.5 + touchpad { + natural_scroll = yes + scroll_factor = 0.5 + } +} +cursor { + no_hardware_cursors = true +} +general { + gaps_in = 2 + gaps_out = 4 + border_size = 2 + # Gradient syntax: color color angle (e.g. 45deg). :contentReference[oaicite:5]{index=5} + col.active_border = $blue $green 45deg + col.inactive_border = $inactive + layout = scrolling + resize_on_border = true + extend_border_grab_area = 20 # Makes it easier to "grab" the edge +} +decoration { + rounding = 5 + blur { + enabled = yes + size = 8 + passes = 3 + new_optimizations = on + } +} +animations { + enabled = yes + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} +dwindle { + pseudotile = yes + preserve_split = yes +} +misc { + disable_hyprland_logo = false + focus_on_activate = true +} +# Start required session helpers +exec-once = hypridle +exec-once = hyprpolkitagent +# Lid close: lock only if no external monitor is connected +bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-lock.sh +# Lid open: turn DPMS back on (does not unlock) +bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on + +exec-once = systemd-run --user --scope --unit=elephant elephant +exec-once = ~/.config/hypr/scripts/hyprscrolling-listener.sh diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprlock.conf b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprlock.conf new file mode 100644 index 000000000..c7fdcd37b --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprlock.conf @@ -0,0 +1,32 @@ +# ~/.config/hypr/hyprlock.conf + +general { + grace = 2 + ignore_empty_input = true +} + +background { + path = ~/.config/hypr/lock.png + blur_passes = 2 + blur_size = 6 +} + +input-field { + size = 320, 60 + outline_thickness = 2 + dots_size = 0.25 + dots_spacing = 0.20 + fade_on_empty = true + placeholder_text = "Password" + position = 0, -120 + halign = center + valign = center +} + +label { + text = $TIME + font_size = 72 + position = 0, 120 + halign = center + valign = center +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprscrolling.conf b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprscrolling.conf new file mode 100644 index 000000000..93fbd9f76 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprscrolling.conf @@ -0,0 +1,62 @@ +# -------------------------------------------------- +# Scrolling layout (Hyprland) – clean, valid config +# Managed in repo: assets/conf/desktop/hypr/hyprscrolling.conf +# +# IMPORTANT: +# - "indicators" / "indicator_*" options do NOT exist in the official hyprscrolling plugin +# and are not part of the Hyprland scrolling layout config, so they were removed. +# - If you still load the hyprscrolling plugin (.so) via Nix, that's fine, but the +# behavior is controlled by the "scrolling { }" block below. +# -------------------------------------------------- + +# If your Nix module already loads the plugin, you can omit this line. +# If you keep it, it won't hurt as long as the path exists. +plugin = /etc/hypr/plugins/libhyprscrolling.so + +# Make scrolling the default layout +general { + layout = scrolling +} + +# -------------------------------------------------- +# Scrolling layout configuration (documented on the Hyprland wiki) +# -------------------------------------------------- + +plugin { + hyprscrolling { + column_width = 0.5 + fullscreen_on_one_column = true + + # 0 = center, 1 = fit (per docs/snippets) + focus_fit_method = 1 + + follow_focus = true + follow_min_visible = 0.4 + + # optional + # explicit_column_widths = 0.333, 0.5, 0.667, 1.0 + + direction = right + } +} + +# -------------------------------------------------- +# Keybinds (layoutmsg) – these are the commands scrolling uses +# Put these here ONLY if this file is included into your main binds config. +# -------------------------------------------------- + +# Move focus/viewport by column +# bind = $mainMod, period, layoutmsg, move +col + +# Put the current window into its own new column +# bind = $mainMod, P, layoutmsg, promote + +# Swap whole columns left/right +# bind = $mainMod, H, layoutmsg, swapcol l +# bind = $mainMod, L, layoutmsg, swapcol r + +# Resize column: set an absolute width, or cycle configured widths +# bind = $mainMod, 1, layoutmsg, colresize 0.5 +# bind = $mainMod, 2, layoutmsg, colresize 0.667 +# bind = $mainMod, 3, layoutmsg, colresize 1.0 +# bind = $mainMod, 0, layoutmsg, colresize +conf diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprshell/config.ron b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprshell/config.ron new file mode 100644 index 000000000..9928604e0 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprshell/config.ron @@ -0,0 +1,71 @@ +// Edit with `hyprshell config edit` <-- GUI app, resize! +( + version: 3, + windows: ( + scale: 8.5, + items_per_row: 5 , + overview: ( + launcher: ( + default_terminal: None, + launch_modifier: "ctrl", + width: 800, + max_items: 5, + show_when_empty: true, + plugins: ( + applications: ( + run_cache_weeks: 8, + show_execs: true, + show_actions_submenu: true, + ), + terminal: None, + shell: None, + websearch: None, + calc: (), + path: (), + actions: ( + actions: [ + lock_screen, + hibernate, + logout, + reboot, + shutdown, + suspend, + custom( + names: [ + "Kill", + "Stop", + ], + details: "Kill or stop a process by name", + command: "pkill \"{}\" && notify-send hyprshell \"stopped {}\"", + icon: "remove", + ), + custom( + names: [ + "Reload Hyprshell", + ], + details: "Reload Hyprshell", + command: "sleep 1; hyprshell socat \'\"Restart\"\'", + icon: "system-restart", + ), + ], + ), + ), + ), + key: "Super_L", + modifier: "super", + filter_by: [], + hide_filtered: false, + exclude_special_workspaces: "", + ), + switch: ( + modifier: "alt", + key: "Tab", + filter_by: [ + current_monitor, + ], + switch_workspaces: false, + exclude_special_workspaces: "", + ), + switch_2: None, + ), +) diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprshell/styles.css b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprshell/styles.css new file mode 100644 index 000000000..ac37156a3 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/hyprshell/styles.css @@ -0,0 +1,8 @@ +window { + background: rgba(20, 20, 20, 0.92); + border-radius: 18px; +} + +* { + background-color: unset; +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/hyprscroll-overflow.sh b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/hyprscroll-overflow.sh new file mode 100755 index 000000000..3e2500f78 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/hyprscroll-overflow.sh @@ -0,0 +1,134 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Usage: +# Waybar exec: hyprscroll-overflow.sh +# Waybar on-click: hyprscroll-overflow.sh --pick +# +# Env: +# COLUMN_WIDTH=0.5 +# ICON="󰓒" +# DMENU_CMD="walker --dmenu" (or: "wofi --dmenu", "rofi -dmenu", etc.) + +COLUMN_WIDTH="${COLUMN_WIDTH:-0.5}" +ICON="${ICON:-󰓒}" +DMENU_CMD="${DMENU_CMD:-walker --dmenu}" + +json_escape() { + # minimal JSON string escape (quotes, backslashes, newlines, tabs, CR) + local s="${1:-}" + s="${s//\\/\\\\}" + s="${s//\"/\\\"}" + s="${s//$'\n'/\\n}" + s="${s//$'\r'/\\r}" + s="${s//$'\t'/\\t}" + printf '%s' "$s" +} + +fail_json() { + # NOTE: errors SHOULD still show (so you notice), hence JSON output here. + local msg="hyprscroll-overflow: ${1:-unknown error}" + printf '{"text":"%s !","tooltip":"%s","class":"error"}\n' \ + "$(json_escape "$ICON")" "$(json_escape "$msg")" + exit 0 +} + +need() { command -v "$1" >/dev/null 2>&1 || fail_json "$1 not in PATH"; } +need hyprctl +need jq +need awk + +read -r focused_mon_id focused_ws_id < <( + hyprctl -j monitors 2>/dev/null | jq -r ' + .[] | select(.focused==true) | "\(.id) \(.activeWorkspace.id)" + ' +) || fail_json "failed to read focused monitor/workspace" + +[[ -n "${focused_mon_id:-}" && -n "${focused_ws_id:-}" ]] || fail_json "no focused monitor/workspace" + +# Current layout (needed for both normal + --pick paths) +layout="$(hyprctl getoption general:layout 2>/dev/null | awk '/str:/ {print $2; exit}' || true)" +layout="${layout:-}" + +# Collect windows (current ws + current monitor, mapped only) +clients_json="$(hyprctl -j clients 2>/dev/null)" || fail_json "failed to read clients" + +# Click action: pick a window and focus it +if [[ "${1:-}" == "--pick" ]]; then + # Build menu lines: address at end so we can parse it back reliably. + menu="$( + jq -r --argjson ws "$focused_ws_id" --argjson mid "$focused_mon_id" ' + [ .[] + | select(.mapped == true) + | select(.workspace.id == $ws) + | select(.monitor == $mid) + | {address, class, title} + ] + | map("[\(.class)] \(.title) \(.address)") + | .[] + ' <<<"$clients_json" + )" || exit 0 + + [[ -n "${menu:-}" ]] || exit 0 + + # shellcheck disable=SC2086 + choice="$(printf '%s\n' "$menu" | eval "$DMENU_CMD" || true)" + [[ -n "${choice:-}" ]] || exit 0 + + addr="$(awk '{print $NF}' <<<"$choice")" + [[ "$addr" =~ ^0x[0-9a-fA-F]+$ ]] || exit 0 + + hyprctl dispatch focuswindow "address:${addr}" >/dev/null 2>&1 || exit 0 + exit 0 +fi + +# Tooltip list (multiline) +# Include a stable selector: address (hex), plus class + title for humans. +tooltip_list="$( + jq -r --argjson ws "$focused_ws_id" --argjson mid "$focused_mon_id" ' + [ .[] + | select(.mapped == true) + | select(.workspace.id == $ws) + | select(.monitor == $mid) + | {address, class, title} + ] + | to_entries + | map("\(.key+1). [\(.value.class)] \(.value.title) (\(.value.address))") + | .[] + ' <<<"$clients_json" +)" || fail_json "failed to build tooltip list" + +win_count="$( + jq -r --argjson ws "$focused_ws_id" --argjson mid "$focused_mon_id" ' + [ .[] + | select(.mapped == true) + | select(.workspace.id == $ws) + | select(.monitor == $mid) + ] | length + ' <<<"$clients_json" +)" || fail_json "failed to count clients" + +max_visible="$(awk -v w="$COLUMN_WIDTH" 'BEGIN{ if (w<=0) {print 1} else {print int(1.0/w)} }')" \ + || fail_json "awk failed" +(( max_visible < 1 )) && max_visible=1 + +overflow=$(( win_count - max_visible )) + +# IMPORTANT: hide module by outputting NOTHING (no JSON) when not relevant +if (( overflow <= 0 )) || [[ "$layout" != "scrolling" ]]; then + exit 0 +fi + +text="$ICON +$overflow" +cls="overflow" + +# IMPORTANT: use "$'\n' for newliners +tooltip="WS ${focused_ws_id} • ${win_count} window(s) "$'\n' +tooltip+="Approx ${max_visible} fit (column_width=${COLUMN_WIDTH}) "$'\n' +tooltip+="------------------------------"$'\n' +tooltip+="${tooltip_list:-"(no windows)"}" + +printf '{"text":"%s","tooltip":"%s","class":"%s"}\n' \ + "$(json_escape "$text")" \ + "$(json_escape "$tooltip")" \ + "$(json_escape "$cls")" diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/hyprscrolling-per-monitor.sh b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/hyprscrolling-per-monitor.sh new file mode 100755 index 000000000..614a232f6 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/hyprscrolling-per-monitor.sh @@ -0,0 +1,90 @@ +#!/usr/bin/env bash +set -euo pipefail + +# hyprscrolling-per-monitor.sh +# Usage: +# ./hyprscrolling-per-monitor.sh +# +# Example: +# ./hyprscrolling-per-monitor.sh DP-1 +# +# This script reads the current resolution for the given monitor via hyprctl +# and sets hyprscrolling column width accordingly. + +if [[ $# -lt 1 ]]; then + echo "Usage: $0 " + exit 2 +fi + +MONITOR="$1" + +# Map a resolution (WIDTHxHEIGHT) to a column width value for hyprscrolling. +# Tune these values to taste. +columnwidth_for_resolution() { + local res="$1" + case "$res" in + # --- Ultra-wide / super-wide --- + 5120x1440) echo "0.22" ;; # 49" 32:9 + 3840x1080) echo "0.25" ;; # 49" 32:9 (your ultrawide) + 3440x1440) echo "0.33" ;; # 34" 21:9 + 2560x1080) echo "0.40" ;; # 21:9 budget ultrawide + + # --- QHD / high DPI --- + 3840x2160) echo "0.40" ;; # 4K + 3200x1800) echo "0.50" ;; + 2880x1800) echo "0.50" ;; + 2560x1600) echo "0.55" ;; # 16:10 + 2560x1440) echo "0.55" ;; # QHD + + # --- FHD / laptop-ish --- + 1920x1200) echo "0.55" ;; # 16:10 + 1920x1080) echo "0.50" ;; # FHD (your laptop request) + + # --- HD / smaller --- + 1680x1050) echo "0.65" ;; + 1600x900) echo "0.70" ;; + 1366x768) echo "0.80" ;; + 1280x720) echo "0.85" ;; + + # Unknown / fallback + *) echo "" ;; + esac +} + +# Get resolution for a named monitor from hyprctl. +# Output format should be WIDTHxHEIGHT (e.g. 3840x1080). +get_monitor_resolution() { + local mon="$1" + local line + if ! line="$(hyprctl monitors 2>/dev/null | grep -A1 -E "^Monitor ${mon} " -m1 | tail -n1 || true)"; then + echo "" + return 0 + fi + # Extract the resolution (e.g., 3840x1080) from the line + local token + token="$(echo "$line" | awk '{print $1}' | cut -d'@' -f1 || true)" + echo "$token" +} + + + + +resolution="$(get_monitor_resolution "$MONITOR")" +if [[ -z "$resolution" ]]; then + echo "Could not determine resolution for monitor '$MONITOR'." + echo "Tip: check available names with: hyprctl monitors" + exit 1 +fi + +colw="$(columnwidth_for_resolution "$resolution")" +if [[ -z "$colw" ]]; then + echo "No mapping for resolution '$resolution' on monitor '$MONITOR'." + echo "Add it to columnwidth_for_resolution() in this script." + exit 1 +fi + +# Apply to hyprscrolling. +# Using layoutmsg colresize (as in your snippet). +hyprctl dispatch layoutmsg colresize all "$colw" + +echo "hyprscrolling: set column width to $colw for monitor '$MONITOR' ($resolution)" diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/lid-lock.sh b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/lid-lock.sh new file mode 100644 index 000000000..55e0e92ef --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/lid-lock.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash +set -euo pipefail + +INTERNAL="eDP1" + +has_external() { + # Any monitor name that is not INTERNAL counts as external + hyprctl monitors -j | grep -q '"name"' && ! hyprctl monitors -j | grep -q "\"name\":\"$INTERNAL\"\"" +} + +has_external_robust() { + # robust without jq: count monitor names; if there's >1 OR there's a name not INTERNAL + local names + names="$(hyprctl monitors -j | sed -n 's/.*"name":"\([^"]*\)".*/\1/p')" + # if any name != INTERNAL then external + echo "$names" | grep -vx "$INTERNAL" >/dev/null 2>&1 +} + +if has_external_robust; then + # Clamshell: disable laptop panel, no lock + hyprctl keyword monitor "${INTERNAL},disable" +else + # Laptop only: suspend + systemctl suspend +fi diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/lid-restore.sh b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/lid-restore.sh new file mode 100644 index 000000000..5767d35c1 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/lid-restore.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +INTERNAL="eDP1" + +# Restore panel using preferred mode, auto position, scale 1 +hyprctl keyword monitor "${INTERNAL},preferred,auto,1" diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/powermenu.sh b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/powermenu.sh new file mode 100644 index 000000000..97e931661 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/powermenu.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +set -euo pipefail + +OPTIONS=" Lock + Logout (Hyprland) + Suspend + Hibernate + Reboot + Shutdown + Cancel" + +CHOICE=$(printf "%s" "$OPTIONS" | walker --dmenu ) + +case "$CHOICE" in + "Lock") + loginctl lock-session + ;; + "Logout (Hyprland)") + hyprctl dispatch exit + ;; + "Suspend") + loginctl lock-session && systemctl suspend + ;; + "Hibernate") + loginctl lock-session && systemctl hibernate + ;; + "Reboot") + systemctl reboot + ;; + "Shutdown") + systemctl poweroff + ;; + *) + exit 0 + ;; +esac diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/toggle-layout-scrolling-dwindle.sh b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/toggle-layout-scrolling-dwindle.sh new file mode 100644 index 000000000..493787c2c --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/hypr/scripts/toggle-layout-scrolling-dwindle.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -euo pipefail +cur="$(hyprctl getoption general:layout 2>/dev/null | awk '/str:/ {print $2; exit}')" +if [[ "$cur" == "scrolling" ]]; then + new="dwindle" +else + new="scrolling" +fi +hyprctl keyword general:layout "$new" >/dev/null +msg="Hyprland layout: $new" +echo "$msg" +# Show a notification if possible +if command -v notify-send >/dev/null 2>&1; then + notify-send -a Hyprland "Layout switched" "$msg" +fi diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/notifications/ncsway/config.json b/henrovnix_ok/assets/conf (kopie 1)/desktop/notifications/ncsway/config.json new file mode 100644 index 000000000..5166ef172 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/notifications/ncsway/config.json @@ -0,0 +1,59 @@ +{ + "shell_command": false, + "ignore-gtk-theme": true, + "cssPriority": "user", + + "positionX": "right", + "positionY": "top", + "layer": "overlay", + "layer-shell": true, + + "control-center-positionX": "right", + "control-center-positionY": "top", + "control-center-layer": "overlay", + "control-center-exclusive-zone": true, + + "control-center-width": 480, + "control-center-height": 0, + "fit-to-screen": true, + + "control-center-margin-top": 14, + "control-center-margin-right": 14, + "control-center-margin-bottom": 14, + "control-center-margin-left": 14, + + "notification-window-width": 420, + "notification-window-height": -1, + + "timeout": 8, + "timeout-low": 4, + "timeout-critical": 0, + "transition-time": 150, + + "notification-grouping": true, + "keyboard-shortcuts": true, + "hide-on-action": true, + "hide-on-clear": false, + "relative-timestamps": true, + + "image-visibility": "when-available", + "notification-2fa-action": true, + + "text-empty": "No notifications", + + "widgets": ["title", "dnd", "notifications"], + + "widget-config": { + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "notifications": { + "vexpand": true + } + } +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/notifications/ncsway/style.css b/henrovnix_ok/assets/conf (kopie 1)/desktop/notifications/ncsway/style.css new file mode 100644 index 000000000..528fd60c6 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/notifications/ncsway/style.css @@ -0,0 +1,115 @@ +/* SwayNotificationCenter (swaync) — EXACT Waybar match + * Put in: ~/.config/swaync/style.css + * + * swaync loads GTK CSS for theming. + */ + +@define-color base rgba(220, 230, 255, 0.05); +@define-color text rgba(255, 255, 255, 1.0); +@define-color surface1 rgba(255, 255, 255, 0.08); +@define-color subtext1 rgba(255, 255, 255, 0.35); +@define-color blue rgba(51, 204, 255, 0.933); +@define-color green rgba(0, 255, 153, 0.933); +@define-color red rgba(255, 0, 0, 0.90); +* { + color: @text; + font-family: + Aporetic Sans Mono, + Iosevka Nerd Font, + Sans; + font-size: 13px; +} +/* Remove list selection glow */ +list, +listview, +row, +listview row, +listview row:selected, +listview row:hover, +listview row:focus, +listview row:active { + background-color: transparent; + background-image: none; + box-shadow: none; + outline: none; +} +/* Popups: keep window transparent, but make the *notification surfaces* opaque base */ +window#notification-window { + background: transparent; +} +/* Control center — EXACT same as Waybar base */ +.control-center { + background-color: @base; + border-radius: 10px; + padding: 12px; + + /* Keep border subtle, like Waybar (no heavy shadow) */ + border: 1px solid rgba(255, 255, 255, 0.08); + box-shadow: none; +} +/* Widget headers — use Waybar surface1 */ +.widget-title { + margin-bottom: 10px; + padding: 6px 10px; + border-radius: 10px; + background-color: @surface1; + border: 1px solid rgba(255, 255, 255, 0.08); +} +.widget-title > label { + font-size: 14px; + font-weight: 700; +} +/* Cards — EXACT same as Waybar base */ +.notification-background { + margin: 10px 0; + padding: 0; + background: transparent; +} +.notification-background .notification { + background-color: @base; + border-radius: 10px; + padding: 12px; + border: 1px solid rgba(255, 255, 255, 0.08); + box-shadow: none; +} +/* Accent by urgency */ +.notification.critical { + border-left: 4px solid @red; +} +.notification.low { + border-left: 4px solid @blue; +} +.notification.normal { + border-left: 4px solid @green; +} +/* Meta */ +.notification .app-name { + color: @subtext1; + font-weight: 700; +} +.notification .time { + color: @subtext1; + font-size: 12px; +} +/* Text */ +.notification .summary { + color: @text; + font-weight: 800; + font-size: 14px; +} +.notification .body { + color: @subtext1; + margin-top: 6px; + line-height: 1.25; +} +/* Buttons */ +.notification button { + border-radius: 10px; + background-color: rgba(255, 255, 255, 0.1); + border: 1px solid rgba(255, 255, 255, 0.1); + box-shadow: none; + padding: 6px 10px; +} +.notification button:hover { + background-color: rgba(255, 255, 255, 0.14); +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/config.toml b/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/config.toml new file mode 100644 index 000000000..366317aec --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/config.toml @@ -0,0 +1,116 @@ +# Walker UI layout/theme config (Catppuccin Mocha tuned) + +theme = "frosted" +debug = true + +[ui] +css = "home/henrov/themes/frosted/walker.css" + +[ui.anchors] +top = true +left = true +right = true +bottom = false # don't stretch to full height; keeps it as a panel + +[ui.window] +h_align = "fill" +v_align = "fill" + +[ui.window.box] +h_align = "center" +# Single source of truth for the main content width +width = 520 + +[ui.window.box.margins] +top = 140 + +[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 = false +pixel_size = 22 +theme = "" # leave empty to inherit your system icon theme (Papirus etc.) + +# --- AI scroll area (match main width, reduce hardcoding) --- +[ui.window.box.ai_scroll] +name = "aiScroll" +h_align = "fill" +v_align = "fill" +min_width = 520 +width = 520 +max_height = 260 +height = 260 + +[ui.window.box.ai_scroll.margins] +top = 10 + +[ui.window.box.ai_scroll.list] +name = "aiList" +orientation = "vertical" +width = 520 +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 + +# --- Main results list --- +[ui.window.box.scroll.list] +# Catppuccin Mocha accent (pick one): +# - teal: #94e2d5 +# - blue: #89b4fa +marker_color = "#89b4fa" +max_height = 360 +min_width = 520 +max_width = 520 +width = 520 + +[ui.window.box.scroll.list.margins] +top = 10 + +[ui.window.box.scroll.list.item.activation_label] +h_align = "fill" +v_align = "fill" +width = 22 +x_align = 0.5 +y_align = 0.5 + +[ui.window.box.scroll.list.item.icon] +pixel_size = 24 +theme = "" # inherit system icon theme + +# --- Search row (icons + input) --- +[ui.window.box.search.prompt] +name = "prompt" +icon = "edit-find" +theme = "" +pixel_size = 18 +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 diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/themes/frosted/default.css b/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/themes/frosted/default.css new file mode 100644 index 000000000..239449398 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/themes/frosted/default.css @@ -0,0 +1,162 @@ +/* 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 { + border-radius: 2px; + background: @background; + padding: 32px; + border: 1px solid lighter(@background); + box-shadow: + 0 19px 38px rgba(0, 0, 0, 0.3), + 0 15px 12px rgba(0, 0, 0, 0.22); +} + +#search { + box-shadow: + 0 1px 3px rgba(0, 0, 0, 0.1), + 0 1px 2px rgba(0, 0, 0, 0.22); + background: lighter(@background); + padding: 8px; +} + +#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: alpha(@color1, 0.4); +} + +#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/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/themes/frosted/style.css b/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/themes/frosted/style.css new file mode 100644 index 000000000..dadd5a994 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/walker/themes/frosted/style.css @@ -0,0 +1,185 @@ +/* Catppuccin Mocha Walker Theme — Frosted Glass */ + +@import "default.css"; + +/* --- Palette --- */ +/* glass layers: low alpha + slightly cool tint */ +@define-color base rgba(220, 230, 255, 0.15); +@define-color mantle rgba(24, 24, 37, 0.55); /* was opaque */ +@define-color crust rgba(17, 17, 27, 0.80); + +@define-color text #cdd6f4; +@define-color subtext0 #a6adc8; +@define-color subtext1 #bac2de; + +/* use these as “edge lights” more than solid fills */ +@define-color surface0 rgba(49, 50, 68, 0.35); +@define-color surface1 rgba(69, 71, 90, 0.40); +@define-color surface2 rgba(88, 91, 112, 0.45); + +@define-color overlay0 rgba(108, 112, 134, 0.70); +@define-color overlay1 rgba(127, 132, 156, 0.85); +@define-color overlay2 rgba(147, 153, 178, 0.90); + +@define-color blue #89b4fa; +@define-color lavender #b4befe; +@define-color mauve #cba6f7; +@define-color green #a6e3a1; +@define-color red #f38ba8; +@define-color peach #fab387; +@define-color yellow #f9e2af; + +/* --- Walker expected tokens --- */ +@define-color foreground @text; + +/* very transparent base to let compositor blur show through */ +@define-color background: rgba(26, 26, 40, 0.75); + +/* selection tint */ +@define-color color1 @blue; + +/* --- Reset --- */ +#window, +#box, +#aiScroll, +#aiList, +#search, +#password, +#input, +#prompt, +#clear, +#typeahead, +#list, +child, +scrollbar, +slider, +#item, +#text, +#label, +#bar, +#sub, +#activationlabel { + all: unset; +} + +/* --- Error --- */ +#cfgerr { + background: alpha(@red, 0.35); + margin-top: 20px; + padding: 10px; + border-radius: 10px; + border: 1px solid alpha(@red, 0.3); + font-size: 1.1em; +} + +/* --- Window --- */ +#window { + color: @foreground; +} + +/* --- Main container (frosted glass card) --- */ +#box { + border-radius: 18px; + background: @background; + + border: 1px solid alpha(@text, 0.08); + + box-shadow: + inset 0 1px 0 alpha(@text, 0.04), + 0 8px 18px alpha(@crust, 0.4); + + padding: 28px; +} + +/* --- Search “pill” --- */ +#search { + background: rgba(49, 50, 68, 0.22); + padding: 10px 12px; + border-radius: 14px; + + border: 1px solid alpha(@text, 0.1); + box-shadow: + inset 0 1px 0 alpha(@text, 0.06), + 0 6px 16px alpha(@crust, 0.35); +} + +#prompt { + margin-left: 6px; + margin-right: 12px; + color: alpha(@overlay1, 0.9); +} + +#clear { + color: alpha(@overlay2, 0.9); +} + +/* --- Inputs --- */ +#password, +#input, +#typeahead { + border-radius: 10px; +} + +#input { + background: none; +} + +#typeahead { + color: alpha(@subtext1, 0.85); +} + +#input placeholder { + color: alpha(@overlay0, 0.75); +} + +/* --- List items --- */ +child { + padding: 10px 12px; + border-radius: 14px; + background: @background; + border: 1px solid alpha(@text, 0.05); +} + +/* Hover / Selection: brighter glass + tinted glow */ +child:selected, +child:hover { + background: rgba(22, 22, 34, 0.8); + border: 1px solid alpha(@text, 0.08); + + box-shadow: + inset 0 1px 0 alpha(@text, 0.05), + 0 6px 14px alpha(@crust, 0.35); +} + +/* --- Text --- */ +#label { + font-weight: 600; +} + +#sub { + color: alpha(@subtext0, 0.85); + font-size: 0.85em; +} + +/* --- Activation --- */ +.activation #text, +.activation #icon, +.activation #search { + opacity: 0.55; +} + +/* --- AI Panel --- */ +.aiItem { + padding: 12px; + border-radius: 14px; + color: @foreground; + + /* glass tile */ + background: rgba(24, 24, 37, 0.3); + border: 1px solid rgba(255, 255, 255, 0.05); + box-shadow: inset 0 1px 0 alpha(@text, 0.05); +} + +.aiItem.assistant { + background: rgba(49, 50, 68, 0.22); +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/1.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/1.jpg new file mode 100644 index 000000000..7f224fc81 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/1.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/2.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/2.jpg new file mode 100644 index 000000000..4c6be28f0 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/2.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/3.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/3.jpg new file mode 100644 index 000000000..3efe7448b Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/3.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/4.png b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/4.png new file mode 100755 index 000000000..5cdb0af64 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/4.png differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/5.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/5.jpg new file mode 100644 index 000000000..ecf0dce30 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/5.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/6.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/6.jpg new file mode 100644 index 000000000..c304de4b8 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/6.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/7.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/7.jpg new file mode 100644 index 000000000..1acd099e2 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/7.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/8.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/8.jpg new file mode 100644 index 000000000..5f5268652 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/8.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/9.jpg b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/9.jpg new file mode 100644 index 000000000..e3008f04b Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/pictures/9.jpg differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/videos/dark_water_large.mp4 b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/videos/dark_water_large.mp4 new file mode 100644 index 000000000..cf66295f4 Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/videos/dark_water_large.mp4 differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/videos/white_blobs_small.mp4 b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/videos/white_blobs_small.mp4 new file mode 100644 index 000000000..0a4faaf8f Binary files /dev/null and b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/videos/white_blobs_small.mp4 differ diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/wallpaper.conf b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/wallpaper.conf new file mode 100644 index 000000000..ed9b034ba --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/wallpaper/wallpaper.conf @@ -0,0 +1,41 @@ +############################################## +# Wallpaper config (wpaperd, TOML) +# +# Source-of-truth in repo: +# ~/henrovnix/assets/conf/desktop/wallpaper/wallpaper.conf +# +# Runtime override (user edits this): +# ~/conf/desktop/wallpaper/wallpaper.conf +# +# Wallpapers are copied from repo to: +# ~/wallpapers/ +# and by default loaded from: +# ~/wallpapers/pictures +############################################## + +[default] +# Directory to pick wallpapers from +path = "~/nixos_conf/wallpaperstuff/pictures" + +# Switch every X minutes +duration = "5m" + +# Random order (ascending/descending/random) +sorting = "random" + +# Include subfolders +recursive = true + +# How to fit wallpaper on screen +mode = "stretch" + +# Transition time in milliseconds +transition-time = 5000 + +# Apply a "fade-like" transition (uses gl-transitions) +[default.transition.dissolve] +# (leave empty to use the transition defaults) + +# Apply these defaults to any monitor not explicitly listed +[any] +# (inherits [default]; keep empty unless you want overrides) diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/waybar/config.jsonc b/henrovnix_ok/assets/conf (kopie 1)/desktop/waybar/config.jsonc new file mode 100644 index 000000000..e5f9cd6c3 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/waybar/config.jsonc @@ -0,0 +1,122 @@ +{ + "layer": "top", + "height": 34, + + //"modules-left": ["hyprland/window"], + + "modules-center": ["hyprland/workspaces", "custom/hyprscroll_overflow"], + + "modules-right": [ + "idle_inhibitor", + "pulseaudio", + "network", + // "cpu", + // "memory", + // "temperature", + "battery", + "tray", + "clock", + "custom/notifications", + ], + + "custom/notifications": { + "tooltip": false, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "format": "{icon}", + "format-icons": { + "notification": "", + "none": "", + "dnd-notification": "󰂠", + "dnd-none": "󰪓", + }, + "on-click": "swaync-client -t", + "on-click-right": "swaync-client -d", + "on-click-middle": "swaync-client -dn", + }, + + "custom/hyprscroll_overflow": { + "exec": "bash -lc 'COLUMN_WIDTH=0.5 \"$HOME/.config/hypr/scripts/hyprscroll-overflow.sh\"'", + "return-type": "json", + "interval": 1, + "format": "{text}", + "hide-empty-text": true, + "tooltip": true, + // Click = choose a window and focus it + "on-click": "bash -lc 'COLUMN_WIDTH=0.5 DMENU_CMD=\"walker --dmenu\" \"$HOME/.config/hypr/scripts/hyprscroll-overflow.sh\" --pick'", + }, + + "idle_inhibitor": { + "tooltip": true, + "format": "{icon}", + "format-icons": { + "activated": "  ", + "deactivated": " 󰒲 ", + }, + "tooltip-format-activated": "Staying awake", + "tooltip-format-deactivated": "Might sleep....", + }, + + "pulseaudio": { + "format": "{volume}% {icon}", + "format-bluetooth": "{volume}% {icon}", + "format-muted": "", + "format-icons": { + "headphones": "", + "headset": "", + "phone": "", + "portable": "", + "default": ["", ""], + }, + "on-click": "pavucontrol", + }, + + "network": { + "format-wifi": " ({bandwidthDownBits})", + "format-ethernet": " ({bandwidthDownBits})", + "format-disconnected": "Disconnected ⚠", + "tooltip-format-wifi": "{essid} ({signalStrength}%)", + "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}", + "on-click": "impala", + "on-click-right": "nm-connection-editor", + }, + + "cpu": { + "format": "{usage}%  ", + "tooltip": false, + }, + + "memory": { + "format": "{percentage}%  ", + }, + + "temperature": { + "format": "{temperatureC}°C ", + "tooltip": false, + }, + + "tray": { + "spacing": 10, + "icon-size": 14, + }, + + "clock": { + "format": "{:%a, %d %b %Y - %H:%M}", + "tooltip": false, + "on-click": "flatpak run eu.betterbird.Betterbird -calendar", + }, + + "battery": { + "bat": "BAT0", + "states": { + "good": 95, + "warning": 30, + "critical": 15, + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% 󰂄", + "format-plugged": "{capacity}%  ", + "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "], + }, +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/desktop/waybar/style.css b/henrovnix_ok/assets/conf (kopie 1)/desktop/waybar/style.css new file mode 100644 index 000000000..a6d5b75c7 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/desktop/waybar/style.css @@ -0,0 +1,225 @@ +/* --- Hyprland palette (ported) --- */ +@define-color base rgba(30, 30, 46, 1.0); /* 1e1e2eff */ +@define-color inactive rgba(89, 89, 89, 0.667); /* 595959aa */ +@define-color blue rgba(51, 204, 255, 0.933); /* 33ccffee */ +@define-color green rgba(0, 255, 153, 0.933); /* 00ff99ee */ + +/* extra colors you referenced but didn’t define */ +@define-color text rgba(255, 255, 255, 1.0); +@define-color surface1 rgba(255, 255, 255, 0.08); +@define-color subtext1 rgba(255, 255, 255, 0.35); +@define-color red rgba(255, 0, 0, 0.90); +@define-color overlay1 rgba(255, 255, 255, 0.35); +@define-color yellow rgba(255, 215, 0, 0.95); + +* { + font-family: + Aporetic Sans Mono, + Iosevka Nerd Font, + Roboto, + Helvetica, + Arial, + sans-serif; + font-size: 13px; +} + +window#waybar { + background-color: transparent; + color: @text; + transition-property: background-color; + border-bottom: 0px solid rgba(0, 0, 0, 0); + transition-duration: 0.5s; +} + +#workspaces button { + padding: 0px 1px; + min-width: 80px; + background-color: transparent; + color: @text; + border: 2px solid @inactive; + border-radius: 10px; +} + +#custom-notifications.empty { + color: @overlay1; +} + +#custom-notifications.unread { + color: @yellow; +} + +#workspaces button:hover { + background-color: @surface1; + color: @text; +} + +#workspaces button.active { + padding: 0px 1px; + min-width: 80px; + color: @text; + border-radius: 10px; + font-weight: bold; + border: 1px solid transparent; + background: + linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)) + padding-box, + linear-gradient(45deg, @blue, @green) border-box; +} + +#custom-hyprscroll_overflow.overflow { + padding: 0px 1px; + min-width: 80px; + color: @text; + border-radius: 10px; + font-weight: bold; + border: 1px dashed transparent; + background: + linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) + padding-box, + linear-gradient(45deg, @blue, @green) border-box; +} + +#custom-hyprscroll_overflow.overflow { + background: + linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) + padding-box, + linear-gradient(45deg, @blue, @green) border-box; +} + +#custom-hyprscroll_overflow.hidden { + padding: 0; + margin: 0; + min-width: 0; + border: 0; + background: transparent; + opacity: 0; +} + +#clock, +#idle_inhibitor, +#battery, +#cpu, +#memory, +#temperature, +#network, +#pulseaudio, +#tray { + margin: 0 5px; + padding: 0 2px; +} + +#idle_inhibitor.activated { + background-color: @green; +} + +#battery.charging { + color: @green; +} + +@keyframes blink { + to { + background-color: #ffffff; + color: black; + } +} + +#battery.warning:not(.charging) { + color: white; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +#window, +#workspaces { + margin: 0 4px; +} + +.modules-left > widget:first-child > #workspaces { + margin-left: 0; +} + +.modules-right > widget:last-child > #workspaces { + margin-right: 0; +} + +#network.disconnected { + background-color: @red; +} + +#temperature.critical { + background-color: @red; +} + +/* ========================================================= + * Notifications + * ========================================================= */ +#custom-notifications { + margin: 0 4px; + padding: 0 4px; + min-width: 0; +} + +#custom-notifications.empty { + color: @overlay1; +} +#custom-notifications.unread { + color: @yellow; +} + +/* ========================================================= + * Hyprscroll overflow indicator (custom/hyprscroll_overflow) + * States: .ok, .overflow, .error + * ========================================================= */ + +/* Default (no overflow): subtle pill, still hoverable for tooltip */ +#custom-hyprscroll_overflow.ok { + padding: 0px 1px; + min-width: 80px; + color: @subtext1; + border-radius: 10px; + + /* subtle outline so you know it's there */ + border: 1px solid rgba(255, 255, 255, 0.12); + background: rgba(255, 255, 255, 0.03); +} + +/* Make it feel interactive (hover) */ +#custom-hyprscroll_overflow.ok:hover { + color: @text; + background-color: @surface1; + border: 1px solid rgba(255, 255, 255, 0.18); +} + +/* Overflow state: you already have this; keep it. + Optional: add hover tweak so it "pops" a bit. */ +#custom-hyprscroll_overflow.overflow:hover { + background: + linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) + padding-box, + linear-gradient(45deg, @blue, @green) border-box; +} + +/* Error state: clear but not screaming */ +#custom-hyprscroll_overflow.error { + padding: 0px 1px; + min-width: 80px; + color: @text; + border-radius: 10px; + + border: 1px solid rgba(255, 0, 0, 0.55); + background: rgba(255, 0, 0, 0.15); + font-weight: bold; +} + +/* Optional: if you keep .hidden in the script for any reason */ +#custom-hyprscroll_overflow.hidden { + padding: 0; + margin: 0; + min-width: 0; + border: 0; + background: transparent; + opacity: 0; +} diff --git a/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/Catppuccin-Mocha.conf b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/Catppuccin-Mocha.conf new file mode 100644 index 000000000..6eb38becc --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/Catppuccin-Mocha.conf @@ -0,0 +1,84 @@ +# vim:ft=kitty + +## name: Catppuccin Kitty Mocha +## author: Catppuccin Org +## license: MIT +## upstream: https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf +## blurb: Soothing pastel theme for the high-spirited! + + + +# The basic colors +foreground #cdd6f4 +background #1e1e2e +selection_foreground #1e1e2e +selection_background #f5e0dc + +# Cursor colors +cursor #f5e0dc +cursor_text_color #1e1e2e + +# Scrollbar colors +scrollbar_handle_color #9399b2 +scrollbar_track_color #45475a + +# URL color when hovering with mouse +url_color #f5e0dc + +# Kitty window border colors +active_border_color #b4befe +inactive_border_color #6c7086 +bell_border_color #f9e2af + +# OS Window titlebar colors +wayland_titlebar_color system +macos_titlebar_color system + +# Tab bar colors +active_tab_foreground #11111b +active_tab_background #cba6f7 +inactive_tab_foreground #cdd6f4 +inactive_tab_background #181825 +tab_bar_background #11111b + +# Colors for marks (marked text in the terminal) +mark1_foreground #1e1e2e +mark1_background #b4befe +mark2_foreground #1e1e2e +mark2_background #cba6f7 +mark3_foreground #1e1e2e +mark3_background #74c7ec + +# The 16 terminal colors + +# black +color0 #45475a +color8 #585b70 + +# red +color1 #f38ba8 +color9 #f38ba8 + +# green +color2 #a6e3a1 +color10 #a6e3a1 + +# yellow +color3 #f9e2af +color11 #f9e2af + +# blue +color4 #89b4fa +color12 #89b4fa + +# magenta +color5 #f5c2e7 +color13 #f5c2e7 + +# cyan +color6 #94e2d5 +color14 #94e2d5 + +# white +color7 #bac2de +color15 #a6adc8 diff --git a/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/alacritty.toml b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/alacritty.toml new file mode 100644 index 000000000..24c4aafed --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/alacritty.toml @@ -0,0 +1,64 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################## + +# ============================================ +# Alacritty config (TOML) +# Path: ~/.config/alacritty/alacritty.toml +# Source-of-truth: assets/conf/dev/alacritty.toml +# ============================================ + +[terminal.shell] +program = "zsh" + +[font] +size = 12.0 + +[font.normal] +family = "Aporetic Sans Mono" +style = "Regular" + +[font.bold] +family = "Aporetic Sans Mono" +style = "Bold" + +[font.italic] +family = "Aporetic Sans Mono" +style = "Italic" + +[window] +dynamic_padding = false +decorations = "Full" + +[window.padding] +x = 4 +y = 4 + +[scrolling] +history = 10000 +multiplier = 3 + +[mouse] +hide_when_typing = true + +[cursor] +style = "Block" +unfocused_hollow = true + +[selection] +save_to_clipboard = true diff --git a/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/aliases.conf b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/aliases.conf new file mode 100644 index 000000000..4f74b33a7 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/aliases.conf @@ -0,0 +1,72 @@ +############################################## +# Aliases (source-of-truth) +# +# This file is written in bash/zsh alias syntax in [bash_zsh], [bash_specific], [zsh_specific]. +# Fish has different syntax; the Nix module translates [bash_zsh] into fish format and then +# appends [fish_specific] as-is. +############################################## + +############################################## +# Generic aliases (bash/zsh) +# These are intended to be available in bash and zsh. +############################################## +[bash_zsh] +alias ll='ls -lah' +alias gs='git status' +alias ga='git add' +alias gc='git commit' +alias gp='git push' +alias gcp='git add . && git commit && git push' + +alias cd='z' + +alias nps='xdg-open https://search.nixos.org' +alias hvnx='cd ~/Repos/nixos/henrovnix_ok' +alias emt='hvnx && emacs README.org --batch -f org-babel-tangle && emacs -Q --batch README.org -f org-html-export-to-html' +alias nxs='hvnx && sudo nixos-rebuild switch --flake .#traveldroid' +alias nxt='hvnx && sudo nixos-rebuild test --flake .#traveldroid' +alias nxv='hvnx && sudo nixos-rebuild build-vm --flake .#traveldroid && "$(ls -1 ./result/bin/run-*-vm | head -n 1)"' + +alias rb='systemctl reboot' +alias po='systemctl poweroff' + +alias fpl='flatpak list' +alias fps='flatpak search' +alias fpi='flatpak install' +alias fpr='flatpak run' + +alias nxc='ssh henrov@nextcloud.data-pro.nu' + + +alias vs='code' +alias blog='cd ~/Repos/blog && ll' +alias keys='hyprctl binds' + + +############################################## +# Shell-specific aliases / examples +# +# Everything below is COMMENTED OUT on purpose. +# These examples show syntax or commands that are shell-specific +# (or behave differently across shells). +############################################## + +[bash_specific] +# Enable recursive globbing (**) +# alias sg='shopt -s globstar' + +[zsh_specific] +# Recursive globbing works by default in zsh; this prints matches one-per-line +# alias recglob='print -l **/*.nix' + +[fish_specific] +# Fish has its own language; this is fish-only syntax (not bash/zsh) +# alias setvar='set -gx EDITOR emacs' + +[dash_specific] +# dash is a minimal POSIX shell; shown here only as an example +# alias com='command -v ls' + +[nushell_specific] +# Nushell pipelines structured data; this is nu-only syntax +# alias fbf='ls | where size > 1mb | get name' diff --git a/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/enabled_shells.conf b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/enabled_shells.conf new file mode 100644 index 000000000..f2ae8d5c2 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/enabled_shells.conf @@ -0,0 +1,15 @@ +############################################## +# Enabled shells (source-of-truth) +# +# Edit this file in the repo: +# ./assets/conf/dev/terminal/enabled_shells.conf +# +# After changing, rebuild Home Manager / your system as you normally do. +############################################## + +[enabled_shells] +bash = yes +zsh = yes +fish = no +dash = no +nushell = no diff --git a/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/kitty.conf b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/kitty.conf new file mode 100644 index 000000000..ddad92012 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/kitty.conf @@ -0,0 +1,26 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################### + +# Force transparency (comes from the conf file, as you want) +background_opacity 0.40 +dynamic_background_opacity yes + +# the rest… +map ctrl+shift+v paste_from_clipboard +map ctrl+shift+c copy_to_clipboard diff --git a/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/starship.toml b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/starship.toml new file mode 100644 index 000000000..ba9bd82ab --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/starship.toml @@ -0,0 +1,279 @@ +"$schema" = 'https://starship.rs/config-schema.json' + +format = """ +[](red)\ +$os\ +$username\ +[](bg:peach fg:red)\ +$directory\ +[](bg:yellow fg:peach)\ +$git_branch\ +$git_status\ +[](fg:yellow bg:green)\ +$c\ +$rust\ +$golang\ +$nodejs\ +$php\ +$java\ +$kotlin\ +$haskell\ +$python\ +[](fg:green bg:sapphire)\ +$conda\ +[](fg:sapphire bg:lavender)\ +$time\ +[ ](fg:lavender)\ +$cmd_duration\ +$line_break\ +$character""" + +palette = 'catppuccin_mocha' + +[os] +disabled = false +style = "bg:red fg:crust" + +[os.symbols] +Windows = "" +Ubuntu = "󰕈" +SUSE = "" +Raspbian = "󰐿" +Mint = "󰣭" +Macos = "󰀵" +Manjaro = "" +Linux = "󰌽" +Gentoo = "󰣨" +Fedora = "󰣛" +Alpine = "" +Amazon = "" +Android = "" +AOSC = "" +Arch = "󰣇" +Artix = "󰣇" +CentOS = "" +Debian = "󰣚" +Redhat = "󱄛" +RedHatEnterprise = "󱄛" + +[username] +show_always = true +style_user = "bg:red fg:crust" +style_root = "bg:red fg:crust" +format = '[ $user]($style)' + +[directory] +style = "bg:peach fg:crust" +format = "[ $path ]($style)" +truncation_length = 3 +truncation_symbol = "…/" + +[directory.substitutions] +"Documents" = "󰈙 " +"Downloads" = " " +"Music" = "󰝚 " +"Pictures" = " " +"Developer" = "󰲋 " + +[git_branch] +symbol = "" +style = "bg:yellow" +format = '[[ $symbol $branch ](fg:crust bg:yellow)]($style)' + +[git_status] +style = "bg:yellow" +format = '[[($all_status$ahead_behind )](fg:crust bg:yellow)]($style)' + +[nodejs] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[c] +symbol = " " +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[rust] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[golang] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[php] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[java] +symbol = " " +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[kotlin] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[haskell] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)' + +[python] +symbol = "" +style = "bg:green" +format = '[[ $symbol( $version)(\(#$virtualenv\)) ](fg:crust bg:green)]($style)' + +[docker_context] +symbol = "" +style = "bg:sapphire" +format = '[[ $symbol( $context) ](fg:crust bg:sapphire)]($style)' + +[conda] +symbol = "  " +style = "fg:crust bg:sapphire" +format = '[$symbol$environment ]($style)' +ignore_base = false + +[time] +disabled = false +time_format = "%R" +style = "bg:lavender" +format = '[[  $time ](fg:crust bg:lavender)]($style)' + +[line_break] +disabled = false + +[character] +disabled = false +success_symbol = '[❯](bold fg:green)' +error_symbol = '[❯](bold fg:red)' +vimcmd_symbol = '[❮](bold fg:green)' +vimcmd_replace_one_symbol = '[❮](bold fg:lavender)' +vimcmd_replace_symbol = '[❮](bold fg:lavender)' +vimcmd_visual_symbol = '[❮](bold fg:yellow)' + +[cmd_duration] +show_milliseconds = true +format = " in $duration " +style = "bg:lavender" +disabled = false +show_notifications = true +min_time_to_notify = 45000 + +[palettes.catppuccin_mocha] +rosewater = "#f5e0dc" +flamingo = "#f2cdcd" +pink = "#f5c2e7" +mauve = "#cba6f7" +red = "#f38ba8" +maroon = "#eba0ac" +peach = "#fab387" +yellow = "#f9e2af" +green = "#a6e3a1" +teal = "#94e2d5" +sky = "#89dceb" +sapphire = "#74c7ec" +blue = "#89b4fa" +lavender = "#b4befe" +text = "#cdd6f4" +subtext1 = "#bac2de" +subtext0 = "#a6adc8" +overlay2 = "#9399b2" +overlay1 = "#7f849c" +overlay0 = "#6c7086" +surface2 = "#585b70" +surface1 = "#45475a" +surface0 = "#313244" +base = "#1e1e2e" +mantle = "#181825" +crust = "#11111b" + +[palettes.catppuccin_frappe] +rosewater = "#f2d5cf" +flamingo = "#eebebe" +pink = "#f4b8e4" +mauve = "#ca9ee6" +red = "#e78284" +maroon = "#ea999c" +peach = "#ef9f76" +yellow = "#e5c890" +green = "#a6d189" +teal = "#81c8be" +sky = "#99d1db" +sapphire = "#85c1dc" +blue = "#8caaee" +lavender = "#babbf1" +text = "#c6d0f5" +subtext1 = "#b5bfe2" +subtext0 = "#a5adce" +overlay2 = "#949cbb" +overlay1 = "#838ba7" +overlay0 = "#737994" +surface2 = "#626880" +surface1 = "#51576d" +surface0 = "#414559" +base = "#303446" +mantle = "#292c3c" +crust = "#232634" + +[palettes.catppuccin_latte] +rosewater = "#dc8a78" +flamingo = "#dd7878" +pink = "#ea76cb" +mauve = "#8839ef" +red = "#d20f39" +maroon = "#e64553" +peach = "#fe640b" +yellow = "#df8e1d" +green = "#40a02b" +teal = "#179299" +sky = "#04a5e5" +sapphire = "#209fb5" +blue = "#1e66f5" +lavender = "#7287fd" +text = "#4c4f69" +subtext1 = "#5c5f77" +subtext0 = "#6c6f85" +overlay2 = "#7c7f93" +overlay1 = "#8c8fa1" +overlay0 = "#9ca0b0" +surface2 = "#acb0be" +surface1 = "#bcc0cc" +surface0 = "#ccd0da" +base = "#eff1f5" +mantle = "#e6e9ef" +crust = "#dce0e8" + +[palettes.catppuccin_macchiato] +rosewater = "#f4dbd6" +flamingo = "#f0c6c6" +pink = "#f5bde6" +mauve = "#c6a0f6" +red = "#ed8796" +maroon = "#ee99a0" +peach = "#f5a97f" +yellow = "#eed49f" +green = "#a6da95" +teal = "#8bd5ca" +sky = "#91d7e3" +sapphire = "#7dc4e4" +blue = "#8aadf4" +lavender = "#b7bdf8" +text = "#cad3f5" +subtext1 = "#b8c0e0" +subtext0 = "#a5adcb" +overlay2 = "#939ab7" +overlay1 = "#8087a2" +overlay0 = "#6e738d" +surface2 = "#5b6078" +surface1 = "#494d64" +surface0 = "#363a4f" +base = "#24273a" +mantle = "#1e2030" +crust = "#181926" diff --git a/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/zsh.conf b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/zsh.conf new file mode 100644 index 000000000..1b066fa71 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/dev/terminal/zsh.conf @@ -0,0 +1,30 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################### +#~/nixos/files/conf/terminal/zsh.conf + +# Additional zsh configuration sourced for every interactive zsh shell. +# Keep this file POSIX-ish; it is sourced by zsh. + +# Example: history settings +HISTFILE="$HOME/.zsh_history" +HISTSIZE=10000 +SAVEHIST=10000 + +setopt HIST_IGNORE_ALL_DUPS +setopt SHARE_HISTORY diff --git a/henrovnix_ok/assets/conf (kopie 1)/security/ssh/ssh-client.conf b/henrovnix_ok/assets/conf (kopie 1)/security/ssh/ssh-client.conf new file mode 100644 index 000000000..88659aa85 --- /dev/null +++ b/henrovnix_ok/assets/conf (kopie 1)/security/ssh/ssh-client.conf @@ -0,0 +1,22 @@ +############################################## +# These files are just for reference. +# If you want to change anything, edit the source files in: +# ~/henrovnix/assets/conf +# +# After that, run: +# cd ~/henrovnix && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .# +# +# If everything still works, you can use the same command but: +# - keep "switch" +# - and add a reboot: +# +# cd ~/henrovnix && sudo nixos-rebuild switch --flake .# && systemctl reboot +# +# NOTE: +# Make sure the lines starting with: cd ~/henrovnix +# are written as ONE single line. +############################################## +Host * + AddKeysToAgent yes + ServerAliveInterval 30 + ServerAliveCountMax 3