up su Gitea
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = been, 0.24, 0.9, 0.25, 0.91
|
||||
bezier = been2, 0,0.94,0.5,0.99
|
||||
bezier = menu_decel, 0.1, 1, 0, 1
|
||||
bezier = linear, 0.0, 0.0, 1.0, 1.0
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = slow, 0, 0.85, 0.3, 1
|
||||
bezier = overshot, 0.7, 0.6, 0.1, 1.1
|
||||
bezier = bounce, 1.1, 1.6, 0.1, 0.85
|
||||
bezier = sligshot, 1, -1, 0.15, 1.25
|
||||
bezier = nice, 0, 6.9, 0.5, -4.20
|
||||
|
||||
animation = windowsIn, 1, 5, slow, popin
|
||||
animation = windowsOut, 1, 7, been, popin 70%
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, linear
|
||||
animation = fade, 1, 5, overshot
|
||||
animation = workspaces, 1, 5, wind
|
||||
animation = windows, 1, 5, bounce, popin
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
accel_profile=flat
|
||||
follow_mouse=1
|
||||
force_no_accel=1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod SHIFT, RETURN, exec, [float; size 800 550] $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0 # exit Hyprland
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, Space, togglefloating,
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, R, exec, ~/.config/hypr/scripts/wbrestart.sh
|
||||
bind = $mainMod, B, exec, xdg-open "https://" # default browser
|
||||
bind = $mainMod, L, exec, ~/.config/hypr/scripts/hyprlock.sh
|
||||
bind = $mainMod SHIFT, F, fullscreen
|
||||
bind = $mainMod SHIFT, S, exec, ~/.config/hypr/scripts/screenshot.sh
|
||||
bind = $mainMod, W, exec, ~/.config/hypr/scripts/wppicker.sh
|
||||
bind = $mainMod SHIFT, Q, exec, ~/.config/hypr/scripts/KillActiveProcess.sh # Kill active process
|
||||
bind = $mainMod, C, exec, hyprpicker -a
|
||||
bind = $mainMod CTRL, B, exec, ~/.config/hypr/scripts/WaybarStyles.sh # Waybar Styles Menu
|
||||
bind = $mainMod ALT, B, exec, ~/.config/hypr/scripts/WaybarLayout.sh # Waybar Layout Menu
|
||||
bind = $mainMod, H, exec, pkill -SIGUSR1 waybar # Hide Waybar
|
||||
bind = $mainMod SHIFT, E, exec, kitty yazi # Yazi File Manager
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Move Windows
|
||||
bind = $mainMod CTRL, left, movewindow, l
|
||||
bind = $mainMod CTRL, right, movewindow, r
|
||||
bind = $mainMod CTRL, up, movewindow, u
|
||||
bind = $mainMod CTRL, down, movewindow, d
|
||||
|
||||
# Resize windows
|
||||
binde = $mainMod SHIFT, left, resizeactive,-50 0
|
||||
binde = $mainMod SHIFT, right, resizeactive,50 0
|
||||
binde = $mainMod SHIFT, up, resizeactive,0 -50
|
||||
binde = $mainMod SHIFT, down, resizeactive,0 50
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
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
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-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 SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
#bind = $mainMod, S, togglespecialworkspace, magic
|
||||
#bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# 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
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, ~/.config/hypr/scripts/volume.sh --inc
|
||||
bindel = ,XF86AudioLowerVolume, exec, ~/.config/hypr/scripts/volume.sh --dec
|
||||
bindel = ,XF86AudioMute, exec, ~/.config/hypr/scripts/volume.sh --toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/brightness.sh --inc
|
||||
bindel = ,XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/brightness.sh --dec
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
|
||||
border_size = 2
|
||||
|
||||
# col.active_border = $outline
|
||||
col.active_border = $primary $secondary 45deg
|
||||
col.inactive_border = $outline_variant
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = true
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 10
|
||||
rounding_power = 2
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
shadow {
|
||||
enabled = false
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 3
|
||||
ignore_opacity = true
|
||||
new_optimizations = true
|
||||
special = false
|
||||
popups = true
|
||||
xray = true
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
windowrule = match:class ^(mpv|vlc)$, tag +multimedia_video
|
||||
windowrule = match:class ^(nm-applet|nm-connection-editor|blueman-manager|org.gnome.FileRoller)$, tag +settings
|
||||
|
||||
windowrule = match:class ^(org.gnome.DiskUtility|wihotspot(-gui)?)$, tag +settings
|
||||
|
||||
|
||||
#windowrule = tag, +multimedia_video, class:(mpv|vlc)$
|
||||
|
||||
|
||||
#windowrule = tag +settings, class:^(nm-applet|nm-connection-editor|blueman-manager|org.gnome.FileRoller)$
|
||||
#windowrule = tag +settings, class:^(org.gnome.DiskUtility|wihotspot(-gui)?)$
|
||||
#windowrule = tag +viewer, class:^(org.gnome.SystemMonitor)$ # system monitor
|
||||
#windowrule = tag +viewer, class:^(org.gnome.Evince)$ # document viewer
|
||||
#windowrule = tag +viewer, class:^(eog|org.gnome.Loupe)$ # image viewer
|
||||
@@ -0,0 +1,41 @@
|
||||
# APPLICATIONS OPACITY
|
||||
# windowrule = opacity 0.8 override, match:class ^(org.gnome.Nautilus)$
|
||||
windowrule = opacity 0.9 override, match:class ^(gedit|org.gnome.TextEditor|mousepad)$
|
||||
windowrule = opacity 0.9 override, match:class ^(org.pulseaudio.pavucontrol)$
|
||||
windowrule = opacity 0.9 override, match:class ^(kitty)$
|
||||
windowrule = opacity 0.85 override 0.7 override 1 override, match:class ^(discord|vesktop|org.telegram.desktop)$
|
||||
windowrule = opacity 0.8 override 0.6 override 1 override, match:class ^(Spotify)$
|
||||
windowrule = opacity 0.9 override 0.7 override 1 override, match:class ^(zen)$
|
||||
|
||||
windowrule = opacity 1.0 override 1 override 1 override, match:class ^(zen-twilight)$
|
||||
|
||||
|
||||
|
||||
# FLOAT & SIZE
|
||||
windowrule = size 900 506, float on, match:tag multimedia_video*
|
||||
windowrule = float on, size 50% 60%, match:class ^(org.pulseaudio.pavucontrol)$
|
||||
|
||||
# Ignore maximize requests
|
||||
windowrule = suppress_event maximize, match:class .*
|
||||
|
||||
## Fix XWayland dragging
|
||||
#windowrule = no_focus on, match:class ^$,title ^$,xwayland 1,float 1,fullscreen 0,pin 0
|
||||
#
|
||||
## POP UPS AND DIALOGUES
|
||||
#
|
||||
#windowrulev2 = size 50%% 60%%, float, center, title:^(Save As|Save a File|Pick Files)$
|
||||
#windowrulev2 = size 70%% 60%%, float, initialTitle:^(Open Files)$
|
||||
#
|
||||
# WAYBAR
|
||||
layerrule = blur on, ignore_alpha 0.5, match:namespace waybar
|
||||
|
||||
# NOTIFICATIONS
|
||||
layerrule = ignore_alpha 0.5, match:namespace tag:notif*
|
||||
|
||||
# LOGOUT
|
||||
layerrule = blur on, match:namespace logout_dialog
|
||||
|
||||
# SWAYNC
|
||||
layerrule = blur on, ignore_alpha on, ignore_alpha 0.5, xray 0, match:namespace swaync-control-center
|
||||
layerrule = blur on, ignore_alpha on, ignore_alpha 0.5, xray 0, match:namespace swaync-notification-window
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
# APPLIACTIONS BLUR
|
||||
#windowrule = noblur , tag:multimedia_video*
|
||||
#windowrule = opacity 1.0, tag:multimedia_video*
|
||||
#windowrule = opacity 0.8, tag:settings*
|
||||
windowrule = opacity 0.8, class: ^(org.gnome.Nautilus)$
|
||||
windowrule = opacity 0.9, class:^(gedit|org.gnome.TextEditor|mousepad)$
|
||||
windowrule = opacity 0.9, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrule = opacity 0.9, class:^(kitty)$
|
||||
windowrule = opacity 0.85 override 0.7 override 1 override, class:^(discord|vesktop|org.telegram.desktop)$
|
||||
windowrule = opacity 0.8 override 0.6 override 1 override, class:^(Spotify)$
|
||||
windowrule = opacity 0.9 override 0.7 override 1 override, class:^(zen)$
|
||||
#windowrule = opacity 0.8 override 0.6 override 1 override, tag:viewer*
|
||||
|
||||
# LAYER RULES
|
||||
#layerrule = blur, rofi
|
||||
#layerrule = ignorezero, rofi
|
||||
#layerrule = ignorealpha 0.5, rofi
|
||||
#layerrule = dimaround, rofi
|
||||
#layerrule = animation popin 10%, rofi
|
||||
#layerrule = blur, notifications
|
||||
#layerrule = ignorezero, notifications
|
||||
layerrule = blur, waybar
|
||||
#layerrule = ignorezero, waybar
|
||||
layerrule = ignorealpha 0.5, waybar
|
||||
layerrule = ignorealpha 0.5, tag:notif*
|
||||
layerrule = blur, logout_dialog
|
||||
|
||||
# SWAYNC BLUR & XRAY
|
||||
layerrule = blur, swaync-control-center
|
||||
layerrule = blur, swaync-notification-window
|
||||
layerrule = ignorezero, swaync-control-center
|
||||
layerrule = ignorezero, swaync-notification-window
|
||||
layerrule = ignorealpha 0.5, swaync-control-center
|
||||
layerrule = ignorealpha 0.5, swaync-notification-window
|
||||
layerrule = xray 0, swaync-control-center
|
||||
layerrule = xray 0, swaync-notification-window
|
||||
|
||||
#FLOAT
|
||||
#windowrule = float, tag:settings*
|
||||
#windowrule = float, tag:viewer*
|
||||
#windowrule = float, tag:multimedia_video*
|
||||
windowrule = size 900 506, tag:multimedia_video*
|
||||
windowrule = float, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrule = size 50% 60%, class:^(org.pulseaudio.pavucontrol)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrule = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
# POP UPS AND DIALOGUES
|
||||
windowrule = float, title:^(Save As|Save a File|Pick Files)$
|
||||
windowrule = size 50% 60%, title:^(Save As|Save a File|Pick Files)$
|
||||
windowrule = center, title:^(Save As|Save a File|Pick Files)$
|
||||
|
||||
windowrule = float, initialTitle:(Open Files)
|
||||
windowrule = size 70% 60%, initialTitle:(Open Files)
|
||||
Reference in New Issue
Block a user