hyprland: add pyprland with expose and scratchpad plugins

This commit is contained in:
Aly Raffauf 2024-03-26 16:32:51 -04:00
parent 9d95dacd33
commit d93f4a92e4
3 changed files with 16 additions and 0 deletions

View file

@ -13,6 +13,7 @@
hyprshade
hyprshot
playerctl
pyprland
udiskie
];
@ -37,6 +38,8 @@
./blue-light-filter.glsl;
xdg.configFile."hypr/hyprshade.toml".source = ./hyprshade.toml;
xdg.configFile."hypr/pyprland.toml".source = ./pyprland.toml;
home.pointerCursor = {
gtk.enable = true;
# x11.enable = true;

View file

@ -32,6 +32,7 @@ exec-once = hyprpaper
exec-once = hypridle
exec-once = waybar
exec-once = mako
exec-once = pypr
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
@ -156,6 +157,13 @@ device {
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
# PavuControl, nmtui, and overskride float.
windowrulev2 = float,class:(pavucontrol)
windowrulev2 = center(1),class:(pavucontrol)
windowrulev2 = float,class:(nmtui)
windowrulev2 = center(1),class:(nmtui)
windowrulev2 = float,title:(overskride)
windowrulev2 = center(1),title:(overskride)
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
@ -226,6 +234,8 @@ bind = $mainMod, mouse_up, workspace, e-1
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bind = $mainMod, TAB, exec, pypr expose
# Adjust display brightness.
bind = , xf86monbrightnessup, exec, brightnessctl set 5%+
bind = , xf86monbrightnessdown, exec, brightnessctl set 5%-

3
home/hypr/pyprland.toml Normal file
View file

@ -0,0 +1,3 @@
[pyprland]
plugins = ["expose", "scratchpads"]