first commit
This commit is contained in:
34
hypr/hyprland/colors.conf
Executable file
34
hypr/hyprland/colors.conf
Executable file
@@ -0,0 +1,34 @@
|
||||
# exec = export SLURP_ARGS='-d -c BFE9F8BB -b 214C5844 -s 00000000'
|
||||
|
||||
general {
|
||||
col.active_border = rgba(89b4faFF)
|
||||
col.inactive_border = rgba(89b4fa80)
|
||||
}
|
||||
|
||||
misc {
|
||||
background_color = rgba(181825FF)
|
||||
}
|
||||
|
||||
plugin {
|
||||
hyprbars {
|
||||
# Honestly idk if it works like css, but well, why not
|
||||
bar_text_font = Rubik, Geist, AR One Sans, Reddit Sans, Inter, Roboto, Ubuntu, Noto Sans, sans-serif
|
||||
bar_height = 30
|
||||
bar_padding = 10
|
||||
bar_button_padding = 5
|
||||
bar_precedence_over_border = true
|
||||
bar_part_of_window = true
|
||||
|
||||
bar_color = rgba(091516FF)
|
||||
col.text = rgba(D7E5E6FF)
|
||||
|
||||
|
||||
# example buttons (R -> L)
|
||||
# hyprbars-button = color, size, on-click
|
||||
hyprbars-button = rgb(D7E5E6), 13, , hyprctl dispatch killactive
|
||||
hyprbars-button = rgb(D7E5E6), 13, , hyprctl dispatch fullscreen 1
|
||||
hyprbars-button = rgb(D7E5E6), 13, , hyprctl dispatch movetoworkspacesilent special
|
||||
}
|
||||
}
|
||||
|
||||
windowrulev2 = bordercolor rgba(00DCE3AA) rgba(00DCE377),pinned:1
|
||||
26
hypr/hyprland/env.conf
Executable file
26
hypr/hyprland/env.conf
Executable file
@@ -0,0 +1,26 @@
|
||||
# ######### Input method ##########
|
||||
# See https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland
|
||||
env = QT_IM_MODULE, fcitx
|
||||
env = XMODIFIERS, @im=fcitx
|
||||
# env = GTK_IM_MODULE, fcitx
|
||||
env = SDL_IM_MODULE, fcitx
|
||||
env = GLFW_IM_MODULE, ibus
|
||||
env = INPUT_METHOD, fcitx
|
||||
|
||||
# ############ Themes #############
|
||||
env = QT_QPA_PLATFORM, wayland
|
||||
env = QT_QPA_PLATFORMTHEME, qt5ct
|
||||
env = QT_STYLE_OVERRIDE,kvantum
|
||||
# env = WLR_NO_HARDWARE_CURSORS, 1
|
||||
|
||||
# ######## Screen tearing #########
|
||||
# env = WLR_DRM_NO_ATOMIC, 1
|
||||
|
||||
# ############ nvidia #############
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = NVD_BACKEND,direct
|
||||
|
||||
# ############ others #############
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||
35
hypr/hyprland/execs.conf
Executable file
35
hypr/hyprland/execs.conf
Executable file
@@ -0,0 +1,35 @@
|
||||
# Bar, wallpaper
|
||||
exec-once = waybar
|
||||
exec-once = hyprpaper
|
||||
|
||||
# Input method
|
||||
exec-once = fcitx5
|
||||
|
||||
# Core components (authentication, lock screen, notification daemon)
|
||||
exec-once = gnome-keyring-daemon --start --components=secrets
|
||||
# exec-once = hyprpolkitagent
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = hypridle
|
||||
exec-once = dbus-update-activation-environment --all
|
||||
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Some fix idk
|
||||
exec-once = hyprpm reload
|
||||
exec-once = mako
|
||||
exec-once = nm-applet
|
||||
exec-once = blueman-applet
|
||||
|
||||
# Audio
|
||||
exec-once = easyeffects --gapplication-service
|
||||
|
||||
# Clipboard: history
|
||||
# exec-once = wl-paste --watch cliphist store &
|
||||
exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
|
||||
# Cursor
|
||||
exec-once = hyprctl setcursor Bibata-Modern-Ice 24
|
||||
|
||||
# Plugins
|
||||
exec-once = hyprctl plugin load "/usr/lib/libhyprexpo.so"
|
||||
|
||||
# dock
|
||||
# exec-once = nwg-dock-hyprland -d -i 32 -c "fuzzel" -ico "$HOME/.config/nwg-dock-hyprland/archlinux.png"
|
||||
178
hypr/hyprland/general.conf
Executable file
178
hypr/hyprland/general.conf
Executable file
@@ -0,0 +1,178 @@
|
||||
# MONITOR CONFIG
|
||||
monitor=,preferred,auto,1
|
||||
monitor=eDP-1,2560x1600@240,auto,1.25 # dGPU only
|
||||
monitor=eDP-2,2560x1600@240,auto,1.25 # iGPU & dGPU hybrid
|
||||
# monitor=,addreserved, 0, 0, 0, 0 # Custom reserved area
|
||||
|
||||
# HDMI port: mirror display. To see device name, use `hyprctl monitors`
|
||||
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
|
||||
|
||||
|
||||
input {
|
||||
# Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
|
||||
kb_layout = de
|
||||
# kb_options = grp:win_space_toggle
|
||||
numlock_by_default = true
|
||||
repeat_delay = 250
|
||||
repeat_rate = 35
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
disable_while_typing = true
|
||||
clickfinger_behavior = true
|
||||
scroll_factor = 0.5
|
||||
}
|
||||
special_fallthrough = true
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = -0.25
|
||||
}
|
||||
|
||||
binds {
|
||||
# focus_window_on_workspace_c# For Auto-run stuff see execs.confhange = true
|
||||
scroll_event_delay = 0
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_distance = 700
|
||||
workspace_swipe_fingers = 4
|
||||
workspace_swipe_cancel_ratio = 0.2
|
||||
workspace_swipe_min_speed_to_force = 5
|
||||
workspace_swipe_direction_lock = true
|
||||
workspace_swipe_direction_lock_threshold = 10
|
||||
workspace_swipe_create_new = true
|
||||
}
|
||||
|
||||
general {
|
||||
# Gaps and border
|
||||
gaps_in = 2
|
||||
gaps_out = 0, 3, 3, 3
|
||||
gaps_workspaces = 50
|
||||
border_size = 2
|
||||
|
||||
resize_on_border = true
|
||||
no_focus_fallback = true
|
||||
layout = dwindle
|
||||
|
||||
#focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
|
||||
allow_tearing = true # This just allows the `immediate` window rule to work
|
||||
}
|
||||
|
||||
dwindle {
|
||||
preserve_split = true
|
||||
# no_gaps_when_only = 1
|
||||
smart_split = false
|
||||
smart_resizing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 20
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
xray = true
|
||||
special = false
|
||||
new_optimizations = true
|
||||
size = 14
|
||||
passes = 4
|
||||
brightness = 1
|
||||
noise = 0.01
|
||||
contrast = 1
|
||||
popups = true
|
||||
popups_ignorealpha = 0.6
|
||||
}
|
||||
|
||||
# Shadow
|
||||
shadow {
|
||||
enabled = true
|
||||
ignore_window = true
|
||||
range = 20
|
||||
offset = 0 2
|
||||
render_power = 4
|
||||
color = rgba(0000002A)
|
||||
}
|
||||
|
||||
# Shader
|
||||
# screen_shader = ~/.config/hypr/shaders/nothing.frag
|
||||
# screen_shader = ~/.config/hypr/shaders/vibrance.frag
|
||||
|
||||
# Dim
|
||||
dim_inactive = false
|
||||
dim_strength = 0.1
|
||||
dim_special = 0
|
||||
|
||||
active_opacity = 1
|
||||
inactive_opacity = 0.9
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
# Animation curves
|
||||
|
||||
bezier = linear, 0, 0, 1, 1
|
||||
bezier = md3_standard, 0.2, 0, 0, 1
|
||||
bezier = md3_decel, 0.05, 0.7, 0.1, 1
|
||||
bezier = md3_accel, 0.3, 0, 0.8, 0.15
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.1
|
||||
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
|
||||
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
|
||||
bezier = menu_decel, 0.1, 1, 0, 1
|
||||
bezier = menu_accel, 0.38, 0.04, 1, 0.07
|
||||
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
|
||||
bezier = easeOutCirc, 0, 0.55, 0.45, 1
|
||||
bezier = easeOutExpo, 0.16, 1, 0.3, 1
|
||||
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
|
||||
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
|
||||
# Animation configs
|
||||
animation = windows, 1, 3, md3_decel, popin 60%
|
||||
animation = windowsIn, 1, 3, md3_decel, popin 60%
|
||||
animation = windowsOut, 1, 3, md3_accel, popin 60%
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 3, md3_decel
|
||||
# animation = layers, 1, 2, md3_decel, slide
|
||||
animation = layersIn, 1, 3, menu_decel, slide
|
||||
animation = layersOut, 1, 1.6, menu_accel
|
||||
animation = fadeLayersIn, 1, 2, menu_decel
|
||||
animation = fadeLayersOut, 1, 2, menu_accel
|
||||
animation = workspaces, 1, 7, menu_decel, slide
|
||||
# animation = workspaces, 1, 2.5, softAcDecel, slide
|
||||
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
|
||||
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
|
||||
animation = specialWorkspace, 1, 3, md3_decel, slidevert
|
||||
}
|
||||
|
||||
misc {
|
||||
vfr = 1
|
||||
animate_manual_resizes = false
|
||||
animate_mouse_windowdragging = false
|
||||
enable_swallow = false
|
||||
swallow_regex = (foot|kitty|allacritty|Alacritty)
|
||||
|
||||
disable_hyprland_logo = true
|
||||
force_default_wallpaper = 0
|
||||
new_window_takes_over_fullscreen = 2
|
||||
allow_session_lock_restore = true
|
||||
|
||||
initial_workspace_tracking = false
|
||||
|
||||
middle_click_paste = false
|
||||
}
|
||||
|
||||
# Overview
|
||||
plugin {
|
||||
hyprexpo {
|
||||
columns = 3
|
||||
gap_size = 5
|
||||
bg_col = rgb(000000)
|
||||
workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
|
||||
enable_gesture = true # laptop touchpad, 4 fingers
|
||||
gesture_distance = 300 # how far is the "max"
|
||||
gesture_positive = false
|
||||
}
|
||||
}
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
165
hypr/hyprland/keybinds.conf
Executable file
165
hypr/hyprland/keybinds.conf
Executable file
@@ -0,0 +1,165 @@
|
||||
# Lines ending with `# [hidden]` won't be shown on cheatsheet
|
||||
# Lines starting with #! are section headings
|
||||
|
||||
#!
|
||||
##! Apps
|
||||
bind = Super, C, exec, code --password-store=gnome-libsecret # Launch VSCode (editor)
|
||||
bind = Super, E, exec, nautilus --new-window # Launch Dolphin (file manager)
|
||||
bind = Super, W, exec, firefox --new-window # Launch Firefox
|
||||
bind = Super, X, exec, gnome-text-editor --new-window # Launch GNOME Text Editor
|
||||
bind = Super, B, exec, ghostty -e btop # Launch btop (system monitor)
|
||||
bind = Ctrl+Super, V, exec, pavucontrol # Launch pavucontrol (volume mixer)
|
||||
bind = Ctrl+Super+Shift, V, exec, easyeffects # Launch EasyEffects (equalizer & other audio effects)
|
||||
|
||||
#!
|
||||
##! Essentials
|
||||
bind = Super, T, exec, kitty # Launch kitty (terminal)
|
||||
bind = Super+Shift, T, exec, ghostty # Launch ghostty (terminal)
|
||||
bind = Super, Return, exec, kitty # [hidden]
|
||||
bind = Super+Shift, Return, exec, ghostty # [hidden]
|
||||
bind = Super, Super_L, exec, pkill fuzzel || fuzzel # Launch fuzzel (app launcher)
|
||||
bind = Alt, Space, exec, pkill fuzzel || fuzzel # [hidden] Launch fuzzel (app launcher)
|
||||
# bind = , mouse:276, exec, pkill fuzzel || fuzzel # [hidden] Launch fuzzel (app launcher)
|
||||
bind = Super, Space, exec, pkill fuzzel || fuzzel -d -l 0 | xargs -r -I{} bash -c '{}' # Launch fuzzel (command launcher)
|
||||
|
||||
##! Actions
|
||||
# Screenshot, Record, OCR, Color picker, Clipboard history
|
||||
bind = Super, V, exec, pkill fuzzel || cliphist list | fuzzel --match-mode fzf --dmenu | cliphist decode | wl-copy # Clipboard history >> clipboard
|
||||
bind = Super, Period, exec, pkill fuzzel || ~/.scripts/fuzzel-emoji # Pick emoji >> clipboard
|
||||
bind = Ctrl+Shift+Alt, Delete, exec, pkill wlogout || wlogout -p layer-shell # [hidden]
|
||||
bind = Super+Shift, S, exec, hyprshot -m region # Screen snip
|
||||
bind = , Print, exec, hyprshot -m region # Screen snip
|
||||
# Color picker
|
||||
bind = Super+Shift, C, exec, hyprpicker -a # Pick color (Hex) >> clipboard
|
||||
# Fullscreen screenshot
|
||||
# bindl=,Print,exec,grim - | wl-copy # Screenshot >> clipboard
|
||||
# bindl= Ctrl,Print, exec, mkdir -p ~/Pictures/Screenshots && ~/.config/ags/scripts/grimblast.sh copysave screen ~/Pictures/Screenshots/Screenshot_"$(date '+%Y-%m-%d_%H.%M.%S')".png # Screenshot >> clipboard & file
|
||||
# Recording stuff
|
||||
# bind = Super+Alt, R, exec, ~/.config/ags/scripts/record-script.sh # Record region (no sound)
|
||||
# bind = Ctrl+Alt, R, exec, ~/.config/ags/scripts/record-script.sh --fullscreen # [hidden] Record screen (no sound)
|
||||
bind = Super+Alt, R, exec, ~/.scripts/record-script.sh --fullscreen-sound # Record screen (with sound)
|
||||
# wallpaper
|
||||
bind = Super+Shift, W, exec, fish ~/.scripts/change_wallpaper.fish # Change wallpaper
|
||||
|
||||
##! Session
|
||||
# bind = Ctrl+Super, L, exec, ags run-js 'lock.lock()' # [hidden]
|
||||
bind = Super, L, exec, loginctl lock-session # Lock
|
||||
bindl = Super+Shift, L, exec, sleep 0.1 && systemctl suspend || loginctl suspend # Suspend system
|
||||
bind = Ctrl+Shift+Alt+Super, Delete, exec, systemctl poweroff || loginctl poweroff # [hidden] Power off
|
||||
|
||||
#!
|
||||
##! Media
|
||||
bindl= Super+Shift, N, exec, playerctl next # Next track
|
||||
bindl= ,XF86AudioNext, exec, playerctl next # [hidden]
|
||||
bindl= ,XF86AudioPrev, exec, playerctl previous # [hidden]
|
||||
bind = Super+Shift+Alt, mouse:275, exec, playerctl previous # [hidden]
|
||||
bind = Super+Shift+Alt, mouse:276, exec, playerctl next # [hidden]
|
||||
bindl= Super+Shift, B, exec, playerctl previous # Previous track
|
||||
bindl= Super+Shift, P, exec, playerctl play-pause # Play/pause media
|
||||
bindl= ,XF86AudioPlay, exec, playerctl play-pause # [hidden]
|
||||
bindl= ,XF86AudioPause, exec, playerctl play-pause # [hidden]
|
||||
|
||||
#!
|
||||
##! Sound & Brightness
|
||||
bindl = Alt ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle # [hidden]
|
||||
bindl = Super ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle # [hidden]
|
||||
bindl = ,XF86AudioMute, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0% # [hidden]
|
||||
bindl = Super+Shift,M, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0% # [hidden]
|
||||
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ # [hidden]
|
||||
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- # [hidden]
|
||||
bindle=, XF86MonBrightnessUp, exec, brightnessctl -d intel_backlight set 5%+ # [hidden]
|
||||
bindle=, XF86MonBrightnessDown, exec, brightnessctl -d intel_backlight set 5%- # [hidden]
|
||||
|
||||
#!
|
||||
##! Window management
|
||||
# Focusing
|
||||
#/# bind = Super, ←/↑/→/↓,, # Move focus in direction
|
||||
bind = Super, Left, movefocus, l # [hidden]
|
||||
bind = Super, Right, movefocus, r # [hidden]
|
||||
bind = Super, Up, movefocus, u # [hidden]
|
||||
bind = Super, Down, movefocus, d # [hidden]
|
||||
bindm = Super, mouse:272, movewindow
|
||||
bindm = Super, mouse:273, resizewindow
|
||||
bind = Super, Q, killactive,
|
||||
bind = Super, mouse:274, killactive # [hidden] Kill active window
|
||||
bind = Super+Shift+Alt, Q, exec, hyprctl kill # Pick and kill a window
|
||||
|
||||
##! Window arrangement
|
||||
#/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction
|
||||
bind = Super+Shift, Left, movewindow, l # [hidden]
|
||||
bind = Super+Shift, Right, movewindow, r # [hidden]
|
||||
bind = Super+Shift, Up, movewindow, u # [hidden]
|
||||
bind = Super+Shift, Down, movewindow, d # [hidden]
|
||||
# Window split ratio<
|
||||
#/# binde = Super, +/-,, # Window: split ratio +/- 0.1
|
||||
binde = Super, udiaeresis, splitratio, -0.1 # [hidden]
|
||||
binde = Super, plus, splitratio, +0.1 # [hidden]
|
||||
# Positioning mode
|
||||
bind = Super+Alt, Space, togglefloating,
|
||||
bind = Super, mouse:276, togglefloating # [hidden]
|
||||
bind = Super+Alt, F, fullscreenstate, 0 3 # Toggle fake fullscreen
|
||||
bind = Super, F, fullscreen, 0
|
||||
bind = Super, D, fullscreen, 1
|
||||
|
||||
#!
|
||||
##! Workspace navigation
|
||||
# Switching
|
||||
#/# bind = Super, Hash,, # Focus workspace # (1, 2, 3, 4, ...)
|
||||
bind = Super, 1, exec, ~/.scripts/hyprland_workspace_action.sh workspace 1 # [hidden]
|
||||
bind = Super, 2, exec, ~/.scripts/hyprland_workspace_action.sh workspace 2 # [hidden]
|
||||
bind = Super, 3, exec, ~/.scripts/hyprland_workspace_action.sh workspace 3 # [hidden]
|
||||
bind = Super, 4, exec, ~/.scripts/hyprland_workspace_action.sh workspace 4 # [hidden]
|
||||
bind = Super, 5, exec, ~/.scripts/hyprland_workspace_action.sh workspace 5 # [hidden]
|
||||
bind = Super, 6, exec, ~/.scripts/hyprland_workspace_action.sh workspace 6 # [hidden]
|
||||
bind = Super, 7, exec, ~/.scripts/hyprland_workspace_action.sh workspace 7 # [hidden]
|
||||
bind = Super, 8, exec, ~/.scripts/hyprland_workspace_action.sh workspace 8 # [hidden]
|
||||
bind = Super, 9, exec, ~/.scripts/hyprland_workspace_action.sh workspace 9 # [hidden]
|
||||
bind = Super, 0, exec, ~/.scripts/hyprland_workspace_action.sh workspace 10 # [hidden]
|
||||
#/# bind = Ctrl+Super, ←/→,, # Workspace: focus left/right
|
||||
bind = Ctrl+Super, Right, workspace, +1 # [hidden]
|
||||
bind = Ctrl+Super, Left, workspace, -1 # [hidden]
|
||||
#/# bind = Super, Scroll ↑/↓,, # Workspace: focus left/right
|
||||
bind = Super, mouse_up, workspace, +1 # [hidden]
|
||||
bind = Super, mouse_down, workspace, -1 # [hidden]
|
||||
bind = Ctrl+Super, mouse_up, workspace, +1 # [hidden]
|
||||
bind = Ctrl+Super, mouse_down, workspace, -1 # [hidden]
|
||||
#/# bind = Super, Page_↑/↓,, # Workspace: focus left/right
|
||||
bind = Super, Page_Down, workspace, +1 # [hidden]
|
||||
bind = Super, Page_Up, workspace, -1 # [hidden]
|
||||
bind = Ctrl+Super, Page_Down, workspace, +1 # [hidden]
|
||||
bind = Ctrl+Super, Page_Up, workspace, -1 # [hidden]
|
||||
## Special
|
||||
bind = Super, S, togglespecialworkspace, s
|
||||
bind = Super, mouse:275, togglespecialworkspace, s # [hidden]
|
||||
|
||||
##! Workspace management
|
||||
# Move window to workspace Super + Alt + [0-9]
|
||||
#/# bind = Super+Alt, Hash,, # Window: move to workspace # (1, 2, 3, 4, ...)
|
||||
bind = Super+Alt, 1, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 1 # [hidden]
|
||||
bind = Super+Alt, 2, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 2 # [hidden]
|
||||
bind = Super+Alt, 3, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 3 # [hidden]
|
||||
bind = Super+Alt, 4, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 4 # [hidden]
|
||||
bind = Super+Alt, 5, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 5 # [hidden]
|
||||
bind = Super+Alt, 6, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 6 # [hidden]
|
||||
bind = Super+Alt, 7, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 7 # [hidden]
|
||||
bind = Super+Alt, 8, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 8 # [hidden]
|
||||
bind = Super+Alt, 9, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 9 # [hidden]
|
||||
bind = Super+Alt, 0, exec, ~/.scripts/hyprland_workspace_action.sh movetoworkspacesilent 10 # [hidden]
|
||||
bind = Ctrl+Super+Shift, Right, movetoworkspace, +1 # [hidden]
|
||||
bind = Ctrl+Super+Shift, Left, movetoworkspace, -1 # [hidden]
|
||||
bind = Ctrl+Super, Up, workspace, -5 # [hidden]
|
||||
bind = Ctrl+Super, Down, workspace, +5 # [hidden]
|
||||
#/# bind = Super+Shift, Scroll ↑/↓,, # Window: move to workspace left/right
|
||||
bind = Super+Shift, mouse_down, movetoworkspace, -1 # [hidden]
|
||||
bind = Super+Shift, mouse_up, movetoworkspace, +1 # [hidden]
|
||||
bind = Super+Alt, mouse_down, movetoworkspace, -1 # [hidden]
|
||||
bind = Super+Alt, mouse_up, movetoworkspace, +1 # [hidden]
|
||||
#/# bind = Super+Shift, Page_↑/↓,, # Window: move to workspace left/right
|
||||
bind = Super+Alt, Page_Down, movetoworkspace, +1 # [hidden]
|
||||
bind = Super+Alt, Page_Up, movetoworkspace, -1 # [hidden]
|
||||
bind = Super+Shift, Page_Down, movetoworkspace, +1 # [hidden]
|
||||
bind = Super+Shift, Page_Up, movetoworkspace, -1 # [hidden]
|
||||
bind = Super+Alt, S, movetoworkspace, special:s
|
||||
bind = Super, P, pin
|
||||
bind = Alt, Tab, cyclenext
|
||||
bind = Super, Tab, hyprexpo:expo, toggle # can be: toggle, select, off/disable or on/enable
|
||||
81
hypr/hyprland/rules.conf
Executable file
81
hypr/hyprland/rules.conf
Executable file
@@ -0,0 +1,81 @@
|
||||
# ######## Window rules ########
|
||||
|
||||
# Uncomment to apply global transparency to all windows:
|
||||
# windowrulev2 = opacity 0.89 override 0.89 override, class:.*
|
||||
|
||||
# Disable blur for XWayland windows (or context menus with shadow would look weird)
|
||||
windowrulev2 = noblur, xwayland:1
|
||||
|
||||
# kitty
|
||||
windowrulev2 = float, class:^(com.mitchellh.ghostty)$
|
||||
windowrulev2 = size 60%, class:^(com.mitchellh.ghostty)$
|
||||
|
||||
# Floating
|
||||
windowrulev2 = float, class:^(blueberry\.py)$
|
||||
windowrulev2 = float, class:^(blueman-manager)$
|
||||
windowrulev2 = size 45%, class:^(blueman-manager)$
|
||||
windowrulev2 = float, class:^(pavucontrol)$
|
||||
windowrulev2 = size 45%, class:^(pavucontrol)$
|
||||
windowrulev2 = center, class:^(pavucontrol)$
|
||||
windowrulev2 = float, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrulev2 = size 45%, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrulev2 = center, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrulev2 = float, class:^(Waydroid)$
|
||||
windowrulev2 = float, class:^(org.kde.kcalc)$
|
||||
windowrulev2 = float, class:^(org.kde.kalk)$
|
||||
windowrulev2 = float, class:^(org.gnome.NautilusPreviewer)$ # Sushi in Nautilus
|
||||
|
||||
# Picture-in-Picture
|
||||
windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = keepaspectratio, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = move 73% 72%, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = size 25%, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = pin, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
|
||||
# Dialog windows – float+center these windows.
|
||||
windowrulev2 = center, title:^(Open File)(.*)$
|
||||
windowrulev2 = center, title:^(Select a File)(.*)$
|
||||
windowrulev2 = center, title:^(Choose wallpaper)(.*)$
|
||||
windowrulev2 = center, title:^(Open Folder)(.*)$
|
||||
windowrulev2 = center, title:^(Save As)(.*)$
|
||||
windowrulev2 = center, title:^(Library)(.*)$
|
||||
windowrulev2 = center, title:^(File Upload)(.*)$
|
||||
windowrulev2 = float, title:^(Open File)(.*)$
|
||||
windowrulev2 = float, title:^(Select a File)(.*)$
|
||||
windowrulev2 = float, title:^(Choose wallpaper)(.*)$
|
||||
windowrulev2 = float, title:^(Open Folder)(.*)$
|
||||
windowrulev2 = float, title:^(Save As)(.*)$
|
||||
windowrulev2 = float, title:^(Library)(.*)$
|
||||
windowrulev2 = float, title:^(File Upload)(.*)$
|
||||
|
||||
|
||||
# --- Tearing ---
|
||||
windowrulev2 = immediate, title:.*\.exe
|
||||
windowrulev2 = immediate, class:^(steam_app)
|
||||
|
||||
# No shadow for tiled windows (matches windows that are not floating).
|
||||
windowrulev2 = noshadow, floating:0
|
||||
|
||||
# ######## Workspace rules ########
|
||||
workspace = special:special, gapsout:30
|
||||
|
||||
# ######## Layer rules ########
|
||||
layerrule = xray 1, .*
|
||||
# layerrule = noanim, .*
|
||||
layerrule = noanim, walker
|
||||
layerrule = noanim, selection
|
||||
layerrule = noanim, overview
|
||||
layerrule = noanim, anyrun
|
||||
layerrule = noanim, indicator.*
|
||||
layerrule = noanim, osk
|
||||
layerrule = noanim, hyprpicker
|
||||
|
||||
layerrule = noanim, noanim
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = ignorezero, gtk-layer-shell
|
||||
layerrule = blur, launcher
|
||||
layerrule = ignorealpha 0.5, launcher
|
||||
layerrule = blur, notifications
|
||||
layerrule = ignorealpha 0.69, notifications
|
||||
layerrule = blur, logout_dialog # wlogout
|
||||
Reference in New Issue
Block a user