feat: restructured some stuff for user1
|
@ -114,39 +114,65 @@ in
|
|||
inherit (modules)
|
||||
cli
|
||||
brave
|
||||
emulators
|
||||
firefox
|
||||
floorp
|
||||
tor
|
||||
code
|
||||
gaming
|
||||
media
|
||||
messaging
|
||||
sharing
|
||||
tools
|
||||
;
|
||||
};
|
||||
};
|
||||
"${deimos.name}-${user1}" = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
cli
|
||||
brave
|
||||
ghostty
|
||||
prismLauncher
|
||||
steam
|
||||
zed
|
||||
gaming
|
||||
spotify
|
||||
docs
|
||||
mpv
|
||||
feishin
|
||||
obsidian
|
||||
libreOffice
|
||||
okular
|
||||
zathura
|
||||
kolourPaint
|
||||
discord
|
||||
imageViewing
|
||||
obsStudio
|
||||
daVinci
|
||||
mpv
|
||||
freetube
|
||||
dissent
|
||||
discordCanary
|
||||
element
|
||||
signal
|
||||
scrcpy
|
||||
sharing
|
||||
bitwarden
|
||||
emote
|
||||
desktop
|
||||
flameshot
|
||||
gnomeCalculator
|
||||
scrcpy
|
||||
systemMonitor
|
||||
usbImager
|
||||
virtManager
|
||||
hypr
|
||||
wayland
|
||||
theming
|
||||
polychromatic
|
||||
dolphin
|
||||
;
|
||||
};
|
||||
};
|
||||
# "${deimos.name}-${user1}" = {
|
||||
# imports = builtins.attrValues {
|
||||
# inherit (modules)
|
||||
# cli
|
||||
# brave
|
||||
# ghostty
|
||||
# zed
|
||||
# gaming
|
||||
# spotify
|
||||
# docs
|
||||
# mpv
|
||||
# kolourPaint
|
||||
# discord
|
||||
# signal
|
||||
# scrcpy
|
||||
# bitwarden
|
||||
# emote
|
||||
# desktop
|
||||
# ;
|
||||
# };
|
||||
# };
|
||||
"${charon.name}-${user1}" = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
|
|
0
modules/home/gui/apps/media/docs/docViewing/zathura/default.nix
Normal file → Executable file
|
@ -24,8 +24,6 @@ let
|
|||
"5, workspace, 5"
|
||||
# Windows
|
||||
"Tab, killactive"
|
||||
"O, splitratio, 0.33"
|
||||
"F, splitratio, -0.33"
|
||||
# Window Focus
|
||||
"C, movefocus, l"
|
||||
"A, movefocus, u"
|
||||
|
@ -45,6 +43,8 @@ let
|
|||
"A, movewindow, u"
|
||||
"E, movewindow, d"
|
||||
"I, movewindow, r"
|
||||
"equal, splitratio, 0.33"
|
||||
"minus, splitratio, -0.33"
|
||||
# Quick Action
|
||||
"T, exec, ghostty"
|
||||
"S, exec, flameshot gui"
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for i in {1..5}
|
||||
do
|
||||
text=$(curl -s "https://wttr.in/$1?format=1")
|
||||
if [[ $? == 0 ]]
|
||||
then
|
||||
text=$(echo "$text" | sed -E "s/\s+/ /g")
|
||||
tooltip=$(curl -s "https://wttr.in/$1?format=4")
|
||||
if [[ $? == 0 ]]
|
||||
then
|
||||
tooltip=$(echo "$tooltip" | sed -E "s/\s+/ /g")
|
||||
echo "{\"text\":\"$text\", \"tooltip\":\"$tooltip\"}"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
sleep 2
|
||||
done
|
||||
echo "{\"text\":\"error\", \"tooltip\":\"error\"}"
|
|
@ -1,8 +1,13 @@
|
|||
{ flake, ... }:
|
||||
{ flake, config, ... }:
|
||||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
user1
|
||||
user2
|
||||
;
|
||||
|
||||
user = config.home.username;
|
||||
userConfig = flake.config.people.users.${user};
|
||||
in
|
||||
{
|
||||
mainBar = {
|
||||
|
@ -30,6 +35,7 @@ in
|
|||
"disk"
|
||||
"pulseaudio"
|
||||
# "network"
|
||||
"battery"
|
||||
"clock"
|
||||
];
|
||||
|
||||
|
@ -153,12 +159,29 @@ in
|
|||
};
|
||||
|
||||
"custom/weather" = {
|
||||
exec = "/home/${user0}/Files/Projects/dotfiles/modules/home/gui/desktop/wayland/waybar/config/scripts/get_weather.sh Winnipeg";
|
||||
exec = "/home/${user}/.config/scripts/get_weather.sh Winnipeg";
|
||||
return-type = "json";
|
||||
format = "{}";
|
||||
tooltip = true;
|
||||
interval = 3600;
|
||||
};
|
||||
battery = {
|
||||
format = "{icon} {capacity}%";
|
||||
format-alt = "{icon} {time}";
|
||||
format-charging = " {capacity}%";
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
format-plugged = " {capacity}%";
|
||||
states = {
|
||||
critical = 15;
|
||||
warning = 30;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
# https://unicodes.jessetane.com/
|
||||
|
|
|
@ -100,6 +100,12 @@ in
|
|||
#clock {
|
||||
}
|
||||
|
||||
#battery {
|
||||
font-size: ${custom.font_size};
|
||||
color: #${custom.text_color};
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 20px;
|
||||
color: #${custom.text_color};
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}:
|
||||
let
|
||||
configPath = ./config;
|
||||
settingsPath = import (configPath + /settings.nix) { inherit flake; };
|
||||
settingsPath = import (configPath + /settings.nix) { inherit config flake; };
|
||||
stylePath = import (configPath + /style.nix) { inherit config flake; };
|
||||
in
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
"default" = {
|
||||
path = "~/Files/Projects/dotfiles/modules/home/gui/desktop/wayland/wpaperd/wallpaper";
|
||||
path = "~/.config/wallpaper";
|
||||
apply-shadow = true;
|
||||
duration = "1m";
|
||||
sorting = "random";
|
||||
|
|
Before Width: | Height: | Size: 578 KiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 886 KiB |
Before Width: | Height: | Size: 201 KiB |
Before Width: | Height: | Size: 808 KiB |
Before Width: | Height: | Size: 578 KiB |
Before Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 5.1 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 632 KiB |
Before Width: | Height: | Size: 460 KiB |
Before Width: | Height: | Size: 8.2 MiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 833 KiB |
Before Width: | Height: | Size: 467 KiB |
Before Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 257 KiB |
Before Width: | Height: | Size: 261 KiB |
Before Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 501 KiB |
Before Width: | Height: | Size: 252 KiB |
Before Width: | Height: | Size: 646 KiB |
Before Width: | Height: | Size: 422 KiB |
Before Width: | Height: | Size: 552 KiB |
Before Width: | Height: | Size: 366 KiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 747 KiB |
Before Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 665 KiB |
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 869 KiB |
Before Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 457 KiB |
Before Width: | Height: | Size: 876 KiB |
Before Width: | Height: | Size: 529 KiB |
Before Width: | Height: | Size: 258 KiB |
Before Width: | Height: | Size: 568 KiB |
Before Width: | Height: | Size: 323 KiB |
Before Width: | Height: | Size: 720 KiB |
Before Width: | Height: | Size: 185 KiB |
Before Width: | Height: | Size: 289 KiB |
Before Width: | Height: | Size: 405 KiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 4.1 MiB |
Before Width: | Height: | Size: 787 KiB |
Before Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.7 MiB |
|
@ -1,4 +1,8 @@
|
|||
{ flake, config, ... }:
|
||||
{
|
||||
flake,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
|
@ -11,8 +15,25 @@ let
|
|||
hostname = config.networking.hostName;
|
||||
mars = devices.mars.name;
|
||||
ceres = devices.ceres.name;
|
||||
venus = devices.venus.names;
|
||||
venus = devices.venus.name;
|
||||
charon = devices.charon.name;
|
||||
deimos = devices.deimos.name;
|
||||
|
||||
userLogic =
|
||||
if
|
||||
builtins.elem hostname [
|
||||
mars
|
||||
deimos
|
||||
ceres
|
||||
]
|
||||
then
|
||||
user0
|
||||
else if hostname == charon then
|
||||
user1
|
||||
else if hostname == venus then
|
||||
user2
|
||||
else
|
||||
"";
|
||||
in
|
||||
{
|
||||
security = {
|
||||
|
@ -23,18 +44,7 @@ in
|
|||
keepEnv = true;
|
||||
noPass = true;
|
||||
users = [
|
||||
(
|
||||
if hostname == mars then
|
||||
user0
|
||||
else if hostname == ceres then
|
||||
user0
|
||||
else if hostname == charon then
|
||||
user1
|
||||
else if hostname == venus then
|
||||
user2
|
||||
else
|
||||
""
|
||||
)
|
||||
userLogic
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
|
@ -17,15 +17,22 @@ let
|
|||
;
|
||||
hostname = config.networking.hostName;
|
||||
mars = devices.mars.name;
|
||||
deimos = devices.deimos.name;
|
||||
ceres = devices.ceres.name;
|
||||
venus = devices.venus.name;
|
||||
charon = devices.charon.name;
|
||||
|
||||
userLogic =
|
||||
if hostname == mars then
|
||||
user0
|
||||
else if hostname == ceres then
|
||||
if
|
||||
builtins.elem hostname [
|
||||
mars
|
||||
deimos
|
||||
ceres
|
||||
]
|
||||
then
|
||||
user0
|
||||
else if hostname == charon then
|
||||
user1
|
||||
else if hostname == venus then
|
||||
user2
|
||||
else
|
||||
|
|
|
@ -34,6 +34,8 @@ in
|
|||
inherit (modules)
|
||||
hypr
|
||||
wayland
|
||||
# plasma
|
||||
# sddm
|
||||
flatpak
|
||||
xserver
|
||||
;
|
||||
|
|
|
@ -7,7 +7,14 @@
|
|||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
user1
|
||||
user2
|
||||
;
|
||||
inherit (flake.config.machines) devices;
|
||||
venus = devices.venus.name;
|
||||
charon = devices.charon.name;
|
||||
|
||||
host = config.networking.hostName;
|
||||
in
|
||||
{
|
||||
services = {
|
||||
|
@ -18,7 +25,13 @@ in
|
|||
let
|
||||
default_session = {
|
||||
command = "${lib.meta.getExe config.programs.hyprland.package}";
|
||||
user = user0;
|
||||
user =
|
||||
if host == charon then
|
||||
user1
|
||||
else if host == venus then
|
||||
user2
|
||||
else
|
||||
user0;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ let
|
|||
in
|
||||
{
|
||||
programs.regreet = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
package = pkgs.greetd.regreet;
|
||||
# settings = {
|
||||
# appearance = {
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
{ flake, config, ... }:
|
||||
{
|
||||
flake,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
user1
|
||||
user2
|
||||
;
|
||||
inherit (flake.config.machines)
|
||||
|
@ -12,12 +17,19 @@ let
|
|||
ceres = devices.ceres.name;
|
||||
venus = devices.venus.name;
|
||||
charon = devices.charon.name;
|
||||
deimos = devices.deimos.name;
|
||||
|
||||
userLogic =
|
||||
if hostname == mars then
|
||||
user0
|
||||
else if hostname == ceres then
|
||||
if
|
||||
builtins.elem hostname [
|
||||
mars
|
||||
deimos
|
||||
ceres
|
||||
]
|
||||
then
|
||||
user0
|
||||
else if hostname == charon then
|
||||
user1
|
||||
else if hostname == venus then
|
||||
user2
|
||||
else
|
||||
|
|