mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
d378a2d3ea
10 changed files with 77 additions and 45 deletions
|
|
@ -5,18 +5,6 @@
|
|||
osConfig,
|
||||
...
|
||||
}: let
|
||||
fsss = with pkgs;
|
||||
writeShellApplication {
|
||||
name = "fsss";
|
||||
runtimeInputs = [flameshot curl xsel];
|
||||
text = ''
|
||||
flameshot gui -r -s > /tmp/ss.png;if [ ! -s /tmp/ss.png ]; then
|
||||
exit 1
|
||||
fi
|
||||
AUTH=$(cat ${config.sops.secrets.zipline-auth.path})
|
||||
curl -H "authorization: $AUTH" https://share.muon.host/api/upload -F file=@/tmp/ss.png -H "Content-Type: multipart/form-data" -H "Format: date" -H "Image-Compression-Percent: 90" -H "No-JSON: true" | tr -d '\n' | xsel -ib;
|
||||
'';
|
||||
};
|
||||
zmenu = with pkgs;
|
||||
writeShellApplication {
|
||||
name = "zmenu";
|
||||
|
|
@ -155,8 +143,10 @@ in
|
|||
// {
|
||||
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume 0 +2%";
|
||||
"XF86AudioLowerVolume" = "exec --no-startup-id pactl set-sink-volume 0 -2%";
|
||||
"Print" = "exec ${getExe fsss}";
|
||||
"Print" = "exec flameshot gui -c -s";
|
||||
"${modifier}+z" = "exec ${getExe zmenu}";
|
||||
"${modifier}+p" = "exec clipmenu";
|
||||
"${modifier}+b" = "exec ${getExe pkgs.rofi-rbw-x11}";
|
||||
"${modifier}+y" = "sticky toggle";
|
||||
"${modifier}+g" = "floating toggle";
|
||||
});
|
||||
|
|
|
|||
|
|
@ -48,12 +48,12 @@ in
|
|||
programs.zsh.sessionVariables.BROWSER = "librewolf";
|
||||
|
||||
services.flameshot = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
disabledTrayIcon = true;
|
||||
showStartupLaunchMessage = false;
|
||||
startupLaunch = false;
|
||||
startupLaunch = true;
|
||||
|
||||
uiColor = color.base01;
|
||||
contrastUiColor = color.base00;
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ in {
|
|||
abaddon
|
||||
vesktop-nogain
|
||||
# (callPackage ./packages/librediscord.nix {})
|
||||
jami
|
||||
|
||||
# Video
|
||||
freetube
|
||||
|
|
@ -29,5 +30,6 @@ in {
|
|||
];
|
||||
|
||||
services.gnome-keyring.enable = true;
|
||||
services.dunst.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ in {
|
|||
clipboard = {
|
||||
enable = true;
|
||||
providers.xclip.enable = true;
|
||||
registers = "unnamed,unnamedplus";
|
||||
};
|
||||
|
||||
mini = {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@ in {
|
|||
stylix = {
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
base16Scheme = cfg.scheme;
|
||||
# base16Scheme = cfg.scheme;
|
||||
base16Scheme = ./synthwave84.yaml;
|
||||
image = cfg.wallpaper;
|
||||
cursor = {
|
||||
name = "phinger-cursors-light";
|
||||
|
|
|
|||
24
modules/nixos/theme/synthwave84.yaml
Normal file
24
modules/nixos/theme/synthwave84.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
system: "base16"
|
||||
name: "synthwave84"
|
||||
slug: "synthwave84"
|
||||
author: "Someone"
|
||||
variant: "dark"
|
||||
palette:
|
||||
base00: "2a2139"
|
||||
base01: "241b2f"
|
||||
base02: "34294f"
|
||||
base03: "8e6fe4"
|
||||
base04: "c1c3e6"
|
||||
base05: "f5f5ff"
|
||||
base06: "ffffff"
|
||||
base07: "fffdf8"
|
||||
base08: "f92aad"
|
||||
base09: "f97e72"
|
||||
base0A: "ffe261"
|
||||
base0B: "72f1b8"
|
||||
base0C: "78dcff"
|
||||
base0D: "36f9f6"
|
||||
base0E: "ff7edb"
|
||||
base0F: "bb8977"
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue