updated hypr conf

This commit is contained in:
2025-09-11 13:39:55 +02:00
parent 7d16572181
commit 9679cb29f0
7 changed files with 70 additions and 19 deletions

View File

@@ -2,8 +2,14 @@
# Autostart necessary processes (like notifications daemons, status bars, etc.) # Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this: # Or execute your favorite apps at launch like this:
exec-once = uwsm app -- nm-applet # exec-once = uwsm app -- waybar
exec-once = uwsm app -- nextcloud --background # exec-once = uwsm app -- nextcloud --background
exec-once = uwsm app -- rclone mount google_drive: ~/gdrive exec-once = uwsm app -- nm-applet --indicator
# exec-once = uwsm app -- rclone mount google_drive: ~/gdrive
exec-once = uwsm app -- protonvpn-app exec-once = uwsm app -- protonvpn-app
# exec-once = uwsm app -- sh -c "/usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized &> /dev/null" exec-once = uwsm app -- hyprpaper
# exec-once = uwsm app -- /usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized &> /dev/null
exec-once = sleep 5 && ~/.config/hypr/scripts/replay-ctrl.sh start
# exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
exec-once = wl-paste --type image --watch cliphist store # Stores only image data

View File

@@ -11,3 +11,4 @@ env = QT_QPA_PLATFORMTHEME,qt6ct
env = LIBVA_DRIVER_NAME,radeonsi env = LIBVA_DRIVER_NAME,radeonsi
env = VDPAU_DRIVER,radeonsi env = VDPAU_DRIVER,radeonsi
env = MOZ_ENABLE_WAYLAND,1 env = MOZ_ENABLE_WAYLAND,1
env = ELECTRON_OZONE_PLATFORM_HINT,wayland

View File

@@ -2,6 +2,7 @@
# https://wiki.hyprland.org/Configuring/Variables/#input # https://wiki.hyprland.org/Configuring/Variables/#input
input { input {
kb_layout = us kb_layout = us
# kb_variant = dvorak-intl, intl
kb_variant = intl kb_variant = intl
kb_model = kb_model =
kb_options = kb_options =
@@ -30,8 +31,3 @@ device {
kb_layout = us kb_layout = us
kb_variant = dvorak-intl kb_variant = dvorak-intl
} }
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
workspace_swipe = false
}

View File

@@ -1,7 +1,13 @@
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
bind = , PRINT, exec, gscreenshot -c -s bindr = ALT, m, exec, cliphist list | fuzzel --dmenu | cliphist decode | wl-copy
bind = , PRINT, exec, grim -g "$(slurp)" - | wl-copy
bindr = ALT SHIFT, z, exec, ~/.config/hypr/scripts/replay-ctrl.sh save
bindr = ALT, z, exec, ~/.config/hypr/scripts/replay-ctrl.sh toggle
bindr = ALT SHIFT, c, exec, ~/.config/hypr/scripts/droidcam-ctrl.sh toggle
# general binds
bind = $mainMod, RETURN, exec, $terminal bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod CTRL, L, exec, hyprlock bind = $mainMod CTRL, L, exec, hyprlock
@@ -9,7 +15,7 @@ bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, F, fullscreen, bind = $mainMod, F, fullscreen,
bind = $mainMod, SPACE, exec, $menu bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, P, exec, ~/.config/hypr/scripts/powermenu.sh & bind = $mainMod, P, exec, ~/.config/hypr/scripts/powermenu.sh
bind = $mainMod, t, togglesplit, # dwindle bind = $mainMod, t, togglesplit, # dwindle
bind = $mainMod, n, togglegroup bind = $mainMod, n, togglegroup

View File

@@ -1,9 +1,10 @@
# See https://wiki.hyprland.org/Configuring/Monitors/ monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@240, 0x0, 1
monitor=eDP-1, preferred, 0x0, 1 # monitorv2 {
# monitor=DP-4, preferred, auto, 1, mirror, eDP-1 # desc = Samsung Electric Company LC27G7xT H4ZRA00734
monitor=,preferred,auto,auto # mode = 2560x1440@240
# trigger when the switch is turning off # position = 0x0
# bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 1920x1080@60, 0x0, 1" # scale = 1
# trigger when the switch is turning on # bitdepth = 10
# bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" # cm = wide
# }

38
hypr/modules/plugins.conf Normal file
View File

@@ -0,0 +1,38 @@
exec-once = hyprpm reload -n
# plugin:hyprfocus {
# enabled = yes
# animate_floating = yes
# animate_workspacechange = yes
# focus_animation = shrink
# # Beziers for focus animations
# bezier = bezIn, 0.5,0.0,1.0,0.5
# bezier = bezOut, 0.0,0.5,0.5,1.0
# bezier = overshot, 0.05, 0.9, 0.1, 1.05
# bezier = smoothOut, 0.36, 0, 0.66, -0.56
# bezier = smoothIn, 0.25, 1, 0.5, 1
# bezier = realsmooth, 0.28,0.29,.69,1.08
# # Flash settings
# flash {
# flash_opacity = 0.95
# in_bezier = realsmooth
# in_speed = 0.5
# out_bezier = realsmooth
# out_speed = 3
# }
# # Shrink settings
# shrink {
# shrink_percentage = 0.95
# in_bezier = realsmooth
# in_speed = 1
# out_bezier = realsmooth
# out_speed = 2
# }
# }
#
# plugin:csgo-vulkan-fix {
# res_w = 1280
# res_h = 960
# class = gamescope
# fix_mouse = true
# }

View File

@@ -1,3 +1,4 @@
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
@@ -14,6 +15,7 @@ windowrulev2=noblur,class:^()$,title:^()$
# Float Windows # Float Windows
windowrulev2=float,title:^(Open File)$ windowrulev2=float,title:^(Open File)$
windowrulev2=float,title:^(Select a File)$ windowrulev2=float,title:^(Select a File)$
windowrulev2=float,title:^(Select Folder)$
windowrulev2=float,title:^(Choose a file)$ windowrulev2=float,title:^(Choose a file)$
windowrulev2=float,title:^(Save As)$ windowrulev2=float,title:^(Save As)$
windowrulev2=float,title:^(Save File)$ windowrulev2=float,title:^(Save File)$
@@ -62,6 +64,7 @@ windowrulev2=noblur,class:^(pavucontrol|blueman-manager|nm-connection-editor)$
windowrulev2=workspace special:magic silent,class:^(Spotify)$ windowrulev2=workspace special:magic silent,class:^(Spotify)$
windowrulev2=workspace special:magic silent,class:^(spotify)$
windowrulev2=workspace special:magic silent,class:^(discord|vesktop)$ windowrulev2=workspace special:magic silent,class:^(discord|vesktop)$
# steam rules # steam rules