This commit is contained in:
cnst
2024-06-21 17:44:02 +02:00
parent f9b2c71463
commit 9794839977
17 changed files with 634 additions and 62 deletions

View File

@@ -0,0 +1,49 @@
# APPEARANCE
general {
gaps_in = 3
gaps_out = 6
border_size = 2
#col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
#col.inactive_border = rgba(595959aa)
col.active_border = rgb(689d6a) # rgba(b16286ee) 45deg
col.inactive_border = rgb(504945)
layout = dwindle
}
decoration {
rounding = 0
blur {
enabled = true
size = 8
passes = 1
vibrancy = 0.1696
}
drop_shadow = true
shadow_range = 4
shadow_render_power = 3
# col.shadow = rgba(1a1a1aee)
}
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 3, myBezier
animation = windowsOut, 1, 3, default, popin 80%
animation = border, 1, 3, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 3, default
}
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # you probably want this
}
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = true
}

View File

@@ -0,0 +1,53 @@
# INPUTS
monitor=DP-3,2560x1440@143.86,0x0,1
monitor=eDP-1,1920x1200@60.02,0x0,1
# Some default env vars.
env = XCURSOR_SIZE,24
# env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
# env = GTK_THEME,Orchis-Orange-Dark
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
follow_mouse = 1
accel_profile = flat
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = true
disable_while_typing = true
clickfinger_behavior = true
scroll_factor = 0.5
}
}
# Desktop keyboard
device {
name = pfu-limited-hhkb-hybrid
kb_layout = hhkbse
kb_options = lv3:rwin_switch
}
# Laptop keyboard
device {
name = at-translated-set-2-keyboard
kb_layout = se
kb_options = ctrl:swapcaps
}
gestures {
workspace_swipe = true
workspace_swipe_distance = 400
workspace_swipe_fingers = 3
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
}
misc {
vrr = 0
mouse_move_enables_dpms = 1
key_press_enables_dpms = 0
force_default_wallpaper = 0
disable_hyprland_logo = true
disable_splash_rendering = true
}

View File

@@ -0,0 +1,92 @@
# KEYBINDS
$terminal = alacritty
$fileManager = thunar
$passwordManager = keepassxc
$menu = pkill tofi-run || tofi-run | xargs hyprctl dispatch exec --
$browser = firefox
$browserinc = firefox --private-window
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Custom binds
bind = SUPER SHIFT, B, exec, killall -SIGUSR2 waybar # Reload waybar
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = SUPER, A, exec, pkill -SIGUSR1 waybar
bind = SUPER, T, exec, $terminal
bind = SUPER, W, exec, $browser
bind = SUPER, K, exec, $passwordManager
bind = SUPER SHIFT, W, exec, $browserinc
bind = SUPER, Q, killactive,
bind = SUPER, M, exec, hyprctl dispatch exit
#bind = SUPER, E, exec, $fileManager
bind = SUPER, E, exec, hyprctl dispatch togglespecialworkspace fm | hyprctl dispatch rangerscript &
bind = SUPER SHIFT, E, exec, $fileManager
bind = SUPER, F, fullscreen,
bind = SUPER SHIFT, F, togglefloating,
bind = SUPER, SPACE, exec, $menu
bind = SUPER, P, pseudo, # dwindle
bind = SUPER, J, togglesplit, # dwindle
bind = SUPER, C, exec, hyprctl dispatch exec copyq toggle
# Move focus with mainMod + arrow keys
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9
bind = SUPER, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = SUPER SHIFT, 1, movetoworkspace, 1
bind = SUPER SHIFT, 2, movetoworkspace, 2
bind = SUPER SHIFT, 3, movetoworkspace, 3
bind = SUPER SHIFT, 4, movetoworkspace, 4
bind = SUPER SHIFT, 5, movetoworkspace, 5
bind = SUPER SHIFT, 6, movetoworkspace, 6
bind = SUPER SHIFT, 7, movetoworkspace, 7
bind = SUPER SHIFT, 8, movetoworkspace, 8
bind = SUPER SHIFT, 9, movetoworkspace, 9
bind = SUPER SHIFT, 0, movetoworkspace, 10
# Laptop controls
bind = ,XF86AudioLowerVolume, exec, pactl -- set-sink-volume 0 -5%
bind = ,XF86AudioRaiseVolume, exec, pactl -- set-sink-volume 0 +5%
bind = ,XF86AudioMute, exec, pactl -- set-sink-mute 0 toggle
bind = ,XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle
bind = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind = ,XF86MonBrightnessUp, exec, brightnessctl s +10%
bind = SUPER, XF86MonBrightnessUp, exec, hyprctl dispatch dpms on
bind = SUPER, XF86MonBrightnessDown, exec, hyprctl dispatch dpms off
# Screenshot a window
bind = SUPER, F10, exec, hyprshot -m window
# Screenshot a monitor
bind = , F10, exec, hyprshot -m output
# Screenshot a region
bind = SUPER SHIFT, F10, exec, hyprshot -m region
# Example special workspace (scratchpad)
bind = SUPER, S, togglespecialworkspace, magic
bind = SUPER SHIFT, S, movetoworkspace, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow

View File

@@ -0,0 +1,35 @@
# RULES
# CALCURSE SETTINGS
windowrulev2 = float,class:(floatcal)
windowrulev2 = size 843 650,class:(floatcal)
windowrulev2 = move 100%-w-20 40,class:(floatcal)
#windowrulev2 = move 1708 32,class:(floatcal)
# RANGER/NNN SETTINGS
windowrulev2 = float,class:(floatranger)
windowrulev2 = float,class:(floatnnn)
#windowrulev2 = size 843 650,class:(floatranger)
#windowrulev2 = move 1708 32,class:(floatranger)
#windowrulev2 = move 1708 32;size 843 650;dimaround;float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
#windowrulev2 = noshadow, floating:0
windowrulev2 = float,class:^(org.keepassxc.KeePassXC)$
windowrulev2 = center,class:^(org.keepassxc.KeePassXC)$
windowrule = float, ^(xarchiver)$
windowrulev2 = float,class:^(imv)$
windowrulev2 = float,class:^(com.github.hluk.copyq)$
windowrule = center, ^(xarchiver)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = center,class:^(nwg-look)$
windowrulev2 = float,class:^(nwg-look)$
windowrulev2 = float,class:^(Lxappearance)$
windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$
windowrule = move 1813 33,^(org.pulseaudio.pavucontrol)$
windowrule = size 741 585,^(org.pulseaudio.pavucontrol)$
windowrule = dimaround,^(org.pulseaudio.pavucontrol)$
windowrulev2 = float,class: ^(thunar)
windowrulev2 = float,class: ^(thunar)
windowrulev2 = workspace special:fm,class: ^(thunar)

View File

@@ -0,0 +1,13 @@
# STARTUP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = pamixer --set-volume 50 &
exec-once = dunst & waybar & hypridle & blueman-applet & udiskie -Nt &
exec-once = nm-applet --indicator &
exec-once = mullvad-vpn &
exec-once = swaybg -i ~/Images/wallpaper.png &
exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'
exec-once = hyprctl dispatch exec "sleep 4s && copyq --start-server"
exec-once = hyprctl dispatch exec "sleep 5s && keepassxc"
exec-once = hyprctl dispatch exec "sleep 3s && solaar -w hide"