#Env Startup Hyprland env = XDG_SESSION_TYPE,wayland env = __GL_GSYNC_ALLOWED,1 env = __GL_VRR_ALLOWED,1 env = WLR_DRM_NO_ATOMIC,1 env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,0 #env = QT_QPA_PLATFORM,wayland env = QT_QPA_PLATFORMTHEME,qt5ct env = _JAVA_AWT_WM_NONREPARENTING,1 env = GTK_THEME,adwaita-dark env = MOZ_ENABLE_WAYLAND,1 env = WLR_NO_HARDWARE_CURSORS,1 #env = ENABLE_VKBASALT=1 env = WLR_BACKEND,vulkan env = LIBVA_DRIVER_NAME,"radeonsi;vdpau;nvidia" #for intel igpuf use i965 if you are using libva-intel-driver package or iHD if are using intel-media-driver package env = GRIMPBLAST_EDITOR,gimp #Exec exec = pkill waybar; waybar & exec-once = pkill bitwarden exec-once = $HOME/.config/hypr/start-bitwarden.sh #bitwarden bug exec-once = OneDriveGUI.AppImage & exec-once = flatpak run org.kde.xwaylandvideobridge & exec = $HOME/.config/hypr/set-displays-swayidle.sh exec = $HOME/.config/hypr/battery-notify.sh & exec = openrazer-daemon exec = pkill polychromatic-tray-applet; polychromatic-tray-applet & exec-once = /usr/libexec/polkit-gnome-authentication-agent-1& exec-once = /usr/bin/xhost si:localuser:root exec-once = /usr/bin/xhost si:localuser:mrduarte exec = pkill swaync; swaync & exec = /usr/lib/kdeconnectd exec-once = $HOME/.config/hypr/xdg-dektop.sh exec = pkill kdeconnect-indicator; kdeconnect-indicator & exec = xrandr --output XWAYLAND0 --primary exec-once = gnome-keyring-daemon --start exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #cliphist config exec-once = wl-paste --watch cliphist store autogenerated = 0 # remove this line to remove the warning # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER $term = alacritty #$term = env -u WAYLAND_DISPLAY alacritty $INTERNAL_DISPLAY = eDP-1 $EXTERNAL_DISPLAY = HDMI-A-1 #$discord = chromium-bin --new-window --start-fullscreen https://discord.com/app #discord --enable-features=UseOzonePlatform --ozone-platform=wayland $appswitcher = rofi -show window $reload = hyprctl reload $brightup = brightnessctl set 5%+ $brightdown = brightnessctl set 5%- $play-pause = playerctl play-pause $play-next = playerctl next $play-previous = playerctl previous $play-stop = playerctl stop $volume-up = pactl set-sink-volume @DEFAULT_SINK@ +5% $volume-down = pactl set-sink-volume @DEFAULT_SINK@ -5% $volume-mute = pactl set-sink-mute @DEFAULT_SINK@ toggle $mic_mute = pactl set-source-mute @DEFAULT_SOURCE@ toggle $dmenu = rofi -show drun #$lock = grim -s 0.1 -g "0,0 1920x1080" $HOME/.config/hypr/screenlockbg.png && gtklock -d -m /usr/local/lib/gtklock/playerctl-module.so -m /usr/local/lib/gtklock/powerbar-module.so -m /usr/local/lib/gtklock/userinfo-module.so -b $HOME/.config/hypr/screenlockbg.png #$exit = swaynag -t warning -m 'What do you want to do? (This will end your Wayland session.)' -b 'Yes, exit Hyperland' 'killall Hyprland' -b 'Suspend' '$lock && systemctl suspend' -b 'Hibernate' '$lock && systemctl hibernate' -b 'Hybrid Sleep' '$lock && systemctl hybrid-sleep' -b 'Poweroff' 'killall Hyprland & systemctl poweroff' -b 'Reboot' 'exit & systemctl reboot' $exit = ~/.config/rofi/applets/powermenu.sh $xpen=otd-gui $rofi-cliphist=cliphist list | rofi -dmenu | cliphist decode | wl-copy $rofi-cliphist-delete-all=cliphist wipe # See https://wiki.hyprland.org/Configuring/Monitors/ #SCRIPT: $HOME/.config/hypr/set-displays-swayidle.sh # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { accel_profile = flat kb_layout = pt follow_mouse = 1 left_handed = false touchpad { clickfinger_behavior = false tap-to-click = true clickfinger_behavior = true natural_scroll = false scroll_factor = 0.6 disable_while_typing = false drag_lock = true } sensitivity = 0.5 # -1.0 - 1.0, 0 means no modification. } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 2 gaps_out = 2 border_size = 2 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) cursor_inactive_timeout = 10 layout = dwindle apply_sens_to_raw = true } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 multisample_edges = true blur = yes blur_size = 3 blur_passes = 2 blur_new_optimizations = on drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = on # 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, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = fade, 1, 7, default animation = workspaces, 1, 6, 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 preserve_split = yes # you probably want this use_active_for_splits = yes # use window to split } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_is_master = true always_center_master = true } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = true workspace_swipe_fingers = 3 workspace_swipe_forever = true workspace_swipe_distance = 200 } misc { vfr=true vrr=1 mouse_move_enables_dpms=true enable_swallow=true } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more device:msft0001:00-04f3:31dd-touchpad { sensitivity = 0.5 } device:ite-tech.-inc.-ite-device(8910)-keyboard { kb_layout = pt kb_model = 105 repeat_delay=400 } device:semitek-usb-hid-gaming-keyboard { kb_layout = us kb_model = 65 repeat_delay=400 } device:sk64xsp-kb-keyboard { kb_layout = us kb_model = 65 repeat_delay=400 } #Window Rules # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more #Gaming and Vm windowrule=float,^(lutris)$ windowrule=float,^(steam)$ windowrule=float,^(heroic)$ windowrule=float,^(an-anime-game-launcher)$ windowrule=fullscreen,^(gamescope)$ #chat windowrulev2=nofullscreenrequest,^(Chromium)$,title:^(Discord - Chromium)$ windowrule=float,^(whatsapp-nativefier)$ #Other windowrule=float,^(bitwarden-desktop)$ windowrulev2=float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ windowrulev2=float,class:^(firefox)$,title:^(Picture-in-Picture)$ #Bitwarden windowrulev2=workspace 9,class:^(Bitwarden)$,title:^(Bitwarden)$ windowrulev2=float,class:^(Bitwarden)$,title:^(Bitwarden)$ #Onedrive windowrulev2=workspace 9,class:^(python3)$,title:^(OneDriveGUI)$ windowrulev2=float,class:^(python3)$,title:^(BOneDriveGUI)$ # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more #bind = $mainMod, Q, exec, kitty bind = $mainMod, Return, exec, $term bind = $mainMod, Q, killactive, bind = $mainMod, E, exec, $exit #exit, bind = $mainMod, F, exec, dolphin bind = , XF86Calculator, exec, extcalc #calculater bind = $mainMod, space, togglefloating bind = SUPER_SHIFT, return, exec, $dmenu bind = SUPER_SHIFT, P, pseudo, # dwindle bind = SUPER_SHIFT, J, togglesplit, # dwindle bind = SUPER_SHIFT, F, fullscreen, # fullscreen bind = SUPER_SHIFT, V, exec, $rofi-cliphist # clipboard history bind = SUPER_SHIFT_CTRL, V, exec, $rofi-cliphist-delete-all # clipboard history #Scratchpad bind = SUPER, s, exec, scratchpad bind = SUPERSHIFT, s, exec, scratchpad -g bind = $mainMod, B, exec, firefox-bin bind = $mainMod, D, exec, discord bind = $mainMod, W, exec, WhatsApp bind = $mainMod, P, exec, okular bind = $mainMod, X, exec, xournalpp bind = SUPER_CTRL, M, exec, mailspring# MAIL bind = SUPER_SHIFT, X, exec, $xpen bind = $mainMod, L, exec, libreoffice #bind = $mainMod, M, exec, tidal-hifi bind = $mainMod, M, exec, spotify bind = $mainMod, F, exec, pcmanfm bind = , Print, exec, ~/.config/rofi/applets/screenshot.sh bind = CTRL_ALT, Tab, exec, $appswitcher bind = SUPER_SHIFT, R, exec, $reload #Brithness, Volume, & Mic & Media Controls bind = , XF86MonBrightnessDown, exec, $brightdown bind = , XF86MonBrightnessUp, exec, $brightup bind = , XF86AudioMute, exec, $volume-mute bind = , XF86AudioMicMute, exec, $mic_mute bind = , XF86AudioRaiseVolume, exec, $volume-up bind = , XF86AudioLowerVolume, exec, $volume-down bind = , XF86AudioPlay, exec, $play-pause bind = , XF86AudioNext, exec, $play-next bind = , XF86AudioPrev, exec, $play-previous bind = , XF86AudioStop, exec, $play-stop # Move focus with mainMod + arrow keys bind = $mainMod, left, movewindow, l bind = $mainMod, right, movewindow, r bind = $mainMod, up, movewindow, u bind = $mainMod, down, movewindow, d # 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 # Switch workspaces with mainMod + [0-9] bind = $mainMod, F1, workspace, 11 bind = $mainMod, F2, workspace, 12 bind = $mainMod, F3, workspace, 13 bind = $mainMod, F4, workspace, 14 bind = $mainMod, F5, workspace, 15 bind = $mainMod, F6, workspace, 16 bind = $mainMod, F7, workspace, 17 bind = $mainMod, F8, workspace, 18 bind = $mainMod, F9, workspace, 19 bind = $mainMod, F0, workspace, 20 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, F1, movetoworkspace, 11 bind = $mainMod SHIFT, F2, movetoworkspace, 12 bind = $mainMod SHIFT, F3, movetoworkspace, 13 bind = $mainMod SHIFT, F4, movetoworkspace, 14 bind = $mainMod SHIFT, F5, movetoworkspace, 15 bind = $mainMod SHIFT, F6, movetoworkspace, 16 bind = $mainMod SHIFT, F7, movetoworkspace, 17 bind = $mainMod SHIFT, F8, movetoworkspace, 18 bind = $mainMod SHIFT, F9, movetoworkspace, 19 bind = $mainMod SHIFT, F10, movetoworkspace, 20 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow #BIND WORKSPACES workspace=$INTERNAL_DISPLAY,1 workspace=$EXTERNAL_DISPLAY,11 #INTENAL DISPLAY wsbind=1,$INTERNAL_DISPLAY wsbind=2,$INTERNAL_DISPLAY wsbind=3,$INTERNAL_DISPLAY wsbind=4,$INTERNAL_DISPLAY wsbind=5,$INTERNAL_DISPLAY wsbind=5,$INTERNAL_DISPLAY wsbind=6,$INTERNAL_DISPLAY wsbind=7,$INTERNAL_DISPLAY wsbind=8,$INTERNAL_DISPLAY wsbind=9,$INTERNAL_DISPLAY wsbind=10,$INTERNAL_DISPLAY #EXTERNAL DISPLAY wsbind=11,$EXTERNAL_DISPLAY wsbind=12,$EXTERNAL_DISPLAY wsbind=13,$EXTERNAL_DISPLAY wsbind=14,$EXTERNAL_DISPLAY wsbind=15,$EXTERNAL_DISPLAY wsbind=16,$EXTERNAL_DISPLAY wsbind=17,$EXTERNAL_DISPLAY wsbind=18,$EXTERNAL_DISPLAY wsbind=19,$EXTERNAL_DISPLAY wsbind=20,$EXTERNAL_DISPLAY