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

View File

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

View File

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

View File

@@ -26,7 +26,7 @@ myconfig = def
[ [
-- System -- System
("M-p", spawn "rofi -show \"drun\"") ("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 --Program
, ("M-c", spawn "firefox") , ("M-c", spawn "firefox")
-- Brightness -- Brightness