update microbin, add sxhkdrc command to paste clipboard to my bin
This commit is contained in:
parent
110ba17935
commit
2a1f956227
1
home/profiles/desktop/bin/paste
Executable file
1
home/profiles/desktop/bin/paste
Executable file
|
@ -0,0 +1 @@
|
|||
curl -F "content=$(xclip -o)" -X POST https://bin.sealight.xyz/upload
|
|
@ -113,6 +113,7 @@ in
|
|||
'';
|
||||
# TODO hardcoded
|
||||
".local/bin/passmenu".source = ./bin/passmenu;
|
||||
".local/bin/paste".source = ./bin/paste;
|
||||
".local/bin/bluetoothmenu".source = ./bin/bluetoothmenu;
|
||||
".local/bin/wifimenu".source = ./bin/wifimenu;
|
||||
".local/bin/powermenu".source = ./bin/powermenu;
|
||||
|
|
|
@ -27,6 +27,9 @@ super + Tab
|
|||
super + e
|
||||
rofimoji --selector-args "-theme theme/emojimenu.rasi" --skin-tone moderate --action copy
|
||||
|
||||
super + e
|
||||
paste
|
||||
|
||||
super + p
|
||||
passmenu
|
||||
|
||||
|
|
|
@ -7,11 +7,14 @@
|
|||
services.nginx.virtualHosts."bin.sealight.xyz" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = "client_max_body_size 20M;";
|
||||
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
proxy_pass http://localhost:4949/;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -45,14 +45,7 @@ in
|
|||
after = [ "remote-fs.target" "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = ''${pkgs.microbin}/bin/microbin --port ${builtins.toString cfg.port}
|
||||
--public-path ${cfg.hostname}
|
||||
--editable
|
||||
--enable-burn-after
|
||||
--private
|
||||
--qr
|
||||
--title=sealight
|
||||
--highlightsyntax'';
|
||||
ExecStart = "${pkgs.microbin}/bin/microbin -- --port ${builtins.toString cfg.port} --public-path ${cfg.hostname} --editable --enable-burn-after --private --qr --title=sealight --highlightsyntax";
|
||||
WorkingDirectory = dataFolder;
|
||||
TimeoutStopSec = " 20 ";
|
||||
KillMode = " process ";
|
||||
|
|
Loading…
Reference in a new issue