♻️ hypr: separate shell and user configurations
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
###############
|
||||
## AUTOSTART ##
|
||||
###############
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#executing
|
||||
|
||||
# Apps
|
||||
exec-once = discord --start-minimized
|
||||
exec-once = steam -silent
|
||||
@@ -0,0 +1,8 @@
|
||||
##############
|
||||
## BINDINGS ##
|
||||
##############
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Binds
|
||||
|
||||
|
||||
# Uncomment if you want to press SUPER to launch application search
|
||||
# bind = $mainMod, $mainMod_L, exec, astal toggle apps-window
|
||||
@@ -0,0 +1,4 @@
|
||||
################
|
||||
## DECORATION ##
|
||||
################
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Variables
|
||||
@@ -0,0 +1,6 @@
|
||||
#################
|
||||
## ENVIRONMENT ##
|
||||
#################
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#setting-the-environment
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
########################
|
||||
## USER CONFIGURATION ##
|
||||
########################
|
||||
|
||||
# This sources all user configuration files
|
||||
|
||||
source = ./monitors.conf
|
||||
source = ./environment.conf
|
||||
source = ./input.conf
|
||||
source = ./bindings.conf
|
||||
source = ./layout.conf
|
||||
source = ./decorations.conf
|
||||
source = ./autostart.conf
|
||||
source = ./rules.conf
|
||||
@@ -0,0 +1,34 @@
|
||||
###########
|
||||
## INPUT ##
|
||||
###########
|
||||
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs
|
||||
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant = intl
|
||||
kb_model = pc105
|
||||
|
||||
numlock_by_default = true
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 to 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
##############
|
||||
## GESTURES ##
|
||||
##############
|
||||
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_fingers = 3
|
||||
workspace_swipe_create_new = true
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
############
|
||||
## LAYOUT ##
|
||||
############
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Dwindle-Layout/#config
|
||||
@@ -0,0 +1,16 @@
|
||||
##############
|
||||
## MONITORS ##
|
||||
##############
|
||||
|
||||
# Wiki: https://wiki.hyprland.org/Configuring/Monitors
|
||||
|
||||
|
||||
# Monitor
|
||||
# arg0 -> monitor name(you can get monitor names with `hyprctl monitors`);
|
||||
# arg1 -> resolution@hertz;
|
||||
# arg2 -> positioning from the top-left corner;
|
||||
# arg3 -> scaling;
|
||||
# arg4 -> variable refresh rate(optional);
|
||||
# - arg40 -> 1: vrr, 0: no vrr.
|
||||
|
||||
monitor = HDMI-A-1, 1920x1080@75, 0x0, 1, vrr, 0
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
############################
|
||||
## WINDOW & LAYER RULES ##
|
||||
############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules for
|
||||
# more information on how to do this
|
||||
|
||||
# Floating windows
|
||||
windowrule = float, class:moe.launcher.*
|
||||
windowrule = float, class:com.github.rafostar.Clapper
|
||||
windowrule = float, class:blueberry.py
|
||||
windowrule = float, class:org.gnome.Loupe
|
||||
windowrule = float, class:mcpelauncher-webview
|
||||
windowrule = float, class:org.gnome.Calculator
|
||||
windowrule = float, class:io.mrarm.mcpelauncher-ui-qt
|
||||
windowrule = float, class:Resources
|
||||
|
||||
# Resize
|
||||
windowrule = size 50% 50%, class:blueberry.py
|
||||
windowrule = size 70% 70%, class:io.mrarm.mcpelauncher-ui-qt
|
||||
|
||||
# Moving
|
||||
windowrule = move 49.27% 7.28%, class:blueberry.py
|
||||
|
||||
# Animations
|
||||
windowrule = animation gnomed, class:moe.launcher..*
|
||||
|
||||
|
||||
# Opacity
|
||||
windowrule = opacity .95 .95, class:kitty
|
||||
windowrule = opacity .88 .88, class:spotify
|
||||
windowrule = opacity .88 .88, class:hyprpolkitagent
|
||||
|
||||
# No blur
|
||||
windowrule = noblur, class:steam(.*)$
|
||||
|
||||
# Others
|
||||
windowrule = noinitialfocus, class:Anydesk, title:anydesk
|
||||
Reference in New Issue
Block a user