mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 12:44:35 +00:00
Split hyprland config even more
This commit is contained in:
parent
0e0dd92bb9
commit
6ff912d3b8
|
@ -1,12 +1,3 @@
|
||||||
################
|
|
||||||
### MONITORS ###
|
|
||||||
################
|
|
||||||
|
|
||||||
# Should be configured per-profile
|
|
||||||
# monitor = HDMI-A-2, 1920x1080@60, 0x0, 1
|
|
||||||
# monitor = eDP-1, 1920x1080@60, 1920x0, 1
|
|
||||||
monitor = , preferred, auto, 1
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### AUTOSTART ###
|
### AUTOSTART ###
|
||||||
#################
|
#################
|
||||||
|
@ -28,64 +19,12 @@ exec-once = discord
|
||||||
#########################
|
#########################
|
||||||
|
|
||||||
general {
|
general {
|
||||||
border_size = 2
|
|
||||||
gaps_in = 5
|
|
||||||
gaps_out = 8
|
|
||||||
|
|
||||||
col.active_border = rgba(FFA500FF) # orange
|
|
||||||
col.inactive_border = rgba(666666AA) # transparent gray
|
|
||||||
|
|
||||||
col.nogroup_border_active = rgba(FF00FFFF) # purple
|
|
||||||
col.nogroup_border = rgba(FF00FFAA) # transparent purple
|
|
||||||
|
|
||||||
# cursor_inactive_timeout = 10
|
# cursor_inactive_timeout = 10
|
||||||
# no_cursor_warps = true
|
# no_cursor_warps = true
|
||||||
|
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
|
||||||
rounding = 8
|
|
||||||
|
|
||||||
#inactive_opacity = 1.0
|
|
||||||
|
|
||||||
#dim_inactive = true
|
|
||||||
dim_strength = 0.05
|
|
||||||
dim_special = 0.2
|
|
||||||
|
|
||||||
drop_shadow = true
|
|
||||||
shadow_range = 20
|
|
||||||
shadow_render_power = 2
|
|
||||||
col.shadow = rgba(0F0F0FE6)
|
|
||||||
#col.shadow = rgba(FFA500FF)
|
|
||||||
col.shadow_inactive = rgba(0F0F0F99)
|
|
||||||
|
|
||||||
blur {
|
|
||||||
enabled = true
|
|
||||||
size = 8
|
|
||||||
passes = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
animation = windows, 1, 3, default, popin 50%
|
|
||||||
animation = border, 1, 4, default
|
|
||||||
animation = fade, 1, 4, default
|
|
||||||
animation = workspaces, 1, 3, default
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
kb_layout = us, sk
|
|
||||||
kb_variant = ,qwerty
|
|
||||||
kb_options = grp:alt_shift_toggle
|
|
||||||
|
|
||||||
numlock_by_default=true
|
|
||||||
|
|
||||||
follow_mouse = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = true
|
workspace_swipe = true
|
||||||
workspace_swipe_fingers = 3
|
workspace_swipe_fingers = 3
|
||||||
|
@ -98,36 +37,9 @@ gestures {
|
||||||
group {
|
group {
|
||||||
insert_after_current = true
|
insert_after_current = true
|
||||||
focus_removed_window = true
|
focus_removed_window = true
|
||||||
|
|
||||||
col.border_active = rgba(00A500FF) # green
|
|
||||||
col.border_inactive = rgba(5AA500FF) # transparent green
|
|
||||||
|
|
||||||
col.border_locked_active = rgba(A0A500FF) # yellow
|
|
||||||
col.border_locked_inactive = rgba(A0A500AA) # transparent yellow
|
|
||||||
|
|
||||||
groupbar {
|
|
||||||
scrolling = false
|
|
||||||
|
|
||||||
render_titles = true
|
|
||||||
font_size = 8
|
|
||||||
text_color = rgba(FFFFFFFF) # white
|
|
||||||
|
|
||||||
gradients = true
|
|
||||||
|
|
||||||
col.active = rgba(FFA500FF) # light orange
|
|
||||||
col.inactive = rgba(00A500AA) # transparent green
|
|
||||||
|
|
||||||
col.locked_active = rgba(FF8000FF) # dark orange
|
|
||||||
col.locked_inactive = rgba(A0A500AA) # transparent yello
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
misc {
|
misc {
|
||||||
disable_hyprland_logo = true
|
|
||||||
disable_splash_rendering = false
|
|
||||||
|
|
||||||
animate_manual_resizes = true
|
|
||||||
|
|
||||||
# follow requests from windows to be focused
|
# follow requests from windows to be focused
|
||||||
focus_on_activate = true
|
focus_on_activate = true
|
||||||
}
|
}
|
||||||
|
@ -146,6 +58,8 @@ dwindle {
|
||||||
#######################
|
#######################
|
||||||
### EXTERNAL CONFIG ###
|
### EXTERNAL CONFIG ###
|
||||||
#######################
|
#######################
|
||||||
|
source = ~/.config/hypr/input.conf
|
||||||
|
source = ~/.config/hypr/style.conf
|
||||||
source = ~/.config/hypr/keybinds.conf
|
source = ~/.config/hypr/keybinds.conf
|
||||||
source = ~/.config/hypr/window_rules.conf
|
source = ~/.config/hypr/window_rules.conf
|
||||||
source = ~/.config/hypr/plugins.conf
|
source = ~/.config/hypr/plugins.conf
|
||||||
|
|
44
home/.config/hypr/input.conf
Normal file
44
home/.config/hypr/input.conf
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
|
|
||||||
|
# Should be configured per-profile
|
||||||
|
monitor = HDMI-A-1, 1920x1080@60, 0x0, 1
|
||||||
|
monitor = eDP-1, 1920x1200@60, 0x1080, 1
|
||||||
|
monitor = , preferred, auto, 1
|
||||||
|
|
||||||
|
# Mirror the primary (laptop) monitor on externals
|
||||||
|
# monitor= , preferred, auto, 1, mirror, eDP-1
|
||||||
|
|
||||||
|
#####################
|
||||||
|
### GENERAL INPUT ###
|
||||||
|
#####################
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = us, sk
|
||||||
|
kb_variant = ,qwerty
|
||||||
|
kb_options = grp:alt_shift_toggle
|
||||||
|
|
||||||
|
numlock_by_default=true
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
touchpad {
|
||||||
|
middle_button_emulation = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
###########################
|
||||||
|
### PER-DEVICE SETTINGS ###
|
||||||
|
###########################
|
||||||
|
|
||||||
|
device:tpps/2-elan-trackpoint {
|
||||||
|
enabled = true
|
||||||
|
tap-to-click = true
|
||||||
|
tap_button_map = lrm
|
||||||
|
}
|
||||||
|
|
||||||
|
device:elan06c9:00-04f3:320b-touchpad {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# vi: ft=hypr
|
126
home/.config/hypr/style.conf
Normal file
126
home/.config/hypr/style.conf
Normal file
|
@ -0,0 +1,126 @@
|
||||||
|
###################
|
||||||
|
### WINDOW GAPS ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
general {
|
||||||
|
gaps_in = 5
|
||||||
|
gaps_out = 8
|
||||||
|
}
|
||||||
|
|
||||||
|
###############
|
||||||
|
### BORDERS ###
|
||||||
|
###############
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
rounding = 8
|
||||||
|
}
|
||||||
|
|
||||||
|
general {
|
||||||
|
border_size = 2
|
||||||
|
|
||||||
|
# Regular windows
|
||||||
|
col.active_border = rgba(FFA500FF) # orange
|
||||||
|
#col.active_border = rgba(FFFFFFEE) # white
|
||||||
|
col.inactive_border = rgba(666666AA) # transparent gray
|
||||||
|
|
||||||
|
# Windows with nogroup property
|
||||||
|
col.nogroup_border_active = rgba(FF00FFFF) # purple
|
||||||
|
col.nogroup_border = rgba(FF00FFAA) # transparent purple
|
||||||
|
}
|
||||||
|
|
||||||
|
group {
|
||||||
|
# Groupped windows
|
||||||
|
col.border_active = rgba(00A500FF) # green
|
||||||
|
col.border_inactive = rgba(5AA500FF) # transparent green
|
||||||
|
|
||||||
|
# Locked groupped windows
|
||||||
|
col.border_locked_active = rgba(A0A500FF) # yellow
|
||||||
|
col.border_locked_inactive = rgba(A0A500AA) # transparent yellow
|
||||||
|
}
|
||||||
|
|
||||||
|
#################
|
||||||
|
### GROUP BAR ###
|
||||||
|
#################
|
||||||
|
|
||||||
|
group {
|
||||||
|
groupbar {
|
||||||
|
render_titles = true
|
||||||
|
font_size = 8
|
||||||
|
text_color = rgba(FFFFFFFF) # white
|
||||||
|
|
||||||
|
gradients = true
|
||||||
|
scrolling = false
|
||||||
|
|
||||||
|
col.active = rgba(FFA500FF) # light orange
|
||||||
|
col.inactive = rgba(00A500AA) # transparent green
|
||||||
|
|
||||||
|
col.locked_active = rgba(FF8000FF) # dark orange
|
||||||
|
col.locked_inactive = rgba(A0A500AA) # transparent yello
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
###################
|
||||||
|
### DROP SHADOW ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
drop_shadow = true
|
||||||
|
shadow_range = 20
|
||||||
|
shadow_render_power = 2
|
||||||
|
col.shadow = rgba(0F0F0FE6)
|
||||||
|
#col.shadow = rgba(FFA500FF)
|
||||||
|
col.shadow_inactive = rgba(0F0F0F99)
|
||||||
|
}
|
||||||
|
|
||||||
|
###################
|
||||||
|
### WINDOW BLUR ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 8
|
||||||
|
passes = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
### INACTIVE WINDOWS ###
|
||||||
|
########################
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
#dim_inactive = true
|
||||||
|
dim_strength = 0.05
|
||||||
|
dim_special = 0.2
|
||||||
|
|
||||||
|
# inactive_opacity = 0.9
|
||||||
|
}
|
||||||
|
|
||||||
|
##################
|
||||||
|
### ANIMATIONS ###
|
||||||
|
##################
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
animation = windows, 1, 3, default, popin 50%
|
||||||
|
animation = border, 1, 4, default
|
||||||
|
animation = fade, 1, 4, default
|
||||||
|
animation = workspaces, 1, 3, default
|
||||||
|
animation = specialWorkspace, 1, 2, default, slidefadevert
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
animate_manual_resizes = true
|
||||||
|
}
|
||||||
|
|
||||||
|
#################
|
||||||
|
### WALLPAPER ###
|
||||||
|
#################
|
||||||
|
|
||||||
|
misc {
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# vi: ft=hypr
|
Loading…
Reference in a new issue