################################ # Modifier ################################ $mod = SUPER ################################ # Core behavior ################################ general { layout = master gaps_in = 0 gaps_out = 0 border_size = 0 no_border_on_floating = true col.inactive_border = rgb(444444) col.active_border = rgb(005577) } master { new_status = master mfact = 0.55 orientation = left slave_count_for_center_master = 0 inherit_fullscreen = true } monitor = eDP-1, 1920x1200@60, 0x0, 1 # Force all non-floating windows to spawn 'maximized' (Monocle mode) # 'fullscreenstate 1' maximizes the window (keeping the bar visible) # 'fullscreenstate 0' for the client keeps it behaving normally internally windowrulev2 = fullscreenstate 1 0, class:^.*$, floating:0 ################################ # Input ################################ input { kb_layout = us,ru,us kb_variant = colemak,, follow_mouse = 0 } ################################ # Visuals completely disabled ################################ animations { enabled = false } decoration { rounding = 0 } misc { disable_hyprland_logo = true disable_splash_rendering = true force_default_wallpaper = 0 focus_on_activate = true new_window_takes_over_fullscreen = 2 } ################################ # Workspaces ################################ workspace = 1, default:true workspace = 2 workspace = 3 workspace = 4 workspace = 5 workspace = 6 workspace = 7 workspace = 8 workspace = 9 ################################ # Environment (fonts & menu colors) ################################ env = XCURSOR_THEME,Chicago95_Emerald env = XCURSOR_SIZE,20 exec-once = hyprctl setcursor Chicago95_Emerald 20 env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORM,wayland ################################ # Keybindings – core ################################ bind = $mod SHIFT, RETURN, exec, foot bind = $mod, P, exec, ~/.local/bin/bemenu bind = $mod SHIFT, C, killactive bind = $mod, F, fullscreen bind = $mod, T, togglefloating bind = $mod SHIFT, Q, exit ################################ # Focus movement ################################ # Toggle Monocle (Maximize) for the active window bind = $mod, M, fullscreen, 1 # Cycle focus (dwm style) # cycling automatically brings the focused window to the top of the "monocle" stack bind = $mod, J, layoutmsg, cyclenext bind = $mod, K, layoutmsg, cycleprev bind = $mod, H, movefocus, l bind = $mod, L, movefocus, r bind = $mod, B, exec, pkill yambar || yambar ################################ # Window movement ################################ bind = $mod SHIFT, H, movewindow, l bind = $mod SHIFT, L, movewindow, r bind = $mod SHIFT, J, movewindow, d bind = $mod SHIFT, K, movewindow, u ################################ # Workspaces ################################ 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 bind = $mod SHIFT, 1, movetoworkspacesilent, 1 bind = $mod SHIFT, 2, movetoworkspacesilent, 2 bind = $mod SHIFT, 3, movetoworkspacesilent, 3 bind = $mod SHIFT, 4, movetoworkspacesilent, 4 bind = $mod SHIFT, 5, movetoworkspacesilent, 5 bind = $mod SHIFT, 6, movetoworkspacesilent, 6 bind = $mod SHIFT, 7, movetoworkspacesilent, 7 bind = $mod SHIFT, 8, movetoworkspacesilent, 8 bind = $mod SHIFT, 9, movetoworkspacesilent, 9 # Mod + Shift + Comma (Throw to Left Monitor, Stay Here) bind = $mod SHIFT, comma, movewindow, mon:l bind = $mod SHIFT, comma, focusmonitor, +0 # Mod + Shift + Period (Throw to Right Monitor, Stay Here) bind = $mod SHIFT, period, movewindow, mon:r bind = $mod SHIFT, period, focusmonitor, +0 ################################ # Media / brightness / power ################################ bind = , XF86AudioRaiseVolume, exec, dunstMixer -i 5 bind = , XF86AudioLowerVolume, exec, dunstMixer -d 5 bind = , XF86AudioMute, exec, dunstMixer -t bind = , XF86MonBrightnessUp, exec, dunstBright set 5%+ bind = , XF86MonBrightnessDown, exec, dunstBright set 5%- bind = , XF86Sleep, exec, systemctl suspend ################################ # Keyboard layout switching ################################ bind = CTRL, 1, exec, hyprctl switchxkblayout all 0 bind = CTRL, 2, exec, hyprctl switchxkblayout all 1 bind = CTRL, 3, exec, hyprctl switchxkblayout all 2 ################################ # Screenshots ################################ bind = , Print, exec, grim ~/Pictures/shot-$(date +%F-%T).png bind = SHIFT, Print, exec, grim -g "$(slurp)" ~/Pictures/shot-$(date +%F-%T).png ################################ # Autostart ################################ exec-once = ~/.local/bin/hypr-version.sh exec-once = ~/.local/bin/wallpaper-tile.sh exec-once = ~/.local/bin/import-gsettings # Notifications exec-once = mako # Status bar exec-once = yambar # Night light exec-once = gammastep -t 6500:3200 -l 42.2407:-83.6133 # Brightness baseline exec-once = brightnessctl set 75%