889 lines
24 KiB
Plaintext
889 lines
24 KiB
Plaintext
################
|
|
### MONITORS ###
|
|
################
|
|
|
|
source = ~/.config/hypr/monitors.conf
|
|
|
|
###################
|
|
### MY PROGRAMS ###
|
|
###################
|
|
|
|
$terminal = kitty
|
|
$fastTerminal = kitty --single-instance
|
|
$fileManager = thunar
|
|
$menu = $HOME/.config/rofi/launchers/type-1/launcher.sh & swaync-client -cp
|
|
$recorder = $HOME/.config/rofi/scripts/dmenu_recorder.sh
|
|
$powermenu = $HOME/.config/rofi/scripts/dmenu_powermenu.sh
|
|
$powermodemenu = $HOME/.config/rofi/scripts/dmenu_powermodemenu.sh
|
|
$browser = env GTK_THEME=Adwaita:light zen-browser
|
|
$privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
|
|
$notificationCenter = pkill rofi & swaync-client -t -sw || notify-send --hint int:transient:1 "Error SwayNC is down"
|
|
|
|
$mpdpass = kapuchinamusica
|
|
$startDelay = sleep 2
|
|
|
|
#################
|
|
### AUTOSTART ###
|
|
#################
|
|
|
|
exec-once = sh -c '[[ $(cat "$HOME/.config/waybar/goal.txt") != "." ]] && swaync-client -C && notify-send -u critical -i "$HOME/Pictures/Fetch/atheism_paint.png" "Reminder" "$(cat $HOME/.config/waybar/goal.txt)"'
|
|
exec-once = swww-daemon
|
|
exec-once = wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 50% && play -v 0.7 ~/.config/hypr/sound/login.ogg
|
|
exec-once = ~/.config/waybar/run.sh
|
|
exec-once = $startDelay && hypridle
|
|
exec-once = $startDelay && hyprsunset
|
|
exec-once = $startDelay && /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
exec-once = $startDelay && thunar --daemon
|
|
exec-once = $startDelay && [workspace 8 silent] AyuGram
|
|
exec-once = $startDelay && swaync
|
|
exec-once = $startDelay && mullvad-vpn
|
|
exec-once = $startDelay && touch /tmp/toggle_ssocks
|
|
exec-once = $startDelay && ~/.config/hypr/scripts/autofreeze_swww.sh
|
|
exec-once = $startDelay && ~/.config/fastfetch/scripts/fetch_update_count.sh
|
|
exec-once = $startDelay && ~/.config/hypr/scripts/toggle_proxy.sh
|
|
exec-once = $startDelay && ~/.config/hypr/scripts/sounds.sh
|
|
exec-once = $startDelay && ~/.config/hypr/scripts/random_wallpaper.sh
|
|
exec-once = $startDelay && ~/.config/hypr/scripts/autofreezer.sh
|
|
|
|
exec-shutdown = play -v 0.7 $HOME/Templates/Sounds/teleport.mp3
|
|
|
|
#############################
|
|
### ENVIRONMENT VARIABLES ###
|
|
#############################
|
|
|
|
env = XCURSOR_SIZE,24
|
|
env = HYPRCURSOR_SIZE,24
|
|
|
|
###################
|
|
### PERMISSIONS ###
|
|
###################
|
|
|
|
#####################
|
|
### LOOK AND FEEL ###
|
|
#####################
|
|
|
|
general {
|
|
gaps_in = 15
|
|
gaps_out = 25
|
|
border_size = 1
|
|
col.active_border = rgba(E96375ff) rgba(9E2238ff) 45deg
|
|
col.inactive_border = rgba(4B535Bff) # rgba(595959aa)
|
|
resize_on_border = true
|
|
hover_icon_on_border = true
|
|
allow_tearing = true # false
|
|
layout = dwindle
|
|
no_focus_fallback = true
|
|
|
|
snap {
|
|
enabled = true
|
|
}
|
|
}
|
|
|
|
decoration {
|
|
rounding = 15
|
|
rounding_power = 2
|
|
border_part_of_window = 0
|
|
active_opacity = 1.0
|
|
inactive_opacity = 1.0
|
|
|
|
shadow {
|
|
enabled = false # true
|
|
range = 4
|
|
render_power = 3
|
|
color = rgba(1a1a1aee)
|
|
}
|
|
|
|
blur {
|
|
enabled = true
|
|
size = 1
|
|
passes = 3
|
|
ignore_opacity = true
|
|
|
|
new_optimizations = true
|
|
vibrancy = 0.5
|
|
noise = 0
|
|
contrast = 1
|
|
}
|
|
}
|
|
|
|
group {
|
|
col.border_active = rgba(E96375ff) rgba(EB75FFff) 45deg
|
|
col.border_inactive = rgba(F9730032) rgba(FB850032) 45deg
|
|
|
|
groupbar {
|
|
text_color = rgba(ffffff00)
|
|
render_titles = false
|
|
indicator_height = 10
|
|
rounding = 5
|
|
round_only_edges = false
|
|
col.active = rgba(F8859Eff)
|
|
col.inactive = rgba(32323264) rgba(32323264) 45deg
|
|
gaps_in = 5
|
|
gaps_out = 2
|
|
|
|
}
|
|
}
|
|
|
|
source = ~/.config/hypr/grayscale.conf
|
|
|
|
animations {
|
|
enabled = true
|
|
|
|
bezier = easeOutQuint,0.23,1,0.32,1
|
|
bezier = easeInOutCubic,0.65,0.05,0.36,1
|
|
bezier = linear,0,0,1,1
|
|
bezier = almostLinear,0.5,0.5,0.75,1.0
|
|
bezier = quick,0.15,0,0.1,1
|
|
|
|
animation = global, 1, 10, default
|
|
animation = border, 1, 5.39, easeOutQuint
|
|
animation = windows, 1, 4.79, easeOutQuint
|
|
animation = windowsIn, 1, 5, easeOutQuint, popin 0%
|
|
animation = windowsOut, 1, 10, linear, popin 0%
|
|
animation = fadeIn, 1, 1.73, almostLinear
|
|
animation = fadeOut, 1, 1.46, almostLinear
|
|
animation = fade, 1, 3.03, quick
|
|
animation = layers, 1, 3.81, easeOutQuint
|
|
animation = layersIn, 1, 4, easeOutQuint, fade
|
|
animation = layersOut, 1, 1.5, linear, fade
|
|
animation = fadeLayersIn, 1, 1.79, almostLinear
|
|
animation = fadeLayersOut, 1, 1.39, almostLinear
|
|
animation = workspaces, 1, 1.94, almostLinear, fade
|
|
animation = workspacesIn, 1, 4, easeOutQuint, slide
|
|
animation = workspacesOut, 1, 4, easeOutQuint, slide
|
|
animation = specialWorkspaceIn, 1, 5, easeOutQuint, slide bottom
|
|
animation = specialWorkspaceOut, 1, 8, easeOutQuint, slide top
|
|
animation = layers, 1, 7, default, slide
|
|
}
|
|
|
|
workspace = 1, monitor:eDP-1
|
|
workspace = 2, monitor:eDP-1
|
|
workspace = 3, monitor:eDP-1
|
|
workspace = 4, monitor:eDP-1
|
|
workspace = 5, monitor:eDP-1
|
|
workspace = 6, monitor:eDP-1
|
|
workspace = 7, monitor:eDP-1
|
|
workspace = 8, monitor:eDP-1
|
|
workspace = 9, monitor:eDP-1
|
|
workspace = 10, monitor:HDMI-A-1
|
|
workspace = 11, monitor:HDMI-A-1
|
|
workspace = 12, monitor:HDMI-A-1
|
|
workspace = 13, monitor:eDP-1
|
|
workspace = 14, monitor:HDMI-A-1
|
|
workspace = 13, on-created-empty:hyprctl dispatch workspace 1
|
|
workspace = 14, on-created-empty:hyprctl dispatch workspace 10
|
|
|
|
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_resizing = false
|
|
force_split = 2
|
|
}
|
|
|
|
master {
|
|
new_status = master
|
|
}
|
|
|
|
render {
|
|
direct_scanout = 1
|
|
}
|
|
|
|
misc {
|
|
force_default_wallpaper = 1
|
|
disable_hyprland_logo = true
|
|
vfr = true
|
|
animate_manual_resizes = true
|
|
enable_swallow = true
|
|
swallow_regex = ^(kitty)$
|
|
middle_click_paste = false
|
|
enable_anr_dialog = false
|
|
render_unfocused_fps = 1
|
|
size_limits_tiled = true
|
|
}
|
|
|
|
##############
|
|
### CURSOR ###
|
|
##############
|
|
|
|
cursor {
|
|
warp_on_change_workspace = 1
|
|
}
|
|
|
|
#############
|
|
### INPUT ###
|
|
#############
|
|
|
|
input {
|
|
kb_layout= us,ru
|
|
kb_options= grp:caps_toggle,grp_led:caps
|
|
repeat_rate = 25
|
|
repeat_delay = 200
|
|
|
|
follow_mouse = 2
|
|
float_switch_override_focus = 0
|
|
|
|
sensitivity = 0.025
|
|
|
|
touchpad {
|
|
natural_scroll = true
|
|
disable_while_typing = true
|
|
middle_button_emulation = true
|
|
}
|
|
}
|
|
|
|
gestures {
|
|
# Workspaces
|
|
gesture = 4, horizontal, scale: 2, workspace
|
|
workspace_swipe_forever = true
|
|
workspace_swipe_direction_lock = false
|
|
workspace_swipe_touch = true
|
|
gesture = 3, vertical, dispatcher, exec, pkill rofi || $menu
|
|
|
|
# Notification center
|
|
gesture = 3, horizontal, dispatcher, exec, $notificationCenter
|
|
|
|
# Volume control
|
|
gesture = 4, up, scale: 0.1, dispatcher, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 10%+
|
|
gesture = 4, down, dispatcher, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 10%-
|
|
}
|
|
|
|
device {
|
|
name = gxtp7863:00-27c6:01e0-touchpad
|
|
sensitivity = 0.5
|
|
}
|
|
|
|
###################
|
|
### KEYBINDINGS ###
|
|
###################
|
|
|
|
$mainMod = SUPER
|
|
|
|
# Exit hyprland
|
|
bind = $mainMod ALT, Q, exit,
|
|
|
|
# Shutdown
|
|
bind = $mainMod SHIFT, delete, exec, shutdown now
|
|
|
|
# Menu dropdown
|
|
bind = $mainMod, P, sendshortcut, , Menu, activewindow
|
|
|
|
# Open programs
|
|
bind = $mainMod, Return, exec, $terminal
|
|
bind = $mainMod, E, exec, $fileManager
|
|
bind = $mainMod, Q, exec, $browser
|
|
bind = $mainMod SHIFT, Q, exec, $privateBrowser
|
|
bind = $mainMod, Backslash, exec, $fastTerminal
|
|
bind = $mainMod, Space, exec, pkill rofi || $menu
|
|
bind = $mainMod, G, exec, pkill rofi || $recorder
|
|
bind = $mainMod, N, exec, $notificationCenter
|
|
|
|
# Open floating terminal
|
|
bind = $mainMod SHIFT, Return, exec, $fastTerminal --class kitty-float
|
|
|
|
# Open bluetooth
|
|
bind = $mainMod, F3, exec, $fastTerminal --class kitty-float bluetui
|
|
|
|
# Open alsamixer
|
|
bind = $mainMod, F2, exec, $fastTerminal --class kitty-float alsamixer -V all
|
|
|
|
# Open ncmpcpp
|
|
bind = $mainMod, F1, exec, $fastTerminal --class kitty-float ncmpcpp
|
|
|
|
# Close window
|
|
binde = $mainMod, W, killactive,
|
|
|
|
# Kill window
|
|
binde = $mainMod SHIFT, W, forcekillactive,
|
|
|
|
# Change window modes
|
|
bind = $mainMod, S, togglefloating,
|
|
bind = $mainMod, T, settiled,
|
|
bind = $mainMod, F, fullscreen,
|
|
bind = $mainMod CTRL, P, pin
|
|
|
|
# Bring to top
|
|
bind = $mainMod, Z, bringactivetotop
|
|
|
|
# Make window float and center it
|
|
bind = $mainMod SHIFT, S, setfloating,
|
|
bind = $mainMod SHIFT, S, resizeactive, exact 800 600
|
|
bind = $mainMod SHIFT, S, centerwindow,
|
|
|
|
bind = $mainMod, D, togglesplit, # dwindle
|
|
|
|
# Screenshots
|
|
bind = $mainMod SHIFT, Print, exec, grimblast --freeze copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg && play ~/Templates/Sounds/camera_shutter1.mp3
|
|
bind = $mainMod, Print, exec, play ~/Templates/Sounds/camera_shutter1.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
|
|
bind = $mainMod SHIFT, XF86AudioNext, exec, grimblast --freeze copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg && play ~/Templates/Sounds/photo.mp3
|
|
bind = $mainMod, XF86AudioNext, exec, play ~/Templates/Sounds/camera_shutter1.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
|
|
|
|
# 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
|
|
|
|
# Switch workspaces with mainMod + [0,1,2,3,4,5,6,7,8,9,0,-,=]
|
|
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, minus, workspace, 11
|
|
bind = $mainMod, equal, workspace, 12
|
|
|
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
|
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
|
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
|
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
|
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
|
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
|
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
|
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
|
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
|
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
|
bind = $mainMod SHIFT, minus, movetoworkspacesilent, 11
|
|
bind = $mainMod SHIFT, equal, movetoworkspacesilent, 12
|
|
|
|
# Cycle monitors
|
|
bind = $mainMod CTRL, U, swapactiveworkspaces, eDP-1 HDMI-A-1
|
|
bind = $mainMod, O, focusmonitor, +1
|
|
|
|
# Example special workspace (scratchpad)
|
|
bind = $mainMod, M, togglespecialworkspace, magic
|
|
bind = $mainMod SHIFT, M, movetoworkspace, special:magic
|
|
|
|
# Scroll through existing workspaces with mainMod + scroll
|
|
bind = $mainMod, bracketleft, workspace, r-1
|
|
bind = $mainMod, bracketright, workspace, r+1
|
|
bind = $mainMod SHIFT, bracketleft, workspace, m-1
|
|
bind = $mainMod SHIFT, bracketright, workspace, m+1
|
|
|
|
bind = $mainMod, grave, togglespecialworkspace, dungeon
|
|
bind = $mainMod SHIFT, grave, movetoworkspace, special:dungeon
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
bindm = SUPER, ALT_L, resizewindow
|
|
|
|
# Zoom
|
|
binde = $mainMod CTRL, equal, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float * 1.1')
|
|
binde = $mainMod CTRL, minus, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '(.float * 0.9) | if . < 1 then 1 else . end')
|
|
|
|
# Move windows with keyboard
|
|
bind = $mainMod SHIFT, h, swapwindow, l
|
|
bind = $mainMod SHIFT, l, swapwindow, r
|
|
bind = $mainMod SHIFT, j, swapwindow, d
|
|
bind = $mainMod SHIFT, k, swapwindow, u
|
|
|
|
# Cycle through windows with mainMod + C
|
|
bind = $mainMod, C, cyclenext
|
|
bind = $mainMod SHIFT, C, cyclenext, prev
|
|
bind = $mainMod, X, cyclenext, visible floating
|
|
|
|
bind = $mainMod, R, swapnext
|
|
bind = $mainMod SHIFT, R, swapnext, prev
|
|
|
|
# Go to previous window and back
|
|
bind = ALT, TAB, focuscurrentorlast
|
|
bind = $mainMod, I, toggleswallow
|
|
bindp = $mainMod, Tab, workspace, previous
|
|
|
|
# Resize windows in different directions via keyboard
|
|
binde = $mainMod ALT, h, resizeactive, -60 0
|
|
binde = $mainMod ALT, l, resizeactive, 60 0
|
|
binde = $mainMod ALT, j, resizeactive, 0 60
|
|
binde = $mainMod ALT, k, resizeactive, 0 -60
|
|
binde = $mainMod ALT SHIFT, h, resizeactive, 60 0
|
|
binde = $mainMod ALT SHIFT, l, resizeactive, -60 0
|
|
binde = $mainMod ALT SHIFT, j, resizeactive, 0 -60
|
|
binde = $mainMod ALT SHIFT, k, resizeactive, 0 60
|
|
|
|
# Swap windows in different directions via keyboard
|
|
binde = $mainMod, Left, moveactive, -100 0
|
|
binde = $mainMod, Right, moveactive, 100 0
|
|
binde = $mainMod, Down, moveactive, 0 100
|
|
binde = $mainMod, Up, moveactive, 0 -100
|
|
|
|
# Move windows in different directions via keyboard
|
|
bind = $mainMod SHIFT, Left, movewindow, l
|
|
bind = $mainMod SHIFT, Right, movewindow, r
|
|
bind = $mainMod SHIFT, Down, movewindow, d
|
|
bind = $mainMod SHIFT, Up, movewindow, u
|
|
|
|
# Receptacles
|
|
bind = $mainMod CTRL, H, layoutmsg, preselect l
|
|
bind = $mainMod CTRL, L, layoutmsg, preselect r
|
|
bind = $mainMod CTRL, J, layoutmsg, preselect d
|
|
bind = $mainMod CTRL, K, layoutmsg, preselect u
|
|
|
|
# Window grouping
|
|
bind = $mainMod CTRL ALT, M, togglegroup
|
|
bind = $mainMod, comma, changegroupactive, b
|
|
bind = $mainMod, period, changegroupactive, f
|
|
bind = $mainMod CTRL ALT, Up, movewindoworgroup, u
|
|
bind = $mainMod CTRL ALT, Down, movewindoworgroup, d
|
|
bind = $mainMod CTRL ALT, Left, movewindoworgroup, l
|
|
bind = $mainMod CTRL ALT, Right, movewindoworgroup, r
|
|
|
|
# Laptop multimedia keys for volume and LCD brightness
|
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
bindl = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|
|
bindl = $mainMod, XF86MonBrightnessUp, exec, brightnessctl set 60%
|
|
bindl = $mainMod, XF86MonBrightnessDown, exec, brightnessctl set 0
|
|
|
|
# Requires playerctl
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
|
|
# Toggle waybar
|
|
bind = $mainMod SHIFT, B, exec, ~/.config/waybar/run.sh toggle
|
|
|
|
# Toggle grayscale mode
|
|
bind = $mainMod CTRL, G, exec, ~/.config/hypr/scripts/grayscale-toggle.sh
|
|
|
|
# Game mode
|
|
bind = $mainMod SHIFT, G, exec, ~/.config/hypr/scripts/gamemode.sh
|
|
|
|
# Enable reserved space
|
|
bind = $mainMod, B, exec, ~/.config/hypr/scripts/reserved_space.sh
|
|
|
|
# Powermode and CPU frequency menu
|
|
bind = $mainMod CTRL, C, exec, pkill rofi || $powermodemenu &
|
|
|
|
# Pin window
|
|
bind = $mainMod CTRL, Y, pin, active
|
|
|
|
# Mark window
|
|
bind = $mainMod CTRL, M, tagwindow, marked
|
|
|
|
# Close marked windows
|
|
bind = $mainMod CTRL, W, exec, ~/.config/hypr/scripts/close_marked.sh
|
|
|
|
# Move marked to current workspace
|
|
bind = $mainMod, Y, exec, ~/.config/hypr/scripts/move_marked.sh
|
|
|
|
# Freeze window
|
|
bind = $mainMod SHIFT, T, exec, hyprfreeze -a -s
|
|
bind = $mainMod SHIFT, F, tagwindow, zawarudo
|
|
|
|
# Lock screen
|
|
bind = $mainMod, Backspace, exec, hyprlock
|
|
|
|
# Lock screen and sleep
|
|
bind = $mainMod ALT, Backspace, exec, systemctl suspend
|
|
|
|
# Shutdown
|
|
bind = $mainMod SHIFT, Backspace, exec, shutdown now
|
|
|
|
# Toggle privacy for window
|
|
bind = $mainMod SHIFT, U, tagwindow, privacy
|
|
# Toggle privacy expose for window
|
|
bind = $mainMod SHIFT, I, tagwindow, privacyexpose
|
|
|
|
# Discord PTT
|
|
bindr = , F8, sendshortcut, CTRL SHIFT, F8, class:^(vesktop)$
|
|
|
|
# Telegram PTT
|
|
binde = $mainMod CTRL, F9, tagwindow, voicechatuz
|
|
bindr = , F9, sendshortcut, , F9, class:com.ayugram.desktop
|
|
|
|
windowrule {
|
|
name = windowrule-1
|
|
border_color = rgba(ffff00ff) rgba(ffff0055)
|
|
match:tag = voicechatuz
|
|
}
|
|
|
|
# Zen - focus searchbar
|
|
bindrn = CTRL, Space, sendshortcut, , F6, class:^(zen)$
|
|
|
|
# OBS
|
|
bindr = $mainMod CTRL, bracketleft, pass, class:^(com.obsproject.Studio)$
|
|
bindr = $mainMod CTRL, bracketright, pass, class:^(com.obsproject.Studio)$
|
|
bindr = $mainMod CTRL, apostrophe, pass, class:^(com.obsproject.Studio)$
|
|
|
|
bind = , XF86PowerOff, exec, $powermenu
|
|
bind = $mainMod SHIFT, p, exec, .config/hypr/scripts/random_wallpaper.sh random
|
|
|
|
# Disable binds temporarily
|
|
bind = $mainMod, Escape, submap, clean
|
|
submap = clean
|
|
bind = $mainMod, Escape, submap, reset
|
|
submap = reset
|
|
|
|
# Easymove submap
|
|
bind = $mainMod SHIFT, Space, submap, ezmv
|
|
submap = ezmv
|
|
bind = , h, sendshortcut, , Left, activewindow
|
|
bind = , j, sendshortcut, , Down, activewindow
|
|
bind = , k, sendshortcut, , Up, activewindow
|
|
bind = , l, sendshortcut, , Right, activewindow
|
|
bind = , g, sendshortcut, , Home, activewindow
|
|
bind = SHIFT, g, sendshortcut, , End, activewindow
|
|
bind = $mainMod SHIFT, Space, submap, reset
|
|
bind = $mainMod, Tab, submap, reset
|
|
|
|
bind = $mainMod, Escape, submap, reset
|
|
submap = reset
|
|
|
|
# Activate MPD submap with $mainMod + U
|
|
bind = $mainMod, U, submap, mpd
|
|
|
|
# Define the MPD submap
|
|
submap = mpd
|
|
|
|
# MPD controls (actions that exit submap)
|
|
bind = , P, exec, mpc --password $mpdpass toggle
|
|
bind = SHIFT, H, exec, mpc --password $mpdpass prev
|
|
bind = SHIFT, L, exec, mpc --password $mpdpass next
|
|
|
|
# MPD Seek
|
|
binde = , H, exec, mpc --password $mpdpass seek "-00:00:5"
|
|
binde = , L, exec, mpc --password $mpdpass seek "+00:00:5"
|
|
|
|
# Volume controls (remain in submap for repeated adjustments)
|
|
bind = , J, exec, mpc --password $mpdpass volume -5
|
|
bind = , K, exec, mpc --password $mpdpass volume +5
|
|
|
|
# Alternative exit methods
|
|
bind = , escape, submap, reset
|
|
bind = , Return, submap, reset
|
|
bind = , Space, submap, reset
|
|
|
|
# End the submap definition
|
|
submap = reset
|
|
|
|
##############################
|
|
### WINDOWS AND WORKSPACES ###
|
|
##############################
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
# Floating kitty
|
|
windowrule {
|
|
name = windowrule-21
|
|
float = on
|
|
size = 600 400
|
|
center = on
|
|
match:class = ^(kitty-float)$
|
|
}
|
|
|
|
|
|
windowrule {
|
|
name = windowrule-3
|
|
workspace = special:dungeon
|
|
match:class = org.freedesktop.Xwayland
|
|
}
|
|
|
|
|
|
# Zenity
|
|
windowrule {
|
|
name = windowrule-4
|
|
float = on
|
|
match:class = ^(zenity)$
|
|
}
|
|
|
|
|
|
# Super Productivity
|
|
windowrule {
|
|
name = windowrule-5
|
|
workspace = 7 silent
|
|
match:class = ^(superProductivity)$
|
|
}
|
|
|
|
|
|
# Telegram
|
|
windowrule {
|
|
name = windowrule-6
|
|
workspace = 8 silent
|
|
group = set
|
|
match:class = ^(com.ayugram.desktop)$
|
|
}
|
|
|
|
|
|
# Vesktop
|
|
windowrule {
|
|
name = windowrule-7
|
|
workspace = 8 silent
|
|
group = override set always
|
|
match:class = ^(vesktop)$
|
|
}
|
|
|
|
|
|
# Element
|
|
windowrule {
|
|
name = windowrule-8
|
|
workspace = 8 silent
|
|
group = override set always
|
|
match:class = ^(Element)$
|
|
}
|
|
|
|
# Steam
|
|
windowrule {
|
|
name = windowrule-9
|
|
workspace = 7 silent
|
|
group = set
|
|
match:class = ^(steam)$
|
|
}
|
|
|
|
# Screensharing protection
|
|
source = ~/.config/hypr/privacy.conf
|
|
windowrule {
|
|
name = windowrule-10
|
|
no_screen_share = on
|
|
border_color = rgba(cc00ffff) rgba(630063ff) 90deg
|
|
match:tag = privacy
|
|
}
|
|
|
|
windowrule {
|
|
name = windowrule-11
|
|
no_screen_share = 0
|
|
border_color = rgba(ff0000ff) rgba(ff0000ff) 90deg
|
|
dim_around = on
|
|
match:tag = privacyexpose
|
|
}
|
|
|
|
# com.saivert.pwvucontrol
|
|
windowrule {
|
|
name = windowrule-12
|
|
float = on
|
|
size = 600 400
|
|
move = (center)
|
|
match:class = ^(com.saivert.pwvucontrol)$
|
|
}
|
|
|
|
# Frozen windows
|
|
windowrule {
|
|
name = windowrule-13
|
|
border_color = rgba(E96375ff) rgba(00ffff55) 90deg
|
|
match:tag = zawarudo
|
|
}
|
|
|
|
# Marked windows
|
|
windowrule {
|
|
name = windowrule-14
|
|
border_color = rgba(0000ffff) rgba(aa00ffa5)
|
|
match:tag = marked
|
|
}
|
|
|
|
# Ignore maximize requests from apps. You'll probably like this.
|
|
windowrule {
|
|
name = windowrule-15
|
|
suppress_event = maximize
|
|
match:class = .*
|
|
}
|
|
|
|
# Fix some dragging issues with XWayland
|
|
windowrule {
|
|
name = windowrule-16
|
|
no_focus = on
|
|
match:class = ^$
|
|
match:title = ^$
|
|
match:xwayland = 1
|
|
match:float = 1
|
|
match:fullscreen = 0
|
|
match:pin = 0
|
|
}
|
|
|
|
# rofi
|
|
layerrule {
|
|
name = layerrule-1
|
|
ignore_alpha = 0
|
|
dim_around = on
|
|
blur = on
|
|
animation = slide bottom
|
|
match:namespace = rofi
|
|
}
|
|
|
|
# swaync
|
|
layerrule {
|
|
name = layerrule-2
|
|
blur = on
|
|
dim_around = on
|
|
ignore_alpha = 0
|
|
animation = slideIn right
|
|
match:namespace = swaync-control-center
|
|
}
|
|
|
|
layerrule {
|
|
name = layerrule-3
|
|
blur = on
|
|
above_lock = on
|
|
ignore_alpha = 0
|
|
animation = slideIn right
|
|
match:namespace = swaync-notification-window
|
|
}
|
|
|
|
# waybar
|
|
layerrule {
|
|
name = layerrule-4
|
|
ignore_alpha = 0.6
|
|
blur = on
|
|
animation = fadeIn
|
|
match:namespace = waybar
|
|
}
|
|
|
|
# Adjustments for certain workspaces
|
|
workspace = special:magic, gapsin:20, gapsout:50, shadow:false
|
|
workspace = 9, gapsin:15, gapsout:40
|
|
|
|
###############
|
|
### PLUGINS ###
|
|
###############
|
|
exec-once = hyprpm reload
|
|
|
|
# # Easymotion
|
|
# bind = SUPER, x, easymotion, action:hyprctl dispatch focuswindow address:{}
|
|
|
|
# Close unfocused
|
|
# bind = $mainMod SHIFT, x, plugin:xtd:closeunfocused
|
|
|
|
plugin {
|
|
|
|
hyprfocus {
|
|
animation = hyprfocusIn, 1, 3, quick
|
|
animation = hyprfocusOut, 1, 3, quick
|
|
fade_opacity = 0.94
|
|
mode = flash
|
|
}
|
|
hyprbars {
|
|
enabled = true
|
|
bar_height = 18
|
|
bar_color = rgba(1c1c1cce)
|
|
bar_title_enabled = false
|
|
bar_buttons_alignment = right
|
|
bar_blur = true
|
|
icon_on_hover = true
|
|
bar_part_of_window = false
|
|
bar_precedence_over_border = true
|
|
|
|
bar_text_font = "Iosevka Nerd Font Propo"
|
|
bar_text_size = 10
|
|
|
|
hyprbars-button = rgba(ff4040ff), 12, X, hyprctl dispatch killactive
|
|
hyprbars-button = rgba(11ee11ff), 12, F, hyprctl dispatch togglefloating && hyprctl dispatch resizeactive exact 1280 700 && hyprctl dispatch centerwindow
|
|
hyprbars-button = rgba(eeee11ff), 12, Z, hyprctl dispatch tagwindow zawarudo
|
|
inactive_button_color = rgba(D583995c)
|
|
|
|
on_double_click =
|
|
|
|
windowrule {
|
|
name = windowrule-17
|
|
match:plugin = hyprbars:bar_color rgb(261B1E)
|
|
match:class = ^(com.ayugram.desktop)
|
|
}
|
|
|
|
windowrule {
|
|
name = windowrule-18
|
|
match:plugin = hyprbars:bar_color rgb(121214)
|
|
match:class = ^(vesktop)
|
|
}
|
|
|
|
windowrule {
|
|
name = windowrule-19
|
|
match:plugin = hyprbars:bar_color rgb(131313)
|
|
match:class = ^(zen)
|
|
}
|
|
|
|
windowrule {
|
|
name = windowrule-20
|
|
match:plugin = hyprbars:bar_color rgb(F1F3F4)
|
|
match:class = ^(draw.io)
|
|
}
|
|
|
|
windowrule {
|
|
name = windowrule-21
|
|
match:plugin = hyprbars:bar_color rgb(1C1C1C)
|
|
match:class = ^(thunar)
|
|
}
|
|
|
|
windowrule {
|
|
name = windowrule-22
|
|
match:plugin = hyprbars:bar_color rgb(1C1C1C)
|
|
match:float = 1
|
|
}
|
|
|
|
}
|
|
|
|
dynamic-cursors {
|
|
shake {
|
|
threshold = 3
|
|
limit = 15
|
|
timeout = 1
|
|
effects = true
|
|
nearest = true
|
|
}
|
|
}
|
|
|
|
easymotion {
|
|
#font size of the text
|
|
textsize=72
|
|
|
|
#color of the text, takes standard hyprland color format
|
|
textcolor=rgba(ffffffff)
|
|
|
|
#background color of the label box. alpha is respected
|
|
bgcolor=rgba(ff7777a0)
|
|
|
|
#enable blur. The bgcolor alpha must be at least semi-transparent.
|
|
blur=0
|
|
|
|
#Set blur alpha value. Blur must be enabled (float value)
|
|
blurA=1.0
|
|
|
|
#Set xray. Blur must be enabled
|
|
xray=0
|
|
|
|
#font to use for the label. This is passed directly to the pango font description
|
|
textfont=Iosevka Nerd Font Mono
|
|
|
|
#padding around the text (inside the label box) size in pixels, adjusted for
|
|
#monitor scaling. This is the same format as hyprland's gapsin/gapsout workspace layout rule
|
|
#example: textpadding=2 5 5 2 (spaces not commas)
|
|
textpadding=5
|
|
|
|
#size of the border around the label box. A border size of zero disables border rendering.
|
|
bordersize=2
|
|
|
|
#color of the border. takes the same format as hyprland's border (so it can be a gradient)
|
|
bordercolor=rgba(ffffffff)
|
|
|
|
#rounded corners? Same as hyprland's 'decoration:rounding' config
|
|
rounding=1
|
|
|
|
#what to do if a window is fullscreen
|
|
#none: nothing. (easymotion label won't be displayed on that window)
|
|
#toggle: take the window out of fullscreen entirely.
|
|
#maximize: convert the window to maximized.
|
|
#windows are restored to fullscreen after easymotion is exited/selected
|
|
fullscreen_action=none
|
|
|
|
#which keys to use for selecting windows
|
|
motionkeys=abcdefghijklmnopqrstuvwxyZ1234567890
|
|
#which keys to use for labeling windows
|
|
motionlabels=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
|
|
|
|
#if a monitor has a focused special workspace, only put easymotion labels on the windows in the special workspace
|
|
only_special = true
|
|
}
|
|
}
|
|
|
|
debug {
|
|
disable_logs = false
|
|
overlay = false
|
|
}
|