hypr scripts
This commit is contained in:
@@ -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";
|
||||
# };
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
gimp
|
||||
font-manager
|
||||
imv
|
||||
pavucontrol
|
||||
|
||||
# communication
|
||||
slack
|
||||
|
||||
@@ -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
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if eww active-windows | grep bar; then
|
||||
eww close bar
|
||||
else
|
||||
eww open bar
|
||||
fi
|
||||
Reference in New Issue
Block a user