adding hyprland config
This commit is contained in:
parent
d73aaa87bf
commit
3b3ce01fec
|
@ -1792,6 +1792,10 @@ I also use home-manager for managing dotfiles. This means that everything is con
|
|||
source = ../fish/functions;
|
||||
};
|
||||
|
||||
home.file.".config/hypr" = {
|
||||
source = ../hypr;
|
||||
};
|
||||
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv.nix-direnv.enable = true;
|
||||
|
||||
|
|
142
hypr/hyprland.conf
Normal file
142
hypr/hyprland.conf
Normal file
|
@ -0,0 +1,142 @@
|
|||
monitor=eDP-1,2256x1504@60,0x0,1.5
|
||||
workspace=eDP-1,1
|
||||
|
||||
input {
|
||||
# kb_layout=
|
||||
# kb_variant=
|
||||
# kb_model=
|
||||
# kb_options=
|
||||
# kb_rules=
|
||||
repeat_rate=140
|
||||
repeat_delay=180
|
||||
natural_scroll=1
|
||||
sensitivity=0.85
|
||||
|
||||
follow_mouse=0
|
||||
|
||||
touchpad {
|
||||
natural_scroll=1
|
||||
clickfinger_behavior=1
|
||||
}
|
||||
}
|
||||
|
||||
general {
|
||||
max_fps=60 # deprecated, unused
|
||||
main_mod=SUPER
|
||||
|
||||
gaps_in=15
|
||||
gaps_out=20
|
||||
border_size=0
|
||||
col.active_border=0x66ee1111
|
||||
col.inactive_border=0x66333333
|
||||
|
||||
#damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
|
||||
layout=master
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe=true
|
||||
workspace_swipe_fingers=4
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding=18
|
||||
active_opacity=0.95
|
||||
inactive_opacity=0.75
|
||||
fullscreen_opacity=1.0
|
||||
blur=true
|
||||
blur_new_optimizations=true
|
||||
blur_size=9# minimum 1
|
||||
blur_passes=5 # minimum 1, more passes = more resource intensive.
|
||||
# Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
|
||||
# if you want heavy blur, you need to up the blur_passes.
|
||||
# the more passes, the more you can up the blur_size without noticing artifacts.
|
||||
drop_shadow=true
|
||||
shadow_range=30
|
||||
shadow_render_power=2
|
||||
dim_inactive=true
|
||||
dim_strength=0.3
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled=1
|
||||
animation=windows,1,4,default
|
||||
# animation=borders,1,10,default
|
||||
animation=fadeIn,1,10,default
|
||||
animation=workspaces,1,6,default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
pseudotile=0 # enable pseudotiling on dwindle
|
||||
}
|
||||
|
||||
master {
|
||||
# special_scale_factor=0.6
|
||||
new_is_master=false
|
||||
new_on_top=false
|
||||
}
|
||||
|
||||
# example window rules
|
||||
# for windows named/classed as abc and xyz
|
||||
#windowrule=move 69 420,abc
|
||||
#windowrule=size 420 69,abc
|
||||
#windowrule=tile,xyz
|
||||
#windowrule=float,abc
|
||||
#windowrule=pseudo,abc
|
||||
windowrule=opaque,firefox
|
||||
|
||||
# example binds
|
||||
bind=SUPER,RETURN,exec,alacritty
|
||||
bind=SUPER,C,killactive,
|
||||
bind=SUPERSHIFT,Q,exit,
|
||||
bind=SUPERSHIFT,D,exec,dolphin
|
||||
bind=SUPERSHIFT,F,togglefloating,
|
||||
bindr=SUPER,Super_L,exec,/home/chris/bin/launcher.sh
|
||||
bind=SUPER,E,exec,/home/chris/bin/emacslof
|
||||
bind=SUPER,B,exec,/home/chris/bin/fflof
|
||||
|
||||
bind=SUPER,P,pseudo,
|
||||
bind=SUPER,M,fullscreen,1
|
||||
bind=SUPER,F,fullscreen,0
|
||||
|
||||
bind=SUPER,h,movefocus,l
|
||||
bind=SUPER,l,movefocus,r
|
||||
bind=SUPER,k,cyclenext,prev
|
||||
bind=SUPER,j,cyclenext
|
||||
bind=SUPERSHIFT,h,movewindow,l
|
||||
bind=SUPERSHIFT,l,movewindow,r
|
||||
bind=SUPERSHIFT,k,movewindow,u
|
||||
bind=SUPERSHIFT,j,movewindow,d
|
||||
bind=SUPERCTRL,l,splitratio,+0.1
|
||||
bind=SUPERCTRL,h,splitratio,-0.1
|
||||
|
||||
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
|
||||
|
||||
bind=SUPERALT,l,workspace,next
|
||||
bind=SUPERALT,h,workspace,previous
|
||||
|
||||
bind=ALT,1,movetoworkspace,1
|
||||
bind=ALT,2,movetoworkspace,2
|
||||
bind=ALT,3,movetoworkspace,3
|
||||
bind=ALT,4,movetoworkspace,4
|
||||
bind=ALT,5,movetoworkspace,5
|
||||
bind=ALT,6,movetoworkspace,6
|
||||
bind=ALT,7,movetoworkspace,7
|
||||
bind=ALT,8,movetoworkspace,8
|
||||
bind=ALT,9,movetoworkspace,9
|
||||
bind=ALT,0,movetoworkspace,10
|
||||
|
||||
bind=SUPERALT,L,workspace,+1
|
||||
bind=SUPERALT,H,workspace,-1
|
||||
|
||||
exec-once=/home/chris/bin/startup.sh
|
||||
exec-once=hyprpaper
|
|
@ -340,6 +340,10 @@
|
|||
source = ../fish/functions;
|
||||
};
|
||||
|
||||
home.file.".config/hypr" = {
|
||||
source = ../hypr;
|
||||
};
|
||||
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv.nix-direnv.enable = true;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
// Choose the order of the modules "custom/wintitle",
|
||||
"modules-left": ["sway/workspaces", "custom/wintitle", "hyprland/window", "river/tags", "sway/mode", "sway/window"],
|
||||
"modules-left": ["sway/workspaces", "hyprland/window", "river/tags", "sway/mode", "sway/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
|
||||
"margin-top": 0,
|
||||
|
|
Loading…
Reference in a new issue