update hyprland config
This commit is contained in:
parent
bd102d6753
commit
75452f4c81
5 changed files with 375 additions and 241 deletions
242
Configs/hypr/.config/hypr/base.conf
Normal file
242
Configs/hypr/.config/hypr/base.conf
Normal file
|
|
@ -0,0 +1,242 @@
|
||||||
|
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
||||||
|
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
||||||
|
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
||||||
|
# |___/|_|
|
||||||
|
#
|
||||||
|
# ╰────────────────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
|
||||||
|
# ╭──────────────────────────────────────────────────────────╮
|
||||||
|
# │ Autostart apps │
|
||||||
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
# ── System apps ─────────────────────────────────────────────────────────
|
||||||
|
# exec-once = pipewire
|
||||||
|
exec-once = /usr/lib/pam_kwallet_init
|
||||||
|
exec-once = udieskie
|
||||||
|
exec-once = hyprctl setcursor catppuccin-macchiato-lavender-cursors 24
|
||||||
|
|
||||||
|
# ── Utils ───────────────────────────────────────────────────────────────
|
||||||
|
exec-once = wpaperd -d
|
||||||
|
|
||||||
|
# ╭──────────────────────────────────────────────────────────╮
|
||||||
|
# │ Config │
|
||||||
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
# Source a file (multi-file configs)
|
||||||
|
source = ~/.config/hypr/theme.conf
|
||||||
|
|
||||||
|
# ── Monitors ──────────────────────────────────────────────────────────
|
||||||
|
monitor = , preferred, auto, 1
|
||||||
|
monitorv2 {
|
||||||
|
output = desc:GWD ARZOPA 000000000000
|
||||||
|
mode = 1920x1080@60, transform
|
||||||
|
position = auto
|
||||||
|
scale = 1
|
||||||
|
transform = 3 # rotate 180°
|
||||||
|
supports_wide_color = true
|
||||||
|
supports_hdr = true
|
||||||
|
}
|
||||||
|
monitor = WAYLAND-1, disable # hack for when running manually
|
||||||
|
|
||||||
|
# Workaround for wrong wpaperd texture on vertical screen
|
||||||
|
# https://github.com/hyprwm/Hyprland/issues/9408#issuecomment-2661608482
|
||||||
|
render {
|
||||||
|
expand_undersized_textures = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── Input devides ─────────────────────────────────────────────────────
|
||||||
|
input {
|
||||||
|
kb_layout = latam
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options = caps:escape
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 2
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = true
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── General config ────────────────────────────────────────────────────
|
||||||
|
general {
|
||||||
|
gaps_in = 5
|
||||||
|
gaps_out = 10
|
||||||
|
border_size = 2
|
||||||
|
|
||||||
|
col.active_border = $teal $teal
|
||||||
|
col.inactive_border = $surface1 $surface1
|
||||||
|
|
||||||
|
# snap {
|
||||||
|
# enabled = true
|
||||||
|
# }
|
||||||
|
|
||||||
|
layout = master
|
||||||
|
}
|
||||||
|
|
||||||
|
# decoration {
|
||||||
|
# rounding = 2
|
||||||
|
# drop_shadow = true
|
||||||
|
# shadow_range = 4
|
||||||
|
# shadow_render_power = 3
|
||||||
|
# col.shadow = rgba($baseAlphaee)
|
||||||
|
# }
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
animation = windows, 1, 5, default, slide
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
|
animation = fade, 1, 7, default
|
||||||
|
animation = workspaces, 1, 6, default
|
||||||
|
animation = specialWorkspace, 1, 8, default, fade
|
||||||
|
}
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = true
|
||||||
|
workspace_swipe_invert = true
|
||||||
|
workspace_swipe_distance = 200
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
enable_swallow = true
|
||||||
|
swallow_regex = ^(Alacritty|kitty|footclient)$
|
||||||
|
# swallow_exception_regex = ""
|
||||||
|
|
||||||
|
mouse_move_focuses_monitor = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── Layouts ───────────────────────────────────────────────────────────
|
||||||
|
master {
|
||||||
|
new_status = slave
|
||||||
|
mfact = 0.5
|
||||||
|
# slave_count_for_center_master = 4
|
||||||
|
}
|
||||||
|
|
||||||
|
# ╭──────────────────────────────────────────────────────────╮
|
||||||
|
# │ Windows rules │
|
||||||
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
windowrulev2 = float, class:org.gnome.Nautilus
|
||||||
|
windowrulev2 = float, class:xdg-desktop-portal-gtk
|
||||||
|
|
||||||
|
# ╭───────────────────────────────────────────────────────────╮
|
||||||
|
# │ Workspaces rules │
|
||||||
|
# ╰───────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
workspace = 1, monitor:HDMI-A-1, persistent:true
|
||||||
|
workspace = 2, monitor:HDMI-A-1, persistent:true
|
||||||
|
workspace = 3, monitor:HDMI-A-1, persistent:true
|
||||||
|
workspace = 4, monitor:HDMI-A-1, persistent:true
|
||||||
|
workspace = 5, monitor:HDMI-A-1, persistent:true
|
||||||
|
|
||||||
|
workspace = 6, monitor:HDMI-A-2, persistent:true
|
||||||
|
workspace = 7, monitor:HDMI-A-2, persistent:true
|
||||||
|
workspace = 8, monitor:HDMI-A-2, persistent:true
|
||||||
|
workspace = 9, monitor:HDMI-A-2, persistent:true
|
||||||
|
|
||||||
|
# ╭──────────────────────────────────────────────────────────╮
|
||||||
|
# │ Keybindings │
|
||||||
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
$mainMod = SUPER
|
||||||
|
|
||||||
|
# $menu = bemenu-run -iwn --binding vim --vim-esc-exits --scrollbar autohide --fixed-height --counter always -l 20 -P '>' -p 'Open:' -B 2 -R 5 --cw '5x' --fn 'JetBrainsMono 13' --bdr '##$tealAlpha' --ab '##$baseAlpha' --af '##$textAlpha' --fb '##$baseAlpha' --ff '##$textAlpha' --cf '##$mauveAlpha' --hb '##$surface0Alpha' --hf '##$tealAlpha' --nb '##$baseAlpha' --nf '##$textAlpha' --tb '##$mauveAlpha' --tf '##$baseAlpha' --scb '##$surface0Alpha' --scf '##$mauveAlpha'
|
||||||
|
$menu = rofi -show drun -run-command "uwsm app -- {cmd}"
|
||||||
|
|
||||||
|
# ── Spawn ─────────────────────────────────────────────────────────────
|
||||||
|
bind = $mainMod SHIFT, E, exec, uwsm stop
|
||||||
|
bind = $mainMod, return, exec, kitty
|
||||||
|
bind = $mainMod SHIFT, q, killactive,
|
||||||
|
bind = $mainMod, D, exec, $menu
|
||||||
|
|
||||||
|
# screenshot current window
|
||||||
|
bind = SHIFT, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy && notify-send "Screenshot taken!"
|
||||||
|
# screenshot area and edit it
|
||||||
|
bind = SHIFT CTRL, Print, exec, grim -g "$(slurp -d)" - | swappy -f - && notify-send "Screenshot taken!"
|
||||||
|
# screenshot area
|
||||||
|
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy && notify-send "Screenshot taken!"
|
||||||
|
|
||||||
|
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bind = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||||
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bind = , XF86AudioNext, exec, playerctl next
|
||||||
|
bind = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||||
|
|
||||||
|
# ── Window Options ────────────────────────────────────────────────────
|
||||||
|
bind = $mainMod SHIFT, space, togglefloating,
|
||||||
|
bind = $mainMod, f, fullscreen, 1 # preserve gaps and bar
|
||||||
|
bind = $mainMod SHIFT, f, fullscreen, 0 # use whole screen
|
||||||
|
bind = $mainMod SHIFT, s, toggleswallow
|
||||||
|
|
||||||
|
# ── Focus ─────────────────────────────────────────────────────────────
|
||||||
|
bind = $mainMod, h, movefocus, l
|
||||||
|
bind = $mainMod, j, movefocus, d
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, l, movefocus, r
|
||||||
|
|
||||||
|
bind = $mainMod + SHIFT, h, movewindow, l
|
||||||
|
bind = $mainMod + SHIFT, j, movewindow, d
|
||||||
|
bind = $mainMod + SHIFT, k, movewindow, u
|
||||||
|
bind = $mainMod + SHIFT, l, movewindow, r
|
||||||
|
|
||||||
|
bind = $mainMod, bar, workspace, previous
|
||||||
|
bind = $mainMod CTRL, bar, focusmonitor, +1
|
||||||
|
bind = $mainMod, space, focusurgentorlast
|
||||||
|
bind = $mainMod, tab, cyclenext, visible
|
||||||
|
bind = $mainMod SHIFT, tab, cyclenext, visible prev
|
||||||
|
|
||||||
|
# ── Layout ──────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
bind = $mainMod, plus, layoutmsg, mfact +0.1
|
||||||
|
bind = $mainMod, minus, layoutmsg, mfact -0.1
|
||||||
|
bind = $mainMod CTRL, 0, layoutmsg, mfact exact 0.5
|
||||||
|
bind = $mainMod, n, layoutmsg, addmaster
|
||||||
|
bind = $mainMod SHIFT, n, layoutmsg, removemaster
|
||||||
|
bind = $mainMod, m, layoutmsg, rollprev
|
||||||
|
bind = $mainMod SHIFT, m, layoutmsg, rollnext
|
||||||
|
bind = $mainMod, s, layoutmsg, orientationcycle
|
||||||
|
|
||||||
|
|
||||||
|
# ── Workspaces ────────────────────────────────────────────────────────
|
||||||
|
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 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, 0, togglespecialworkspace, scratchpad
|
||||||
|
bind = $mainMod SHIFT, 0, movetoworkspace, special:scratchpad
|
||||||
|
|
||||||
|
# ── Mouse ─────────────────────────────────────────────────────────────
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
34
Configs/hypr/.config/hypr/hypridle.conf
Normal file
34
Configs/hypr/.config/hypr/hypridle.conf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
general {
|
||||||
|
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||||
|
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||||
|
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 600 # 10min.
|
||||||
|
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
|
on-resume = brightnessctl -r # monitor backlight restore.
|
||||||
|
}
|
||||||
|
|
||||||
|
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||||
|
# listener {
|
||||||
|
# timeout = 300 # 2.5min.
|
||||||
|
# on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
|
||||||
|
# on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||||
|
# }
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 900 # 15min
|
||||||
|
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 330 # 5.5min
|
||||||
|
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||||
|
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired.
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 1800 # 30min
|
||||||
|
on-timeout = systemctl suspend # suspend pc
|
||||||
|
}
|
||||||
|
|
@ -1,241 +1 @@
|
||||||
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
source = base.conf
|
||||||
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
|
||||||
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
|
||||||
# |___/|_|
|
|
||||||
#
|
|
||||||
# ╰────────────────────────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────────────╮
|
|
||||||
# │ Autostart apps │
|
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
# ── System apps ─────────────────────────────────────────────────────────
|
|
||||||
exec-once = pipewire
|
|
||||||
exec-once = udieskie
|
|
||||||
exec-once = hyprctl setcursor catppuccin-macchiato-lavender-cursors 24
|
|
||||||
|
|
||||||
# ── Utils ───────────────────────────────────────────────────────────────
|
|
||||||
exec-once = wpaperd -d
|
|
||||||
exec-once = hyprpaper
|
|
||||||
exec-once = mako
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────────────╮
|
|
||||||
# │ Config │
|
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
|
||||||
source = ~/.config/hypr/theme.conf
|
|
||||||
|
|
||||||
# ── Monitors ──────────────────────────────────────────────────────────
|
|
||||||
monitor = , preferred, auto, 1
|
|
||||||
monitorv2 {
|
|
||||||
output = desc:GWD ARZOPA 000000000000
|
|
||||||
mode = 1920x1080@60, transform
|
|
||||||
position = auto
|
|
||||||
scale = 1
|
|
||||||
transform = 3 # rotate 180°
|
|
||||||
supports_wide_color = true
|
|
||||||
supports_hdr = true
|
|
||||||
}
|
|
||||||
monitor = WAYLAND-1, disable # hack for when running manually
|
|
||||||
|
|
||||||
# Workaround for wrong wpaperd texture on vertical screen
|
|
||||||
# https://github.com/hyprwm/Hyprland/issues/9408#issuecomment-2661608482
|
|
||||||
render {
|
|
||||||
expand_undersized_textures = false
|
|
||||||
}
|
|
||||||
|
|
||||||
# ── Input devides ─────────────────────────────────────────────────────
|
|
||||||
input {
|
|
||||||
kb_layout = latam
|
|
||||||
kb_variant =
|
|
||||||
kb_model =
|
|
||||||
kb_options = caps:escape
|
|
||||||
kb_rules =
|
|
||||||
|
|
||||||
follow_mouse = 2
|
|
||||||
|
|
||||||
touchpad {
|
|
||||||
natural_scroll = true
|
|
||||||
}
|
|
||||||
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
}
|
|
||||||
|
|
||||||
# ── General config ────────────────────────────────────────────────────
|
|
||||||
general {
|
|
||||||
gaps_in = 5
|
|
||||||
gaps_out = 10
|
|
||||||
border_size = 2
|
|
||||||
|
|
||||||
col.active_border = $teal $teal
|
|
||||||
col.inactive_border = $surface1 $surface1
|
|
||||||
|
|
||||||
# snap {
|
|
||||||
# enabled = true
|
|
||||||
# }
|
|
||||||
|
|
||||||
layout = master
|
|
||||||
}
|
|
||||||
|
|
||||||
# decoration {
|
|
||||||
# rounding = 2
|
|
||||||
# drop_shadow = true
|
|
||||||
# shadow_range = 4
|
|
||||||
# shadow_render_power = 3
|
|
||||||
# col.shadow = rgba($baseAlphaee)
|
|
||||||
# }
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
animation = windows, 1, 5, default, slide
|
|
||||||
animation = border, 1, 10, default
|
|
||||||
animation = borderangle, 1, 8, default
|
|
||||||
animation = fade, 1, 7, default
|
|
||||||
animation = workspaces, 1, 6, default
|
|
||||||
animation = specialWorkspace, 1, 8, default, fade
|
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
|
||||||
workspace_swipe = true
|
|
||||||
workspace_swipe_invert = false
|
|
||||||
}
|
|
||||||
|
|
||||||
misc {
|
|
||||||
enable_swallow = true
|
|
||||||
swallow_regex = ^(Alacritty|kitty|footclient)$
|
|
||||||
# swallow_exception_regex = ""
|
|
||||||
|
|
||||||
mouse_move_focuses_monitor = false
|
|
||||||
}
|
|
||||||
|
|
||||||
# ── Layouts ───────────────────────────────────────────────────────────
|
|
||||||
master {
|
|
||||||
new_status = slave
|
|
||||||
mfact = 0.5
|
|
||||||
# slave_count_for_center_master = 4
|
|
||||||
}
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────────────╮
|
|
||||||
# │ Windows rules │
|
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
windowrulev2 = float, class:org.gnome.Nautilus
|
|
||||||
windowrulev2 = float, class:xdg-desktop-portal-gtk
|
|
||||||
|
|
||||||
# ╭───────────────────────────────────────────────────────────╮
|
|
||||||
# │ Workspaces rules │
|
|
||||||
# ╰───────────────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
workspace = 1, monitor:HDMI-A-1, persistent:true
|
|
||||||
workspace = 2, monitor:HDMI-A-1, persistent:true
|
|
||||||
workspace = 3, monitor:HDMI-A-1, persistent:true
|
|
||||||
workspace = 4, monitor:HDMI-A-1, persistent:true
|
|
||||||
workspace = 5, monitor:HDMI-A-1, persistent:true
|
|
||||||
|
|
||||||
workspace = 6, monitor:HDMI-A-2, persistent:true
|
|
||||||
workspace = 7, monitor:HDMI-A-2, persistent:true
|
|
||||||
workspace = 8, monitor:HDMI-A-2, persistent:true
|
|
||||||
workspace = 9, monitor:HDMI-A-2, persistent:true
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────────────╮
|
|
||||||
# │ Keybindings │
|
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
|
||||||
|
|
||||||
$mainMod = SUPER
|
|
||||||
|
|
||||||
# $menu = bemenu-run -iwn --binding vim --vim-esc-exits --scrollbar autohide --fixed-height --counter always -l 20 -P '>' -p 'Open:' -B 2 -R 5 --cw '5x' --fn 'JetBrainsMono 13' --bdr '##$tealAlpha' --ab '##$baseAlpha' --af '##$textAlpha' --fb '##$baseAlpha' --ff '##$textAlpha' --cf '##$mauveAlpha' --hb '##$surface0Alpha' --hf '##$tealAlpha' --nb '##$baseAlpha' --nf '##$textAlpha' --tb '##$mauveAlpha' --tf '##$baseAlpha' --scb '##$surface0Alpha' --scf '##$mauveAlpha'
|
|
||||||
$menu = rofi -show drun -run-command "uwsm app -- {cmd}"
|
|
||||||
|
|
||||||
# ── Spawn ─────────────────────────────────────────────────────────────
|
|
||||||
bind = $mainMod SHIFT, E, exec, uwsm stop
|
|
||||||
bind = $mainMod, return, exec, kitty
|
|
||||||
bind = $mainMod SHIFT, q, killactive,
|
|
||||||
bind = $mainMod, D, exec, $menu
|
|
||||||
|
|
||||||
# screenshot current window
|
|
||||||
bind = SHIFT, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy && notify-send "Screenshot taken!"
|
|
||||||
# screenshot area and edit it
|
|
||||||
bind = SHIFT CTRL, Print, exec, grim -g "$(slurp -d)" - | swappy -f - && notify-send "Screenshot taken!"
|
|
||||||
# screenshot area
|
|
||||||
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy && notify-send "Screenshot taken!"
|
|
||||||
|
|
||||||
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
bind = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
||||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
|
||||||
bind = , XF86AudioNext, exec, playerctl next
|
|
||||||
bind = , XF86AudioPrev, exec, playerctl previous
|
|
||||||
bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
|
||||||
|
|
||||||
# ── Window Options ────────────────────────────────────────────────────
|
|
||||||
bind = $mainMod SHIFT, space, togglefloating,
|
|
||||||
bind = $mainMod, f, fullscreen, 1 # preserve gaps and bar
|
|
||||||
bind = $mainMod SHIFT, f, fullscreen, 0 # use whole screen
|
|
||||||
bind = $mainMod SHIFT, s, toggleswallow
|
|
||||||
|
|
||||||
# ── Focus ─────────────────────────────────────────────────────────────
|
|
||||||
bind = $mainMod, h, movefocus, l
|
|
||||||
bind = $mainMod, j, movefocus, d
|
|
||||||
bind = $mainMod, k, movefocus, u
|
|
||||||
bind = $mainMod, l, movefocus, r
|
|
||||||
|
|
||||||
bind = $mainMod + SHIFT, h, movewindow, l
|
|
||||||
bind = $mainMod + SHIFT, j, movewindow, d
|
|
||||||
bind = $mainMod + SHIFT, k, movewindow, u
|
|
||||||
bind = $mainMod + SHIFT, l, movewindow, r
|
|
||||||
|
|
||||||
bind = $mainMod, bar, workspace, previous
|
|
||||||
bind = $mainMod CTRL, bar, focusmonitor, +1
|
|
||||||
bind = $mainMod, space, focusurgentorlast
|
|
||||||
bind = $mainMod, tab, cyclenext, visible
|
|
||||||
bind = $mainMod SHIFT, tab, cyclenext, visible prev
|
|
||||||
|
|
||||||
# ── Layout ──────────────────────────────────────────────────────────────
|
|
||||||
|
|
||||||
bind = $mainMod, plus, layoutmsg, mfact +0.1
|
|
||||||
bind = $mainMod, minus, layoutmsg, mfact -0.1
|
|
||||||
bind = $mainMod CTRL, 0, layoutmsg, mfact exact 0.5
|
|
||||||
bind = $mainMod, n, layoutmsg, addmaster
|
|
||||||
bind = $mainMod SHIFT, n, layoutmsg, removemaster
|
|
||||||
bind = $mainMod, m, layoutmsg, rollprev
|
|
||||||
bind = $mainMod SHIFT, m, layoutmsg, rollnext
|
|
||||||
bind = $mainMod, s, layoutmsg, orientationcycle
|
|
||||||
|
|
||||||
|
|
||||||
# ── Workspaces ────────────────────────────────────────────────────────
|
|
||||||
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 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, 0, togglespecialworkspace, scratchpad
|
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, special:scratchpad
|
|
||||||
|
|
||||||
# ── Mouse ─────────────────────────────────────────────────────────────
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
|
||||||
|
|
||||||
|
|
|
||||||
95
Configs/hypr/.config/hypr/hyprlock.conf
Normal file
95
Configs/hypr/.config/hypr/hyprlock.conf
Normal file
|
|
@ -0,0 +1,95 @@
|
||||||
|
# sample hyprlock.conf
|
||||||
|
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
|
||||||
|
#
|
||||||
|
# rendered text in all widgets supports pango markup (e.g. <b> or <i> tags)
|
||||||
|
# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks
|
||||||
|
#
|
||||||
|
# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace
|
||||||
|
#
|
||||||
|
# you can get started by copying this config to ~/.config/hypr/hyprlock.conf
|
||||||
|
#
|
||||||
|
|
||||||
|
$font = Monospace
|
||||||
|
|
||||||
|
general {
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# uncomment to enable fingerprint authentication
|
||||||
|
# auth {
|
||||||
|
# fingerprint {
|
||||||
|
# enabled = true
|
||||||
|
# ready_message = Scan fingerprint to unlock
|
||||||
|
# present_message = Scanning...
|
||||||
|
# retry_delay = 250 # in milliseconds
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
bezier = linear, 1, 1, 0, 0
|
||||||
|
animation = fadeIn, 1, 5, linear
|
||||||
|
animation = fadeOut, 1, 5, linear
|
||||||
|
animation = inputFieldDots, 1, 2, linear
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
blur_passes = 2
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 30%, 5%
|
||||||
|
outline_thickness = 2
|
||||||
|
inner_color = rgba(0, 0, 0, 0.0) # no fill
|
||||||
|
|
||||||
|
outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg
|
||||||
|
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
|
||||||
|
|
||||||
|
font_color = rgb(143, 143, 143)
|
||||||
|
fade_on_empty = false
|
||||||
|
rounding = 15
|
||||||
|
|
||||||
|
font_family = $font
|
||||||
|
placeholder_text = Input password...
|
||||||
|
fail_text = $PAMFAIL
|
||||||
|
|
||||||
|
# uncomment to use a letter instead of a dot to indicate the typed password
|
||||||
|
# dots_text_format = *
|
||||||
|
# dots_size = 0.4
|
||||||
|
dots_spacing = 0.3
|
||||||
|
|
||||||
|
# uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
|
||||||
|
hide_input = false
|
||||||
|
|
||||||
|
position = 0, 0
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
|
||||||
|
font_size = 90
|
||||||
|
font_family = $font
|
||||||
|
|
||||||
|
position = 0, -100
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
|
||||||
|
position = 0, -270
|
||||||
|
halign = center
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
@ -3,6 +3,9 @@ duration = "10m"
|
||||||
mode = "center"
|
mode = "center"
|
||||||
sorting = "random"
|
sorting = "random"
|
||||||
|
|
||||||
|
[any]
|
||||||
|
path = "~/Pictures/Wallpapers/"
|
||||||
|
|
||||||
[HDMI-A-1]
|
[HDMI-A-1]
|
||||||
path = "~/Pictures/Wallpapers/Landscape/"
|
path = "~/Pictures/Wallpapers/Landscape/"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue