Compare commits

..

No commits in common. "3dcb48fe23350dca7b42c84487818d0538805c81" and "895c11e4f7c5551bc1f000954108b96289d85329" have entirely different histories.

4 changed files with 4 additions and 55 deletions

View file

@ -90,9 +90,6 @@
blahaj
];
# Allow swaylock to work
security.pam.services.swaylock = { };
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.

View file

@ -22,11 +22,8 @@
beluga
bitwarden
brightnessctl
clifm
darktable
gimp
godot
grim
hledger
inkscape
libreoffice
@ -35,7 +32,6 @@
picard
prismlauncher
signal-desktop
slurp
vlc
xournalpp
];
@ -72,7 +68,6 @@
home.sessionVariables = {
EDITOR = "kak";
LEDGER_FILE = "~/Documents/Accounting/hledger.journal";
};

View file

@ -1,30 +1,6 @@
bright=$(brightnessctl get)
state=-1
thresh=(0
286
642
1070
1568
2138
2778
3490
4272
5126
6050
7046
8112
9250
10458
11738
13088
14510
16002
17566
19200)
# Linear
#(0 960 1920 2880 3840 4800 5760 6720 7680 8640 9600 10560 11520 12480 13440 14400 15360 16320 17280 18240 19200)
# Exponential
#(0 1 2 3 5 9 15 27 46 80 139 240 415 717 1240 2145 3710 6418 11100 19200)
thresh=(0 1 2 3 5 9 15 27 46 80 139 240 415 717 1240 2145 3710 6418 11100 19200)
for i in ${!thresh[@]}; do
if [ $bright -ge ${thresh[$i]} ]

View file

@ -39,9 +39,6 @@ in {
XF86AudioPrev = "exec playerctl previous";
XF86AudioNext = "exec playerctl next";
# Lock
"${mod}+Shift+l" = "exec swaylock -f";
});
@ -54,32 +51,16 @@ in {
enable = true;
};
# App menu
programs.rofi = {
enable = true;
};
# Lock screen
programs.swaylock = {
enable = true;
settings = {
font-size = 14;
};
};
# Autolock
services.swayidle = {
enable = true;
events = [{
event = "before-sleep";
command = "${pkgs.lib.getExe pkgs.swaylock} -f";
}];
};
qt = {
enable = true;
# style = {};
};
gtk = {
enable = true;
# theme = {};