diff --git a/.dotter/global.toml b/.dotter/global.toml index ff29554..91826df 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -40,3 +40,4 @@ depends = ["niri"] [niri.files] "configs/niri/base" = "~/.config/niri" +"configs/noctalia" = "~/.config/noctalia" diff --git a/configs/fish/fish_variables b/configs/fish/fish_variables index 2a3c309..956b451 100644 --- a/configs/fish/fish_variables +++ b/configs/fish/fish_variables @@ -1,52 +1,13 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 -SETUVAR __fish_initialized:3800 +SETUVAR __fish_initialized:4300 SETUVAR _fisher_catppuccin_2F_fish_files:\x7e/\x2econfig/fish/themes/Catppuccin\x20Frappe\x2etheme\x1e\x7e/\x2econfig/fish/themes/Catppuccin\x20Latte\x2etheme\x1e\x7e/\x2econfig/fish/themes/Catppuccin\x20Macchiato\x2etheme\x1e\x7e/\x2econfig/fish/themes/Catppuccin\x20Mocha\x2etheme SETUVAR _fisher_jorgebucaran_2F_autopair_2E_fish_files:\x7e/\x2econfig/fish/functions/_autopair_backspace\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_left\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_right\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_same\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_tab\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/autopair\x2efish SETUVAR _fisher_jorgebucaran_2F_fisher_files:\x7e/\x2econfig/fish/functions/fisher\x2efish\x1e\x7e/\x2econfig/fish/completions/fisher\x2efish SETUVAR _fisher_plugins:jorgebucaran/fisher\x1ecatppuccin/fish\x1epure\x2dfish/pure\x1ejorgebucaran/autopair\x2efish SETUVAR _fisher_pure_2D_fish_2F_pure_files:\x7e/\x2econfig/fish/functions/_pure_check_availability\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_check_for_new_release\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_detect_container_by_cgroup_method\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_detect_container_by_pid_method\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_format_time\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_get_prompt_symbol\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_is_inside_container\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_is_single_line_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_k8s_context\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_k8s_namespace\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_parse_directory\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_parse_git_branch\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_place_iterm2_prompt_mark\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prefix_root_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_print_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_print_prompt_rows\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_aws_profile\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_beginning\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_command_duration\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_container\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_current_folder\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_ending\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_first_line\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_git\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_git_branch\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_git_dirty\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_git_pending_commits\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_git_stash\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_jobs\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_k8s\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_new_line\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_nixdevshell\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_ssh\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_symbol\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_system_time\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_vimode\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_prompt_virtualenv\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_set_color\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_set_default\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_string_width\x2efish\x1e\x7e/\x2econfig/fish/functions/_pure_user_at_host\x2efish\x1e\x7e/\x2econfig/fish/functions/fish_greeting\x2efish\x1e\x7e/\x2econfig/fish/functions/fish_mode_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/fish_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/fish_title\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/_pure_init\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/pure\x2efish SETUVAR _fisher_upgraded_to_4_4:\x1d -SETUVAR fish_color_autosuggestion:6e738d -SETUVAR fish_color_cancel:ed8796 -SETUVAR fish_color_command:8aadf4 -SETUVAR fish_color_comment:8087a2 -SETUVAR fish_color_cwd:eed49f -SETUVAR fish_color_cwd_root:red -SETUVAR fish_color_end:f5a97f -SETUVAR fish_color_error:ed8796 -SETUVAR fish_color_escape:ee99a0 -SETUVAR fish_color_gray:6e738d -SETUVAR fish_color_history_current:\x2d\x2dbold -SETUVAR fish_color_host:8aadf4 -SETUVAR fish_color_host_remote:a6da95 -SETUVAR fish_color_keyword:ed8796 -SETUVAR fish_color_normal:cad3f5 -SETUVAR fish_color_operator:f5bde6 -SETUVAR fish_color_option:a6da95 -SETUVAR fish_color_param:f0c6c6 -SETUVAR fish_color_quote:a6da95 -SETUVAR fish_color_redirection:f5bde6 -SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d363a4f -SETUVAR fish_color_selection:\x2d\x2dbackground\x3d363a4f -SETUVAR fish_color_status:ed8796 -SETUVAR fish_color_user:8bd5ca -SETUVAR fish_color_valid_path:\x2d\x2dunderline SETUVAR fish_greeting:\x1d -SETUVAR fish_key_bindings:fish_default_key_bindings -SETUVAR fish_pager_color_background:\x1d -SETUVAR fish_pager_color_completion:cad3f5 -SETUVAR fish_pager_color_description:6e738d -SETUVAR fish_pager_color_prefix:f5bde6 -SETUVAR fish_pager_color_progress:6e738d -SETUVAR fish_pager_color_secondary_background:\x1d -SETUVAR fish_pager_color_secondary_completion:\x1d -SETUVAR fish_pager_color_secondary_description:\x1d -SETUVAR fish_pager_color_secondary_prefix:\x1d -SETUVAR fish_pager_color_selected_background:\x1d -SETUVAR fish_pager_color_selected_completion:\x1d -SETUVAR fish_pager_color_selected_description:\x1d -SETUVAR fish_pager_color_selected_prefix:\x1d SETUVAR fish_user_paths:/home/aleidk/\x2ecargo/bin\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/usr/bin\x1e/var/lib/flatpak/exports/bin\x1e/home/aleidk/\x2elocal/bin SETUVAR pure_begin_prompt_with_current_directory:true SETUVAR pure_check_for_new_release:false diff --git a/configs/niri/base/config.kdl b/configs/niri/base/config.kdl index 4f340da..399a3fe 100644 --- a/configs/niri/base/config.kdl +++ b/configs/niri/base/config.kdl @@ -1,503 +1,8 @@ -include "include/local.kdl" -// ╭─────────────────────────────────────────────────────────╮ -// │ Windows Rules │ -// ╰─────────────────────────────────────────────────────────╯ -window-rule { - // This regular expression is intentionally made as specific as possible, - // since this is the default config, and we want no false positives. - // You can get away with just app-id="wezterm" f you want. - match app-id="^org\\.wezfurlong\\.wezterm$" - default-column-width { +include "noctalia-shell.kdl" +include "keys.kdl" +include "options.kdl" - } -} -// Floatin Windows -window-rule { - match app-id="firefox$" title="^Picture-in-Picture$" - match app-id="^brave-.*-Default$" - // Extensions popup open-floating true -} -// Full width window -window-rule { - match app-id="beekeeper-studio" - open-maximized true -} -window-rule { - match app-id="^org\\.keepassxc\\.KeePassXC$" - match app-id="^org\\.gnome\\.World\\.Secrets$" - // block-out-from "screen-capture" - // Use this instead if you want them visible on third-party screenshot tools. - block-out-from "screencast" -} -window-rule { - match app-id="brave-browser" - match at-startup=true - default-column-width { - proportion 0.5 - } -} -window-rule { - match title="^Meet: .*" app-id="brave-browser" - open-floating true -} -window-rule { - geometry-corner-radius 4 - clip-to-geometry true -} -layer-rule { - match namespace="kitty-quick-access" - geometry-corner-radius 12 - shadow { - on - spread 10 - softness 20 - offset x=-10 y=10 - } -} -// ╭─────────────────────────────────────────────────────────╮ -// │ Auto Start Apps │ -// ╰─────────────────────────────────────────────────────────╯ spawn-at-startup "./fix_float.py" -spawn-at-startup "/usr/lib/pam_kwallet_init" spawn-at-startup "udieskie" -spawn-at-startup "brave" -// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup: -// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell" -// ╭─────────────────────────────────────────────────────────╮ -// │ System Config │ -// ╰─────────────────────────────────────────────────────────╯ -// ── Layout Config ─────────────────────────────────────────────────── -layout { - gaps 10 - always-center-single-column - center-focused-column "never" - preset-column-widths { - // The default preset widths are 1/3, 1/2 and 2/3 of the output. - proportion 0.33333 - proportion 0.5 - proportion 0.66667 - } - preset-window-heights { - - } - default-column-width { - proportion 0.5 - } - focus-ring { - // Uncomment this line to disable the focus ring. - // off - // How many logical pixels the ring extends out from the windows. - width 2 - active-color "#7fc8ff" - inactive-color "#505050" - } -} -// ── Keybindings ───────────────────────────────────────────────────── -binds { - Mod+Shift+Slash { - show-hotkey-overlay - } - Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { - spawn "kitty" - } - Mod+Shift+Return hotkey-overlay-title="Open Quick Terminal" { - spawn "kitten" "quick_access_terminal" - } - Mod+Shift+E hotkey-overlay-title="Open Code Editor" { - spawn-sh "kitten quick_access_terminal --instance-group editor-choice fish -c \"zeditor (zoxide query -i)\"" - } - Mod+D hotkey-overlay-title="Run an Application: Rofi" { - spawn "rofi" "-show" "drun" "-run-command" "uwsm app -- {cmd}" - } - XF86AudioRaiseVolume allow-when-locked=true { - spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.025+" - } - XF86AudioLowerVolume allow-when-locked=true { - spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.025-" - } - XF86AudioMute allow-when-locked=true { - spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" - } - XF86AudioMicMute allow-when-locked=true { - spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" - } - XF86MonBrightnessUp allow-when-locked=true { - spawn "brightnessctl" "--class=backlight" "set" "+10%" - } - XF86MonBrightnessDown allow-when-locked=true { - spawn "brightnessctl" "--class=backlight" "set" "10%-" - } - // Open/close the Overview: a zoomed-out view of workspaces and windows. - // You can also move the mouse into the top-left hot corner, - // or do a four-finger swipe up on a touchpad. - Mod+A repeat=false { - toggle-overview - } - Mod+Shift+Q repeat=false { - close-window - } - Mod+Tab { - focus-column-right-or-first - } - Mod+shift+Tab { - focus-column-left-or-last - } - Mod+Left { - focus-column-left - } - Mod+Down { - focus-window-or-workspace-down - } - Mod+Up { - focus-window-or-workspace-up - } - Mod+Right { - focus-column-or-monitor-right - } - Mod+H { - focus-column-or-monitor-left - } - Mod+J { - focus-window-or-workspace-down - } - Mod+K { - focus-window-or-workspace-up - } - Mod+L { - focus-column-or-monitor-right - } - Mod+Shift+Left { - move-column-left - } - Mod+Shift+Down { - move-window-down-or-to-workspace-down - } - Mod+Shift+Up { - move-window-up-or-to-workspace-up - } - Mod+Shift+Right { - move-column-right - } - Mod+Shift+H { - move-column-left - } - Mod+Shift+J { - move-window-down-or-to-workspace-down - } - Mod+Shift+K { - move-window-up-or-to-workspace-up - } - Mod+Shift+L { - move-column-right - } - Mod+Home { - focus-column-first - } - Mod+End { - focus-column-last - } - Mod+Ctrl+Home { - move-column-to-first - } - Mod+Ctrl+End { - move-column-to-last - } - Mod+WheelScrollDown cooldown-ms=150 { - focus-column-right - } - Mod+WheelScrollUp cooldown-ms=150 { - focus-column-left - } - Mod+Ctrl+WheelScrollDown cooldown-ms=150 { - move-column-to-workspace-down - } - Mod+Ctrl+WheelScrollUp cooldown-ms=150 { - move-column-to-workspace-up - } - Mod+WheelScrollRight { - focus-column-right - } - Mod+WheelScrollLeft { - focus-column-left - } - Mod+Ctrl+WheelScrollRight { - move-column-right - } - Mod+Ctrl+WheelScrollLeft { - move-column-left - } - Mod+Shift+WheelScrollDown cooldown-ms=150 { - focus-workspace-down - } - Mod+Shift+WheelScrollUp cooldown-ms=150 { - focus-workspace-up - } - Mod+Ctrl+Shift+WheelScrollDown { - move-column-right - } - Mod+Ctrl+Shift+WheelScrollUp { - move-column-left - } - // Similarly, you can bind touchpad scroll "ticks". - // Touchpad scrolling is continuous, so for these binds it is split into - // discrete intervals. - // These binds are also affected by touchpad's natural-scroll, so these - // example binds are "inverted", since we have natural-scroll enabled for - // touchpads by default. - // Mod+TouchpadScrollDown { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+"; } - // Mod+TouchpadScrollUp { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"; } - Mod+1 { - focus-workspace 1 - } - Mod+2 { - focus-workspace 2 - } - Mod+3 { - focus-workspace 3 - } - Mod+4 { - focus-workspace 4 - } - Mod+5 { - focus-workspace 5 - } - Mod+6 { - focus-workspace 6 - } - Mod+7 { - focus-workspace 7 - } - Mod+8 { - focus-workspace 8 - } - Mod+9 { - focus-workspace 9 - } - Mod+Shift+1 { - move-window-to-workspace 1 - } - Mod+Shift+2 { - move-window-to-workspace 2 - } - Mod+Shift+3 { - move-window-to-workspace 3 - } - Mod+Shift+4 { - move-window-to-workspace 4 - } - Mod+Shift+5 { - move-window-to-workspace 5 - } - Mod+Shift+6 { - move-window-to-workspace 6 - } - Mod+Shift+7 { - move-window-to-workspace 7 - } - Mod+Shift+8 { - move-window-to-workspace 8 - } - Mod+Shift+9 { - move-window-to-workspace 9 - } - // Switches focus between the current and the previous workspace. - Mod+Bar { - focus-workspace-previous - } - // The following binds move the focused window in and out of a column. - // If the window is alone, they will consume it into the nearby column to the side. - // If the window is already in a column, they will expel it out. - Mod+BraceLeft { - consume-or-expel-window-left - } - Mod+BraceRight { - consume-or-expel-window-right - } - // Consume one window from the right to the bottom of the focused column. - Mod+Comma { - consume-window-into-column - } - // Expel the bottom window from the focused column to the right. - Mod+Period { - expel-window-from-column - } - Mod+R { - switch-preset-column-width - } - // Cycling through the presets in reverse order is also possible. - // Mod+R { switch-preset-column-width-back; } - Mod+Shift+R { - switch-preset-window-height - } - Mod+Ctrl+R { - reset-window-height - } - Mod+F { - maximize-column - } - Mod+Shift+F { - fullscreen-window - } - // Expand the focused column to space not taken up by other fully visible columns. - // Makes the column "fill the rest of the space". - Mod+Ctrl+F { - expand-column-to-available-width - } - Mod+C { - center-column - } - // Center all fully visible columns on screen. - Mod+Ctrl+C { - center-visible-columns - } - // Finer width adjustments. - // This command can also: - // * set width in pixels: "1000" - // * adjust width in pixels: "-5" or "+5" - // * set width as a percentage of screen width: "25%" - // * adjust width as a percentage of screen width: "-10%" or "+10%" - // Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0, - // set-column-width "100" will make the column occupy 200 physical screen pixels. - Mod+Minus { - set-column-width "-10%" - } - Mod+Plus { - set-column-width "+10%" - } - // Finer height adjustments when in column with other windows. - Mod+Shift+Minus { - set-window-height "-10%" - } - Mod+Shift+Equal { - set-window-height "+10%" - } - // Move the focused window between the floating and the tiling layout. - Mod+Shift+Space { - toggle-window-floating - } - Mod+Space { - switch-focus-between-floating-and-tiling - } - // Toggle tabbed column display mode. - // Windows in this column will appear as vertical tabs, - // rather than stacked on top of each other. - Mod+W { - toggle-column-tabbed-display - } - Print { - screenshot - } - Shift+Print { - screenshot-window - } - Shift+Ctrl+Print hotkey-overlay-title="Edit image in Clipboard" { - spawn-sh "wl-paste | swappy -f -" - } - // Applications such as remote-desktop clients and software KVM switches may - // request that niri stops processing the keyboard shortcuts defined here - // so they may, for example, forward the key presses as-is to a remote machine. - // It's a good idea to bind an escape hatch to toggle the inhibitor, - // so a buggy application can't hold your session hostage. - // - // The allow-inhibiting=false property can be applied to other binds as well, - // which ensures niri always processes them, even when an inhibitor is active. - Mod+Escape allow-inhibiting=false { - toggle-keyboard-shortcuts-inhibit - } - Ctrl+Alt+Delete { - quit - } -} -// ── Environment Variables ─────────────────────────────────────────── -environment { - QT_STYLE_OVERRIDE "kvantum" - QT_AUTO_SCREEN_SCALE_FACTOR "1" - QT_QPA_PLATFORM "wayland;xcb" - QT_WAYLAND_DISABLE_WINDOWDECORATION "1" - QT_QPA_PLATFORMTHEME "qt5ct" - MOZ_ENABLE_WAYLAND "1" - XCURSOR_SIZE "24" - GTK_THEME "catppuccin-macchiato-teal-standard-default" - SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/rbw/ssh-agent-socket" - EDITOR "nvim" - VISUAL "nvim" - TERMINAL "/usr/bin/kitty" -} -// ── Display Options ───────────────────────────────────────────────── -output "HDMI-A-1" { - scale 1 - mode "3440x1440" -} -// ── Input Options ─────────────────────────────────────────────────── -input { - keyboard { - xkb { - layout "latam" - options "caps:escape" - } - // Enable numlock on startup, omitting this setting disables it. - numlock - } - // Next sections include libinput settings. - // Omitting settings disables them, or leaves them at their default values. - // All commented-out settings here are examples, not defaults. - touchpad { - // off - tap - // dwt - // dwtp - // drag false - // drag-lock - natural-scroll - // accel-speed 0.2 - // accel-profile "flat" - // scroll-method "two-finger" - // disabled-on-external-mouse - } - mouse { - // off - // natural-scroll - // accel-speed 0.2 - // accel-profile "flat" - // scroll-method "no-scroll" - - } - trackpoint { - // off - // natural-scroll - // accel-speed 0.2 - // accel-profile "flat" - // scroll-method "on-button-down" - // scroll-button 273 - // scroll-button-lock - // middle-emulation - - } - // warp-mouse-to-focus - focus-follows-mouse -} -// ── Animations ────────────────────────────────────────────────────── -animations { - // Uncomment to turn off all animations. - // off - - // Slow down all animations by this factor. Values below 1 speed them up instead. - // slowdown 3.0 - -} -// ── Misc ──────────────────────────────────────────────────────────── -cursor { - xcursor-theme "catppuccin-macchiato-lavender-cursors" - xcursor-size 24 -} -hotkey-overlay { - skip-at-startup -} -// Uncomment this line to ask the clients to omit their client-side decorations if possible. -// If the client will specifically ask for CSD, the request will be honored. -// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. -// This option will also fix border/focus ring drawing behind some semitransparent windows. -// After enabling or disabling this, you need to restart the apps for this to take effect. -// prefer-no-csd -screenshot-path null +include "include/local.kdl" diff --git a/configs/niri/base/keys.kdl b/configs/niri/base/keys.kdl new file mode 100644 index 0000000..3e71629 --- /dev/null +++ b/configs/niri/base/keys.kdl @@ -0,0 +1,291 @@ +binds { + Mod+Shift+Slash { + show-hotkey-overlay + } + // + // ╭─────────────────────────────────────────────────────────╮ + // │ Launchers │ + // ╰─────────────────────────────────────────────────────────╯ + // + Mod+Return hotkey-overlay-title="Open Terminal" { + spawn "kitty" + } + Mod+Shift+Return hotkey-overlay-title="Open Quick Terminal" { + spawn "kitten" "quick_access_terminal" + } + Mod+D hotkey-overlay-title="Launcher" { + spawn "qs" "ipc" "-c" "noctalia-shell" "call" "launcher" "toggle" + } + // + // ╭─────────────────────────────────────────────────────────╮ + // │ Layout │ + // ╰─────────────────────────────────────────────────────────╯ + // + Mod+R { + switch-preset-column-width + } + Mod+Shift+R { + expand-column-to-available-width + } + Mod+F { + maximize-column + } + Mod+Shift+F { + fullscreen-window + } + Mod+C { + center-column + } + // + // ╭─────────────────────────────────────────────────────────╮ + // │ Window Management │ + // ╰─────────────────────────────────────────────────────────╯ + // + Mod+W repeat=false { + toggle-overview + } + Mod+Shift+Q repeat=false { + close-window + } + // + // ── Change focus ──────────────────────────────────────────────────── + // + Mod+Tab { + focus-column-right-or-first + } + Mod+shift+Tab { + focus-column-left-or-last + } + Mod+Left { + focus-column-left + } + Mod+Down { + focus-window-or-workspace-down + } + Mod+Up { + focus-window-or-workspace-up + } + Mod+Right { + focus-column-or-monitor-right + } + Mod+Ctrl+Left { + consume-or-expel-window-left + } + Mod+Ctrl+Right { + consume-or-expel-window-right + } + Mod+Alt+Left { + consume-window-into-column + } + Mod+Alt+Right { + expel-window-from-column + } + Mod+H { + focus-column-or-monitor-left + } + Mod+J { + focus-window-or-workspace-down + } + Mod+K { + focus-window-or-workspace-up + } + Mod+L { + focus-column-or-monitor-right + } + Mod+Ctrl+H { + consume-or-expel-window-left + } + Mod+Ctrl+L { + consume-or-expel-window-right + } + Mod+Alt+H { + consume-window-into-column + } + Mod+Alt+L { + expel-window-from-column + } + Mod+WheelScrollDown cooldown-ms=150 { + focus-column-right + } + Mod+WheelScrollUp cooldown-ms=150 { + focus-column-left + } + Mod+Space { + switch-focus-between-floating-and-tiling + } + // + // ── Move windows ──────────────────────────────────────────────────── + // + Mod+Shift+Left { + move-column-left + } + Mod+Shift+Down { + move-window-down-or-to-workspace-down + } + Mod+Shift+Up { + move-window-up-or-to-workspace-up + } + Mod+Shift+Right { + move-column-right + } + Mod+Shift+H { + move-column-left + } + Mod+Shift+J { + move-window-down-or-to-workspace-down + } + Mod+Shift+K { + move-window-up-or-to-workspace-up + } + Mod+Shift+L { + move-column-right + } + Mod+Ctrl+WheelScrollDown cooldown-ms=150 { + move-column-to-workspace-down + } + Mod+Ctrl+WheelScrollUp cooldown-ms=150 { + move-column-to-workspace-up + } + Mod+WheelScrollRight { + focus-column-right + } + Mod+WheelScrollLeft { + focus-column-left + } + Mod+Ctrl+WheelScrollRight { + move-column-right + } + Mod+Ctrl+WheelScrollLeft { + move-column-left + } + Mod+Ctrl+Shift+WheelScrollDown { + move-column-right + } + Mod+Ctrl+Shift+WheelScrollUp { + move-column-left + } + Mod+Shift+Space { + toggle-window-floating + } + // + // ╭─────────────────────────────────────────────────────────╮ + // │ Workspaces │ + // ╰─────────────────────────────────────────────────────────╯ + // + Mod+Bar { + // Switches focus between the current and the previous workspace. + focus-workspace-previous + } + Mod+1 { + focus-workspace 1 + } + Mod+2 { + focus-workspace 2 + } + Mod+3 { + focus-workspace 3 + } + Mod+4 { + focus-workspace 4 + } + Mod+5 { + focus-workspace 5 + } + Mod+6 { + focus-workspace 6 + } + Mod+7 { + focus-workspace 7 + } + Mod+8 { + focus-workspace 8 + } + Mod+9 { + focus-workspace 9 + } + Mod+Shift+1 { + move-window-to-workspace 1 + } + Mod+Shift+2 { + move-window-to-workspace 2 + } + Mod+Shift+3 { + move-window-to-workspace 3 + } + Mod+Shift+4 { + move-window-to-workspace 4 + } + Mod+Shift+5 { + move-window-to-workspace 5 + } + Mod+Shift+6 { + move-window-to-workspace 6 + } + Mod+Shift+7 { + move-window-to-workspace 7 + } + Mod+Shift+8 { + move-window-to-workspace 8 + } + Mod+Shift+9 { + move-window-to-workspace 9 + } + Mod+Shift+WheelScrollDown cooldown-ms=150 { + focus-workspace-down + } + Mod+Shift+WheelScrollUp cooldown-ms=150 { + focus-workspace-up + } + // + // ╭─────────────────────────────────────────────────────────╮ + // │ Volume │ + // ╰─────────────────────────────────────────────────────────╯ + // + XF86AudioRaiseVolume allow-when-locked=true { + spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.025+" + } + XF86AudioLowerVolume allow-when-locked=true { + spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.025-" + } + XF86AudioMute allow-when-locked=true { + spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" + } + XF86AudioMicMute allow-when-locked=true { + spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" + } + // + // ╭─────────────────────────────────────────────────────────╮ + // │ Brightness │ + // ╰─────────────────────────────────────────────────────────╯ + // + XF86MonBrightnessUp allow-when-locked=true { + spawn "brightnessctl" "--class=backlight" "set" "+10%" + } + XF86MonBrightnessDown allow-when-locked=true { + spawn "brightnessctl" "--class=backlight" "set" "10%-" + } + Print { + screenshot + } + Shift+Print { + screenshot-window + } + Shift+Ctrl+Print hotkey-overlay-title="Edit image in Clipboard" { + spawn-sh "wl-paste | swappy -f -" + } + // Applications such as remote-desktop clients and software KVM switches may + // request that niri stops processing the keyboard shortcuts defined here + // so they may, for example, forward the key presses as-is to a remote machine. + // It's a good idea to bind an escape hatch to toggle the inhibitor, + // so a buggy application can't hold your session hostage. + // + // The allow-inhibiting=false property can be applied to other binds as well, + // which ensures niri always processes them, even when an inhibitor is active. + Mod+Escape allow-inhibiting=false { + toggle-keyboard-shortcuts-inhibit + } + Ctrl+Alt+Delete { + quit + } +} + diff --git a/configs/niri/base/noctalia-shell.kdl b/configs/niri/base/noctalia-shell.kdl new file mode 100644 index 0000000..8e4f66c --- /dev/null +++ b/configs/niri/base/noctalia-shell.kdl @@ -0,0 +1,16 @@ +window-rule { + // Rounded corners for a modern look. + geometry-corner-radius 20 + // Clips window contents to the rounded corner boundaries. + clip-to-geometry true +} +debug { + // Allows notification actions and window activation from Noctalia. + honor-xdg-activation-with-invalid-serial +} +// Set the overview wallpaper on the backdrop. +layer-rule { + match namespace="^noctalia-overview*" + place-within-backdrop true +} + diff --git a/configs/niri/base/options.kdl b/configs/niri/base/options.kdl new file mode 100644 index 0000000..13d0ac9 --- /dev/null +++ b/configs/niri/base/options.kdl @@ -0,0 +1,67 @@ +// ── Layout Config ─────────────────────────────────────────────────── +layout { + gaps 10 + always-center-single-column + center-focused-column "never" + preset-column-widths { + // The default preset widths are 1/3, 1/2 and 2/3 of the output. + proportion 0.33333 + proportion 0.5 + proportion 0.66667 + } + preset-window-heights { + + } + default-column-width { + proportion 0.5 + } + focus-ring { + // Uncomment this line to disable the focus ring. + // off + // How many logical pixels the ring extends out from the windows. + width 2 + active-color "#7fc8ff" + inactive-color "#505050" + } +} +// ── Environment Variables ─────────────────────────────────────────── +environment { + ELECTRON_OZONE_PLATFORM_HINT "auto" + QT_STYLE_OVERRIDE "kvantum" + QT_AUTO_SCREEN_SCALE_FACTOR "1" + QT_QPA_PLATFORM "wayland;xcb" + QT_WAYLAND_DISABLE_WINDOWDECORATION "1" + QT_QPA_PLATFORMTHEME "qt5ct" + MOZ_ENABLE_WAYLAND "1" + XCURSOR_SIZE "24" + GTK_THEME "catppuccin-macchiato-teal-standard-default" + SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/rbw/ssh-agent-socket" + EDITOR "nvim" + VISUAL "nvim" + TERMINAL "/usr/bin/kitty" +} +// ── Input Options ─────────────────────────────────────────────────── +input { + keyboard { + xkb { + layout "latam" + options "caps:escape" + } + numlock + } + touchpad { + tap + natural-scroll + } + focus-follows-mouse +} +// ── Misc ──────────────────────────────────────────────────────────── +cursor { + xcursor-theme "catppuccin-macchiato-lavender-cursors" + xcursor-size 24 +} +hotkey-overlay { + skip-at-startup +} +screenshot-path null + diff --git a/configs/niri/base/rules.kdl b/configs/niri/base/rules.kdl new file mode 100644 index 0000000..6c6bf46 --- /dev/null +++ b/configs/niri/base/rules.kdl @@ -0,0 +1,53 @@ +window-rule { + // This regular expression is intentionally made as specific as possible, + // since this is the default config, and we want no false positives. + // You can get away with just app-id="wezterm" f you want. + match app-id="^org\\.wezfurlong\\.wezterm$" + default-column-width { + + } +} +// Floatin Windows +window-rule { + match app-id="firefox$" title="^Picture-in-Picture$" + match app-id="^brave-.*-Default$" + // Extensions popup open-floating true +} +// Full width window +window-rule { + match app-id="beekeeper-studio" + open-maximized true +} +window-rule { + match app-id="^org\\.keepassxc\\.KeePassXC$" + match app-id="^org\\.gnome\\.World\\.Secrets$" + // block-out-from "screen-capture" + // Use this instead if you want them visible on third-party screenshot tools. + block-out-from "screencast" +} +window-rule { + match app-id="brave-browser" + match at-startup=true + default-column-width { + proportion 0.5 + } +} +window-rule { + match title="^Meet: .*" app-id="brave-browser" + open-floating true +} +window-rule { + geometry-corner-radius 4 + clip-to-geometry true +} +layer-rule { + match namespace="kitty-quick-access" + geometry-corner-radius 12 + shadow { + on + spread 10 + softness 20 + offset x=-10 y=10 + } +} + diff --git a/configs/niri/work-laptop/local.kdl b/configs/niri/work-laptop/local.kdl index 0e93f89..fdb8b9d 100644 --- a/configs/niri/work-laptop/local.kdl +++ b/configs/niri/work-laptop/local.kdl @@ -1,5 +1,7 @@ +spawn-at-startup "brave" +spawn-at-startup "firefox" window-rule { - match app-id="brave-work" + match app-id="firefox" open-on-workspace "1" open-focused true default-column-width { @@ -7,7 +9,7 @@ window-rule { } } window-rule { - match app-id="brave-personal" + match app-id="brave-browser" open-on-workspace "2" open-focused false default-column-width { @@ -22,7 +24,7 @@ output "HDMI-A-1" { } output "eDP-1" { mode "1920x1080@60.000" - position x=0 y=720 + position x=0 y=0 layout { default-column-width { proportion 1.0 diff --git a/configs/noctalia/colors.json b/configs/noctalia/colors.json new file mode 100644 index 0000000..af5a746 --- /dev/null +++ b/configs/noctalia/colors.json @@ -0,0 +1,18 @@ +{ + "mError": "#f38ba8", + "mHover": "#c6a0f6", + "mOnError": "#24273a", + "mOnHover": "#24273a", + "mOnPrimary": "#24273a", + "mOnSecondary": "#24273a", + "mOnSurface": "#cad3f5", + "mOnSurfaceVariant": "#cad3f5", + "mOnTertiary": "#24273a", + "mOutline": "#494d64", + "mPrimary": "#8bd5ca", + "mSecondary": "#c6a0f6", + "mShadow": "#1e2030", + "mSurface": "#1e1e2e", + "mSurfaceVariant": "#363a4f", + "mTertiary": "#b7bdf8" +} diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/Catppuccin Macchiato Teal.json b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/Catppuccin Macchiato Teal.json new file mode 100644 index 0000000..172b98c --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/Catppuccin Macchiato Teal.json @@ -0,0 +1,38 @@ +{ + "dark": { + "mPrimary": "#8bd5ca", + "mOnPrimary": "#24273a", + "mSecondary": "#c6a0f6", + "mOnSecondary": "#24273a", + "mTertiary": "#b7bdf8", + "mOnTertiary": "#24273a", + "mError": "#f38ba8", + "mOnError": "#24273a", + "mSurface": "#1e1e2e", + "mOnSurface": "#cad3f5", + "mSurfaceVariant": "#363a4f", + "mOnSurfaceVariant": "#cad3f5", + "mOutline": "#494d64", + "mShadow": "#1e2030", + "mHover": "#c6a0f6", + "mOnHover": "#24273a" + }, + "light": { + "mPrimary": "#179299", + "mOnPrimary": "#eff1f5", + "mSecondary": "#8839ef", + "mOnSecondary": "#eff1f5", + "mTertiary": "#7287fd", + "mOnTertiary": "#eff1f5", + "mError": "#d20f39", + "mOnError": "#dce0e8", + "mSurface": "#eff1f5", + "mOnSurface": "#4c4f69", + "mSurfaceVariant": "#ccd0da", + "mOnSurfaceVariant": "#6c6f85", + "mOutline": "#a5adcb", + "mShadow": "#dce0e8", + "mHover": "#8839ef", + "mOnHover": "#eff1f5" + } +} diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/alacritty/Catppuccin Lavender dark b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/alacritty/Catppuccin Lavender dark new file mode 100644 index 0000000..82645d6 --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/alacritty/Catppuccin Lavender dark @@ -0,0 +1,33 @@ +# Colors (Catppuccin Mocha) + +[colors.bright] +black = '#585b70' +blue = '#74a8fc' +cyan = '#6bd7ca' +green = '#89d88b' +magenta = '#f2aede' +red = '#f37799' +white = '#bac2de' +yellow = '#ebd391' + +[colors.cursor] +cursor = '#f5e0dc' +text = '#1e1e2e' + +[colors.normal] +black = '#45475a' +blue = '#89b4fa' +cyan = '#94e2d5' +green = '#a6e3a1' +magenta = '#f5c2e7' +red = '#f38ba8' +white = '#a6adc8' +yellow = '#f9e2af' + +[colors.primary] +background = '#1e1e2e' +foreground = '#cdd6f4' + +[colors.selection] +background = '#585b70' +text = '#cdd6f4' \ No newline at end of file diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/alacritty/Catppuccin Lavender light b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/alacritty/Catppuccin Lavender light new file mode 100644 index 0000000..41159c7 --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/alacritty/Catppuccin Lavender light @@ -0,0 +1,33 @@ +# Colors (Catppuccin Latte) + +[colors.bright] +black = '#6c6f85' +blue = '#456eff' +cyan = '#2d9fa8' +green = '#49af3d' +magenta = '#fe85d8' +red = '#de293e' +white = '#bcc0cc' +yellow = '#eea02d' + +[colors.cursor] +cursor = '#dc8a78' +text = '#eff1f5' + +[colors.normal] +black = '#5c5f77' +blue = '#1e66f5' +cyan = '#179299' +green = '#40a02b' +magenta = '#ea76cb' +red = '#d20f39' +white = '#acb0be' +yellow = '#df8e1d' + +[colors.primary] +background = '#eff1f5' +foreground = '#4c4f69' + +[colors.selection] +background = '#acb0be' +text = '#4c4f69' \ No newline at end of file diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/foot/Catppuccin Lavender dark b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/foot/Catppuccin Lavender dark new file mode 100644 index 0000000..6e30e18 --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/foot/Catppuccin Lavender dark @@ -0,0 +1,22 @@ +[colors] +foreground=cdd6f4 +background=1e1e2e +regular0=45475a +regular1=f38ba8 +regular2=a6e3a1 +regular3=f9e2af +regular4=89b4fa +regular5=f5c2e7 +regular6=94e2d5 +regular7=a6adc8 +bright0=585b70 +bright1=f37799 +bright2=89d88b +bright3=ebd391 +bright4=74a8fc +bright5=f2aede +bright6=6bd7ca +bright7=bac2de +selection-foreground=cdd6f4 +selection-background=585b70 +cursor=1e1e2e f5e0dc diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/foot/Catppuccin Lavender light b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/foot/Catppuccin Lavender light new file mode 100644 index 0000000..6877ab8 --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/foot/Catppuccin Lavender light @@ -0,0 +1,22 @@ +[colors] +foreground=c6d0f5 +background=303446 +regular0=51576d +regular1=e78284 +regular2=a6d189 +regular3=e5c890 +regular4=8caaee +regular5=f4b8e4 +regular6=81c8be +regular7=a5adce +bright0=626880 +bright1=e67172 +bright2=8ec772 +bright3=d9ba73 +bright4=7b9ef0 +bright5=f2a4db +bright6=5abfb5 +bright7=b5bfe2 +selection-foreground=c6d0f5 +selection-background=626880 +cursor=303446 f2d5cf diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/ghostty/Catppuccin Lavender dark b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/ghostty/Catppuccin Lavender dark new file mode 100644 index 0000000..2b2ec39 --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/ghostty/Catppuccin Lavender dark @@ -0,0 +1,22 @@ +palette = 0=#45475a +palette = 1=#f38ba8 +palette = 2=#a6e3a1 +palette = 3=#f9e2af +palette = 4=#89b4fa +palette = 5=#f5c2e7 +palette = 6=#94e2d5 +palette = 7=#a6adc8 +palette = 8=#585b70 +palette = 9=#f37799 +palette = 10=#89d88b +palette = 11=#ebd391 +palette = 12=#74a8fc +palette = 13=#f2aede +palette = 14=#6bd7ca +palette = 15=#bac2de +background = #1e1e2e +foreground = #cdd6f4 +cursor-color = #f5e0dc +cursor-text = #1e1e2e +selection-background = #585b70 +selection-foreground = #cdd6f4 diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/ghostty/Catppuccin Lavender light b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/ghostty/Catppuccin Lavender light new file mode 100644 index 0000000..94cb2ba --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/ghostty/Catppuccin Lavender light @@ -0,0 +1,22 @@ +palette = 0=#5c5f77 +palette = 1=#d20f39 +palette = 2=#40a02b +palette = 3=#df8e1d +palette = 4=#1e66f5 +palette = 5=#ea76cb +palette = 6=#179299 +palette = 7=#acb0be +palette = 8=#6c6f85 +palette = 9=#de293e +palette = 10=#49af3d +palette = 11=#eea02d +palette = 12=#456eff +palette = 13=#fe85d8 +palette = 14=#2d9fa8 +palette = 15=#bcc0cc +background = #eff1f5 +foreground = #4c4f69 +cursor-color = #dc8a78 +cursor-text = #eff1f5 +selection-background = #acb0be +selection-foreground = #4c4f69 diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/kitty/Catppuccin Lavender dark.conf b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/kitty/Catppuccin Lavender dark.conf new file mode 100644 index 0000000..d566605 --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/kitty/Catppuccin Lavender dark.conf @@ -0,0 +1,22 @@ +color0 #45475a +color1 #f38ba8 +color2 #a6e3a1 +color3 #f9e2af +color4 #89b4fa +color5 #f5c2e7 +color6 #94e2d5 +color7 #a6adc8 +color8 #585b70 +color9 #f37799 +color10 #89d88b +color11 #ebd391 +color12 #74a8fc +color13 #f2aede +color14 #6bd7ca +color15 #bac2de +background #1e1e2e +selection_foreground #1e1e2e +cursor #f5e0dc +cursor_text_color #1e1e2e +foreground #cdd6f4 +selection_background #cdd6f4 diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/kitty/Catppuccin Lavender light.conf b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/kitty/Catppuccin Lavender light.conf new file mode 100644 index 0000000..a30e3ae --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/kitty/Catppuccin Lavender light.conf @@ -0,0 +1,22 @@ +color0 #5c5f77 +color1 #d20f39 +color2 #40a02b +color3 #df8e1d +color4 #1e66f5 +color5 #ea76cb +color6 #179299 +color7 #acb0be +color8 #6c6f85 +color9 #de293e +color10 #49af3d +color11 #eea02d +color12 #456eff +color13 #fe85d8 +color14 #2d9fa8 +color15 #bcc0cc +background #eff1f5 +selection_foreground #eff1f5 +cursor #dc8a78 +cursor_text_color #eff1f5 +foreground #4c4f69 +selection_background #4c4f69 diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/wezterm/Catppuccin Lavender dark.toml b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/wezterm/Catppuccin Lavender dark.toml new file mode 100644 index 0000000..5d4eb50 --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/wezterm/Catppuccin Lavender dark.toml @@ -0,0 +1,84 @@ +[colors] +ansi = [ + "#45475a", + "#f38ba8", + "#a6e3a1", + "#f9e2af", + "#89b4fa", + "#f5c2e7", + "#94e2d5", + "#bac2de", +] +background = "#1e1e2e" +brights = [ + "#585b70", + "#f38ba8", + "#a6e3a1", + "#f9e2af", + "#89b4fa", + "#f5c2e7", + "#94e2d5", + "#a6adc8", +] +compose_cursor = "#f2cdcd" +cursor_bg = "#f5e0dc" +cursor_border = "#f5e0dc" +cursor_fg = "#11111b" +foreground = "#cdd6f4" +scrollbar_thumb = "#585b70" +selection_bg = "#585b70" +selection_fg = "#cdd6f4" +split = "#6c7086" +visual_bell = "#313244" + +[colors.indexed] +16 = "#fab387" +17 = "#f5e0dc" + +[colors.tab_bar] +background = "#11111b" +inactive_tab_edge = "#313244" + +[colors.tab_bar.active_tab] +bg_color = "#cba6f7" +fg_color = "#11111b" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.inactive_tab] +bg_color = "#181825" +fg_color = "#cdd6f4" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.inactive_tab_hover] +bg_color = "#1e1e2e" +fg_color = "#cdd6f4" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.new_tab] +bg_color = "#313244" +fg_color = "#cdd6f4" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.new_tab_hover] +bg_color = "#45475a" +fg_color = "#cdd6f4" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[metadata] +author = "Catppuccin Org" +name = "Noctalia" diff --git a/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/wezterm/Catppuccin Lavender light.toml b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/wezterm/Catppuccin Lavender light.toml new file mode 100644 index 0000000..9feddaa --- /dev/null +++ b/configs/noctalia/colorschemes/Catppuccin Macchiato Teal/terminal/wezterm/Catppuccin Lavender light.toml @@ -0,0 +1,84 @@ +[colors] +ansi = [ + "#bcc0cc", + "#d20f39", + "#40a02b", + "#df8e1d", + "#1e66f5", + "#ea76cb", + "#179299", + "#5c5f77", +] +background = "#eff1f5" +brights = [ + "#acb0be", + "#d20f39", + "#40a02b", + "#df8e1d", + "#1e66f5", + "#ea76cb", + "#179299", + "#6c6f85", +] +compose_cursor = "#dd7878" +cursor_bg = "#dc8a78" +cursor_border = "#dc8a78" +cursor_fg = "#dce0e8" +foreground = "#4c4f69" +scrollbar_thumb = "#acb0be" +selection_bg = "#acb0be" +selection_fg = "#4c4f69" +split = "#9ca0b0" +visual_bell = "#ccd0da" + +[colors.indexed] +16 = "#fe640b" +17 = "#dc8a78" + +[colors.tab_bar] +background = "#dce0e8" +inactive_tab_edge = "#ccd0da" + +[colors.tab_bar.active_tab] +bg_color = "#8839ef" +fg_color = "#dce0e8" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.inactive_tab] +bg_color = "#e6e9ef" +fg_color = "#4c4f69" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.inactive_tab_hover] +bg_color = "#eff1f5" +fg_color = "#4c4f69" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.new_tab] +bg_color = "#ccd0da" +fg_color = "#4c4f69" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[colors.tab_bar.new_tab_hover] +bg_color = "#bcc0cc" +fg_color = "#4c4f69" +intensity = "Normal" +italic = false +strikethrough = false +underline = "None" + +[metadata] +author = "Catppuccin Org" +name = "Noctalia" diff --git a/configs/noctalia/pam/password.conf b/configs/noctalia/pam/password.conf new file mode 100644 index 0000000..68fc325 --- /dev/null +++ b/configs/noctalia/pam/password.conf @@ -0,0 +1,3 @@ +#auth sufficient pam_fprintd.so max-tries=1 +# only uncomment this if you have a fingerprint reader +auth required pam_unix.so diff --git a/configs/noctalia/plugins.json b/configs/noctalia/plugins.json new file mode 100644 index 0000000..4b43c99 --- /dev/null +++ b/configs/noctalia/plugins.json @@ -0,0 +1,16 @@ +{ + "sources": [ + { + "enabled": true, + "name": "Official Noctalia Plugins", + "url": "https://github.com/noctalia-dev/noctalia-plugins" + } + ], + "states": { + "kaomoji-provider": { + "enabled": true, + "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + } + }, + "version": 1 +} diff --git a/configs/noctalia/plugins/.gitkeep b/configs/noctalia/plugins/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/configs/noctalia/settings.json b/configs/noctalia/settings.json new file mode 100644 index 0000000..fa6174d --- /dev/null +++ b/configs/noctalia/settings.json @@ -0,0 +1,517 @@ +{ + "appLauncher": { + "customLaunchPrefix": "", + "customLaunchPrefixEnabled": false, + "enableClipPreview": true, + "enableClipboardHistory": true, + "iconMode": "tabler", + "ignoreMouseInput": false, + "pinnedExecs": [ + ], + "position": "center", + "screenshotAnnotationTool": "", + "showCategories": false, + "showIconBackground": true, + "sortByMostUsed": true, + "terminalCommand": "xterm -e", + "useApp2Unit": false, + "viewMode": "list" + }, + "audio": { + "cavaFrameRate": 30, + "externalMixer": "pwvucontrol || pavucontrol", + "mprisBlacklist": [ + ], + "preferredPlayer": "", + "visualizerType": "mirrored", + "volumeOverdrive": false, + "volumeStep": 5 + }, + "bar": { + "backgroundOpacity": 0, + "capsuleOpacity": 1, + "density": "default", + "exclusive": true, + "floating": true, + "marginHorizontal": 0.18, + "marginVertical": 0.25, + "monitors": [ + ], + "outerCorners": true, + "position": "top", + "showCapsule": true, + "showOutline": false, + "useSeparateOpacity": true, + "widgets": { + "center": [ + { + "customFont": "", + "formatHorizontal": "h:mm AP", + "formatVertical": "HH mm - dd MM", + "id": "Clock", + "tooltipFormat": "yyyy-MM-dd", + "useCustomFont": false, + "usePrimaryColor": false + } + ], + "left": [ + { + "characterCount": 2, + "colorizeIcons": false, + "enableScrollWheel": true, + "followFocusedScreen": false, + "groupedBorderOpacity": 1, + "hideUnoccupied": false, + "iconScale": 0.8, + "id": "Workspace", + "labelMode": "none", + "showApplications": false, + "showLabelsOnlyWhenOccupied": true, + "unfocusedIconsOpacity": 1 + }, + { + "hideMode": "hidden", + "hideWhenIdle": false, + "id": "MediaMini", + "maxWidth": 200, + "scrollingMode": "hover", + "showAlbumArt": false, + "showArtistFirst": false, + "showProgressRing": true, + "showVisualizer": true, + "useFixedWidth": false, + "visualizerType": "wave" + }, + { + "colorizeIcons": false, + "hideMode": "transparent", + "id": "ActiveWindow", + "maxWidth": 145, + "scrollingMode": "hover", + "showIcon": true, + "useFixedWidth": false + } + ], + "right": [ + { + "blacklist": [ + ], + "colorizeIcons": false, + "drawerEnabled": true, + "hidePassive": false, + "id": "Tray", + "pinned": [ + ] + }, + { + "id": "WallpaperSelector" + }, + { + "hideWhenZero": false, + "id": "NotificationHistory", + "showUnreadBadge": true + }, + { + "displayMode": "onhover", + "id": "Volume" + }, + { + "deviceNativePath": "", + "displayMode": "alwaysShow", + "hideIfNotDetected": true, + "id": "Battery", + "showNoctaliaPerformance": true, + "showPowerProfiles": true, + "warningThreshold": 20 + }, + { + "colorizeDistroLogo": false, + "colorizeSystemIcon": "primary", + "customIconPath": "", + "enableColorization": true, + "icon": "settings", + "id": "ControlCenter", + "useDistroLogo": false + } + ] + } + }, + "brightness": { + "brightnessStep": 5, + "enableDdcSupport": false, + "enforceMinimum": true + }, + "calendar": { + "cards": [ + { + "enabled": true, + "id": "calendar-header-card" + }, + { + "enabled": true, + "id": "calendar-month-card" + }, + { + "enabled": true, + "id": "weather-card" + }, + { + "enabled": false, + "id": "timer-card" + } + ] + }, + "colorSchemes": { + "darkMode": true, + "generateTemplatesForPredefined": false, + "manualSunrise": "06:30", + "manualSunset": "18:30", + "matugenSchemeType": "scheme-fruit-salad", + "predefinedScheme": "Catppuccin Macchiato Teal", + "schedulingMode": "off", + "useWallpaperColors": false + }, + "controlCenter": { + "cards": [ + { + "enabled": true, + "id": "profile-card" + }, + { + "enabled": true, + "id": "shortcuts-card" + }, + { + "enabled": true, + "id": "audio-card" + }, + { + "enabled": true, + "id": "brightness-card" + }, + { + "enabled": true, + "id": "weather-card" + }, + { + "enabled": true, + "id": "media-sysmon-card" + } + ], + "diskPath": "/", + "position": "close_to_bar_button", + "shortcuts": { + "left": [ + { + "id": "WiFi" + }, + { + "id": "Bluetooth" + }, + { + "id": "ScreenRecorder" + }, + { + "id": "WallpaperSelector" + } + ], + "right": [ + { + "id": "Notifications" + }, + { + "id": "PowerProfile" + }, + { + "id": "KeepAwake" + }, + { + "id": "NightLight" + } + ] + } + }, + "desktopWidgets": { + "enabled": false, + "gridSnap": false, + "monitorWidgets": [ + ] + }, + "dock": { + "animationSpeed": 1, + "backgroundOpacity": 1, + "colorizeIcons": false, + "deadOpacity": 0.6, + "displayMode": "auto_hide", + "enabled": false, + "floatingRatio": 1, + "inactiveIndicators": false, + "monitors": [ + ], + "onlySameOutput": true, + "pinnedApps": [ + "org.gnome.Nautilus", + "yazi" + ], + "pinnedStatic": false, + "size": 1 + }, + "general": { + "allowPanelsOnScreenWithoutBar": true, + "animationDisabled": false, + "animationSpeed": 1, + "avatarImage": "/home/aleidk/.face", + "boxRadiusRatio": 1, + "compactLockScreen": false, + "dimmerOpacity": 0.25, + "enableShadows": true, + "forceBlackScreenCorners": false, + "iRadiusRatio": 1, + "language": "", + "lockOnSuspend": true, + "radiusRatio": 1, + "scaleRatio": 1, + "screenRadiusRatio": 1, + "shadowDirection": "bottom_right", + "shadowOffsetX": 2, + "shadowOffsetY": 3, + "showHibernateOnLockScreen": false, + "showScreenCorners": false, + "showSessionButtonsOnLockScreen": true + }, + "hooks": { + "darkModeChange": "", + "enabled": false, + "performanceModeDisabled": "", + "performanceModeEnabled": "", + "screenLock": "", + "screenUnlock": "", + "wallpaperChange": "" + }, + "location": { + "analogClockInCalendar": false, + "firstDayOfWeek": -1, + "name": "Santiago", + "showCalendarEvents": true, + "showCalendarWeather": true, + "showWeekNumberInCalendar": false, + "use12hourFormat": true, + "useFahrenheit": false, + "weatherEnabled": true, + "weatherShowEffects": true + }, + "network": { + "bluetoothDetailsViewMode": "grid", + "bluetoothHideUnnamedDevices": false, + "bluetoothRssiPollIntervalMs": 10000, + "bluetoothRssiPollingEnabled": false, + "wifiDetailsViewMode": "grid", + "wifiEnabled": true + }, + "nightLight": { + "autoSchedule": true, + "dayTemp": "6500", + "enabled": true, + "forced": false, + "manualSunrise": "06:30", + "manualSunset": "18:30", + "nightTemp": "4000" + }, + "notifications": { + "backgroundOpacity": 1, + "criticalUrgencyDuration": 15, + "enableKeyboardLayoutToast": true, + "enabled": true, + "location": "top", + "lowUrgencyDuration": 3, + "monitors": [ + ], + "normalUrgencyDuration": 8, + "overlayLayer": true, + "respectExpireTimeout": true, + "saveToHistory": { + "critical": true, + "low": true, + "normal": true + }, + "sounds": { + "criticalSoundFile": "", + "enabled": true, + "excludedApps": "discord,firefox,chrome,chromium,edge", + "lowSoundFile": "", + "normalSoundFile": "", + "separateSounds": true, + "volume": 0.5 + } + }, + "osd": { + "autoHideMs": 2000, + "backgroundOpacity": 1, + "enabled": true, + "enabledTypes": [ + 0, + 1, + 2, + 4 + ], + "location": "bottom", + "monitors": [ + ], + "overlayLayer": true + }, + "screenRecorder": { + "audioCodec": "opus", + "audioSource": "default_output", + "colorRange": "limited", + "copyToClipboard": false, + "directory": "/home/aleidk/Videos", + "frameRate": 60, + "quality": "very_high", + "showCursor": true, + "videoCodec": "h264", + "videoSource": "portal" + }, + "sessionMenu": { + "countdownDuration": 5000, + "enableCountdown": true, + "largeButtonsLayout": "single-row", + "largeButtonsStyle": false, + "position": "center", + "powerOptions": [ + { + "action": "lock", + "command": "", + "countdownEnabled": true, + "enabled": true + }, + { + "action": "suspend", + "command": "", + "countdownEnabled": true, + "enabled": true + }, + { + "action": "hibernate", + "command": "", + "countdownEnabled": true, + "enabled": true + }, + { + "action": "reboot", + "command": "", + "countdownEnabled": true, + "enabled": true + }, + { + "action": "logout", + "command": "", + "countdownEnabled": true, + "enabled": true + }, + { + "action": "shutdown", + "command": "", + "countdownEnabled": true, + "enabled": true + } + ], + "showHeader": true, + "showNumberLabels": true + }, + "settingsVersion": 37, + "systemMonitor": { + "cpuCriticalThreshold": 90, + "cpuPollingInterval": 3000, + "cpuWarningThreshold": 80, + "criticalColor": "", + "diskCriticalThreshold": 90, + "diskPollingInterval": 3000, + "diskWarningThreshold": 80, + "enableDgpuMonitoring": false, + "externalMonitor": "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor", + "gpuCriticalThreshold": 90, + "gpuPollingInterval": 3000, + "gpuWarningThreshold": 80, + "loadAvgPollingInterval": 3000, + "memCriticalThreshold": 90, + "memPollingInterval": 3000, + "memWarningThreshold": 80, + "networkPollingInterval": 3000, + "tempCriticalThreshold": 90, + "tempPollingInterval": 3000, + "tempWarningThreshold": 80, + "useCustomColors": false, + "warningColor": "" + }, + "templates": { + "alacritty": false, + "cava": false, + "code": false, + "discord": false, + "emacs": false, + "enableUserTemplates": false, + "foot": false, + "fuzzel": false, + "ghostty": false, + "gtk": false, + "helix": false, + "hyprland": false, + "kcolorscheme": false, + "kitty": false, + "mango": false, + "niri": false, + "pywalfox": false, + "qt": false, + "spicetify": false, + "telegram": false, + "vicinae": false, + "walker": false, + "wezterm": false, + "yazi": false, + "zed": false + }, + "ui": { + "boxBorderEnabled": false, + "fontDefault": "Sans Serif", + "fontDefaultScale": 1, + "fontFixed": "monospace", + "fontFixedScale": 1, + "panelBackgroundOpacity": 0.93, + "panelsAttachedToBar": false, + "settingsPanelMode": "centered", + "tooltipsEnabled": true + }, + "wallpaper": { + "directory": "/home/aleidk/Pictures/Wallpapers", + "enableMultiMonitorDirectories": false, + "enabled": true, + "fillColor": "#000000", + "fillMode": "crop", + "hideWallpaperFilenames": true, + "monitorDirectories": [ + ], + "overviewEnabled": true, + "panelPosition": "center", + "randomEnabled": true, + "randomIntervalSec": 900, + "recursiveSearch": true, + "setWallpaperOnAllMonitors": true, + "solidColor": "#1a1a2e", + "transitionDuration": 1500, + "transitionEdgeSmoothness": 0.05, + "transitionType": "random", + "useSolidColor": false, + "useWallhaven": false, + "wallhavenApiKey": "", + "wallhavenCategories": "111", + "wallhavenOrder": "desc", + "wallhavenPurity": "100", + "wallhavenQuery": "", + "wallhavenRatios": "", + "wallhavenResolutionHeight": "", + "wallhavenResolutionMode": "atleast", + "wallhavenResolutionWidth": "", + "wallhavenSorting": "relevance", + "wallpaperChangeMode": "random" + } +} diff --git a/configs/yazi/package.toml b/configs/yazi/package.toml index a548b83..14b4153 100644 --- a/configs/yazi/package.toml +++ b/configs/yazi/package.toml @@ -1,6 +1,6 @@ [[plugin.deps]] use = "yazi-rs/plugins:full-border" -rev = "1ab21d4" +rev = "68f7d48" hash = "3996fc74044bc44144b323686f887e1" [[plugin.deps]] @@ -10,10 +10,10 @@ hash = "68603fdd1dcaf415227e2c77a9317947" [[plugin.deps]] use = "yazi-rs/plugins:smart-enter" -rev = "1ab21d4" +rev = "68f7d48" hash = "56fdabc96fc1f4d53c96eb884b02a5be" [[flavor.deps]] use = "yazi-rs/flavors:catppuccin-macchiato" -rev = "d3fd3a5" -hash = "e6c5beeb1da3199355734273ee452a7f" +rev = "4a1802a" +hash = "b069dba45e199684b16fa12d385642ed" diff --git a/configs/yazi/yazi.toml b/configs/yazi/yazi.toml index 96b9bac..3a64e39 100644 --- a/configs/yazi/yazi.toml +++ b/configs/yazi/yazi.toml @@ -22,7 +22,6 @@ image_filter = "triangle" image_quality = 75 max_height = 900 max_width = 600 -sixel_fraction = 15 tab_size = 2 wrap = "no" @@ -37,7 +36,7 @@ upload_img = [{ run = 'immich upload --recursive "$@" || read -n 1 -p "press any [open] rules = [ # Folder - { name = "*/", use = ["edit", "open", "reveal"] }, + { url = "*/", use = ["edit", "open", "reveal"] }, # Text { mime = "text/*", use = ["edit", "reveal"] }, @@ -76,7 +75,7 @@ suppress_preload = false fetchers = [ # Mimetype - { id = "mime", name = "*", run = "mime", if = "!mime", prio = "high" }, + { id = "mime", url = "*", run = "mime", if = "!mime", prio = "high" }, ] preloaders = [ # example @@ -91,7 +90,7 @@ preloaders = [ { mime = "application/vnd.ms-opentype", run = "font" }, ] previewers = [ - { name = "*/", run = "folder", sync = true }, + { url = "*/", run = "folder", sync = true }, # Code { mime = "text/*", run = "code" }, { mime = "*/{xml,javascript,x-wine-extension-ini}", run = "code" }, @@ -111,7 +110,7 @@ previewers = [ { mime = "font/*", run = "font" }, { mime = "application/vnd.ms-opentype", run = "font" }, # Fallback - { name = "*", run = "file" }, + { url = "*", run = "file" }, ] [input]