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

0
home/bolt.nix Normal file → Executable file
View file

0
home/dots/Xresources Normal file → Executable file
View file

0
home/dots/eww/colors.scss Normal file → Executable file
View file

0
home/dots/hyprland/hyprland.conf Normal file → Executable file
View file

0
home/dots/ironbar.corn Normal file → Executable file
View file

0
home/dots/ironbar.css Normal file → Executable file
View file

0
home/dots/swaync/config.json Normal file → Executable file
View file

0
home/dots/swaync/configSchema.json Normal file → Executable file
View file

0
home/dots/swaync/style.css Normal file → Executable file
View file

8
home/dots/wlogout/layout Normal file → Executable file
View file

@ -30,9 +30,9 @@
"keybind" : "r"
},
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
"label" : "windows",
"action" : "systemctl reboot --boot-loader-entry=auto-windows",
"text" : "Windows",
"keybind" : "w"
}
]

4
home/dots/wlogout/style.css Normal file → Executable file
View file

@ -42,3 +42,7 @@ button:focus, button:active, button:hover {
#reboot {
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
}
#windows {
background-image: image(url("#WINLOGO"))
}

0
home/dots/xonshrc Normal file → Executable file
View file

0
home/dots/xonshrc.py Normal file → Executable file
View file

4
home/dots/zsh Normal file → Executable file
View file

@ -2,12 +2,12 @@
la_culr()
{
exa -lha --group-directories-first --icons --color=always $@ | culr -t 80 -o roygbiv-split
eza -lha --group-directories-first --icons --color=always $@ | culr -t 80 -o roygbiv-split
}
ls_culr()
{
exa -lh --group-directories-first --icons --color=always $@ | culr -t 80 -o roygbiv-split
eza -lh --group-directories-first --icons --color=always $@ | culr -t 80 -o roygbiv-split
}
ps_culr()

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));
};

0
home/overlay.nix Normal file → Executable file
View file

0
home/plank.nix Normal file → Executable file
View file

0
home/programs/eww/README.md Normal file → Executable file
View file

0
home/programs/eww/css/_calendar.scss Normal file → Executable file
View file

0
home/programs/eww/css/_colors.scss Normal file → Executable file
View file

0
home/programs/eww/css/_music.scss Normal file → Executable file
View file

0
home/programs/eww/css/_osd.scss Normal file → Executable file
View file

0
home/programs/eww/css/_sidebar.scss Normal file → Executable file
View file

0
home/programs/eww/css/_system.scss Normal file → Executable file
View file

0
home/programs/eww/css/_volume.scss Normal file → Executable file
View file

0
home/programs/eww/default.nix Normal file → Executable file
View file

0
home/programs/eww/eww.scss Normal file → Executable file
View file

0
home/programs/eww/eww.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/bluetooth.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/bright.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/clock.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/current_win.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/music.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/net.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/sys.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/variables.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/volume.yuck Normal file → Executable file
View file

0
home/programs/eww/modules/workspaces.yuck Normal file → Executable file
View file

0
home/programs/eww/windows/calendar.yuck Normal file → Executable file
View file

0
home/programs/eww/windows/music.yuck Normal file → Executable file
View file

0
home/programs/eww/windows/osd.yuck Normal file → Executable file
View file

0
home/programs/eww/windows/system-menu.yuck Normal file → Executable file
View file

20
home/twitchin.nix Executable file
View file

@ -0,0 +1,20 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
imports = [
./home.nix
];
home.packages = with pkgs; [
nicotine-plus
];
home = {
username = "twitchin";
homeDirectory = "/home/twitchin";
};
}

BIN
home/winlogo.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB