diff options
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 8 | ||||
-rw-r--r-- | accounts/gkleen@sif/xmonad/xmonad.hs | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index a318a8ee..0d36478c 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -47,6 +47,12 @@ let | |||
47 | --prefix PATH : ${pkgs.pulseaudio}/bin | 47 | --prefix PATH : ${pkgs.pulseaudio}/bin |
48 | ''; | 48 | ''; |
49 | }; | 49 | }; |
50 | wrappedChrome = pkgs.runCommand "${pkgs.google-chrome.name}-wrapped" {} '' | ||
51 | mkdir -p "$out/bin" | ||
52 | install -m 0755 ${pkgs.google-chrome}/bin/google-chrome-stable $out/bin/google-chrome | ||
53 | wrapProgram $out/bin/google-chrome \ | ||
54 | --add-flags '--force-device-scale-factor=1.6' | ||
55 | ''; | ||
50 | in { | 56 | in { |
51 | imports = with flake.nixosModules.userProfiles.${userName}; [ | 57 | imports = with flake.nixosModules.userProfiles.${userName}; [ |
52 | mpv | 58 | mpv |
@@ -208,7 +214,7 @@ in { | |||
208 | thunderbird zulip zoom-us steam steam-run wireshark skype | 214 | thunderbird zulip zoom-us steam steam-run wireshark skype |
209 | virt-manager rclone cached-nix-shell xournal discord xmonad | 215 | virt-manager rclone cached-nix-shell xournal discord xmonad |
210 | worktime fira-code-symbols emacsclientDesktopItem libreoffice | 216 | worktime fira-code-symbols emacsclientDesktopItem libreoffice |
211 | xournalpp | 217 | xournalpp wrappedChrome |
212 | ]; | 218 | ]; |
213 | 219 | ||
214 | file = { | 220 | file = { |
diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index d21debdf..d75d0de6 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs | |||
@@ -220,7 +220,7 @@ hostFromName h | |||
220 | , hWsp = hWsp | 220 | , hWsp = hWsp |
221 | , hCoWsp = hCoWsp | 221 | , hCoWsp = hCoWsp |
222 | , hKeysMod = \conf -> Map.union $ (Map.fromList $ join $ map (spawnBindings conf) [ (xK_e, ["emacsclient -c"]) | 222 | , hKeysMod = \conf -> Map.union $ (Map.fromList $ join $ map (spawnBindings conf) [ (xK_e, ["emacsclient -c"]) |
223 | , (xK_d, [fromString browser, fromString $ browser ++ " $(xclip -o)", fromString $ "notmuch-links"]) | 223 | , (xK_d, [fromString browser, "google-chrome", "notmuch-links"]) |
224 | , (xK_c, [ inputPrompt xPConfig "dc" ?+ dc ]) | 224 | , (xK_c, [ inputPrompt xPConfig "dc" ?+ dc ]) |
225 | , (xK_g, ["pidgin"]) | 225 | , (xK_g, ["pidgin"]) |
226 | , (xK_s, ["skype"]) | 226 | , (xK_s, ["skype"]) |