fix screenshots

This commit is contained in:
2024-03-15 14:52:52 +01:00
parent eef3a7936b
commit 78b5393324
4 changed files with 41 additions and 16 deletions

View File

@@ -28,6 +28,14 @@
useXkbConfig = true;
};
# Enable Asterisks for Password prompt
security.sudo = {
enable = true;
extraConfig = ''
Defaults pwfeedback
'';
};
# Activate Flakes.
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -82,6 +90,7 @@
dmenu
acpilight # For setting Backlight.
dbus
pulseaudio
pulseaudio-ctl

View File

@@ -4,16 +4,6 @@
- Installieren
## Betterbird
- Installieren
- Config
- KJR
- Privat
- Uni
- Kalender
- Signing
## Lockscreen
- Lockscreen implementieren
@@ -116,3 +106,9 @@
- pulseaudioctl only gives correct answer after one change
- change bash scripts to Haskell Functions
## Betterbird
- Theme declarativ setzen
- zweites Profil fixen
- uni mail

View File

@@ -1,11 +1,23 @@
{ pkgs, ... }:
{
#programs.thunderbird = true;
programs.thunderbird = {
enable = true;
profiles = {
privat.isDefault = true;
kjr.isDefault = false;
};
settings = { };
};
accounts.email = {
accounts = {
kjr = {
address = "elias.schroeter@kjr-ebe.de";
imap = {
host = "outlook.office365.com";
port = 993;
tls.enable = true;
};
realName = "Elias Schröter";
signature = {
text = ''
@@ -15,6 +27,14 @@
showSignature = "append";
};
passwordCommand = "mail-password";
smtp = {
host = "smtp.office365.com";
port = 587;
tls = {
enable = true;
useStartTls = true;
};
};
userName = "elias.schroeter@kjr-ebe.de";
thunderbird = { enable = true; };
};
@@ -42,13 +62,13 @@
smtp = {
host = "mail.ecloud.global";
port = 587;
};
userName = "elias.schroeter@e.email";
primary = true;
tls = {
enable = true;
useStartTls = true;
};
};
userName = "elias.schroeter@e.email";
primary = true;
thunderbird = { enable = true; };
};
};

View File

@@ -26,7 +26,7 @@ myconfig = def
[
-- System
("M-p", spawn "rofi -show \"drun\"")
, ("<print>", spawn "maim --format=png \"/Pictures/screenshot-$(date -u +%Y-%m-%d-%H:%M:%S)\"")
, ("<Print>", spawn "maim --format=png \"/home/elias/Pictures/screenshot-$(date -u +%Y-%m-%d-%H:%M:%S).png\"")
--Program
, ("M-c", spawn "firefox")
-- Brightness