working on screens and power stuff
This commit is contained in:
parent
ca06918f79
commit
743efa1782
9 changed files with 88 additions and 66 deletions
|
@ -51,7 +51,6 @@
|
|||
ripdrag
|
||||
|
||||
sway-launcher-desktop
|
||||
swayosd
|
||||
|
||||
thunderbird-latest
|
||||
emojify
|
||||
|
@ -110,6 +109,13 @@
|
|||
protonplus
|
||||
fstl
|
||||
|
||||
nwg-look
|
||||
|
||||
kooha
|
||||
obs-studio
|
||||
obs-studio-plugins.wlrobs
|
||||
obs-studio-plugins.obs-gstreamer
|
||||
|
||||
wineWowPackages.stagingFull
|
||||
winetricks
|
||||
];
|
||||
|
@ -129,11 +135,11 @@
|
|||
package = pkgs.bibata-cursors;
|
||||
};
|
||||
theme = {
|
||||
name = "Colloid-Dark";
|
||||
name = "Colloid";
|
||||
package = pkgs.colloid-gtk-theme.override {
|
||||
colorVariants = [ "dark" ];
|
||||
tweaks = [ "normal" "nord" ];
|
||||
themeVariants = [ "grey" ];
|
||||
|
||||
};
|
||||
};
|
||||
iconTheme = {
|
||||
|
@ -157,19 +163,26 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
packages = [
|
||||
"com.github.tchx84.Flatseal"
|
||||
"dev.qwery.AddWater"
|
||||
];
|
||||
services = {
|
||||
flatpak = {
|
||||
enable = true;
|
||||
packages = [
|
||||
"com.github.tchx84.Flatseal"
|
||||
"dev.qwery.AddWater"
|
||||
];
|
||||
};
|
||||
swayosd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
kanshi = {
|
||||
enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
programs = {
|
||||
# eww = {
|
||||
# enable = true;
|
||||
# configDir = ../../homes/emenel/dotfiles/dot_config/eww;
|
||||
# };
|
||||
firefox.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -9,40 +9,49 @@
|
|||
before_sleep_cmd = "loginctl lock-session";
|
||||
};
|
||||
|
||||
# battery timers
|
||||
listener = [
|
||||
# battery timers
|
||||
{
|
||||
timeout = "30";
|
||||
on-timeout = "systemd-ac-power || light -O && light -S 0 && light -s razer/0003:1532:02B6.0003/backlight -S 0";
|
||||
on-resume = "systemd-ac-power || light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
on-resume = "light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
}
|
||||
|
||||
{
|
||||
timeout = "120";
|
||||
on-timeout = "systemd-ac-power || loginctl lock-session && niri msg action power-off-monitors";
|
||||
on-timeout = "systemd-ac-power || light -O && loginctl lock-session && niri msg action power-off-monitors";
|
||||
on-resume = "light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
}
|
||||
|
||||
{
|
||||
timeout = "300";
|
||||
on-timeout = "systemd-ac-power || loginctl lock-session && systemctl suspend";
|
||||
on-timeout = "systemd-ac-power || light -O && loginctl lock-session && systemctl suspend";
|
||||
on-resume = "light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
}
|
||||
|
||||
# ac power timers
|
||||
{
|
||||
timeout = "60";
|
||||
on-timeout = "systemd-ac-power && light -O && light -S 0 && light -s razer/0003:1532:02B6.0003/backlight -S 0";
|
||||
on-resume = "systemd-ac-power && light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
on-resume = "light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
}
|
||||
|
||||
{ timeout = "180";
|
||||
on-timeout = "systemd-ac-power && loginctl lock-session"; }
|
||||
{
|
||||
timeout = "180";
|
||||
on-timeout = "systemd-ac-power && loginctl lock-session";
|
||||
on-resume = "light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
}
|
||||
|
||||
{ timeout = "300";
|
||||
on-timeout = "systemd-ac-power && loginctl lock-session && niri msg action power-off-monitors"; }
|
||||
{
|
||||
timeout = "300";
|
||||
on-timeout = "systemd-ac-power && light -O && loginctl lock-session && niri msg action power-off-monitors";
|
||||
on-resume = "light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
}
|
||||
|
||||
{
|
||||
timeout = "900";
|
||||
on-timeout = "systemd-ac-power && loginctl lock-session && systemctl suspend";
|
||||
on-timeout = "systemd-ac-power && light -O && loginctl lock-session && systemctl suspend";
|
||||
on-resume = "light -I && light -s razer/0003:1532:02B6.0003/backlight -S 40";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -13,10 +13,8 @@ in {
|
|||
spawn-at-startup = [
|
||||
{ command = ["maestral_qt"]; }
|
||||
{ command = ["clipse" "-listen"]; }
|
||||
{ command = ["swayosd-server"]; }
|
||||
{ command = ["waybar"]; }
|
||||
# { command = ["eww" "daemon"]; }
|
||||
{ command = [ "systemctl" "--user" "restart" "hypridle.service" "xwayland-satellite.service" ]; }
|
||||
# { command = ["waybar"]; }
|
||||
{ command = [ "systemctl" "--user" "restart" "xwayland-satellite.service" ]; }
|
||||
];
|
||||
|
||||
workspaces = {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
tldr
|
||||
glow
|
||||
delta
|
||||
htop
|
||||
btop
|
||||
gnupg
|
||||
imagemagick
|
||||
gnutls
|
||||
|
|
|
@ -6,7 +6,7 @@ in {
|
|||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
systemd.enable = false;
|
||||
systemd.enable = true;
|
||||
style = ''
|
||||
* {
|
||||
border: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue