cleanup and format

This commit is contained in:
Thilo Billerbeck 2024-02-27 02:54:02 +01:00
parent 1121201acd
commit 07a1841fda
37 changed files with 336 additions and 427 deletions
home-manager/wrappers

View file

@ -1,5 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
let
chromeArgs = lib.strings.concatStringsSep " " [
@ -16,15 +15,15 @@ let
"--ozone-platform-hint=auto"
"--enable-features=WaylandWindowDecorations"
];
code-wrapper = (pkgs.writeShellScriptBin "code" ''
code-wrapper = pkgs.writeShellScriptBin "code" ''
exec /usr/bin/code ${codeArgs} "$@"
'');
chrome-wrapper = (pkgs.writeShellScriptBin "google-chrome" ''
'';
chrome-wrapper = pkgs.writeShellScriptBin "google-chrome" ''
exec /usr/bin/google-chrome ${chromeArgs} "$@"
'');
chrome-stable-wrapper = (pkgs.writeShellScriptBin "google-chrome-stable" ''
'';
chrome-stable-wrapper = pkgs.writeShellScriptBin "google-chrome-stable" ''
exec /usr/bin/google-chrome-stable ${chromeArgs} "$@"
'');
'';
in {
home.packages = with pkgs; [
code-wrapper
@ -202,7 +201,7 @@ in {
Name[vi]=Ca s Mi
Name[zh_CN]=
Name[zh_TW]=
Exec=/usr/bin/google-chrome-stable ${chromeArgs}
Exec=/usr/bin/google-chrome-stable ${chromeArgs}
[Desktop Action new-private-window]
Name=New Incognito Window