commit 2c737156f4a65b91d13ffbda96a6457536ef1354
parent d7c0bd8a279377e1d0a8bc9c3a22b0761ed4a3f0
Author: Silas Brack <silasbrack@gmail.com>
Date: Sat, 16 May 2026 23:22:39 +0200
fix: delete hyprland.conf
Diffstat:
1 file changed, 0 insertions(+), 262 deletions(-)
diff --git a/hosts/gaia/hyprland.nix b/hosts/gaia/hyprland.nix
@@ -1,262 +0,0 @@
-{
- config,
- pkgs,
- lib,
- ...
-}:
-
-{
- home.packages = with pkgs; [
-
-
- cliphist # for hyprland clipboard history
- grim # for hyprland screenshotting
- pamixer # audio control
- slurp # for hyprland screenshotting
- swappy # for hyprland screenshotting
- ];
- wayland.windowManager.hyprland = {
- enable = true;
- settings = {
- exec-once = [
- "hyprlock"
- "hyprpaper"
- "hypridle"
- "wl-paste --type text --watch cliphist store"
- "wl-paste --type image --watch cliphist store"
- ];
- "$terminal" = "kitty";
- "$menu" = "rofi -case-smart -show drun";
- "$browser" = "firefox";
- # "$filemanager" = "kitty sh -c 'yazi ~'";
- "$notes" = "emacsclient -c -n";
- "$mod" = "SUPER";
- "$mainMod" = "SUPER";
- general = {
- border_size = 3;
- "col.active_border" = "rgba(f5a97fee)";
- "col.inactive_border" = "rgba(ffffffff)";
- resize_on_border = true;
- };
- decoration = {
- active_opacity = 1.0;
- inactive_opacity = 0.50;
- rounding = 10;
- };
- animations = {
- enabled = false;
- };
- input = {
- kb_layout = "us,pt,dk";
- kb_options = "grp:win_space_toggle";
- touchpad = {
- natural_scroll = true;
- };
- };
- bind = [
- # Core bindings
- "$mainMod, T, exec, $terminal"
- "$mainMod, Q, killactive"
- "$mainMod, N, exec, hyprlock"
- "$mainMod, B, exec, $browser"
- "$mainMod, R, exec, $menu"
- "$mainMod, O, exec, $notes"
- "$mainMod, F, fullscreen"
- "$mainMod, P, exec, rbw list | rofi -case-smart -dmenu | xargs -I _ rbw get -c _"
- "$mainMod, V, exec, cliphist list | rofi -case-smart -dmenu | cliphist decode | wl-copy"
- ''$mainMod SHIFT, S, exec, slurp | grim -g - - | wl-copy && wl-paste > $HOME/screenshots/screenshot-$(date +"%Y-%m-%d--%H:%M:%S").png''
- # Change window focus
- "$mainMod, H, movefocus, l"
- "$mainMod, L, movefocus, r"
- "$mainMod, K, movefocus, u"
- "$mainMod, J, movefocus, d"
- # Resize windows
- "$mainMod SHIFT CTRL, H, resizeactive, -10 0"
- "$mainMod SHIFT CTRL, L, resizeactive, 10 0"
- "$mainMod SHIFT CTRL, K, resizeactive, 0 -10"
- "$mainMod SHIFT CTRL, J, resizeactive, 0 10"
- # Move windows
- "$mainMod SHIFT, H, movewindow, l"
- "$mainMod SHIFT, L, movewindow, r"
- "$mainMod SHIFT, K, movewindow, u"
- "$mainMod SHIFT, J, movewindow, d"
- # Change active workspace
- "$mainMod, 1, workspace, 1"
- "$mainMod, 2, workspace, 2"
- "$mainMod, 3, workspace, 3"
- "$mainMod, 4, workspace, 4"
- "$mainMod, 5, workspace, 5"
- "$mainMod, 6, workspace, 6"
- "$mainMod, 7, workspace, 7"
- "$mainMod, 8, workspace, 8"
- "$mainMod, 9, workspace, 9"
- "$mainMod, mouse_down, workspace, -1"
- "$mainMod, mouse_up, workspace, +1"
- # Move windows to workspaces
- "$mainMod SHIFT, 1, movetoworkspace, 1"
- "$mainMod SHIFT, 2, movetoworkspace, 2"
- "$mainMod SHIFT, 3, movetoworkspace, 3"
- "$mainMod SHIFT, 4, movetoworkspace, 4"
- "$mainMod SHIFT, 5, movetoworkspace, 5"
- "$mainMod SHIFT, 6, movetoworkspace, 6"
- "$mainMod SHIFT, 7, movetoworkspace, 7"
- "$mainMod SHIFT, 8, movetoworkspace, 8"
- "$mainMod SHIFT, 9, movetoworkspace, 9"
- ];
- bindel = [
- ",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"
- ",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
- ",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
- ",XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
- ",XF86MonBrightnessUp, exec, brightnessctl s 10%+"
- ",XF86MonBrightnessDown, exec, brightnessctl s 10%-"
- ];
- bindm = [
- "$mainMod, mouse:272, movewindow"
- "$mainMod, mouse:273, resizewindow"
- ];
- };
- };
- programs.hyprlock = {
- enable = true;
- extraConfig = ''
- background {
- path = $HOME/Pictures/birds.png
- blur_passes = 2
- }
-
- input-field {
- size = 250, 50
- outline_thickness = 3
- outer_color = rgba(f5a97fee)
- inner_color = rgba(24273aee)
- font_color = rgba(cad3f5ff)
- fade_on_empty = true
- placeholder_text = <i>Password...</i>
- position = 0, -20
- halign = center
- valign = center
- }
- '';
- };
- programs.rofi = {
- enable = true;
- # font = "JetBrainsMono Nerd Font 14";
- font = "Iosevka Nerd Font 16";
- theme =
- let
- inherit (config.lib.formats.rasi) mkLiteral;
- in
- {
- "*" = {
- bg-col = mkLiteral "#24273a";
- bg-col-light = mkLiteral "#24273a";
- border-col = mkLiteral "#24273a";
- selected-col = mkLiteral "#24273a";
- fg-col = mkLiteral "#cad3f5";
- fg-col2 = mkLiteral "#ed8796";
- grey = mkLiteral "#6e738d";
- orange = mkLiteral "#f5a97f";
- width = mkLiteral "600";
- border-radius = mkLiteral "15px";
- };
- "element-text, element-icon , mode-switcher" = {
- background-color = mkLiteral "inherit";
- text-color = mkLiteral "inherit";
- };
- window = {
- height = mkLiteral "360px";
- border = mkLiteral "2px";
- border-color = mkLiteral "@orange";
- background-color = mkLiteral "@bg-col";
- };
- mainbox = {
- background-color = mkLiteral "@bg-col";
- };
- inputbar = {
- children = mkLiteral "[prompt,entry]";
- background-color = mkLiteral "@bg-col";
- border-radius = mkLiteral "5px";
- padding = mkLiteral "2px";
- };
- prompt = {
- background-color = mkLiteral "@orange";
- padding = mkLiteral "6px";
- text-color = mkLiteral "@bg-col";
- border-radius = mkLiteral "3px";
- margin = mkLiteral "20px 0px 0px 20px";
- };
- textbox-prompt-colon = {
- expand = mkLiteral "false";
- str = ":";
- };
- entry = {
- padding = mkLiteral "6px";
- margin = mkLiteral "20px 0px 0px 10px";
- text-color = mkLiteral "@fg-col";
- background-color = mkLiteral "@bg-col";
- };
- listview = {
- border = mkLiteral "0px 0px 0px";
- padding = mkLiteral "6px 0px 0px";
- margin = mkLiteral "10px 0px 0px 20px";
- columns = 1;
- lines = 5;
- background-color = mkLiteral "@bg-col";
- };
- element = {
- padding = mkLiteral "5px";
- background-color = mkLiteral "@bg-col";
- text-color = mkLiteral "@fg-col ";
- };
- element-icon = {
- size = mkLiteral "25px";
- };
- "element selected" = {
- background-color = mkLiteral "@selected-col";
- text-color = mkLiteral "@orange";
- };
- mode-switcher = {
- spacing = 0;
- };
- button = {
- padding = mkLiteral "10px";
- background-color = mkLiteral "@bg-col-light";
- text-color = mkLiteral "@grey";
- vertical-align = mkLiteral "0.5";
- horizontal-align = mkLiteral "0.5";
- };
- "button selected" = {
- background-color = mkLiteral "@bg-col";
- text-color = mkLiteral "@orange";
- };
- message = {
- background-color = mkLiteral "@bg-col-light";
- margin = mkLiteral "2px";
- padding = mkLiteral "2px";
- border-radius = mkLiteral "5px";
- };
- textbox = {
- padding = mkLiteral "6px";
- margin = mkLiteral "20px 0px 0px 20px";
- text-color = mkLiteral "@orange";
- background-color = mkLiteral "@bg-col-light";
- };
- };
- };
- services.hyprpaper = {
- enable = true;
- settings = {
- ipc = "on";
- splash = false;
- preload = [ "/home/silas/Pictures/birds.png" ];
- wallpaper = [ ",/home/silas/Pictures/birds.png" ];
- };
- };
- services.gammastep = {
- enable = true;
- provider = "manual";
- latitude = 55.65;
- longitude = 12.54;
- };
-}