add Desktop Environment (hypr) settings
This commit is contained in:
184
.config/hypr/hyprland.conf
Normal file
184
.config/hypr/hyprland.conf
Normal file
@@ -0,0 +1,184 @@
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
autogenerated = 0 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
#monitor=name,resolution,offset, scale
|
||||
#offset scales with scale XC
|
||||
#monitor=DP-2,3840x2160,-2560x0,auto, bitdepth, 10, vrr, 1
|
||||
#monitor=DP-1,3840x2160@144,auto,auto, bitdepth, 10, vrr, 1
|
||||
monitor=DP-1,3840x2160@60,320x-1440,auto, bitdepth, 10, vrr, 1 #320=(2560-1920)/2
|
||||
monitor=DP-1,3840x2160@144,auto,auto, bitdepth, 10, vrr, 1
|
||||
monitor=DP-2,3840x2160,-2560x0,auto, bitdepth, 10, vrr, 1
|
||||
monitor=eDP-1,1920x1080,0x0,1
|
||||
monitor=HDMI-A-1,2560x1440@60.00,0x-1440,1
|
||||
monitor=HDMI-A-2,1920x1080@74.97,0x-1080,1
|
||||
#monitor=HDMI-A-2,2560x1440@60.00,0x-1440,1
|
||||
#monitor=HDMI-A-2,3840x2160@60.00,0x-2160,auto
|
||||
#monitor=HDMI-A-2,3840x2160,0x-1080,2,bitdepth, 10, vrr, 1
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & dunst & syncthing & $nextcloud & $terminal
|
||||
exec-once = $HOME/.config/hypr/autostart
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps
|
||||
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
source = ~/.config/hypr/background.conf
|
||||
source = ~/.config/hypr/hyprbindings.conf
|
||||
source = ~/.config/hypr/apps.conf
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,32
|
||||
env = QT_QPA_PLATFORM,wayland # here for calibre, with debatable effect
|
||||
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = GSK_RENDERER,ngl
|
||||
env = GTK_THEME,Adwaita-dark
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = gb,de
|
||||
#kb_layout = de,gb
|
||||
kb_variant = nodeadkeys
|
||||
kb_model = pc105
|
||||
kb_options = caps:escape
|
||||
kb_rules =
|
||||
numlock_by_default = true
|
||||
repeat_rate = 35
|
||||
repeat_delay = 300
|
||||
|
||||
# Follow mouse 1 2 3 :
|
||||
follow_mouse = 2
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
}
|
||||
scroll_factor = 1.0
|
||||
|
||||
# PC with mouse: now as device specific setting
|
||||
# sensitivity = -0.4 # -1.0 - 1.0, 0 means no modification.
|
||||
# accel_profile = flat
|
||||
# Laptop with touchpad
|
||||
sensitivity = 0
|
||||
accel_profile = adaptive
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 2
|
||||
gaps_out = 1
|
||||
border_size = 1
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 30deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 3
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 1
|
||||
passes = 3
|
||||
popups = true
|
||||
vibrancy = 0.3
|
||||
vibrancy_darkness = 0.8
|
||||
}
|
||||
|
||||
drop_shadow = no
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
group {
|
||||
groupbar{
|
||||
enabled = true
|
||||
font_family = "Hurmit Nerd Font Regular"
|
||||
font_size = 11
|
||||
gradients = false
|
||||
scrolling = false
|
||||
col.active = rgba(ea1d4e77)
|
||||
}
|
||||
col.border_active = rgba(ea1d4ebb) rgba(fd7000bb) 45deg
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 5, myBezier
|
||||
animation = windowsOut, 1, 5, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 5, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
# new_status = master
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = on
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
device {
|
||||
name = roccat-roccat-leadr-mouse
|
||||
sensitivity = -0.4
|
||||
accel_profile = flat
|
||||
}
|
||||
device {
|
||||
name = razer-razer-taipan-1
|
||||
sensitivity = 0.4
|
||||
accel_profile = flat
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# now invalid: # windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
|
||||
windowrule = float, pinned, ^(dunst)$
|
||||
windowrule = float, pinned, ^(notification)$
|
||||
windowrulev2 = float, pinned, title:^(Nextcloud)$
|
||||
windowrulev2 = float, title:^(Volume Control)$
|
||||
windowrulev2 = float, title:^(Network Connections)$
|
||||
windowrulev2 = float, stayfocused, dimaround, fullscreenstate, 0, title:^(Bitwarden - Vivaldi)$
|
||||
windowrulev2 = float, pin, workspace unset, noinitialfocus, suppressevents [fullscreen, maximize, activate, activatefocus], title:^(notificationtoasts)
|
||||
windowrulev2 = workspace 6, noinitialfocus, class:^(steam)$
|
||||
windowrulev2 = noinitialfocus, class: ^(steam)$
|
||||
Reference in New Issue
Block a user