Add hyprpaper config, workspace setup for hyprland, move eww powermenu to foreground
This commit is contained in:
parent
1f67f862e3
commit
eab8520ef8
|
@ -1,6 +1,6 @@
|
|||
(defwindow powermenu
|
||||
:monitor 0
|
||||
:stacking "bg"
|
||||
:stacking "fg"
|
||||
:windowtype "normal"
|
||||
:wm-ignore true
|
||||
:geometry (geometry :width "100%" :height "100%")
|
||||
|
|
44
nixos/home-manager/env/config/hypr/hyprland.conf
vendored
44
nixos/home-manager/env/config/hypr/hyprland.conf
vendored
|
@ -8,7 +8,7 @@ monitor=DP-1,preferred,auto,auto,transform,1
|
|||
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
exec-once = waybar -c ~/.dotfiles/nixos/home-manager/env/config/waybar/config & eww daemon & eww open powermenu
|
||||
exec-once = hyprpaper -c ~/.dotfiles/nixos/home-manager/env/config/hypr/hyprpaper.conf & waybar -c ~/.dotfiles/nixos/home-manager/env/config/waybar/config & eww daemon
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
@ -99,31 +99,53 @@ device:epic-mouse-v1 {
|
|||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# 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
|
||||
windowrule = float, ^(pavucontrol)$
|
||||
windowrule = workspace 1, ^(foot)$
|
||||
windowrule = workspace 2, ^(firefox)$
|
||||
windowrule = workspace 3, ^(dolphin)$
|
||||
windowrule = workspace 4, ^(thunderbird)$
|
||||
windowrule = workspace 4, ^(mailspring)$
|
||||
windowrule = workspace 5, ^(element)$
|
||||
windowrule = workspace 5, ^(signal)$
|
||||
windowrule = workspace 6, ^(steam)$
|
||||
windowrule = workspace 7, ^(bitwarden)$
|
||||
windowrule = workspace 8, ^(Nxplayer.bin)$
|
||||
|
||||
wsbind=1,HDMI-A-1
|
||||
wsbind=2,HDMI-A-1
|
||||
wsbind=3,HDMI-A-1
|
||||
wsbind=4,HDMI-A-1
|
||||
wsbind=5,HDMI-A-1
|
||||
wsbind=6,HDMI-A-1
|
||||
wsbind=7,HDMI-A-1
|
||||
wsbind=8,HDMI-A-1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Q, exec, kitty
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, Return, exec, kitty
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, wofi --show drun
|
||||
bind = $mainMod, Space, exec, wofi --show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, G, togglesplit, # dwindle
|
||||
bind = $mainMod, F1, exec, swaylock
|
||||
bind = $mainMod, W, exec, eww open --toggle powermenu
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bind = $mainMod, J, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
|
@ -151,7 +173,9 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, bracketleft, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod, bracketright, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
|
|
7
nixos/home-manager/env/config/hypr/hyprpaper.conf
vendored
Normal file
7
nixos/home-manager/env/config/hypr/hyprpaper.conf
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
preload = ~/.dotfiles/wallpaper/images_dark/1920x1080.png
|
||||
preload = ~/.dotfiles/wallpaper/images_dark/1920x1200.png
|
||||
preload = ~/.dotfiles/wallpaper/images_dark/1080x1920.png
|
||||
|
||||
wallpaper = HDMI-A-1,~/.dotfiles/wallpaper/images_dark/1920x1200.png
|
||||
wallpaper = DP-1,~/.dotfiles/wallpaper/images_dark/1080x1920.png
|
||||
wallpaper = *,~/.dotfiles/wallpaper/images_dark/1920x1080.png
|
Loading…
Reference in a new issue