Compare commits

...

3 Commits

Author SHA1 Message Date
stupidcomputer 07980aa0db fully configure dunst and kdeconnect 2024-08-11 14:23:01 -05:00
stupidcomputer 85bf27d8b3 add dunst configuration 2024-08-11 14:22:42 -05:00
stupidcomputer 9cb6b9e34d increment flake.lock 2024-08-04 19:42:46 -05:00
8 changed files with 64 additions and 6 deletions

BIN
.config/dunst/beep.m4a Normal file

Binary file not shown.

24
.config/dunst/dunstrc Normal file
View 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

View File

@ -0,0 +1,3 @@
#!/bin/sh
mpv ~/.config/dunst/beep.m4a

View File

@ -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
}

View File

@ -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

View File

@ -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
View 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;
};
};
}

View File

@ -4,6 +4,7 @@
imports = [
./bspwm
./brave
./dunst
./sx
./sxhkd
./tridactyl