MainDots/Configs/hypr/main.conf

152 lines
3.1 KiB
Plaintext

#DEFAULT THINGS.
# Mod key.
$Mod = SUPER
# Default dirs.
$hm = /home/lilac
$cfg = /home/lilac/.config
$md = /home/lilac/Media
$wls = /home/lilac/Media/Pics/Walls
$scr = /home/lilac/Media/Pics/Scr
# Default apps & utils.
# Terminal.
$term = foot --title=foot
# Other.
$fmt = foot --title=fmt -e lf
$mpt = foot --title=cmus -e cmus
$vc = foot --title=pm -e pulsemixer
$sm = foot --title=smtr -e htop
# Default env vars.
env = XCURSOR_THEME,GoogleDot-White
env = XCURSOR_SIZE,28
env = EDITOR, vim
# Display configuration.
monitor=eDP-1,1920x1080@60,0x0,1
#AUTOSTART.
# Autostart for Hyprland's FULL RESTART.
exec-once = waybar -c $cfg/waybar/btm-1/config.jsonc -s $cfg/waybar/btm-1/style.css
exec-once = hyprctl dispatch exec [workspace 3] XDG_CURRENT_DESKTOP=gnome ayugram-desktop
exec-once = swaybg -i $wls/Cat/Min/min-0.png -m fill
exec-once = pipewire
exec-once = wireplumber
exec-once = pipewire-pulse
# Autostart for Hyprland's CONFIG RELOAD.
exec = hyprctl setcursor GoogleDot-White 28
exec = export QT_QPA_PLATFORM=wayland
exec = export QT_QPA_PLATFORMTHEME="gtk3"
exec = export QT_DISABLE_WINDOWDECORATION=1
exec = export XDG_CURRENT_DESKTOP=gnome
# Layout thngs.
# Dwindle layout.
dwindle {
pseudotile = yes
preserve_split = yes
smart_split = no
no_gaps_when_only = 0
}
# Master layout.
master {
new_is_master = false
no_gaps_when_only = 0
mfact = 0.67
}
# Other.
misc {
animate_manual_resizes = true
force_default_wallpaper = 0
disable_hyprland_logo = true # Set to 0 to disable the anime mascot wallpapers
}
# Appearence.
# Basics.
general {
cursor_inactive_timeout = 10
gaps_in = 7
gaps_out = 14
border_size = 0
col.active_border = rgb(313244) #rgb(313244) rgb(313244) rgb(b4befe) 40deg
col.inactive_border = rgb(1e1e2e)
layout = master
allow_tearing = false
}
# Windows decorations.
decoration {
rounding = 21
dim_inactive = true
blur {
enabled = true
size = 8
passes = 2
xray = true
}
# Shadows.
drop_shadow = no
shadow_range = 20
shadow_render_power = 5
col.shadow= 0x55000000
col.shadow_inactive=0x55000000
}
# Animations.
animations {
enabled = yes
bezier = overshot,0.05,0.9,0.1,1.0
bezier = myBezier1, 0.05, 1.00, 0.1, 1.0
bezier = myBezier2, 0.05, 1.00, 0.1, 1.0
animation = windows, 1, 4, overshot, popin
animation = windowsOut, 1, 4, overshot, popin 80%
animation = border, 1, 7, overshot
animation = borderangle, 0, 7, overshot
animation = fade, 1, 7, overshot
animation = workspaces, 1, 6, overshot, slide
}
# Input things.
input {
#Keyboard layout.
kb_layout = us, ru
kb_variant =
kb_model =
kb_options = grp:win_space_toggle
kb_rules =
left_handed = false
follow_mouse = 1
#TouchPad.
touchpad {
natural_scroll = no
disable_while_typing=0
}
#Mouse.
sensitivity = 0
}
# Gestures.
gestures {
workspace_swipe = on
workspace_swipe_fingers = 3
workspace_swipe_distance = 80
workspace_swipe_min_speed_to_force = 10
}