Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #███████████████████████████████████████████████████████████████████
- #███╗ ███╗ ██████╗ ███╗ ██╗██╗████████╗ ██████╗ ██████╗ ███████╗
- #████╗ ████║██╔═══██╗████╗ ██║██║╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝
- #██╔████╔██║██║ ██║██╔██╗ ██║██║ ██║ ██║ ██║██████╔╝███████╗
- #██║╚██╔╝██║██║ ██║██║╚██╗██║██║ ██║ ██║ ██║██╔══██╗╚════██║
- #██║ ╚═╝ ██║╚██████╔╝██║ ╚████║██║ ██║ ╚██████╔╝██║ ██║███████║
- #╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
- # See https://wiki.hyprland.org/Configuring/Monitors/
- monitor = DP-2, 3440x1440@165, 0x0, 1
- monitor = DP-3, 2560x1440@144, 3440x0, 1
- #▗▄▄▄▖▗▖ ▗▖▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖ ▗▄▄▖▗▖ ▗▖▗▖ ▗▖ ▗▄▄▖
- #▐▌ ▝▚▞▘ ▐▌ ▐▌▐▌ █ ▐▌ █ █ ▐▌ ▝▚▞▘ ▐▛▚▖▐▌▐▌
- #▐▛▀▀▘ ▐▌ ▐▛▀▘ ▐▌ █ ▐▌ █ █ ▝▀▚▖ ▐▌ ▐▌ ▝▜▌▐▌
- #▐▙▄▄▖▗▞▘▝▚▖▐▌ ▐▙▄▄▖▗▄█▄▖▝▚▄▄▖▗▄█▄▖ █ ▗▄▄▞▘ ▐▌ ▐▌ ▐▌▝▚▄▄▖
- render {
- explicit_sync = 1
- explicit_sync_kms = 1
- direct_scanout = no
- }
- xwayland {
- force_zero_scaling = false
- }
- #█████████████████████████████████████████████████████████████████████████████████████████████
- #███╗ ███╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ █████╗ ███╗ ███╗███████╗
- #████╗ ████║╚██╗ ██╔╝ ██╔══██╗██╔══██╗██╔═══██╗██╔════╝ ██╔══██╗██╔══██╗████╗ ████║██╔════╝
- #██╔████╔██║ ╚████╔╝ ██████╔╝██████╔╝██║ ██║██║ ███╗██████╔╝███████║██╔████╔██║███████╗
- #██║╚██╔╝██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██║ ██║██║ ██║██╔══██╗██╔══██║██║╚██╔╝██║╚════██║
- #██║ ╚═╝ ██║ ██║ ██║ ██║ ██║╚██████╔╝╚██████╔╝██║ ██║██║ ██║██║ ╚═╝ ██║███████║
- #╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
- # See https://wiki.hyprland.org/Configuring/Keywords/
- $terminal = kitty
- $fileManager = dolphin
- $menu = nwg-drawer
- $browser = firefox --disable-gpu-compositing
- #█████████████████████████████████████████████████████████████████████████████
- # █████╗ ██╗ ██╗████████╗ ██████╗ ███████╗████████╗ █████╗ ██████╗ ████████╗
- #██╔══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗╚══██╔══╝
- #███████║██║ ██║ ██║ ██║ ██║███████╗ ██║ ███████║██████╔╝ ██║
- #██╔══██║██║ ██║ ██║ ██║ ██║╚════██║ ██║ ██╔══██║██╔══██╗ ██║
- #██║ ██║╚██████╔╝ ██║ ╚██████╔╝███████║ ██║ ██║ ██║██║ ██║ ██║
- #╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
- #▗▄▄▖ ▗▄▖ ▗▄▄▖▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▖ ▗▖▗▄▄▄ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▚▖▐▌▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▞▜▌▐▌
- #▐▛▀▚▖▐▛▀▜▌▐▌ ▐▛▚▖ ▐▌▝▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▌ ▝▜▌▐▌ █ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌▝▜▌▐▛▀▚▖▐▛▀▜▌▐▌ ▐▌ ▝▀▚▖
- #▐▙▄▞▘▐▌ ▐▌▝▚▄▄▖▐▌ ▐▌▝▚▄▞▘▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▙▄▄▀ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘
- #
- # exec-once = sway-audio-idle-inhibit
- exec-once = lxsession
- exec-once = wljoywake
- exec-once = hypridle
- # exec-once = hyprpaper
- exec-once = copyq --start-server
- exec-once = /home/rasmus-cosmic/scripts/global/wallpaper.sh
- # exec-once = wl-paste -t text -w xclip -selection clipboard
- #▗▄▄▄ ▗▄▄▄▖ ▗▄▄▖▗▖ ▗▖▗▄▄▄▖▗▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖
- #▐▌ █▐▌ ▐▌ ▐▌▗▞▘ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▞▜▌▐▌
- #▐▌ █▐▛▀▀▘ ▝▀▚▖▐▛▚▖ █ ▐▌ ▐▌▐▛▀▘ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌▝▜▌▐▛▀▚▖▐▛▀▜▌▐▌ ▐▌ ▝▀▚▖
- #▐▙▄▄▀▐▙▄▄▖▗▄▄▞▘▐▌ ▐▌ █ ▝▚▄▞▘▐▌ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘
- exec-once = sleep 1 && waybar
- exec-once = flatpak run com.core447.StreamController -b
- exec-once = sleep 1 && steam -silent -no-cef-sandbox
- exec-once = sleep 4 && nm-applet
- exec-once = sleep 4 && blueman-applet
- exec-once = sleep 6 && discord-canary --start-minimized #--enable-features=UseOzonePlatform --ozone-platform=x11
- exec-once = sleep 4 && swaync
- exec-once = sleep 4 && caprine
- exec-once = sleep 4 && flameshot
- #▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌
- #▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▛▀▀▘ ▝▀▚▖ ▝▀▚▖▐▛▀▀▘ ▝▀▚▖
- #▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘▗▄▄▞▘▐▙▄▄▖▗▄▄▞▘
- exec-once = hyprctl dispatch workspace 1
- #▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
- # █ ▐▌ ▐▌▐▌ ▐▛▚▞▜▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌
- # █ ▐▛▀▜▌▐▛▀▀▘▐▌ ▐▌▐▛▀▀▘ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▛▀▀▘ ▝▀▚▖ ▝▀▚▖▐▛▀▀▘ ▝▀▚▖
- # █ ▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌▐▙▄▄▖ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘▗▄▄▞▘▐▙▄▄▖▗▄▄▞▘
- # exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
- # exec-once = systemctl --user import-environment \ XDG_CURRENT_DESKTOP XDG_SESSION_TYPE
- exec-once = dbus-update-activation-environment \ --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
- exec = gsettings set org.gnome.desktop.interface gtk-theme "breeze-dark" # for GTK3 apps
- exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
- #██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
- #███████╗███╗ ██╗██╗ ██╗██╗██████╗ ██████╗ ███╗ ██╗███╗ ███╗███████╗███╗ ██╗████████╗ ██╗ ██╗ █████╗ ██████╗ ██╗ █████╗ ██████╗ ██╗ ███████╗███████╗
- #██╔════╝████╗ ██║██║ ██║██║██╔══██╗██╔═══██╗████╗ ██║████╗ ████║██╔════╝████╗ ██║╚══██╔══╝ ██║ ██║██╔══██╗██╔══██╗██║██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝
- #█████╗ ██╔██╗ ██║██║ ██║██║██████╔╝██║ ██║██╔██╗ ██║██╔████╔██║█████╗ ██╔██╗ ██║ ██║ ██║ ██║███████║██████╔╝██║███████║██████╔╝██║ █████╗ ███████╗
- #██╔══╝ ██║╚██╗██║╚██╗ ██╔╝██║██╔══██╗██║ ██║██║╚██╗██║██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ ╚██╗ ██╔╝██╔══██║██╔══██╗██║██╔══██║██╔══██╗██║ ██╔══╝ ╚════██║
- #███████╗██║ ╚████║ ╚████╔╝ ██║██║ ██║╚██████╔╝██║ ╚████║██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ╚████╔╝ ██║ ██║██║ ██║██║██║ ██║██████╔╝███████╗███████╗███████║
- #╚══════╝╚═╝ ╚═══╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚══════╝╚══════╝
- # See https://wiki.hyprland.org/Configuring/Environment-variables/
- env = XDG_CONFIG_HOME,$HOME/.config
- env = XDG_CURRENT_DESKTOP,Hyprland
- env = XDG_SESSION_TYPE,wayland
- env = XDG_SESSION_DESKTOP,Hyprland
- #▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖
- # █ ▐▌ ▐▌▐▌ ▐▛▚▞▜▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
- # █ ▐▛▀▜▌▐▛▀▀▘▐▌ ▐▌▐▛▀▀▘ ▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▛▀▀▘ ▝▀▚▖
- # █ ▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌▐▙▄▄▖ ▝▚▞▘ ▐▌ ▐▌▐▌ ▐▌▗▄█▄▖▐▌ ▐▌▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
- env = XCURSOR_THEME,breeze_cursors
- env = XCURSOR_SIZE,24
- env = HYPRCURSOR_THEME,breeze_cursors
- env = HYPRCURSOR_SIZE,24
- env = QT_QPA_PLATFORM,wayland;xcb
- env = QT_QPA_PLATFORMTHEME,qt6ct
- env = GTK_THEME,Breeze-Dark
- env = GTK_CURSOR_THEME,breeze_cursors'
- env = GDK_BACKEND,wayland,x11,*
- #▗▖ ▗▖▗▖ ▗▖▗▄▄▄▖▗▄▄▄ ▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖
- #▐▛▚▖▐▌▐▌ ▐▌ █ ▐▌ █ █ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
- #▐▌ ▝▜▌▐▌ ▐▌ █ ▐▌ █ █ ▐▛▀▜▌ ▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▛▀▀▘ ▝▀▚▖
- #▐▌ ▐▌ ▝▚▞▘ ▗▄█▄▖▐▙▄▄▀▗▄█▄▖▐▌ ▐▌ ▝▚▞▘ ▐▌ ▐▌▐▌ ▐▌▗▄█▄▖▐▌ ▐▌▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
- # Wiki
- env = LIBVA_DRIVER_NAME,nvidia
- env = GBM_BACKEND,nvidia-drm
- env = __GLX_VENDOR_LIBRARY_NAME,nvidia
- #env = __GL_GSYNC_ALLOWED,1
- # Wiki flickering Electron / CEF apps
- env = ELECTRON_OZONE_PLATFORM_HINT,x11 # or auto
- # try this if app flickers: --disable-gpu-compositing
- debug {
- damage_tracking = 0
- }
- # Wiki Firefox crash
- env = NVD_BACKEND,direct
- cursor {
- no_hardware_cursors = false
- use_cpu_buffer = true
- }
- #▗▄▄▄ ▗▄▄▄▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖▗▖ ▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖
- #▐▌ █▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▞▜▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
- #▐▌ █▐▛▀▀▘▐▛▀▀▘▐▛▀▜▌▐▌ ▐▌▐▌ █ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌▝▜▌▐▛▀▚▖▐▛▀▜▌▐▌ ▐▌ ▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▛▀▀▘ ▝▀▚▖
- #▐▙▄▄▀▐▙▄▄▖▐▌ ▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖█ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▝▚▞▘ ▐▌ ▐▌▐▌ ▐▌▗▄█▄▖▐▌ ▐▌▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
- env = BROWSER,firefox
- env = TERMINAL,kitty
- env = EDITOR,nvim
- #█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
- #██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ █████╗ ██████╗███████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
- #██║ ██║██╔═══██╗██╔══██╗██║ ██╔╝██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
- #██║ █╗ ██║██║ ██║██████╔╝█████╔╝ ███████╗██████╔╝███████║██║ █████╗ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
- #██║███╗██║██║ ██║██╔══██╗██╔═██╗ ╚════██║██╔═══╝ ██╔══██║██║ ██╔══╝ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
- #╚███╔███╔╝╚██████╔╝██║ ██║██║ ██╗███████║██║ ██║ ██║╚██████╗███████╗ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
- # ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
- #▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
- #▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▝▀▚▖
- #▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘
- workspace = 1, monitor:DP-2, default:true
- workspace = 2, monitor:DP-2
- workspace = 3, monitor:DP-3
- workspace = 4, monitor:DP-3
- #▗▖ ▗▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄ ▗▄▄▄▖▗▄▄▄▖▗▄▄▄▖▗▖
- #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘ ▐▌ ▐▌▐▛▚▖▐▌▐▌ █ ▐▌ ▐▌ ▐▌ ▐▌
- #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▖ ▐▛▀▜▌▐▌ ▝▜▌▐▌ █ ▐▛▀▀▘▐▛▀▀▘▐▛▀▀▘▐▌
- #▐▙▄▄▖▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▙▄▄▀ ▐▌ ▐▙▄▄▖▐▙▄▄▖▐▙▄▄▖
- # Refer to https://wiki.hyprland.org/Configuring/Variables/
- # _
- # __ _ ___ _ __ ___ _ __ __ _| |
- # / _` |/ _ \ '_ \ / _ \ '__/ _` | |
- #| (_| | __/ | | | __/ | | (_| | |
- # \__, |\___|_| |_|\___|_| \__,_|_|
- # |___/
- # https://wiki.hyprland.org/Configuring/Variables/#general
- general {
- gaps_in = 4
- gaps_out = 5
- border_size = 2
- # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
- col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
- col.inactive_border = rgba(595959aa)
- # Set to true enable resizing windows by clicking and dragging on borders and gaps
- resize_on_border = false
- # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
- allow_tearing = true
- layout = dwindle
- }
- # _ _ _
- # __| | ___ ___ ___ _ __ __ _| |_(_) ___ _ __
- # / _` |/ _ \/ __/ _ \| '__/ _` | __| |/ _ \| '_ \
- #| (_| | __/ (_| (_) | | | (_| | |_| | (_) | | | |
- # \__,_|\___|\___\___/|_| \__,_|\__|_|\___/|_| |_|
- # https://wiki.hyprland.org/Configuring/Variables/#decoration
- decoration {
- rounding = 5
- # Change transparency of focused and unfocused windows
- active_opacity = 1.0
- inactive_opacity = 0.98
- dim_inactive = true
- dim_strength = 0.15
- shadow {
- enabled = true
- range = 8
- render_power = 3
- color = rgba(1a1a1aee)
- }
- # https://wiki.hyprland.org/Configuring/Variables/#blur
- blur {
- enabled = true
- size = 2
- passes = 3
- noise = 0.01
- vibrancy = 0.2
- contrast = 0.7
- }
- }
- # _ _ _
- # __ _ _ __ (_)_ __ ___ __ _| |_(_) ___ _ __ ___
- # / _` | '_ \| | '_ ` _ \ / _` | __| |/ _ \| '_ \/ __|
- #| (_| | | | | | | | | | | (_| | |_| | (_) | | | \__ \
- # \__,_|_| |_|_|_| |_| |_|\__,_|\__|_|\___/|_| |_|___/
- # https://wiki.hyprland.org/Configuring/Variables/#animations
- animations {
- enabled = true
- # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
- bezier = myBezier, 0.05, 0.9, 0.1, 1.05
- bezier = Epic, 0.165, 0.84, 0.44, 1
- animation = windows, 1, 3, Epic, popin 30%
- animation = windowsOut, 1, 5, Epic, popin 30%
- animation = border, 1, 10, default
- animation = borderangle, 1, 8, default
- animation = fade, 1, 3, default
- animation = workspaces, 1, 3, default
- }
- # _ _ _ _
- # __| |_ _(_)_ __ __| | | ___
- # / _` \ \ /\ / / | '_ \ / _` | |/ _ \
- #| (_| |\ V V /| | | | | (_| | | __/
- # \__,_| \_/\_/ |_|_| |_|\__,_|_|\___|
- # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
- dwindle {
- pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
- preserve_split = true # You probably want this
- smart_split = false
- split_width_multiplier = 1.5
- }
- # _
- # _ __ ___ __ _ ___| |_ ___ _ __
- #| '_ ` _ \ / _` / __| __/ _ \ '__|
- #| | | | | | (_| \__ \ || __/ |
- #|_| |_| |_|\__,_|___/\__\___|_|
- # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
- master {
- new_status = slave
- new_on_top = true
- allow_small_split = true
- }
- # _
- # _ __ ___ (_)___ ___
- #| '_ ` _ \| / __|/ __|
- #| | | | | | \__ \ (__
- #|_| |_| |_|_|___/\___|
- # https://wiki.hyprland.org/Configuring/Variables/#misc
- misc {
- force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
- disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
- }
- # __ _ _ __ ___ _ _ _ __
- # / _` | '__/ _ \| | | | '_ \
- #| (_| | | | (_) | |_| | |_) |
- # \__, |_| \___/ \__,_| .__/
- # |___/ |_|
- group {
- col.border_active = 0xff9000ff
- groupbar {
- col.active = 0x789000ff
- col.inactive = 0x3c9000ff
- font_size = 10
- height = 12
- }
- }
- #██████████████████████████████████████
- #██╗███╗ ██╗██████╗ ██╗ ██╗████████╗
- #██║████╗ ██║██╔══██╗██║ ██║╚══██╔══╝
- #██║██╔██╗ ██║██████╔╝██║ ██║ ██║
- #██║██║╚██╗██║██╔═══╝ ██║ ██║ ██║
- #██║██║ ╚████║██║ ╚██████╔╝ ██║
- #╚═╝╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═╝
- # _ _
- #(_)_ __ _ __ _ _| |_
- #| | '_ \| '_ \| | | | __|
- #| | | | | |_) | |_| | |_
- #|_|_| |_| .__/ \__,_|\__|
- # |_|
- # https://wiki.hyprland.org/Configuring/Variables/#input
- input {
- kb_layout = se
- kb_variant =
- kb_model =
- kb_options =
- kb_rules =
- numlock_by_default = true
- follow_mouse = 1
- sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
- touchpad {
- natural_scroll = false
- }
- }
- # _
- # __ _ ___ ___| |_ _ _ _ __ ___ ___
- # / _` |/ _ \/ __| __| | | | '__/ _ \/ __|
- #| (_| | __/\__ \ |_| |_| | | | __/\__ \
- # \__, |\___||___/\__|\__,_|_| \___||___/
- # |___/
- # https://wiki.hyprland.org/Configuring/Variables/#gestures
- gestures {
- workspace_swipe = false
- }
- # _ _
- # __| | _____ _(_) ___ ___ ___
- # / _` |/ _ \ \ / / |/ __/ _ \/ __|
- #| (_| | __/\ V /| | (_| __/\__ \
- # \__,_|\___| \_/ |_|\___\___||___/
- # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
- device {
- name = logitech-usb-receiver
- sensitivity = -0.35
- accel_profile = flat
- }
- device {
- name = logitech-usb-receiver-keyboard-1
- sensitivity = -0.7
- }
- #████████████████████████████████████████████████████████████████████████████
- #██╗ ██╗███████╗██╗ ██╗██████╗ ██╗███╗ ██╗██████╗ ██╗███╗ ██╗ ██████╗
- #██║ ██╔╝██╔════╝╚██╗ ██╔╝██╔══██╗██║████╗ ██║██╔══██╗██║████╗ ██║██╔════╝
- #█████╔╝ █████╗ ╚████╔╝ ██████╔╝██║██╔██╗ ██║██║ ██║██║██╔██╗ ██║██║ ███╗
- #██╔═██╗ ██╔══╝ ╚██╔╝ ██╔══██╗██║██║╚██╗██║██║ ██║██║██║╚██╗██║██║ ██║
- #██║ ██╗███████╗ ██║ ██████╔╝██║██║ ╚████║██████╔╝██║██║ ╚████║╚██████╔╝
- #╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
- # See https://wiki.hyprland.org/Configuring/Keywords/
- # bindl -> do stuff even when locked
- # binde -> repeats when key is held
- # bindle -> Both of the above
- # bindm -> binds a mouse movement
- # ▗▄▄▖▗▖ ▗▖▗▄▄▖ ▗▄▄▄▖▗▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖
- #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▗▞▘▐▌ ▝▚▞▘
- # ▝▀▚▖▐▌ ▐▌▐▛▀▘ ▐▛▀▀▘▐▛▀▚▖ ▐▛▚▖ ▐▛▀▀▘ ▐▌
- #▗▄▄▞▘▝▚▄▞▘▐▌ ▐▙▄▄▖▐▌ ▐▌ ▐▌ ▐▌▐▙▄▄▖ ▐▌
- $mainMod = SUPER # Sets "Windows" key as main modifier
- #▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖
- #▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▛▚▞▜▌▐▌ ▐▌▐▛▚▖▐▌▐▌ ▐▌▐▌ ▐▌ ▐▛▚▞▜▌▐▌ ▐▛▚▖▐▌ █
- #▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▛▀▜▌▐▌ ▝▜▌▐▛▀▜▌▐▌▝▜▌▐▛▀▀▘▐▌ ▐▌▐▛▀▀▘▐▌ ▝▜▌ █
- #▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌ █
- # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
- bind = $mainMod, C, killactive,
- bind = $mainMod, M, exit,
- bind = $mainMod, V, togglefloating,
- bind = $mainMod, F, fullscreen
- #▗▄▄▄ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▖ ▗▄▄▄▖
- #▐▌ █▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌
- #▐▌ █▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▛▀▀▘
- #▐▙▄▄▀▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▐▙▄▄▖▐▙▄▄▖
- bind = $mainMod, P, pseudo,
- bind = $mainMod, G, togglesplit,
- #▗▖ ▗▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▄▄▖
- #▐▛▚▞▜▌▐▌ ▐▌▐▌ █ ▐▌ ▐▌ ▐▌
- #▐▌ ▐▌▐▛▀▜▌ ▝▀▚▖ █ ▐▛▀▀▘▐▛▀▚▖
- #▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘ █ ▐▙▄▄▖▐▌ ▐▌
- bind = $mainMod, D, layoutmsg, addmaster
- bind = $mainMod ALT, D, layoutmsg, removemaster
- bind = $mainMod SHIFT, D, layoutmsg, swapwithmaster
- #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖▗▖ ▗▖ ▗▄▄▖
- #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▛▀▀▘▐▌ ▐▌▐▌ ▐▌ ▐▌ ▝▀▚▖
- #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▐▌ ▝▚▄▞▘▝▚▄▄▖▝▚▄▞▘▗▄▄▞▘
- bind = $mainMod, h, movefocus, l
- bind = $mainMod, l, movefocus, r
- bind = $mainMod, k, movefocus, u
- bind = $mainMod, j, movefocus, d
- bind = $mainMod, left, movefocus, l
- bind = $mainMod, right, movefocus, r
- bind = $mainMod, up, movefocus, u
- bind = $mainMod, down, movefocus, d
- bind = $mainMod, code:94, movefocus, r
- #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖
- #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌
- #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌
- bind = $mainMod SHIFT, h, movewindow, l
- bind = $mainMod SHIFT, l, movewindow, r
- bind = $mainMod SHIFT, k, movewindow, u
- bind = $mainMod SHIFT, j, movewindow, d
- bind = $mainMod SHIFT, left, movewindow, l
- bind = $mainMod SHIFT, right, movewindow, r
- bind = $mainMod SHIFT, up, movewindow, u
- bind = $mainMod SHIFT, down, movewindow, d
- # Move to left or right workspace
- bind = $mainMod SHIFT, Z, movetoworkspace, r-1
- bind = $mainMod SHIFT, X, movetoworkspace, r+1
- # Mouse move
- bindm = $mainMod, mouse:272, movewindow
- #▗▄▄▖ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▄▖▗▄▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖
- #▐▌ ▐▌▐▌ ▐▌ █ ▗▞▘▐▌ ▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌
- #▐▛▀▚▖▐▛▀▀▘ ▝▀▚▖ █ ▗▞▘ ▐▛▀▀▘ ▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌
- #▐▌ ▐▌▐▙▄▄▖▗▄▄▞▘▗▄█▄▖▐▙▄▄▄▖▐▙▄▄▖ ▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌
- binde = $mainMod CTRL, h, resizeactive, -35 0
- binde = $mainMod CTRL, l, resizeactive, 35 0
- binde = $mainMod CTRL, k, resizeactive, 0 -35
- binde = $mainMod CTRL, j, resizeactive, 0 35
- binde = $mainMod CTRL, left, resizeactive, -35 0
- binde = $mainMod CTRL, right, resizeactive, 35 0
- binde = $mainMod CTRL, up, resizeactive, 0 -35
- binde = $mainMod CTRL, down, resizeactive, 0 35
- # Resize to full workspace
- bind = $mainMod, tab, exec, hyprctl dispatch fullscreen 1
- # Mouse resize
- bindm = $mainMod, mouse:273, resizewindow
- # ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▖
- #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
- #▐▌▝▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▛▀▘
- #▝▚▄▞▘▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌
- bind = $mainMod, B, togglegroup
- bind = ALT, TAB, changegroupactive
- bind = $mainMod alt, B ,moveoutofgroup
- #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▖
- #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ █ ▐▛▚▖▐▌ █ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ █ ▐▌ ▝▜▌ █ ▐▌ ▐▌ ▐▌▝▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▛▀▘
- #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▗▄█▄▖▐▌ ▐▌ █ ▝▚▄▞▘ ▝▚▄▞▘▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌
- bind = $mainMod ALT, left, moveintogroup, l
- bind = $mainMod ALT, right, moveintogroup, r
- bind = $mainMod ALT, up, moveintogroup, u
- bind = $mainMod ALT, down, moveintogroup, d
- bind = $mainMod ALT, h, moveintogroup, l
- bind = $mainMod ALT, l, moveintogroup, r
- bind = $mainMod ALT, k, moveintogroup, u
- bind = $mainMod ALT, j, moveintogroup, d
- # ▗▄▄▖▗▖ ▗▖▗▄▄▄▖▗▄▄▄▖▗▄▄▖▗▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
- #▐▌ ▐▌ ▐▌ █ █ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
- # ▝▀▚▖▐▌ ▐▌ █ █ ▐▌ ▐▛▀▜▌ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▝▀▚▖
- #▗▄▄▞▘▐▙█▟▌▗▄█▄▖ █ ▝▚▄▄▖▐▌ ▐▌ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘
- # Switch to left and right
- bind = SUPER, Z, workspace, r-1
- bind = SUPER, X, workspace, r+1
- # Switch to specific
- 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
- # ▗▄▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▄▖▗▖ ▗▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖▗▖ ▗▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
- #▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌ █ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
- # ▝▀▚▖▐▌ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▌▝▜▌▐▛▀▜▌ ▐▌ ▐▌ █ ▝▀▚▖ █ ▐▛▀▚▖▐▌ ▐▛▀▀▘ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▝▀▚▖
- #▗▄▄▞▘▝▚▄▄▖▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖▐▙▄▄▖ █ ▐▌ ▐▌▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌ ▝▚▞▘ ▗▄█▄▖▗▄▄▞▘▗▄█▄▖▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘
- bind = $mainMod, mouse_down, workspace, e+1
- bind = $mainMod, mouse_up, workspace, e-1
- #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖ ▗▄▄▄▖▗▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖
- #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ █ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▛▀▜▌▐▌ █ █ ▐▌ ▐▌▐▛▀▀▘ ▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌ ▐▛▀▜▌ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘
- #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▐▌ ▐▌▝▚▄▄▖ █ ▗▄█▄▖ ▝▚▞▘ ▐▙▄▄▖ ▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌ █ ▝▚▄▞▘ ▐▌ ▐▌ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖
- 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
- # ▗▄▄▖▗▄▄▖ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖
- #▐▌ ▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
- # ▝▀▚▖▐▛▀▘ ▐▛▀▀▘▐▌ █ ▐▛▀▜▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘
- #▗▄▄▞▘▐▌ ▐▙▄▄▖▝▚▄▄▖▗▄█▄▖▐▌ ▐▌▐▙▄▄▖ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖
- bind = $mainMod, S, togglespecialworkspace, magic
- bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic
- bind = $mainMod , mouse:274, movetoworkspacesilent, r-0
- # ▗▄▄▖▗▖ ▗▖ ▗▄▄▖▗▄▄▄▖▗▄▖ ▗▖ ▗▖ ▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖
- #▐▌ ▐▌ ▐▌▐▌ █ ▐▌ ▐▌▐▛▚▞▜▌ ▐▌ ▐▌ ▐▌▐▛▚▖▐▌▐▌ █ ▐▌ ▐▌
- #▐▌ ▐▌ ▐▌ ▝▀▚▖ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▝▜▌▐▛▀▀▘ █ ▐▌▝▜▌ ▝▀▚▖
- #▝▚▄▄▖▝▚▄▞▘▗▄▄▞▘ █ ▝▚▄▞▘▐▌ ▐▌ ▝▚▄▄▖▝▚▄▞▘▐▌ ▐▌▐▌ ▗▄█▄▖▝▚▄▞▘▗▄▄▞▘
- # Desktop Program shortcuts
- bind = $mainMod, Q, exec, $terminal
- bind = $mainMod, E, exec, $fileManager
- bind = $mainMod, W, exec, firefox --disable-gpu-compositing
- bind = $mainMod SHIFT, Q, exec, [float; size 1200px 800px] $terminal
- bind = $mainMod SHIFT, E, exec, [float; size 1450px 800px] $fileManager
- bind = $mainMod SHIFT, W, exec, [float; size 1450px 800px] $browser
- # Desktop Utility shortcuts
- bind = $mainMod, O, exec, pkill waybar || waybar
- bind = $mainMod, N, exec, swaync-client -t -sw
- bind = $mainMod alt, N, exec, swaync-client --close-all
- bind = $mainMod, code:60, exec, wofi-emoji
- #bind = CTRL alt, S, exec, grim -g "$(slurp -d)" - | wl-copy
- bind = CTRL alt, S, exec, flameshot gui
- #bind = Shift alt, S, exec, IMG=~/Bilder/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG
- bind = $mainMod ctrl, V, exec, copyq show
- # Lock desktop
- bind = $mainMod, T, exec, grim -o DP-2 -l 0 /tmp/screenshot.png && grim -o DP-3 -l 0 /tmp/screenshot2.png && hyprlock
- # Launcher shortcuts
- bind = $mainMod, SPACE, exec, pkill rofi || rofi -show drun
- bind = alt, SPACE, exec, nwg-menu --fm dolphin --wm hyprland --term kitty
- bind = $mainMod, R, exec, $menu
- # Media binding
- # Media keys
- bindle=, XF86AudioRaiseVolume, exec, vol --up
- bindle=, XF86AudioLowerVolume, exec, vol --down
- bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
- bindl=, XF86AudioPlay, exec, playerctl play-pause
- bindl=, XF86AudioNext, exec, playerctl next
- bindl=, XF86AudioPrev, exec, playerctl previous
- # Normal keys
- bindle = SUPER, pause, exec, playerctl play-pause
- bindle = SUPER, page_up, exec, playerctl next
- bindle = SUPER, page_down, exec, playerctl previous
- #██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
- #██╗ ██╗██╗███╗ ██╗██████╗ ██████╗ ██╗ ██╗███████╗ █████╗ ███╗ ██╗██████╗ ██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ █████╗ ██████╗███████╗███████╗
- #██║ ██║██║████╗ ██║██╔══██╗██╔═══██╗██║ ██║██╔════╝ ██╔══██╗████╗ ██║██╔══██╗ ██║ ██║██╔═══██╗██╔══██╗██║ ██╔╝██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝
- #██║ █╗ ██║██║██╔██╗ ██║██║ ██║██║ ██║██║ █╗ ██║███████╗ ███████║██╔██╗ ██║██║ ██║ ██║ █╗ ██║██║ ██║██████╔╝█████╔╝ ███████╗██████╔╝███████║██║ █████╗ ███████╗
- #██║███╗██║██║██║╚██╗██║██║ ██║██║ ██║██║███╗██║╚════██║ ██╔══██║██║╚██╗██║██║ ██║ ██║███╗██║██║ ██║██╔══██╗██╔═██╗ ╚════██║██╔═══╝ ██╔══██║██║ ██╔══╝ ╚════██║
- #╚███╔███╔╝██║██║ ╚████║██████╔╝╚██████╔╝╚███╔███╔╝███████║ ██║ ██║██║ ╚████║██████╔╝ ╚███╔███╔╝╚██████╔╝██║ ██║██║ ██╗███████║██║ ██║ ██║╚██████╗███████╗███████║
- # ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝
- # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
- # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
- # Examplepseudo windowrule v1
- # windowrule = float, ^(kitty)$
- # Hyprland Rule for launching Dolphin with KDE environment
- # windowrulev2 = "XDG_CURRENT_DESKTOP=kde", "dolphin"
- # Example windowrule v2
- # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
- windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
- #▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▖ ▗▖▗▖ ▗▄▄▄▖ ▗▄▄▖
- #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
- #▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▛▀▀▘ ▝▀▚▖
- #▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖ ▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
- #▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▄▄▄▖ ▗▄▄▖
- #▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ █ █ ▐▌ ▐▌
- #▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▛▀▘ ▐▛▀▀▘▐▛▀▚▖ █ █ ▐▛▀▀▘ ▝▀▚▖
- #▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌ ▐▌ ▐▌ ▐▌▝▚▄▞▘▐▌ ▐▙▄▄▖▐▌ ▐▌ █ ▗▄█▄▖▐▙▄▄▖▗▄▄▞▘
- # Move
- windowrulev2 = move cursor -320 -115, title:^(Blåtandsenheter)
- windowrulev2 = move cursor -100 -205, title:^(.*verksanslutningar)
- windowrulev2 = move cursor -300 10, title:^(Volymkontroll)
- windowrulev2 = move cursor, class:^(com.github.hluk.copyq)
- # Float
- #windowrule=float,^(.*.exe)$
- #windowrule=float,^(steam_app_.*)$
- #windowrule=float,^(steam_proton)$
- windowrulev2 = float, class:^(com.github.hluk.copyq)
- windowrulev2 = float, title:^(Blåtandsenheter)
- windowrulev2 = float, title:^(.*verksanslutningar)
- windowrulev2 = float, title:^(Volymkontroll)
- # Nodim
- windowrulev2 = nodim, title:^(KINGDOM.*)$
- windowrulev2 = nodim, title:^(TA.*)$
- windowrulev2 = nodim true override, class:^(firefox),title:(.*YouTube — Mozilla Firefox)$
- windowrulev2 = nodim true override, class:^(firefox),title:(▶)(.*)$
- windowrulev2 = nodim true override, class:^(firefox),title:(Disney+)$
- windowrulev2 = nodim true override, class:^(firefox),title:(Netflix)$
- # Opacity
- windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(TA.*)$
- windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(Netflix)$
- windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(.*YouTube — Mozilla Firefox)$
- windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(▶)(.*)$
- windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(Disney+)$
- windowrulev2 = opacity 1.0 1.0 override, class:^(vlc)$
- # Xwayland
- windowrulev2 = noblur, xwayland:1
- windowrulev2 = bordercolor rgb(00ffa5) rgb(00ff68), xwayland:1
- windowrulev2 = bordersize 3px, xwayland:1
- # Fullscreen
- windowrulev2 = fullscreen, title:^(Counter-Strike 2*)$
- windowrulev2 = fullscreen, title:(RetroArch)
- # Size
- windowrulev2 = size 510 525, class:^(com.github.hluk.copyq)
- windowrulev2 = size 535 698, title:^(.*verksanslutningar)
- windowrulev2 = size 818 685, title:^(Volymkontroll)
- windowrulev2 = size 535 685, title:^(Blåtandsenheter)
- windowrulev2 = size 1075 944 title:^(.*Skriv in namnet på filen du vill spara.*:)
- windowrulev2 = size 1075 944 title:^(.*ppna fil — Kate)
- # Idleinhibit
- windowrulev2 = idleinhibit fullscreen, class:^(firefox)
- #▗▄▄▄▖▗▖ ▗▖▗▖ ▗▖▗▄▄▄▖▗▄▄▄ ▗▄▄▄▖ ▗▄▖▗▄▄▄▖▗▄▄▄▖
- # █ ▐▛▚▞▜▌▐▛▚▞▜▌▐▌ ▐▌ █ █ ▐▌ ▐▌ █ ▐▌
- # █ ▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘▐▌ █ █ ▐▛▀▜▌ █ ▐▛▀▀▘
- #▗▄█▄▖▐▌ ▐▌▐▌ ▐▌▐▙▄▄▖▐▙▄▄▀▗▄█▄▖▐▌ ▐▌ █ ▐▙▄▄▖
- # Title
- windowrulev2 = immediate, title:^(Minecraft.*)$
- #windowrulev2 = immediate, title:^(Zelda 64: Recompiled*)$
- #windowrulev2 = immediate, title:^(Age of Mythology: Retold*)$
- #windowrulev2 = immediate, title:^(OpenGOAL - Jak 1*)$
- #windowrulev2 = immediate, title:^(KINGDOM.*)$
- windowrulev2 = immediate, title:^(Counter-Strike 2*)$
- #windowrulev2 = immediate, title:^(RetroArch)
- #windowrulev2 = immediate, title:^(Phasmophobia)
- # Class
- #windowrulev2 = immediate, class:^(gamescope)$
- windowrulev2 = immediate, class:^(cs2)$
- #windowrulev2 = immediate, class:^(steam_app_default)$
- #windowrulev2 = immediate, class:^(steam_app_.*)$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement