Fix sxhkd and polybar configs
This commit is contained in:
parent
7c10a7eb6c
commit
9fd1ca4e5c
|
@ -63,7 +63,8 @@ in {
|
||||||
'';
|
'';
|
||||||
# Calculator
|
# Calculator
|
||||||
"super + shift + c" = ''
|
"super + shift + c" = ''
|
||||||
rofi -show calc -modi calc -calc-command 'xdotool type --clearmodifiers "\{result\}"'';
|
ROFI_PLUGIN_PATH=${pkgs.rofi-calc}/lib/rofi rofi -show calc -modi calc -calc-command '${pkgs.xdotool}/bin/xdotool type --clearmodifiers "\{result\}'
|
||||||
|
'';
|
||||||
# Media keys
|
# Media keys
|
||||||
"XF86Audio{Raise,Lower}Volume" = "pamixer {-i,-d} 5";
|
"XF86Audio{Raise,Lower}Volume" = "pamixer {-i,-d} 5";
|
||||||
"XF86AudioMute" = "pamixer -t";
|
"XF86AudioMute" = "pamixer -t";
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
./bspwm.nix
|
./bspwm.nix
|
||||||
./picom.nix
|
./picom.nix
|
||||||
./polybar.nix
|
./polybar.nix
|
||||||
|
./dunst.nix
|
||||||
./iosevka.nix
|
./iosevka.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./element.nix
|
./element.nix
|
||||||
|
@ -16,6 +17,7 @@
|
||||||
element-desktop
|
element-desktop
|
||||||
firefox
|
firefox
|
||||||
flameshot
|
flameshot
|
||||||
|
glib
|
||||||
gnome.eog
|
gnome.eog
|
||||||
gnome.file-roller
|
gnome.file-roller
|
||||||
gnome.geary
|
gnome.geary
|
||||||
|
@ -42,6 +44,8 @@
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
xdg-utils
|
xdg-utils
|
||||||
yubioath-desktop
|
yubioath-desktop
|
||||||
|
clipmenu
|
||||||
|
xdotool
|
||||||
];
|
];
|
||||||
|
|
||||||
# Brightness/volume keys
|
# Brightness/volume keys
|
||||||
|
@ -125,6 +129,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.gvfs.enable = true;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
# Screenshare on wlroots
|
# Screenshare on wlroots
|
||||||
|
@ -164,4 +169,6 @@
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.noisetorch.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
home-manager.users.agatha = {
|
||||||
|
services.dunst = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,6 +4,15 @@ let
|
||||||
colorscheme = utils.colorscheme "purple" ../../../external/6.png;
|
colorscheme = utils.colorscheme "purple" ../../../external/6.png;
|
||||||
in {
|
in {
|
||||||
home-manager.users.agatha = {
|
home-manager.users.agatha = {
|
||||||
|
|
||||||
|
systemd.user.services.polybar = {
|
||||||
|
Service = {
|
||||||
|
Environment = lib.mkForce
|
||||||
|
"PATH=${config.home-manager.users.agatha.services.polybar.package}/bin:/run/wrappers/bin:${pkgs.dbus}/bin:${pkgs.dunst}/bin";
|
||||||
|
};
|
||||||
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
|
};
|
||||||
|
|
||||||
services.polybar = {
|
services.polybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.polybarFull;
|
package = pkgs.polybarFull;
|
||||||
|
@ -63,7 +72,7 @@ in {
|
||||||
left = "bspwm";
|
left = "bspwm";
|
||||||
center = "date";
|
center = "date";
|
||||||
right =
|
right =
|
||||||
"filesystem battery pulseaudio xkeyboard memory cpu notication-status powermenu";
|
"filesystem battery pulseaudio xkeyboard memory cpu notification-status powermenu";
|
||||||
};
|
};
|
||||||
|
|
||||||
wm-restack = "bspwm";
|
wm-restack = "bspwm";
|
||||||
|
@ -125,7 +134,7 @@ in {
|
||||||
format-prefix-foreground = "\${colors.foreground-alt}";
|
format-prefix-foreground = "\${colors.foreground-alt}";
|
||||||
|
|
||||||
label = ''
|
label = ''
|
||||||
%{A3:dunstify ' Calendar' "$(cal --color=always | sed "s#\\x1b\\[7m#<b>#;s#\\x1b\\[27m#</b>#g")":}%date%%{A} %time%'';
|
%{A3:${pkgs.dunst}/bin/dunstify ' Calendar' "$(cal --color=always | sed "s#\\x1b\\[7m#<b>#;s#\\x1b\\[27m#</b>#g")":}%date%%{A} %time%'';
|
||||||
};
|
};
|
||||||
|
|
||||||
"module/filesystem" = {
|
"module/filesystem" = {
|
||||||
|
@ -248,7 +257,7 @@ in {
|
||||||
"module/notification-status" = {
|
"module/notification-status" = {
|
||||||
type = "custom/script";
|
type = "custom/script";
|
||||||
exec = ''
|
exec = ''
|
||||||
if $(dunstctl is-paused); then; echo "Notifications paused"; else; echo ""; fi;'';
|
if $(dunstctl is-paused); then echo "Notifications paused"; else echo ""; fi'';
|
||||||
interval = 2;
|
interval = 2;
|
||||||
format-prefix = " ";
|
format-prefix = " ";
|
||||||
};
|
};
|
||||||
|
|
|
@ -39,6 +39,9 @@
|
||||||
oci-containers = { backend = "podman"; };
|
oci-containers = { backend = "podman"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
Loading…
Reference in New Issue