summaryrefslogtreecommitdiffstats
path: root/hyprland
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2026-04-25 21:34:06 -0400
committerSkullheadx <admonty1@protonmail.com>2026-04-25 21:34:06 -0400
commitf351ef00f77e5ea4d082a7eff86d7845dad7d9e0 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /hyprland
parentbluetooth (diff)
downloadnixos-f351ef00f77e5ea4d082a7eff86d7845dad7d9e0.tar.gz
nixos-f351ef00f77e5ea4d082a7eff86d7845dad7d9e0.tar.bz2
nixos-f351ef00f77e5ea4d082a7eff86d7845dad7d9e0.zip
remove all
Diffstat (limited to 'hyprland')
-rw-r--r--hyprland/binds.nix105
-rw-r--r--hyprland/hyprland.nix128
2 files changed, 0 insertions, 233 deletions
diff --git a/hyprland/binds.nix b/hyprland/binds.nix
deleted file mode 100644
index 25e159f..0000000
--- a/hyprland/binds.nix
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- lib,
- config,
- pkgs,
- ...
-}: let
- # workspaces
- workspaces = builtins.concatLists (
- builtins.genList (
- i: let
- ws = i + 1;
- in [
- "$mod, code:1${toString i}, workspace, ${toString ws}"
- "$mod SHIFT, code:1${toString i}, movetoWorkspace, ${toString ws}"
- ]
- )
- 10
- );
-in {
- wayland.windowManager.hyprland.settings = {
- "$mod" = "SUPER";
-
- bindm = [
- "$mod, mouse:272, movewindow"
- "$mod, mouse:273, resizewindow"
- ];
- bind =
- [
- # compositor commands
- "$mod SHIFT, E, exec, pkill Hyprland"
- "$mod, W, killactive,"
- "$mod, Q, killactive,"
- "$mod, F, fullscreen,"
- #"$mod, G, togglegroup,"
- # "$mod SHIFT, N, changegroupactive, f"
- # "$mod SHIFT, P, changegroupactive, b"
- #"$mod, R, togglesplit,"
- "$mod, T, togglefloating,"
- #"$mod, P, pseudo,"
- #"$mod ALT, ,resizeactive,"
-
- "$mod, left, movefocus, l"
- "$mod, right, movefocus, r"
- "$mod, up, movefocus, u"
- "$mod, down, movefocus, d"
- "$mod, h, movefocus, l"
- "$mod, l, movefocus, r"
- "$mod, k, movefocus, u"
- "$mod, j, movefocus, d"
-
- "$mod SHIFT, left, movewindow, l"
- "$mod SHIFT, right, movewindow, r"
- "$mod SHIFT, up, movewindow, u"
- "$mod SHIFT, down, movewindow, d"
- "$mod SHIFT, h, movewindow, l"
- "$mod SHIFT, l, movewindow, r"
- "$mod SHIFT, k, movewindow, u"
- "$mod SHIFT, j, movewindow, d"
-
- "$mod CTRL, left, resizeactive, -25 0"
- "$mod CTRL, down, resizeactive, 0 25"
- "$mod CTRL, up, resizeactive, 0 -25"
- "$mod CTRL, right, resizeactive, 25 0"
- "$mod CTRL, h, resizeactive, -25 0"
- "$mod CTRL, j, resizeactive, 0 25"
- "$mod CTRL, k, resizeactive, 0 -25"
- "$mod CTRL, l, resizeactive, 25 0"
-
- "$mod, a, togglespecialworkspace, term"
- "$mod, m, togglespecialworkspace, music"
- "$mod, p, togglespecialworkspace, password"
- "$mod SHIFT, a, movetoworkspace, special:term"
- "$mod SHIFT, m, movetoworkspace, special:music"
- "$mod SHIFT, p, movetoworkspace, special:password"
-
- "$mod, g, layoutmsg, swapwithmaster"
-
- "$mod, return, exec, ghostty"
- "$mod, b, exec, librewolf"
- "$mod, space, exec, pkill rofi || rofi -show drun"
- "$mod, o, exec, pkill hyprpicker || hyprpicker -ar"
-
- "$mod SHIFT, s, exec, pkill slurp || grim -g \"$(slurp)\" - | wl-copy"
- ", PRINT, exec, grim - | wl-copy"
- "SHIFT, PRINT, exec, pkill slurp swappy || grim -g \"$(slurp)\" - | swappy -f -"
- ", XF86Explorer, exec, hyprlock"
- ", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && notify-send 'Volume Up'"
- ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && notify-send 'Volume Down'"
- ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && notify-send 'Mute Toggled'"
- ", XF86AudioNext, exec, playerctl next && notify-send 'Next Song'"
- ", XF86AudioPrev, exec, playerctl previous && notify-send 'Previous Song'"
- ", XF86AudioPlay, exec, playerctl play-pause && notify-send 'Pause/Play Toggled'"
- ", XF86AudioStop, exec, playerctl stop && notify-send 'Music Stopped'"
- "$mod, F1, exec, hyprlock"
- "$mod, F11, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && notify-send 'Volume Up'"
- "$mod, F10, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && notify-send 'Volume Down'"
- "$mod, F9, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && notify-send 'Mute Toggled'"
- "$mod, F6, exec, playerctl next && notify-send 'Next Song'"
- "$mod, F5, exec, playerctl previous && notify-send 'Previous Song'"
- "$mod, F7, exec, playerctl play-pause && notify-send 'Pause/Play Toggled'"
- "$mod, F8, exec, playerctl stop && notify-send 'Music Stopped'"
- ]
- ++ workspaces;
- };
-}
diff --git a/hyprland/hyprland.nix b/hyprland/hyprland.nix
deleted file mode 100644
index 4fabdd4..0000000
--- a/hyprland/hyprland.nix
+++ /dev/null
@@ -1,128 +0,0 @@
-{
- config,
- pkgs,
- ...
-}: {
- imports = [
- ./binds.nix
- ];
- wayland.windowManager.hyprland = {
- enable = true;
- settings = {
- animations.enabled = true;
- animation = [
- "specialWorkspaceIn, 1, 10, default, slide top"
- "specialWorkspaceOut, 1, 10, default, slide bottom"
- ];
- general = {
- layout = "master";
- };
- master = {
- new_on_top = true;
- };
- cursor = {
- enable_hyprcursor = true;
- default_monitor = "DP-3";
- };
- ecosystem = {
- no_update_news = true;
- no_donation_nag = true;
- };
- env = [
- "EDITOR,nvim"
- "VISUAL,nvim"
- # --- AMD GPU (critical) ---
- "LIBVA_DRIVER_NAME,radeonsi" # VAAPI video accel
- "XDG_SESSION_TYPE,wayland"
- "GBM_BACKEND,wayland"
- "WLR_BACKEND,wayland"
- "WLR_RENDERER_ALLOW_SOFTWARE,1" # Fallback if needed
- "WLR_NO_HARDWARE_CURSORS,1" # Fix cursor bugs on some AMD
-
- #Performance & VRR ---
- "WLR_DRM_NO_ATOMIC,1" # Fix blank screen on some drivers
- "AMD_VULKAN_ICD,RADV" # Force RADV (Mesa Vulkan)
- "__GLX_VENDOR_LIBRARY_NAME,mesa"
-
- #Input & Scaling ---
- "HYPRCURSOR_SIZE,24"
- "HYPRCURSOR_THEME,Bibata-Original-Classic"
- "QT_QPA_PLATFORM,wayland"
- "QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
- "GDK_BACKEND,wayland"
- "SDL_VIDEODRIVER,wayland"
- "CLUTTER_BACKEND,wayland"
-
- # Polish ---
- "WLR_DRM_DEVICES,/dev/dri/card0" # Multi-GPU: force primary
- "MOZ_ENABLE_WAYLAND,1" # Firefox
- "ELECTRON_OZONE_PLATFORM_HINT,auto" # Electron apps
- ];
- monitor = [
- "DP-3,2560x1440@180.00,0x0,1"
- "DP-2,1920x1080@165.00,2560x360,1"
- ];
- input = {
- kb_layout = "us";
- kb_options = "caps:escape_shifted_capslock,altwin:swap_lalt_lwin";
-
- numlock_by_default = true;
- };
-
- workspace = [
- "1, monitor:DP-3"
- "2, monitor:DP-2"
- "3, monitor:DP-3"
- "4, monitor:DP-2"
- "5, monitor:DP-3"
- "6, monitor:DP-2"
- "7, monitor:DP-3"
- "8, monitor:DP-2"
- "9, monitor:DP-3"
- "10, monitor:DP-2"
- "w[tv1], gapsout:0, gapsin:0"
- "f[1], gapsout:0, gapsin:0"
- "special:term, monitor:DP-3, gapsout:0, gapsin:0, border:false"
- "special:music, monitor:DP-3, gapsout:0, gapsin:0, border:false"
- "special:password, monitor:DP-3, gapsout:0, gapsin:0, border:false"
- ];
- exec-once = [
- "gnome-keyring-daemon --replace --start --components=pkcs11,secrets,ssh"
- "xrandr --output DP-3 --primary"
- "waybar"
- "nm-applet --indicator"
- "/run/current-system/sw/libexec/polkit-gnome-authentication-agent-1"
- "[workspace 1 silent] ghostty -e tmux attach"
- "[workspace 2 silent] librewolf"
- #"[workspace 3 silent] ghostty -e fish -c rmpc"
- "[workspace 3 silent] discord"
- "[workspace special:password silent] keepassxc"
- "[workspace special:term silent] ghostty"
- "[workspace special:music silent] ghostty -e rmpc"
- #"[workspace 8 silent] steam"
- #"[workspace 9 silent] obsidian"
- ];
- windowrule = [
- "workspace 3 silent, class:(discord)"
- "workspace 6 silent, class:(steam)"
-
- "bordersize 0, floating:0, onworkspace:w[tv1]"
- "rounding 0, floating:0, onworkspace:w[tv1]"
- "bordersize 0, floating:0, onworkspace:f[1]"
- "rounding 0, floating:0, onworkspace:f[1]"
-
- "float, onworkspace:special"
- "center, onworkspace:special"
- "size 800 600, onworkspace:special"
- "rounding 12, onworkspace:special"
- "noborder, onworkspace:special" # or "border 0"
- #"animation slide top, onworkspace:special"
- #"animation fade, onworkspace:special, 0.9"
- ];
- misc = {
- disable_hyprland_logo = true;
- disable_splash_rendering = true;
- };
- };
- };
-}