monitor=DP-3,2560x1440@144,0x0,1 monitor=DP-2,1680x1050@59,-1680x0,1 monitor=,highres,0x0,1 # toolkit-specific scale env = GDK_SCALE,1.5 env = XCURSOR_SIZE,24 #env = HYPRCURSOR_THEME,Bibata-Modern-Classic #env = HYPRCURSOR_SIZE,24 # For all categories, see https://wiki.hyprlan##d.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = compose:caps kb_rules = follow_mouse = 1 #mouse_refocus = false touchpad { natural_scroll = no } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_workspaces = 0 gaps_in = 8 gaps_out = 8 border_size = 2 col.active_border = rgba(a6da95ee) rgba(b7bdf8ee) 45deg col.inactive_border = rgba(595959aa) layout = dwindle } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 12 } animations { enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 4, myBezier animation = windowsOut, 1, 4, default, popin 80% animation = border, 1, 4, default animation = borderangle, 1, 4, default animation = fade, 1, 4, default animation = workspaces, 1, 4, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below smart_resizing = yes preserve_split = yes # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_status = true smart_resizing = true } # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, kitty #terminal bind = $mainMod, C, killactive, bind = $mainMod, N, exec, hyprlock #lock screen bind = $mainMod, E, exec, nautilus #File explorer bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, wofi #application launcher bind = $mainMod SHIFT, R, exec, killall waybar; waybar bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, W, exec, pavucontrol bind = $mainMod, O, togglesplit, # dwindle bind = $mainMod, F, exec, librewolf # Move focus with mainMod + arrow keys bind = $mainMod, H, movefocus, l bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d bind = $mainMod, A, fullscreen # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 #screenshot tool bind = $mainMod SHIFT, S, exec, IMG=~/Pictures/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow ### Resize via vim keys # will start a submap called "resize" submap=resize # sets repeatable binds for resizing the active window binde=,l,resizeactive,10 0 binde=,h,resizeactive,-10 0 binde=,j,resizeactive,0 -10 binde=,k,resizeactive,0 10 binde=SHIFT,l,resizeactive,50 0 binde=SHIFT,h,resizeactive,-50 0 binde=SHIFT,j,resizeactive,0 -50 binde=SHIFT,k,resizeactive,0 50 # use reset to go back to the global submap bind=,Q,submap,reset # will reset the submap, which will return to the global submap submap=reset ### #auto startup exec-once=kdeconnectd ## network mount #exec-once=sudo mkdir /run/media/glala/fileserver;sudo chown glala /run/media/glala/fileserver ;rclone mount --vfs-cache-mode writes --no-check-certificate --dir-cache-time 5s raspberrypi-dav: /run/media/glala/fileserver/ --no-check-certificate ##network manager #exec-once=nm-applet ##notification exec-once=swaync ##volume control via custom volume buttons binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- binde = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle ##night color exec-once=hyprsunset ##kanata keyboard caps changer exec-once=kanata -c ~/.config/kanata/config.kbd ##status bar exec-once=waybar exec-once=systemctl --user start sunshine exec-once=openrgb --startminimized #exec-once=sleep 2 && killall openrgb ##authentication client exec-once = systemctl --user start hyprpolkitagent exec-once=/usr/lib/polkit-kde-authentication-agent-1 ##wallpaper engine exec-once=swww-daemon ##screenshare windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ ##dbus exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP ## will switch to a submap called resize bind= $mainMod ,T,submap,resize ##clipboard tool exec-once = wl-paste --type text --watch cliphist store # Stores only text data exec-once = wl-paste --type image --watch cliphist store # Stores only image dbus-update-activation-environment