diff --git a/home/hypr/default.nix b/home/hypr/default.nix index 99a2f2b4..78323465 100644 --- a/home/hypr/default.nix +++ b/home/hypr/default.nix @@ -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; diff --git a/home/hypr/hyprland.conf b/home/hypr/hyprland.conf index 6faa174a..8b333dc4 100644 --- a/home/hypr/hyprland.conf +++ b/home/hypr/hyprland.conf @@ -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%- diff --git a/home/hypr/pyprland.toml b/home/hypr/pyprland.toml new file mode 100644 index 00000000..ca4b191c --- /dev/null +++ b/home/hypr/pyprland.toml @@ -0,0 +1,3 @@ +[pyprland] +plugins = ["expose", "scratchpads"] +