Repository navigation
feat(matic): hyprland + keyd hotkeys #749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
32caab0
98990d9
8a70a45
7e5d92f
eda6868
74a9b5d
210b92e
9112ab7
03b6ef5
5bd8414
518d507
4c364db
92ea474
8bc9e03
c7bb5be
41affeb
eb74328
addf261
5fff3b6
ebfee4b
ec059c7
3b7bd2e
9b5516c
879744e
c261980
0a3b3c1
31dcb7e
4d15728
48b5822
f833a86
e542a54
b1c864d
ede5b9e
54e0a1c
80ad0ed
cf3ac92
8012ff8
9a84a02
bc47c24
28b68e4
781c776
9c54d03
41dcbde
4859b7a
89e3008
3022a3c
98945b3
2f2d4ca
247d0b6
0d18047
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| config, | ||
| pkgs, | ||
| lib, | ||
| ... | ||
| }: | ||
| { | ||
| gtk = lib.mkIf pkgs.stdenv.isLinux { | ||
| enable = true; | ||
| theme = { | ||
| name = "Adwaita-dark"; | ||
| package = pkgs.gnome-themes-extra; | ||
| }; | ||
| iconTheme = { | ||
| name = "Adwaita"; | ||
| package = pkgs.adwaita-icon-theme; | ||
| }; | ||
| cursorTheme = { | ||
| name = "Adwaita"; | ||
| size = 24; | ||
| }; | ||
| gtk3.extraConfig = { | ||
| gtk-application-prefer-dark-theme = 1; | ||
| }; | ||
| gtk4.extraConfig = { | ||
| gtk-application-prefer-dark-theme = 1; | ||
| }; | ||
| }; | ||
|
|
||
| dconf.settings = lib.mkIf pkgs.stdenv.isLinux { | ||
| "org/gnome/desktop/interface" = { | ||
| color-scheme = "prefer-dark"; | ||
| }; | ||
| }; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { config, ... }: | ||
| { | ||
| xdg.configFile."hypr/hyprland.conf" = { | ||
| source = ./hyprland.conf; | ||
| force = true; | ||
| }; | ||
| xdg.configFile."hypr/hypridle.conf" = { | ||
| source = ./hypridle.conf; | ||
| force = true; | ||
| }; | ||
| xdg.configFile."hypr/hyprlock.conf" = { | ||
| source = ./hyprlock.conf; | ||
| force = true; | ||
| }; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| general { | ||
| lock_cmd = pidof hyprlock || hyprlock | ||
| before_sleep_cmd = loginctl lock-session | ||
| after_sleep_cmd = hyprctl dispatch dpms on | ||
| } | ||
|
|
||
| # Dim screen after 2.5 minutes | ||
| listener { | ||
| timeout = 150 | ||
| on-timeout = brightnessctl -s set 10 | ||
| on-resume = brightnessctl -r | ||
| } | ||
|
|
||
| # Lock screen after 5 minutes | ||
| listener { | ||
| timeout = 300 | ||
| on-timeout = loginctl lock-session | ||
| } | ||
|
|
||
| # Turn off display after 5.5 minutes | ||
| listener { | ||
| timeout = 330 | ||
| on-timeout = hyprctl dispatch dpms off | ||
| on-resume = hyprctl dispatch dpms on | ||
| } | ||
|
|
||
| # Suspend after 30 minutes | ||
| listener { | ||
| timeout = 1800 | ||
| on-timeout = systemctl suspend | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,273 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Dracula Colors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $background = rgb(282a36) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $currentline = rgb(44475a) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $foreground = rgb(f8f8f2) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $comment = rgb(6272a4) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $cyan = rgb(8be9fd) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $green = rgb(50fa7b) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $orange = rgb(ffb86c) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $pink = rgb(ff79c6) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $purple = rgb(bd93f9) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $red = rgb(ff5555) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $yellow = rgb(f1fa8c) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Variables | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| $mod = SUPER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Environment | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| env = XCURSOR_THEME,Adwaita | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| env = XCURSOR_SIZE,24 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| env = GTK_THEME,Adwaita:dark | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Startup | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = dbus-update-activation-environment --systemd --all | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_RUNTIME_DIR HYPRLAND_INSTANCE_SIGNATURE XDG_SESSION_DESKTOP | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Status bar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = waybar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Notification daemon | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = swaync | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Clipboard history | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = wl-paste --type text --watch cliphist store | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = wl-paste --type image --watch cliphist store | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Idle management | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = hypridle | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Volume/brightness OSD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exec-once = rm -f /tmp/wobpipe && mkfifo /tmp/wobpipe && tail -f /tmp/wobpipe | wob | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Monitor (Framework 13" 2256x1504) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| monitor = , preferred, auto, 1.5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Input | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| input { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| kb_layout = us | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| follow_mouse = 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| sensitivity = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| touchpad { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| natural_scroll = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| tap-to-click = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| drag_lock = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| gestures { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| workspace_swipe = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| workspace_swipe_fingers = 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # General | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| general { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| gaps_in = 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| gaps_out = 8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| border_size = 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| col.active_border = $purple $pink 45deg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| col.inactive_border = $currentline | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| layout = dwindle | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| allow_tearing = false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| resize_on_border = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dwindle { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pseudotile = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| preserve_split = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Decoration | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| decoration { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rounding = 8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| blur { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enabled = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| size = 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| passes = 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| new_optimizations = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xray = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| shadow { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enabled = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| range = 15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| render_power = 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| color = $background | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Animations | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animations { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enabled = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bezier = wind, 0.05, 0.9, 0.1, 1.05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bezier = winIn, 0.1, 1.1, 0.1, 1.1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bezier = winOut, 0.3, -0.3, 0, 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bezier = liner, 1, 1, 1, 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = windows, 1, 6, wind, slide | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = windowsIn, 1, 6, winIn, slide | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = windowsOut, 1, 5, winOut, slide | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = windowsMove, 1, 5, wind, slide | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = border, 1, 1, liner | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = borderangle, 1, 30, liner, loop | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = fade, 1, 10, default | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| animation = workspaces, 1, 5, wind | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Misc | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| misc { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| disable_hyprland_logo = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| disable_splash_rendering = true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| force_default_wallpaper = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Window Rules | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| windowrulev2 = float, class:^(wofi)$ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| windowrulev2 = stayfocused, class:^(wofi)$ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| windowrulev2 = float, class:^(1Password)$ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| windowrulev2 = float, title:^(Picture-in-Picture)$ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| windowrulev2 = pin, title:^(Picture-in-Picture)$ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Notification center blur | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| layerrule = blur, swaync-control-center | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| layerrule = blur, swaync-notification-window | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| layerrule = ignorezero, swaync-control-center | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| layerrule = ignorezero, swaync-notification-window | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Prevent wofi animation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| layerrule = noanim, ^(wofi)$ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # App Launch Hotkeys (Super + letter) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # ============================================================================= | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bind = $mod, T, exec, gtk-launch ghostty | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bind = $mod, G, exec, gtk-launch google-chrome | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bind = $mod, G, exec, gtk-launch google-chrome | |
| bind = $mod, G, exec, gtk-launch google-chrome | |
| # -------------------------------------------------------- | |
| # Essential window management keybindings | |
| # -------------------------------------------------------- | |
| # Close focused window | |
| bind = $mod, Q, killactive | |
| # Workspace switching ($mod + 1-9) | |
| bind = $mod, 1, workspace, 1 | |
| bind = $mod, 2, workspace, 2 | |
| bind = $mod, 3, workspace, 3 | |
| bind = $mod, 4, workspace, 4 | |
| bind = $mod, 5, workspace, 5 | |
| bind = $mod, 6, workspace, 6 | |
| bind = $mod, 7, workspace, 7 | |
| bind = $mod, 8, workspace, 8 | |
| bind = $mod, 9, workspace, 9 | |
| # Move focused window to workspace ($mod + Shift + 1-9) | |
| bind = $mod SHIFT, 1, movetoworkspace, 1 | |
| bind = $mod SHIFT, 2, movetoworkspace, 2 | |
| bind = $mod SHIFT, 3, movetoworkspace, 3 | |
| bind = $mod SHIFT, 4, movetoworkspace, 4 | |
| bind = $mod SHIFT, 5, movetoworkspace, 5 | |
| bind = $mod SHIFT, 6, movetoworkspace, 6 | |
| bind = $mod SHIFT, 7, movetoworkspace, 7 | |
| bind = $mod SHIFT, 8, movetoworkspace, 8 | |
| bind = $mod SHIFT, 9, movetoworkspace, 9 | |
| # Move focus between windows with arrow keys | |
| bind = $mod, left, movefocus, l | |
| bind = $mod, right, movefocus, r | |
| bind = $mod, up, movefocus, u | |
| bind = $mod, down, movefocus, d | |
| # Resize mode: enter with $mod+R, then use arrows; exit with Escape or R | |
| bind = $mod, R, submap, resize | |
| submap = resize | |
| bind = , left, resizeactive, -10 0 | |
| bind = , right, resizeactive, 10 0 | |
| bind = , up, resizeactive, 0 -10 | |
| bind = , down, resizeactive, 0 10 | |
| # Exit resize mode | |
| bind = , escape, submap, reset | |
| bind = , R, submap, reset | |
| # Return to the default keymap | |
| submap = reset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
# First, let's understand the repository structure
git ls-files | head -30Repository: shunkakinoki/dotfiles
Length of output: 665
🏁 Script executed:
# Search for nix configuration files that define packages
fd -e nix | head -20Repository: shunkakinoki/dotfiles
Length of output: 574
🏁 Script executed:
# Look for the packages/dependencies configuration
rg -n 'cursor|1password|signal-desktop' --type nix | head -30Repository: shunkakinoki/dotfiles
Length of output: 454
🏁 Script executed:
# Check the specific file for context
cat -n config/hyprland/hyprland.conf | sed -n '155,175p'Repository: shunkakinoki/dotfiles
Length of output: 1116
🏁 Script executed:
# Check what the cursor config module does
cat -n config/cursor/default.nixRepository: shunkakinoki/dotfiles
Length of output: 221
🏁 Script executed:
# Check home-manager packages to see full context
cat -n home-manager/packages/default.nix | sed -n '20,35p'Repository: shunkakinoki/dotfiles
Length of output: 321
🏁 Script executed:
# Check for .desktop files or xdg configuration
rg -n '\.desktop|xdgData|desktopItems' --type nix | head -20Repository: shunkakinoki/dotfiles
Length of output: 152
🏁 Script executed:
# Search for 1password and signal-desktop configuration
rg -n '_1password-gui|signal-desktop' --type nix -B2 -A2Repository: shunkakinoki/dotfiles
Length of output: 601
🏁 Script executed:
# Check home-manager configuration for xdg.desktopEntries or similar
rg -n 'xdg\.|desktopEntries' --type nix | head -20Repository: shunkakinoki/dotfiles
Length of output: 1696
🏁 Script executed:
# Look for how packages are imported and if there's a desktop environment setup
cat -n home-manager/packages/default.nix | sed -n '1,30p'Repository: shunkakinoki/dotfiles
Length of output: 629
🏁 Script executed:
# Check if there's any configuration for gtk or application launching
rg -n 'gtk-launch|desktopDatabase|xdg-utils' --type nixRepository: shunkakinoki/dotfiles
Length of output: 47
🏁 Script executed:
# Verify the context around isDesktop and Linux packages
cat -n home-manager/packages/default.nix | sed -n '110,145p'Repository: shunkakinoki/dotfiles
Length of output: 776
🏁 Script executed:
# Check if cursor is defined anywhere else in the nix config
rg -n '^cursor\s*=' --type nixRepository: shunkakinoki/dotfiles
Length of output: 47
🏁 Script executed:
# Check if there's a custom desktop entry or application launcher for cursor
rg -n 'cursor' home-manager/packages/default.nix -B2 -A2Repository: shunkakinoki/dotfiles
Length of output: 124
🏁 Script executed:
# Verify if nix-darwin homebrew config is used for Linux systems
cat -n nix-darwin/config/homebrew.nix | sed -n '70,85p'Repository: shunkakinoki/dotfiles
Length of output: 478
🏁 Script executed:
# Check the system-specific configuration to understand if this is Linux or macOS
rg -n 'isDesktop|stdenv.isLinux' --type nix config/hyprland/ home-manager/ named-hosts/ | head -10Repository: shunkakinoki/dotfiles
Length of output: 1263
🏁 Script executed:
# Check if cursor is wrapped or aliased anywhere
rg -n 'cursor' --type nix home-manager/ config/ | grep -v 'cursor-cli' | grep -v '.cursor'Repository: shunkakinoki/dotfiles
Length of output: 47
🏁 Script executed:
# Verify the system this hyprland config is for - look at named-hosts
ls -la named-hosts/Repository: shunkakinoki/dotfiles
Length of output: 410
🏁 Script executed:
# Check which host system uses hyprland
rg -n 'hyprland' --type nix named-hosts/Repository: shunkakinoki/dotfiles
Length of output: 386
🏁 Script executed:
# Verify package names for 1password and signal-desktop
rg -n 'lib.optionals.*isDesktop' home-manager/packages/default.nix -A 30Repository: shunkakinoki/dotfiles
Length of output: 594
🏁 Script executed:
# Double-check: is there any wrapping or aliasing of cursor-cli to cursor?
rg -n 'makeWrapper|symlinkJoin' --type nix | grep cursorRepository: shunkakinoki/dotfiles
Length of output: 47
🏁 Script executed:
# Check what _1password-gui and signal-desktop actually provide
rg -n 'desktop|1password|signal' home-manager/ config/ named-hosts/ | grep -i 'desktop' | head -10Repository: shunkakinoki/dotfiles
Length of output: 973
🏁 Script executed:
# Verify the exact package names and if they have .desktop files
cat -n home-manager/packages/default.nix | sed -n '115,150p'Repository: shunkakinoki/dotfiles
Length of output: 755
🏁 Script executed:
# Final verification: check if this is the matic host (Linux) or another host
cat -n named-hosts/matic/default.nix | sed -n '100,130p'Repository: shunkakinoki/dotfiles
Length of output: 1224
🏁 Script executed:
# Confirm what exact packages are included for desktop Linux systems
cat -n home-manager/packages/default.nix | sed -n '1,10p'Repository: shunkakinoki/dotfiles
Length of output: 275
Fix the cursor binding — the desktop app binary is not available.
The binding on line 164 will fail at runtime. Only cursor-cli is in the Linux packages (home-manager/packages/default.nix), not the cursor desktop editor binary. The cursor entry in nix-darwin/config/homebrew.nix is for macOS and not applicable here.
The gtk-launch 1password and gtk-launch signal-desktop bindings should work correctly—both _1password-gui and signal-desktop are present in the Linux desktop packages and will provide the required .desktop files.
🤖 Prompt for AI Agents
In `@config/hyprland/hyprland.conf` around lines 161 - 167, The binding "bind =
$mod, C, exec, cursor" will fail because the desktop binary isn't available on
Linux; replace it with the installed CLI binary name from the package set (e.g.,
use "cursor-cli") or point the binding to the correct executable provided by the
Linux package; update the bind line that references "cursor" so it calls the
available binary (reference: the bind line with "$mod, C, exec, cursor" and the
package "cursor-cli") and keep the existing gtk-launch entries for 1password and
signal-desktop as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wobOSD pipe is created but never fed — no visual feedback for volume/brightness.The named pipe
/tmp/wobpipeis created andwobreads from it, but all volume commands (lines 257–264) usewpctldirectly and brightness commands (lines 276–280) usebrightnessctldirectly — neither pipes output to/tmp/wobpipe. The OSD bar will never appear.Either pipe the current value after each adjustment, or remove the wob setup if you don't want an OSD.
Example fix for volume keys (apply similar pattern to brightness)
🤖 Prompt for AI Agents