1
0

Adds hyprland configs, wip

This commit is contained in:
2022-12-19 22:42:41 +01:00
parent 0ce7d7b006
commit 0cf7f42d02
2 changed files with 187 additions and 0 deletions
+156
View File
@@ -0,0 +1,156 @@
$scr_left=DP-2
$scr_right=DP-3
$Mod = SUPER
$launcher = rofi -show drun
exec-once = waybar -c ~/.config/waybar/hypr-config
exec-once = swaybg -i ~/.cache/wallpaper.jpeg
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
monitor=$scr_left,3840x2160,0x0,1.5
monitor=$scr_right,1920x1080@144,2560x0,1
monitor=,preferred,auto,1
source = ~/.cache/wal/hypr-colors.conf
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = us
kb_variant = intl
follow_mouse = 2
}
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 10
gaps_out = 20
border_size = 2
col.active_border = $color4 $color0 $color4 45deg
col.inactive_border = $color0
no_border_on_floating = true
layout = dwindle
}
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 10
blur = yes
blur_size = 3
blur_passes = 4
blur_new_optimizations = true
drop_shadow = false
}
blurls=waybar
# https://wiki.hyprland.org/Configuring/Animations/
animations {
enabled = yes
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = Boing, 0.68, -0.6, 0.32, 1.6
bezier = OutEase, 0.16, 1, 0.3, 1
bezier = FadeCurve, 0, 1, 0, 1
animation = global, 1, 7, default
animation = windows, 1, 3, FadeCurve, slide
animation = border, 0, 1, default
animation = workspaces, 1, 15, FadeCurve, fade
}
https://wiki.hyprland.org/Configuring/Dwindle-Layout/
dwindle {
pseudotile = yes
preserve_split = yes
force_split = 2
}
misc {
no_vfr = false
enable_swallow = true
swallow_regex = urxvt
disable_hyprland_logo = true
disable_splash_rendering = true
}
# Window rules and bindings
windowrule = idleinhibit focus, mpv
windowrule = idleinhibit fullscreen, firefox
windowrule = float, imv
windowrule = workspace 3, discord
windowrule = opacity 0.9 0.9, discord
windowrule = workspace 4, steam
windowrule = noborder, ulauncher
windowrule = float, rofi
wsbind=1,$scr_left
wsbind=2,$scr_left
wsbind=3,$scr_right
wsbind=4,$scr_left
wsbind=7,$scr_right
wsbind=9,$scr_left
wsbind=10,$scr_right
# Application Bindings
bind = $Mod, Return, exec, kitty
bind = $Mod, D, exec, $launcher
bind = $Mod SHIFT, D, exec, discord
bind = $Mod CTRL, D, exec, dolphin
bind = $Mod SHIFT, E, exec, steam
bind = $Mod, E, exec, kitty -e ranger
bind = $Mod, I, exec, kitty -e btop
bind = $Mod SHIFT, W, exec, firefox
# Control bindings
bind = $Mod, P, pseudo,
bind = $Mod, O, togglesplit,
bind = $Mod, F, fullscreen,
bind = $Mod, Space, togglefloating,
bind = $Mod, Q, killactive,
bind = $Mod SHIFT, Backspace, exit,
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
bind = CTRL, Print, exec, grim -g "$(slurp)" ~/screenshot.png
bind = $Mod, h, movefocus, l
bind = $Mod, l, movefocus, r
bind = $Mod, k, movefocus, u
bind = $Mod, j, movefocus, d
bind = $Mod SHIFT, h, movewindow, l
bind = $Mod SHIFT, l, movewindow, r
bind = $Mod SHIFT, k, movewindow, u
bind = $Mod SHIFT, j, movewindow, d
binde = $Mod CTRL, h, resizeactive, -20 0
binde = $Mod CTRL, l, resizeactive, 20 0
binde = $Mod CTRL, k, resizeactive, 0 -20
binde = $Mod CTRL, j, resizeactive, 0 20
bind = $Mod, C, splitratio, 0.5
bind = $Mod, 1, workspace, 1
bind = $Mod, 2, workspace, 2
bind = $Mod, 3, workspace, 3
bind = $Mod, 4, workspace, 4
bind = $Mod, 5, workspace, 5
bind = $Mod, 6, workspace, 6
bind = $Mod, 7, workspace, 7
bind = $Mod, 8, workspace, 8
bind = $Mod, 9, workspace, 9
bind = $Mod, 0, workspace, 10
bind = $Mod SHIFT, 1, movetoworkspace, 1
bind = $Mod SHIFT, 2, movetoworkspace, 2
bind = $Mod SHIFT, 3, movetoworkspace, 3
bind = $Mod SHIFT, 4, movetoworkspace, 4
bind = $Mod SHIFT, 5, movetoworkspace, 5
bind = $Mod SHIFT, 6, movetoworkspace, 6
bind = $Mod SHIFT, 7, movetoworkspace, 7
bind = $Mod SHIFT, 8, movetoworkspace, 8
bind = $Mod SHIFT, 9, movetoworkspace, 9
bind = $Mod SHIFT, 0, movetoworkspace, 10
bindm = $Mod, mouse:272, movewindow #LMB
bindm = $Mod, mouse:273, resizewindow #RMB