Compare commits

...

2 commits

Author SHA1 Message Date
48e6ab8c0b
feat(home): Pidgin 2024-11-23 15:22:55 -08:00
e4facfab9a
fix(home): Remove unneccesary mkIfs
Don't need to check if the module is enabled for settings within that
module.... they won't be applied if it's not enabled by default
2024-11-23 15:15:30 -08:00
76 changed files with 135 additions and 16 deletions

View file

@ -57,6 +57,7 @@ in
ncmpcpp = enabled;
neo = enabled;
nh = enabled;
pidgin = enabled;
rbw = enabled;
ripgrep = enabled;
ssh = enabled;

View file

@ -64,7 +64,7 @@ in
home.username = mkDefault cfg.name;
programs.git = mkIf config.programs.git.enable {
programs.git = {
userName = mkDefault cfg.git.name;
userEmail = mkDefault cfg.git.email;
};

View file

@ -139,19 +139,19 @@ in
# icons
(mkIf (cfg.icons != null) {
gtk = mkIf config.gtk.enable (mkDefault {
gtk = mkDefault {
iconTheme = {
inherit (cfg.icons) name;
package = mkIf (cfg.icons.package != null) cfg.icons.package;
};
});
};
services.dunst = mkIf config.services.dunst.enable (mkDefault {
services.dunst = mkDefault {
iconTheme = {
inherit (cfg.icons) name;
package = mkIf (cfg.icons.package != null) cfg.icons.package;
};
});
};
})
# pinentry
@ -160,13 +160,13 @@ in
cfg.pinentry
];
programs.rbw = mkIf config.programs.rbw.enable (mkDefault {
programs.rbw = mkDefault {
settings.pinentry = cfg.pinentry;
});
};
services.gpg-agent = mkIf config.services.gpg-agent.enable (mkDefault {
services.gpg-agent = mkDefault {
pinentryPackage = cfg.pinentry;
});
};
})
];
}

View file

@ -34,7 +34,7 @@ in
BATDIFF_USE_DELTA = "true";
};
programs.fish = lib.mkIf config.programs.fish.enable {
programs.fish = {
functions = {
cat = {
wraps = "bat";

View file

@ -17,7 +17,7 @@ in
marleyos.figlet-xero-fonts
];
programs.fish.functions = lib.mkIf config.programs.fish.enable {
programs.fish.functions = {
figlet = {
wraps = "figlet";
body = # fish

View file

@ -192,7 +192,7 @@ in
g = "git";
};
programs.fish.functions = lib.mkIf config.programs.fish.enable {
programs.fish.functions = {
git_develop_branch = # fish
''
command git rev-parse --git-dir &>/dev/null || return

View file

@ -17,7 +17,7 @@ in
neo
];
programs.fish.functions = mkIf config.programs.fish.enable {
programs.fish.functions = {
neo = {
wraps = "neo";
body = # fish

View file

@ -0,0 +1,35 @@
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf getExe;
cfg = config.marleyos.programs.pidgin;
in
{
options.marleyos.programs.pidgin.enable = mkEnableOption "pidgin";
config = mkIf cfg.enable {
programs.pidgin = {
enable = true;
plugins = with pkgs.pidginPackages; [
pidgin-window-merge
];
};
home.file = {
".purple/smileys/pandamotes".source = ./pandamotes;
".purple/smileys/pixelhead".source = ./pixelhead;
".purple/themes/hearty".source = ./hearty;
};
xsession.initExtra = # sh
''
${getExe pkgs.pidgin} &
'';
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

View file

@ -0,0 +1,19 @@
<theme type="pidgin status icon"
name="Hearty"
image="16/available.png"
>
<icon id="pidgin-status-available" file="available.png" />
<icon id="pidgin-status-available-i" file="available.png" />
<icon id="pidgin-status-away" file="away.png" />
<icon id="pidgin-status-away-i" file="away.png" />
<icon id="pidgin-status-busy" file="busy.png" />
<icon id="pidgin-status-busy-i" file="busy.png" />
<icon id="pidgin-status-chat" file="chat.png" />
<icon id="pidgin-status-invisible" file="invisible.png" />
<icon id="pidgin-status-xa" file="extended-away.png" />
<icon id="pidgin-status-xa-i" file="extended-away.png" />
<icon id="pidgin-status-login" file="log-in.png" />
<icon id="pidgin-status-logout" file="log-out.png" />
<icon id="pidgin-status-offline" file="offline.png" />
<icon id="pidgin-status-person" file="person.png" />
</theme>

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

View file

@ -0,0 +1,25 @@
Name=Pandamotes
Description=adium to pidgin conventer
Icon=panda=).gif
Author=adium to pidgin conventer
[default]
panda=).gif =) :) =-) :-)
panda=(.gif =( :( =-( :-(
panda=D.gif =D :D =-D :-D
pandax3.gif =3 :3 =-3 :-3
panda=>.gif => :> =-> :->
panda=l.gif =l :l =-l :-l
panda=o.gif =. :. =-. :-.
panda=Oh.gif =O :O =-O :-O
panda=P.gif =p :p =-p :-p
pandadomo.gif =[] :[] =-[] :-[]
pandagonk.gif D= D: ToT :gonk:
pandaT_T.gif T__T ;__; T_T ;_;
pandared.gif :redpanda: :pandared: :pandar:
pandaorange.gif :orangepanda: :pandaorange: :pandao:
pandayellow.gif :yellowpanda: :pandayellow: :panday:
pandagreen.gif :greenpanda: :pandagreen: :pandag:
pandablue.gif :bluepanda: :pandablue: :pandab:
pandaviolet.gif :violetpanda: :pandaviolet: :pandav: :purplepanda: :pandapurple: :pandap:

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

View file

@ -0,0 +1,42 @@
Name=pixelhead
Description=adium to pidgin conventer
Icon=smile.png
Author=adium to pidgin conventer
[default]
ah.png *ah*
angel.png o:) O:)
angry.png >( :@
blank.png :|
beh.png -.- *beh*
confused.png :s :S
blush.png :$ $-) $)
cry.png :'( i_i
devil.png (6) *devil* ]:)
drop.png ^^; *drop*
geek.png 8-| 8| *geek*
glasses.png 8) *glasses*
grin.png :D *grin*
hm.png :? *hm* oO
hehe.png ^.^
lovekiss.png (k) (K) *3*
oh.png :o :O =O =o
oink.png ^o^ :o)
pfff.png :p'' *pfff*
pout.png >| *pout*
puppy.png *_* *puppy*
sad.png =( :( *fun*
shut.png =X =x :x :X
sleep.png (Z) (z)
sleepy.png |-) |)
smile.png :) :-) =)
smileclosed.png ^^
tiltil.png ~~
tongue.png =p =P :P :p
uah.png :'O :'o ='O ='o
unpleased.png :\ :-/
upset.png >o >O
wink.png ;) *wink*
xd.png XD xD
xx.png XP xP xp Xp X_X x_x

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

View file

@ -17,17 +17,14 @@ in
numlock.enable = true;
# TODO: Switch to autorandr.
profileExtra = # sh
''
sudo mount -a
"${config.home.homeDirectory}/.config/xrandr/desktop.sh"
'';
initExtra = # sh
''
mpd &
pidgin &
'';
};
};