Compare commits
3 Commits
2653aa81dd
...
07980aa0db
Author | SHA1 | Date | |
---|---|---|---|
07980aa0db | |||
85bf27d8b3 | |||
9cb6b9e34d |
BIN
.config/dunst/beep.m4a
Normal file
BIN
.config/dunst/beep.m4a
Normal file
Binary file not shown.
24
.config/dunst/dunstrc
Normal file
24
.config/dunst/dunstrc
Normal file
@ -0,0 +1,24 @@
|
||||
[global]
|
||||
follow = mouse
|
||||
font = Fantasque Sans Mono 8
|
||||
frame_width = 1
|
||||
always_run_script = true
|
||||
|
||||
[urgency_low]
|
||||
background = "#161510"
|
||||
foreground = "#cccccc"
|
||||
frame_color = "#727a18"
|
||||
|
||||
[urgency_normal]
|
||||
background = "#161510"
|
||||
foreground = "#cccccc"
|
||||
frame_color = "#727a18"
|
||||
|
||||
[urgency_critical]
|
||||
background = "#161510"
|
||||
foreground = "#cccccc"
|
||||
frame_color = "#727a18"
|
||||
|
||||
[notify]
|
||||
summary = "*"
|
||||
script = ~/.config/dunst/notification_handler.sh
|
3
.config/dunst/notification_handler.sh
Executable file
3
.config/dunst/notification_handler.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
mpv ~/.config/dunst/beep.m4a
|
@ -41,6 +41,9 @@
|
||||
pciutils
|
||||
usbutils
|
||||
pwvucontrol
|
||||
|
||||
dunst
|
||||
libnotify
|
||||
];
|
||||
|
||||
services.hardware.bolt.enable = true; # thunderbolt support
|
||||
@ -48,6 +51,7 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
AutoEnable = true;
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
ControllerMode = "bredr";
|
||||
};
|
||||
@ -87,8 +91,16 @@
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 6000 ];
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
system.stateVersion = "24.05"; # don't change this, lol
|
||||
}
|
||||
|
@ -179,6 +179,9 @@ case "$(hostname)" in
|
||||
bspc monitor HDMI-1-2 -d 9
|
||||
;;
|
||||
esac
|
||||
dunst & disown
|
||||
dbus-launch kdeonnect-indicator & disown
|
||||
;;
|
||||
esac
|
||||
|
||||
# initial post-wm setup
|
||||
|
12
flake.lock
generated
12
flake.lock
generated
@ -41,11 +41,11 @@
|
||||
},
|
||||
"locked": {
|
||||
"dir": "pkgs/firefox-addons",
|
||||
"lastModified": 1722571415,
|
||||
"narHash": "sha256-ncnnr/wolRtH2d6fC00ACGA5QQHh4sG+wZSlssPB0eA=",
|
||||
"lastModified": 1722744193,
|
||||
"narHash": "sha256-KVBIIaPou5PM0jdJerr290baG+vQZRPhT8LD6pYdi3w=",
|
||||
"owner": "rycee",
|
||||
"repo": "nur-expressions",
|
||||
"rev": "f262cf023d907df83a5487a0f981a319d44e1993",
|
||||
"rev": "2558f8e8fbcfea2694665d231259e5bb3de5b140",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
@ -199,11 +199,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1722372011,
|
||||
"narHash": "sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs=",
|
||||
"lastModified": 1722651103,
|
||||
"narHash": "sha256-IRiJA0NVAoyaZeKZluwfb2DoTpBAj+FLI0KfybBeDU0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "cf05eeada35e122770c5c14add958790fcfcbef5",
|
||||
"rev": "a633d89c6dc9a2a8aae11813a62d7c58b2c0cc51",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
15
home/dunst/default.nix
Normal file
15
home/dunst/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ lib, config, pkgs, home, ... }:
|
||||
|
||||
{
|
||||
home.file = {
|
||||
".config/dunst/dunstrc" = {
|
||||
source = ../../.config/dunst/dunstrc;
|
||||
};
|
||||
".config/dunst/notification_handler.sh" = {
|
||||
source = ../../.config/dunst/notification_handler.sh;
|
||||
};
|
||||
".config/dunst/beep.m4a" = {
|
||||
source = ../../.config/dunst/beep.m4a;
|
||||
};
|
||||
};
|
||||
}
|
@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
./bspwm
|
||||
./brave
|
||||
./dunst
|
||||
./sx
|
||||
./sxhkd
|
||||
./tridactyl
|
||||
|
Loading…
Reference in New Issue
Block a user