mess migration

This commit is contained in:
atagen 2023-09-11 21:30:13 +10:00
parent fbc47ef8f7
commit 6bee06e028
77 changed files with 144 additions and 60 deletions

41
home/home.nix Normal file → Executable file
View file

@ -36,11 +36,9 @@ in {
fzf
zoxide
zellij
glib # for gsettings
grim
slurp
swaybg
wlogout
libnotify
xorg.xrdb
swayidle
@ -55,7 +53,7 @@ in {
swayosd
fuzzel
kdeconnect
# kdeconnect
keepassxc
git-credential-keepassxc
@ -63,6 +61,8 @@ in {
mpv
river
# libsForQt5.qtstyleplugin-kvantum
gtk-engine-murrine
@ -88,6 +88,10 @@ in {
services.udiskie.enable = true;
programs.vscode = {
enable = true;
};
programs.ironbar = with pkgs.rice; {
enable = true;
config = {
@ -200,9 +204,14 @@ in {
};
};
startup = with pkgs; [
{command = "${lib.getExe mullvad} connect";}
{command = "${lib.getExe xorg.xrdb} -l ~/.Xresources";}
{command = "${lib.getExe flashfocus} -o 0.95 -t 175 -n 30 --no-flash-fullscreen -l on_open_close";}
{command = "${lib.getExe' keepassxc "keepassxc"}";}
{command = "${lib.getExe' ckb-next "ckb-next"} -c -b";}
{command = "${lib.getExe' mullvad "mullvad"} connect";}
{command = "${lib.getExe' xorg.xrdb "xrdb"} -l ~/.Xresources";}
{command = "${lib.getExe' flashfocus "flashfocus"} -o 0.97 -t 175 -n 30 --no-flash-fullscreen -l on_open_close";}
{command = "${lib.getExe' glib.bin "gsettings"} set org.gnome.desktop.interface gtk-theme '${rice.gtk-theme.name}'";}
{command = "${lib.getExe' glib.bin "gsettings"} set org.gnome.desktop.interface font-name '${rice.fonts.sans.name}'";}
{command = "${lib.getExe' glib.bin "gsettings"} set org.gnome.desktop.interface icon-theme '${rice.icons.name}'";}
];
terminal = "kitty";
modifier = "Mod4";
@ -304,21 +313,23 @@ in {
builtins.mapAttrs (name: cmd: {
Unit = {
Description = "${name}";
Requires = ["sway-session.target"];
};
Service = {
ExecStart = cmd;
};
Install = {
WantedBy = ["graphical-session.target"];
WantedBy = ["sway-session.target"];
};
})
{
swaybg = "${lib.getExe swaybg} -i ${rice.bg.image} -m fill";
ckb-next = "${lib.getExe ckb-next} -c -b";
swayosd = "${lib.getExe swayosd} --max-volume 100";
keepassxc = "${lib.getExe keepassxc}";
# QT APPS CANT THEME PROPERLY HOW EMBARASSING
# keepassxc = "${lib.getExe' keepassxc "keepassxc"}";
# ckb-next = "${lib.getExe' ckb-next "ckb-next"} -c -b";
swayosd = "${lib.getExe' swayosd "swayosd"} --max-volume 100";
swaync = "${lib.getExe swaynotificationcenter}";
persway = "${lib.getExe persway} daemon -d spiral -f \"[tiling] opacity 0.98; opacity 1\"";
persway = "${lib.getExe' persway "persway"} daemon -d spiral";
# PYTHON APP CANT RUN AS SYSTEMD SERVICE HOW EMBARASSING
# flashfocus = "${lib.getExe flashfocus} -o 0.95 -t 175 -n 30 --no-flash-fullscreen -l on_open_close";
};
@ -406,6 +417,7 @@ in {
"#BTNCOL"
"#BTNBG"
"#BTNFOCUSBG"
# "#WINLOGO"
]
[
"${pkgs.wlogout}/share/wlogout"
@ -414,6 +426,11 @@ in {
bright.yellow
util.bg
normal.black
# (builtins.path {
# name = "winlogo";
# path = ./winlogo.png;
# sha256 = "7c1ff96b553c7a7ca3a7b7cf8efe830ab7feea92355aed288a10ee7347c24108";
# })
]
(builtins.readFile dots/wlogout/style.css));
};