{ wayland.windowManager.hyprland = { settings = { # autostart exec-once = [ "picokontroller" "systemctl --user start hyprpolkitagent" "busctl --user -- set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 4000" "hyprshade on bluelight" "fcitx5" ]; input = { kb_layout = "de"; numlock_by_default = true; follow_mouse = 1; float_switch_override_focus = 0; mouse_refocus = 0; sensitivity = 0; touchpad = { natural_scroll = true; }; }; general = { "$mainMod" = "SUPER"; layout = "dwindle"; gaps_in = 5; gaps_out = 10; border_size = 2; border_part_of_window = false; no_border_on_floating = false; }; misc = { disable_autoreload = true; disable_hyprland_logo = true; always_follow_on_dnd = true; layers_hog_keyboard_focus = true; animate_manual_resizes = false; enable_swallow = true; focus_on_activate = true; new_window_takes_over_fullscreen = 2; middle_click_paste = false; }; dwindle = { # no_gaps_when_only = false; force_split = 0; special_scale_factor = 1.0; split_width_multiplier = 1.0; use_active_for_splits = true; pseudotile = "yes"; preserve_split = "yes"; }; master = { new_status = "master"; special_scale_factor = 1; # no_gaps_when_only = false; }; decoration = { # active_opacity = 0.90; # inactive_opacity = 0.90; # fullscreen_opacity = 1.0; blur = { enabled = true; size = 3; passes = 2; brightness = 1; contrast = 1.4; ignore_opacity = true; noise = 0; new_optimizations = true; xray = true; }; shadow = { enabled = true; ignore_window = true; offset = "0 2"; range = 20; render_power = 3; }; }; bind = [ # show keybinds list "$mainMod, F1, exec, show-keybinds" # keybindings "$mainMod, Return, exec, alacritty" "$mainMod, B, exec, hyprctl dispatch exec '[workspace 1 silent] zen'" "$mainMod, Q, killactive," "$mainMod, F, fullscreen, 0" "$mainMod SHIFT, F, fullscreen, 1" "$mainMod, Space, exec, toggle_float" "$mainMod, D, exec, rofi -show drun || pkill rofi" "$mainMod SHIFT, D, exec, webcord --enable-features=UseOzonePlatform --ozone-platform=wayland" "$mainMod SHIFT, S, exec, hyprctl dispatch exec '[workspace 5 silent] SoundWireServer'" "$mainMod, Escape, exec, swaylock" "ALT, Escape, exec, hyprlock" "$mainMod SHIFT, Escape, exec, power-menu" "$mainMod, P, pseudo," "$mainMod, X, togglesplit," "$mainMod, T, exec, toggle_oppacity" "$mainMod CTRL, E, exec, nemo" "$mainMod, E, exec, hyprctl dispatch exec '[float; center; size 1111 700] nemo'" "$mainMod SHIFT, B, exec, toggle_waybar" "$mainMod, C ,exec, hyprpicker -a" "$mainMod, W,exec, wallpaper-picker" "$mainMod SHIFT, W,exec, hyprctl dispatch exec '[float; center; size 925 615] waypaper'" "$mainMod, N, exec, swaync-client -t -sw" # "$mainMod SHIFT, W, exec, vm-start" # screenshot ",Print, exec, screenshot --copy" "$mainMod, Print, exec, screenshot --save" "$mainMod SHIFT, Print, exec, screenshot --swappy" # switch focus "$mainMod, left, movefocus, l" "$mainMod, right, movefocus, r" "$mainMod, up, movefocus, u" "$mainMod, down, movefocus, d" "$mainMod, h, movefocus, l" "$mainMod, j, movefocus, d" "$mainMod, k, movefocus, u" "$mainMod, l, movefocus, r" # switch 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, 0, workspace, 10" # same as above, but switch to the workspace "$mainMod SHIFT, 1, movetoworkspacesilent, 1" # movetoworkspacesilent "$mainMod SHIFT, 2, movetoworkspacesilent, 2" "$mainMod SHIFT, 3, movetoworkspacesilent, 3" "$mainMod SHIFT, 4, movetoworkspacesilent, 4" "$mainMod SHIFT, 5, movetoworkspacesilent, 5" "$mainMod SHIFT, 6, movetoworkspacesilent, 6" "$mainMod SHIFT, 7, movetoworkspacesilent, 7" "$mainMod SHIFT, 8, movetoworkspacesilent, 8" "$mainMod SHIFT, 9, movetoworkspacesilent, 9" "$mainMod SHIFT, 0, movetoworkspacesilent, 10" "$mainMod CTRL, c, movetoworkspace, empty" # window control "$mainMod SHIFT, left, movewindow, l" "$mainMod SHIFT, right, movewindow, r" "$mainMod SHIFT, up, movewindow, u" "$mainMod SHIFT, down, movewindow, d" "$mainMod SHIFT, h, movewindow, l" "$mainMod SHIFT, j, movewindow, d" "$mainMod SHIFT, k, movewindow, u" "$mainMod SHIFT, l, movewindow, r" "$mainMod CTRL, left, resizeactive, -80 0" "$mainMod CTRL, right, resizeactive, 80 0" "$mainMod CTRL, up, resizeactive, 0 -80" "$mainMod CTRL, down, resizeactive, 0 80" "$mainMod CTRL, h, resizeactive, -80 0" "$mainMod CTRL, j, resizeactive, 0 80" "$mainMod CTRL, k, resizeactive, 0 -80" "$mainMod CTRL, l, resizeactive, 80 0" "$mainMod ALT, left, moveactive, -80 0" "$mainMod ALT, right, moveactive, 80 0" "$mainMod ALT, up, moveactive, 0 -80" "$mainMod ALT, down, moveactive, 0 80" "$mainMod ALT, h, moveactive, -80 0" "$mainMod ALT, j, moveactive, 0 80" "$mainMod ALT, k, moveactive, 0 -80" "$mainMod ALT, l, moveactive, 80 0" # media and volume controls # ",XF86AudioMute,exec, pamixer -t" ",XF86AudioPlay,exec, playerctl play-pause" ",XF86AudioNext,exec, playerctl next" ",XF86AudioPrev,exec, playerctl previous" ",XF86AudioStop,exec, playerctl stop" "$mainMod, mouse_down, workspace, e-1" "$mainMod, mouse_up, workspace, e+1" # clipboard manager "$mainMod, V, exec, cliphist list | rofi -dmenu -theme-str 'window {width: 50%;} listview {columns: 1;}' | cliphist decode | wl-copy" ]; # mouse binding bindm = [ "$mainMod, mouse:272, movewindow" "$mainMod, mouse:273, resizewindow" ]; }; extraConfig = " monitor=,preferred,auto,auto xwayland { force_zero_scaling = true } "; }; }