better structure
This commit is contained in:
12
config/hypr/hyprland/colors.conf
Executable file
12
config/hypr/hyprland/colors.conf
Executable file
@@ -0,0 +1,12 @@
|
||||
# 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)
|
||||
}
|
||||
|
||||
windowrulev2 = bordercolor rgba(00DCE3AA) rgba(00DCE377),pinned:1
|
||||
28
config/hypr/hyprland/env.conf
Executable file
28
config/hypr/hyprland/env.conf
Executable file
@@ -0,0 +1,28 @@
|
||||
# ######### 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, kde
|
||||
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 = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
env = NVD_BACKEND,direct
|
||||
#env = AQ_DRM_DEVICES,$HYPR_AQ_DRM_DEVICES
|
||||
|
||||
# ############ others #############
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||
48
config/hypr/hyprland/execs.conf
Executable file
48
config/hypr/hyprland/execs.conf
Executable file
@@ -0,0 +1,48 @@
|
||||
# Switch configs
|
||||
exec-once = config-switch Hyprland
|
||||
|
||||
# Bar, wallpaper
|
||||
exec-once = waybar
|
||||
exec-once = wallpaper-daemon
|
||||
|
||||
# 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
|
||||
exec-once = eww daemon
|
||||
|
||||
# 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"
|
||||
|
||||
# Logitech Mouse
|
||||
exec-once = solaar -w hide
|
||||
|
||||
# Applications associations
|
||||
exec-once = kbuildsycoca6
|
||||
|
||||
# Sunshine
|
||||
exec-once = sunshine
|
||||
186
config/hypr/hyprland/general.conf
Executable file
186
config/hypr/hyprland/general.conf
Executable file
@@ -0,0 +1,186 @@
|
||||
input {
|
||||
# Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
|
||||
kb_layout = de
|
||||
# kb_options = grp:win_space_toggle
|
||||
# kb_options = caps:swapescape
|
||||
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
|
||||
}
|
||||
|
||||
gesture = 4, horizontal, workspace
|
||||
gestures {
|
||||
workspace_swipe_distance = 700
|
||||
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
|
||||
gaps_workspaces = 50
|
||||
border_size = 2
|
||||
|
||||
resize_on_border = true
|
||||
no_focus_fallback = true
|
||||
layout = master
|
||||
|
||||
#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
|
||||
|
||||
snap {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
dwindle {
|
||||
preserve_split = true
|
||||
smart_split = false
|
||||
smart_resizing = false
|
||||
}
|
||||
|
||||
master {
|
||||
new_on_active = after
|
||||
mfact = 0.6
|
||||
orientation = right
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 14
|
||||
|
||||
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
|
||||
input_methods = true
|
||||
input_methods_ignorealpha = 0.8
|
||||
}
|
||||
|
||||
# Shadow
|
||||
shadow {
|
||||
enabled = true
|
||||
ignore_window = true
|
||||
range = 20
|
||||
offset = 0 2
|
||||
render_power = 4
|
||||
color = rgba(0000002A)
|
||||
}
|
||||
|
||||
# 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 = true
|
||||
mouse_move_enables_dpms = true
|
||||
key_press_enables_dpms = true
|
||||
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
|
||||
# focus_on_activate = true
|
||||
|
||||
middle_click_paste = false
|
||||
}
|
||||
|
||||
plugin {
|
||||
hyprexpo {
|
||||
columns = 3
|
||||
gap_size = 5
|
||||
bg_col = rgb(181825)
|
||||
workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
|
||||
enable_gesture = true # laptop touchpad, 4 fingers
|
||||
gesture_distance = 200 # how far is the "max"
|
||||
gesture_positive = false
|
||||
}
|
||||
}
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
debug {
|
||||
# overlay = true
|
||||
disable_logs = false
|
||||
}
|
||||
|
||||
experimental {
|
||||
xx_color_management_v4 = true
|
||||
}
|
||||
175
config/hypr/hyprland/keybinds.conf
Executable file
175
config/hypr/hyprland/keybinds.conf
Executable file
@@ -0,0 +1,175 @@
|
||||
# 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, dolphin --new-window # Launch file manager
|
||||
bind = Super, W, exec, zen --new-window # Launch Browser
|
||||
bind = Super, X, exec, gnome-text-editor # Launch Text Editor
|
||||
bind = Super, B, exec, killall btop || ghostty -e btop # Launch btop (system monitor)
|
||||
bind = Super, Space, exec, eww open main --toggle # Launch dashboard (eww)
|
||||
bind = Super+Shift, V, exec, pavucontrol # Launch pavucontrol (volume mixer)
|
||||
bind = Super+Shift, K, exec, waybar-toggle # Toggle waybar
|
||||
bind = Super+Shift, L, exec, lyrics-widgets # Toggle lyrics player
|
||||
bind = Super+Shift, F, exec, coin # Flip a coin
|
||||
|
||||
#!
|
||||
##! Essentials
|
||||
bind = Super, T, exec, kitty # Launch kitty (terminal)
|
||||
bind = Super, Return, exec, kitty # [hidden]
|
||||
bind = Super+Shift, Return, exec, ghostty # [hidden]
|
||||
bind = Alt, Space, exec, pkill rofi || rofi -show drun # [hidden] Launch app launcher
|
||||
bind = Super, Super_L, exec, pkill rofi || rofi -show drun # [hidden] Launch app launcher
|
||||
bind = Super, R, exec, pkill rofi || rofi -show run # Launch command launcher
|
||||
bind = , mouse:277, exec, killall rofi || rofi -show drun
|
||||
|
||||
##! Actions
|
||||
# Screenshot, Record, OCR, Color picker, Clipboard history
|
||||
bind = Super, V, exec, pkill rofi || cliphist list | rofi -dmenu -config ~/.config/rofi/dmenu.rasi -display-columns 2 -i | cliphist decode | wl-copy # Clipboard history >> clipboard
|
||||
bind = Super, Period, exec, pkill rofi || rofi-emoji # Pick emoji >> clipboard
|
||||
bind = Ctrl+Alt, Delete, exec, pkill wlogout || wlogout -p layer-shell # [hidden]
|
||||
bind = Super+Shift, S, exec, screenshot area # Screen snip
|
||||
bind = Super+Ctrl+Shift, S, exec, screenshot window # Screen snip (window)
|
||||
bind = , Print, exec, screenshot full # Screen snip (whole screen)
|
||||
# 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 # Record region (no sound)
|
||||
# bind = Ctrl+Alt, R, exec, ~/.config/ags/scripts/record-script --fullscreen # [hidden] Record screen (no sound)
|
||||
bind = Super+Alt, R, exec, record-script --fullscreen-sound # Record screen (with sound)
|
||||
# wallpaper
|
||||
bind = Super+Shift, W, exec, wallpaper-chooser # Launch wallpaper chooser
|
||||
|
||||
##! Session
|
||||
# bind = Ctrl+Super, L, exec, ags run-js 'lock.lock()' # [hidden]
|
||||
bind = Super, L, exec, loginctl lock-session # Lock
|
||||
bindl = Ctrl+Shift+Alt+Super, 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 = ,XF86AudioMute, exec, pamixer --toggle-mute # [hidden]
|
||||
bindl = Super+Shift, M, exec, pamixer --toggle-mute # [hidden]
|
||||
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ && wp-vol # [hidden]
|
||||
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && wp-vol # [hidden]
|
||||
|
||||
bindle=, XF86MonBrightnessUp, exec, brightnessctl -d $DISPLAY_DEVICE set 5%+ # [hidden]
|
||||
bindle=, XF86MonBrightnessDown, exec, brightnessctl -d $DISPLAY_DEVICE 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
|
||||
bind = Super, J, togglesplit
|
||||
bind = Super, O, plugin:uyani:organize # https://github.com/Uyanide/hyprplug
|
||||
bind = Super, H, layoutmsg, orientationcycle left right
|
||||
|
||||
#!
|
||||
##! Workspace navigation
|
||||
# Switching
|
||||
#/# bind = Super, Hash,, # Focus workspace # (1, 2, 3, 4, ...)
|
||||
bind = Super, 1, workspace, 1 # [hidden]
|
||||
bind = Super, 2, workspace, 2 # [hidden]
|
||||
bind = Super, 3, workspace, 3 # [hidden]
|
||||
bind = Super, 4, workspace, 4 # [hidden]
|
||||
bind = Super, 5, workspace, 5 # [hidden]
|
||||
bind = Super, 6, workspace, 6 # [hidden]
|
||||
bind = Super, 7, workspace, 7 # [hidden]
|
||||
bind = Super, 8, workspace, 8 # [hidden]
|
||||
bind = Super, 9, workspace, 9 # [hidden]
|
||||
bind = Super, 0, 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, mouse_left, workspace, -1 # [hidden]
|
||||
bind = Super, mouse_right, workspace, +1 # [hidden]
|
||||
bind = Ctrl+Super, mouse_left, workspace, -1 # [hidden]
|
||||
bind = Ctrl+Super, mouse_right, 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, movetoworkspacesilent, 1 # [hidden]
|
||||
bind = Super+Alt, 2, movetoworkspacesilent, 2 # [hidden]
|
||||
bind = Super+Alt, 3, movetoworkspacesilent, 3 # [hidden]
|
||||
bind = Super+Alt, 4, movetoworkspacesilent, 4 # [hidden]
|
||||
bind = Super+Alt, 5, movetoworkspacesilent, 5 # [hidden]
|
||||
bind = Super+Alt, 6, movetoworkspacesilent, 6 # [hidden]
|
||||
bind = Super+Alt, 7, movetoworkspacesilent, 7 # [hidden]
|
||||
bind = Super+Alt, 8, movetoworkspacesilent, 8 # [hidden]
|
||||
bind = Super+Alt, 9, movetoworkspacesilent, 9 # [hidden]
|
||||
bind = Super+Alt, 0, 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+Shift, mouse_left, movetoworkspace, -1 # [hidden]
|
||||
bind = Super+Shift, mouse_right, movetoworkspace, +1 # [
|
||||
#/# bind = Super+Shift, Page_↑/↓,, # Window: move to workspace left/right
|
||||
bind = Super+Shift, Page_Down, movetoworkspace, +1 # [hidden]
|
||||
bind = Super+Shift, Page_Up, movetoworkspace, -1 # [hidden]
|
||||
bind = Super+Alt, S, movetoworkspacesilent, 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
|
||||
bind = Super+Ctrl, T, exec, workspace-new # Create new workspace
|
||||
|
||||
bind = Super, M, exit
|
||||
18
config/hypr/hyprland/monitors.conf
Normal file
18
config/hypr/hyprland/monitors.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
# MONITOR CONFIG
|
||||
monitor=,preferred,auto,1
|
||||
|
||||
# monitor=eDP-1,2560x1600@240,auto,1.25,bitdepth,10
|
||||
monitor=eDP-2,2560x1600@240,auto,1.25,bitdepth,10
|
||||
|
||||
monitorv2 {
|
||||
output = eDP-1
|
||||
mode = 2560x1600@240
|
||||
scale = 1.25
|
||||
bitdepth = 10
|
||||
|
||||
# # comment out following lines to disabled HDR
|
||||
# supports_wide_color = true
|
||||
# supports_hdr = true
|
||||
# cm = hdr
|
||||
# sdrbrightness = 1.4
|
||||
}
|
||||
93
config/hypr/hyprland/rules.conf
Executable file
93
config/hypr/hyprland/rules.conf
Executable file
@@ -0,0 +1,93 @@
|
||||
# ######## 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
|
||||
|
||||
# Disable transparency
|
||||
windowrulev2 = opacity 1 override 1 override, class:^(gimp)$
|
||||
|
||||
# Terminal(s)
|
||||
windowrulev2 = float, class:^(com.mitchellh.ghostty)$
|
||||
windowrulev2 = size 60%, class:^(com.mitchellh.ghostty)$
|
||||
windowrulev2 = opacity 1 override 0.8 override, class:^(com.mitchellh.ghostty)$
|
||||
windowrulev2 = opacity 1 override 0.8 override, class:^(kitty)$
|
||||
|
||||
# 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
|
||||
windowrulev2 = float, class:^(coin)$
|
||||
windowrulev2 = noblur, class:^(coin)$
|
||||
windowrulev2 = bordersize 0, class:^(coin)$
|
||||
windowrulev2 = noshadow, class:^(coin)
|
||||
windowrulev2 = float, class:^(wallpaper-chooser)$
|
||||
windowrulev2 = float, class:^(be.alexandervanhee.gradia)$
|
||||
windowrulev2 = float, title:^(图片查看器)$ # QQ
|
||||
|
||||
# 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