hypr scripts

This commit is contained in:
Miguel Palhas
2024-10-06 17:07:58 +01:00
parent 907321cc59
commit cf47ffea96
5 changed files with 47 additions and 10 deletions
+10 -10
View File
@@ -1,14 +1,14 @@
{ pkgs, ... }:
{
services.blueman.enable = true;
# services.blueman-applet.enable = true;
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";
after = [
"network.target"
"sound.target"
];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
# systemd.user.services.mpris-proxy = {
# description = "Mpris proxy";
# after = [
# "network.target"
# "sound.target"
# ];
# wantedBy = [ "default.target" ];
# serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
# };
}
+1
View File
@@ -14,6 +14,7 @@
gimp
font-manager
imv
pavucontrol
# communication
slack
+17
View File
@@ -20,6 +20,10 @@ in
XCURSOR_SIZE = 32;
};
xdg.configFile = {
"hypr/scripts".source = ./scripts;
};
wayland.windowManager.hyprland = {
enable = true;
settings = {
@@ -88,8 +92,19 @@ in
];
windowrulev2 = [
# imv
"float, class:imv"
"move cursor -50% -50%, class:imv"
# bluetooth
"float, class:blueman-manager"
"move cursor -50% -50%, class:blueman-manager"
"size 600 400, class:blueman-manager"
# pavucontrol
"float, class:pavucontrol"
"move cursor -50% -50%, class:pavucontrol"
"size 600 600, class:pavucontrol"
];
"$mod" = "SUPER";
@@ -101,6 +116,8 @@ in
"$mod, f, fullscreen, 0"
"$mod SHIFT, f, fullscreen, 1"
"$mod, d, exec, ~/.config/hypr/scripts/toggle-bar"
# rofi
"$mod, space, exec, launcher_t2"
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if eww active-windows | grep bar; then
eww close bar
else
eww open bar
fi