hypr scripts
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.blueman.enable = true;
|
# services.blueman-applet.enable = true;
|
||||||
|
|
||||||
systemd.user.services.mpris-proxy = {
|
# systemd.user.services.mpris-proxy = {
|
||||||
description = "Mpris proxy";
|
# description = "Mpris proxy";
|
||||||
after = [
|
# after = [
|
||||||
"network.target"
|
# "network.target"
|
||||||
"sound.target"
|
# "sound.target"
|
||||||
];
|
# ];
|
||||||
wantedBy = [ "default.target" ];
|
# wantedBy = [ "default.target" ];
|
||||||
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
|
# serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
gimp
|
gimp
|
||||||
font-manager
|
font-manager
|
||||||
imv
|
imv
|
||||||
|
pavucontrol
|
||||||
|
|
||||||
# communication
|
# communication
|
||||||
slack
|
slack
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ in
|
|||||||
XCURSOR_SIZE = 32;
|
XCURSOR_SIZE = 32;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile = {
|
||||||
|
"hypr/scripts".source = ./scripts;
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -88,8 +92,19 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
|
# imv
|
||||||
"float, class:imv"
|
"float, class:imv"
|
||||||
"move cursor -50% -50%, 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";
|
"$mod" = "SUPER";
|
||||||
@@ -101,6 +116,8 @@ in
|
|||||||
"$mod, f, fullscreen, 0"
|
"$mod, f, fullscreen, 0"
|
||||||
"$mod SHIFT, f, fullscreen, 1"
|
"$mod SHIFT, f, fullscreen, 1"
|
||||||
|
|
||||||
|
"$mod, d, exec, ~/.config/hypr/scripts/toggle-bar"
|
||||||
|
|
||||||
# rofi
|
# rofi
|
||||||
"$mod, space, exec, launcher_t2"
|
"$mod, space, exec, launcher_t2"
|
||||||
|
|
||||||
|
|||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if eww active-windows | grep bar; then
|
||||||
|
eww close bar
|
||||||
|
else
|
||||||
|
eww open bar
|
||||||
|
fi
|
||||||
@@ -9,4 +9,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.blueman.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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user