diff --git a/configuration.nix b/configuration.nix index efd05dd..99866bf 100755 --- a/configuration.nix +++ b/configuration.nix @@ -1,6 +1,4 @@ -{ pkgs, pkgs-unstable, rice, inputs, ... }: -let -in +{ pkgs, pkgs-unstable, inputs, ... }: { imports = [ inputs.sops-nix.nixosModules.sops @@ -9,6 +7,7 @@ in ./system-modules/nvidia.nix ./system-modules/users.nix ./system-modules/sound.nix + ./system-modules/fonts.nix ./system-modules/boot.nix ./system-modules/dm.nix ./system-modules/networking.nix @@ -91,22 +90,6 @@ in VISUAL = "hx"; }; - fonts.packages = with pkgs; [ - noto-fonts - noto-fonts-cjk - noto-fonts-emoji - ] ++ (with rice.font; [ - base.package - code.package - ]) ++ (with pkgs-unstable; [ - newcomputermodern - ]); - - programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; - }; - programs.hyprland = { # config is done with home-manager diff --git a/flake.nix b/flake.nix index 2943e0a..91e674d 100755 --- a/flake.nix +++ b/flake.nix @@ -153,6 +153,8 @@ # package = (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; }); }; base = { + # name = "NewComputerModern08"; + # package = pkgs.newcomputermodern; name = "Atkinson Hyperlegible"; package = pkgs.atkinson-hyperlegible; }; diff --git a/git-crypt/secrets.nix b/git-crypt/secrets.nix index d936b1a..4fc966f 100755 Binary files a/git-crypt/secrets.nix and b/git-crypt/secrets.nix differ diff --git a/home-modules/chatterino.nix b/home-modules/chatterino.nix index 620a6eb..7231d31 100755 --- a/home-modules/chatterino.nix +++ b/home-modules/chatterino.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, user, secrets, ... }: +{ config, pkgs, lib, rice, user, secrets, ... }: let channels = [ "agurin" @@ -62,683 +62,1354 @@ lib.mkIf (user != "tv") chatterino2 ]; - home.file.".local/share/chatterino/Settings/settings.json".text = builtins.toJSON { - "hotkeys" = { - "addedDefaults" = [ - "change channel" - "close popup window" - "create clip" - "delete" - "emote picker" - "focus down" - "focus left" - "focus right" - "focus up" - "go to end of input" - "go to end of input with selection" - "go to start of input" - "go to start of input with selection" - "new popup window" - "new popup window from tab" - "new split" - "new tab" - "next message" - "open debug popup" - "open quick switcher" - "open settings" - "popup accept" - "popup focus search box" - "popup reject" - "popup scroll down" - "popup scroll up" - "popup select last tab" - "popup select next tab" - "popup select previous tab" - "popup select tab #1" - "popup select tab #2" - "popup select tab #3" - "popup select tab #4" - "popup select tab #5" - "popup select tab #6" - "popup select tab #7" - "popup select tab #8" - "previous message" - "reconnect" - "reload emotes" - "remove tab" - "reopen split" - "scroll page down" - "scroll page up" - "scroll to bottom" - "scroll to top" - "select last tab" - "select next tab" - "select previous tab" - "select tab #1" - "select tab #2" - "select tab #3" - "select tab #4" - "select tab #5" - "select tab #6" - "select tab #7" - "select tab #8" - "send message" - "send message and keep text" - "show global search" - "show search" - "toggle live tabs only" - "toggle local r9k" - "toggle tab visibility" - "zoom in" - "zoom out" - "zoom reset" - ]; - "close popup window" = { - "action" = "delete"; - "keySequence" = "Esc"; - "category" = "popupWindow"; - "arguments" = [ ]; - }; - "popup accept" = { - "action" = "accept"; - "keySequence" = "Return"; - "category" = "popupWindow"; - "arguments" = [ ]; - }; - "popup focus search box" = { - "action" = "search"; - "keySequence" = "Ctrl+F"; - "category" = "popupWindow"; - "arguments" = [ ]; - }; - "popup reject" = { - "action" = "reject"; - "keySequence" = "Esc"; - "category" = "popupWindow"; - "arguments" = [ ]; - }; - "popup scroll down" = { - "action" = "scrollPage"; - "keySequence" = "PgDown"; - "category" = "popupWindow"; - "arguments" = [ - "down" - ]; - }; - "popup scroll up" = { - "action" = "scrollPage"; - "keySequence" = "PgUp"; - "category" = "popupWindow"; - "arguments" = [ - "up" - ]; - }; - "popup select last tab" = { - "action" = "openTab"; - "keySequence" = "Ctrl+9"; - "category" = "popupWindow"; - "arguments" = [ - "last" - ]; - }; - "popup select next tab" = { - "action" = "openTab"; - "keySequence" = "Ctrl+Tab"; - "category" = "popupWindow"; - "arguments" = [ - "next" - ]; - }; - "popup select previous tab" = { - "action" = "openTab"; - "keySequence" = "Ctrl+Shift+Tab"; - "category" = "popupWindow"; - "arguments" = [ - "previous" - ]; - }; - "popup select tab #1" = { - "action" = "openTab"; - "keySequence" = "Ctrl+1"; - "category" = "popupWindow"; - "arguments" = [ - "0" - ]; - }; - "popup select tab #2" = { - "action" = "openTab"; - "keySequence" = "Ctrl+2"; - "category" = "popupWindow"; - "arguments" = [ - "1" - ]; - }; - "popup select tab #3" = { - "action" = "openTab"; - "keySequence" = "Ctrl+3"; - "category" = "popupWindow"; - "arguments" = [ - "2" - ]; - }; - "popup select tab #4" = { - "action" = "openTab"; - "keySequence" = "Ctrl+4"; - "category" = "popupWindow"; - "arguments" = [ - "3" - ]; - }; - "popup select tab #5" = { - "action" = "openTab"; - "keySequence" = "Ctrl+5"; - "category" = "popupWindow"; - "arguments" = [ - "4" - ]; - }; - "popup select tab #6" = { - "action" = "openTab"; - "keySequence" = "Ctrl+6"; - "category" = "popupWindow"; - "arguments" = [ - "5" - ]; - }; - "popup select tab #7" = { - "action" = "openTab"; - "keySequence" = "Ctrl+7"; - "category" = "popupWindow"; - "arguments" = [ - "6" - ]; - }; - "popup select tab #8" = { - "action" = "openTab"; - "keySequence" = "Ctrl+8"; - "category" = "popupWindow"; - "arguments" = [ - "7" - ]; - }; - "change channel" = { - "action" = "changeChannel"; - "keySequence" = "Ctrl+R"; - "category" = "split"; - "arguments" = [ ]; - }; - "create clip" = { - "action" = "createClip"; - "keySequence" = "Alt+X"; - "category" = "split"; - "arguments" = [ ]; - }; - "delete" = { - "action" = "delete"; - "keySequence" = "Ctrl+W"; - "category" = "split"; - "arguments" = [ ]; - }; - "focus down" = { - "action" = "focus"; - "keySequence" = "Alt+Down"; - "category" = "split"; - "arguments" = [ - "down" - ]; - }; - "focus left" = { - "action" = "focus"; - "keySequence" = "Alt+Left"; - "category" = "split"; - "arguments" = [ - "left" - ]; - }; - "focus right" = { - "action" = "focus"; - "keySequence" = "Alt+Right"; - "category" = "split"; - "arguments" = [ - "right" - ]; - }; - "focus up" = { - "action" = "focus"; - "keySequence" = "Alt+Up"; - "category" = "split"; - "arguments" = [ - "up" - ]; - }; - "open debug popup" = { - "action" = "debug"; - "keySequence" = "F10"; - "category" = "split"; - "arguments" = [ ]; - }; - "reconnect" = { - "action" = "reconnect"; - "keySequence" = "Ctrl+F5"; - "category" = "split"; - "arguments" = [ ]; - }; - "reload emotes" = { - "action" = "reloadEmotes"; - "keySequence" = "F5"; - "category" = "split"; - "arguments" = [ ]; - }; - "scroll page down" = { - "action" = "scrollPage"; - "keySequence" = "PgDown"; - "category" = "split"; - "arguments" = [ - "down" - ]; - }; - "scroll page up" = { - "action" = "scrollPage"; - "keySequence" = "PgUp"; - "category" = "split"; - "arguments" = [ - "up" - ]; - }; - "scroll to bottom" = { - "action" = "scrollToBottom"; - "keySequence" = "Ctrl+End"; - "category" = "split"; - "arguments" = [ ]; - }; - "scroll to top" = { - "action" = "scrollToTop"; - "keySequence" = "Ctrl+Home"; - "category" = "split"; - "arguments" = [ ]; - }; - "show global search" = { - "action" = "showGlobalSearch"; - "keySequence" = "Ctrl+Shift+F"; - "category" = "split"; - "arguments" = [ ]; - }; - "show search" = { - "action" = "showSearch"; - "keySequence" = "Ctrl+F"; - "category" = "split"; - "arguments" = [ ]; - }; - "emote picker" = { - "action" = "openEmotesPopup"; - "keySequence" = "Ctrl+E"; - "category" = "splitInput"; - "arguments" = [ ]; - }; - "go to end of input" = { - "action" = "cursorToEnd"; - "keySequence" = "End"; - "category" = "splitInput"; - "arguments" = [ - "withoutSelection" - ]; - }; - "go to end of input with selection" = { - "action" = "cursorToEnd"; - "keySequence" = "Shift+End"; - "category" = "splitInput"; - "arguments" = [ - "withSelection" - ]; - }; - "go to start of input" = { - "action" = "cursorToStart"; - "keySequence" = "Home"; - "category" = "splitInput"; - "arguments" = [ - "withoutSelection" - ]; - }; - "go to start of input with selection" = { - "action" = "cursorToStart"; - "keySequence" = "Shift+Home"; - "category" = "splitInput"; - "arguments" = [ - "withSelection" - ]; - }; - "next message" = { - "action" = "nextMessage"; - "keySequence" = "Down"; - "category" = "splitInput"; - "arguments" = [ ]; - }; - "previous message" = { - "action" = "previousMessage"; - "keySequence" = "Up"; - "category" = "splitInput"; - "arguments" = [ ]; - }; - "send message" = { - "action" = "sendMessage"; - "keySequence" = "Return"; - "category" = "splitInput"; - "arguments" = [ ]; - }; - "send message and keep text" = { - "action" = "sendMessage"; - "keySequence" = "Ctrl+Return"; - "category" = "splitInput"; - "arguments" = [ - "keepInput" - ]; - }; - "new popup window" = { - "action" = "popup"; - "keySequence" = "Ctrl+N"; - "category" = "window"; - "arguments" = [ - "split" - ]; - }; - "new popup window from tab" = { - "action" = "popup"; - "keySequence" = "Ctrl+Shift+N"; - "category" = "window"; - "arguments" = [ - "window" - ]; - }; - "new split" = { - "action" = "newSplit"; - "keySequence" = "Ctrl+T"; - "category" = "window"; - "arguments" = [ ]; - }; - "new tab" = { - "action" = "newTab"; - "keySequence" = "Ctrl+Shift+T"; - "category" = "window"; - "arguments" = [ ]; - }; - "open quick switcher" = { - "action" = "openQuickSwitcher"; - "keySequence" = "Ctrl+K"; - "category" = "window"; - "arguments" = [ ]; - }; - "open settings" = { - "action" = "openSettings"; - "keySequence" = "Ctrl+P"; - "category" = "window"; - "arguments" = [ ]; - }; - "remove tab" = { - "action" = "removeTab"; - "keySequence" = "Ctrl+Shift+W"; - "category" = "window"; - "arguments" = [ ]; - }; - "reopen split" = { - "action" = "reopenSplit"; - "keySequence" = "Ctrl+G"; - "category" = "window"; - "arguments" = [ ]; - }; - "select last tab" = { - "action" = "openTab"; - "keySequence" = "Ctrl+9"; - "category" = "window"; - "arguments" = [ - "last" - ]; - }; - "select next tab" = { - "action" = "openTab"; - "keySequence" = "Ctrl+Tab"; - "category" = "window"; - "arguments" = [ - "next" - ]; - }; - "select previous tab" = { - "action" = "openTab"; - "keySequence" = "Ctrl+Shift+Tab"; - "category" = "window"; - "arguments" = [ - "previous" - ]; - }; - "select tab #1" = { - "action" = "openTab"; - "keySequence" = "Ctrl+1"; - "category" = "window"; - "arguments" = [ - "0" - ]; - }; - "select tab #2" = { - "action" = "openTab"; - "keySequence" = "Ctrl+2"; - "category" = "window"; - "arguments" = [ - "1" - ]; - }; - "select tab #3" = { - "action" = "openTab"; - "keySequence" = "Ctrl+3"; - "category" = "window"; - "arguments" = [ - "2" - ]; - }; - "select tab #4" = { - "action" = "openTab"; - "keySequence" = "Ctrl+4"; - "category" = "window"; - "arguments" = [ - "3" - ]; - }; - "select tab #5" = { - "action" = "openTab"; - "keySequence" = "Ctrl+5"; - "category" = "window"; - "arguments" = [ - "4" - ]; - }; - "select tab #6" = { - "action" = "openTab"; - "keySequence" = "Ctrl+6"; - "category" = "window"; - "arguments" = [ - "5" - ]; - }; - "select tab #7" = { - "action" = "openTab"; - "keySequence" = "Ctrl+7"; - "category" = "window"; - "arguments" = [ - "6" - ]; - }; - "select tab #8" = { - "action" = "openTab"; - "keySequence" = "Ctrl+8"; - "category" = "window"; - "arguments" = [ - "7" - ]; - }; - "toggle live tabs only" = { - "action" = "setTabVisibility"; - "keySequence" = "Ctrl+Shift+L"; - "category" = "window"; - "arguments" = [ - "toggleLiveOnly" - ]; - }; - "toggle local r9k" = { - "action" = "toggleLocalR9K"; - "keySequence" = "Ctrl+H"; - "category" = "window"; - "arguments" = [ ]; - }; - "toggle tab visibility" = { - "action" = "setTabVisibility"; - "keySequence" = "Ctrl+U"; - "category" = "window"; - "arguments" = [ - "toggle" - ]; - }; - "zoom in" = { - "action" = "zoom"; - "keySequence" = "Ctrl++"; - "category" = "window"; - "arguments" = [ - "in" - ]; - }; - "zoom out" = { - "action" = "zoom"; - "keySequence" = "Ctrl+-"; - "category" = "window"; - "arguments" = [ - "out" - ]; - }; - "zoom reset" = { - "action" = "zoom"; - "keySequence" = "Ctrl+0"; - "category" = "window"; - "arguments" = [ - "reset" - ]; - }; - }; - "misc" = { - "currentVersion" = "2.4.6"; - "lockNotebookLayout" = false; - }; - "ui" = { - "lastSelectChannelTab" = 0; - "lastSelectIrcConn" = -1; - }; - "appearance" = { - "theme" = { - "name" = "Black"; - }; - "tabVisibility" = 1; - "currentFontFamily" = "Atkinson Hyperlegible"; - "messages" = { - "alternateMessageBackground" = true; - "showTimestamps" = false; - "timestampFormat" = "h =mm"; - "separateMessages" = true; - "lastMessagePattern" = 10; - "lastMessageColor" = "#ff7f0002"; - "usernameDisplayMode" = 1; - }; - "currentFontSize" = 12; - "splitheader" = { - "showUptime" = true; - "showViewerCount" = true; - "showGame" = true; - "showTitle" = true; - }; - "boldScale" = 63.0; - }; - accounts = secrets.chatterino.accounts; - "behaviour" = { - "pauseOnHoverDuration" = 5.0; - "usernameRightClickBehavior" = 0; - "usernameRightClickBehaviorWithModifier" = 1; - "showJoins" = false; - }; - "highlighting" = { - "selfMessageHighlight" = { - "enabled" = true; - "color" = "#73008cff"; - }; - "badges" = [ - { - "name" = "broadcaster"; - "displayName" = "Broadcaster"; - "showInMentions" = false; - "alert" = false; - "sound" = false; - "soundUrl" = ""; - "color" = "#7f7f3f49"; - } - { - "name" = "admin"; - "displayName" = "Admin"; - "showInMentions" = false; - "alert" = false; - "sound" = false; - "soundUrl" = ""; - "color" = "#7f7f3f49"; - } - { - "name" = "staff"; - "displayName" = "Staff"; - "showInMentions" = false; - "alert" = false; - "sound" = false; - "soundUrl" = ""; - "color" = "#7f7f3f49"; - } - { - "name" = "moderator"; - "displayName" = "Moderator"; - "showInMentions" = false; - "alert" = false; - "sound" = false; - "soundUrl" = ""; - } - { - "name" = "vip"; - "displayName" = "VIP"; - "showInMentions" = false; - "alert" = false; - "sound" = false; - "soundUrl" = ""; - "color" = "#7f7f3578"; - } - ]; - }; - "emotes" = { - "removeSpacesBetweenEmotes" = false; - "showUnlistedSevenTVEmotes" = false; - }; - "similarity" = { - "similarityEnabled" = false; - "hideSimilar" = false; - "hideSimilarMaxDelay" = 30; - "hideSimilarMaxMessagesToCheck" = 5; - }; - }; + home.file.".local/share/chatterino/Settings/settings.json".text = with secrets.chatterino; '' + { + "accounts": { + "current": "${username}", + "uid189594946": { + "clientID": "${clientID}", + "oauthToken": "${oauthToken}", + "userID": "${userID}", + "username": "${username}" + } + }, + "appearance": { + "boldScale": 63.0, + "currentFontFamily": "${rice.font.base.name}", + "currentFontSize": 12, + "messages": { + "alternateMessageBackground": true, + "lastMessageColor": "#ff7f0002", + "lastMessagePattern": 10, + "separateMessages": true, + "showTimestamps": false, + "timestampFormat": "h =mm", + "usernameDisplayMode": 1 + }, + "splitheader": { + "showGame": true, + "showTitle": true, + "showUptime": true, + "showViewerCount": true + }, + "tabVisibility": 1, + "theme": { + "name": "Black" + } + }, + "behaviour": { + "pauseOnHoverDuration": 5.0, + "showJoins": false, + "usernameRightClickBehavior": 0, + "usernameRightClickBehaviorWithModifier": 1 + }, + "emotes": { + "removeSpacesBetweenEmotes": false, + "showUnlistedSevenTVEmotes": true + }, + "highlighting": { + "badges": [ + { + "alert": false, + "color": "#7f7f3f49", + "displayName": "Broadcaster", + "name": "broadcaster", + "showInMentions": false, + "sound": false, + "soundUrl": "" + }, + { + "alert": false, + "color": "#7f7f3f49", + "displayName": "Admin", + "name": "admin", + "showInMentions": false, + "sound": false, + "soundUrl": "" + }, + { + "alert": false, + "color": "#7f7f3f49", + "displayName": "Staff", + "name": "staff", + "showInMentions": false, + "sound": false, + "soundUrl": "" + }, + { + "alert": false, + "displayName": "Moderator", + "name": "moderator", + "showInMentions": false, + "sound": false, + "soundUrl": "" + }, + { + "alert": false, + "color": "#7f7f3578", + "displayName": "VIP", + "name": "vip", + "showInMentions": false, + "sound": false, + "soundUrl": "" + } + ], + "selfMessageHighlight": { + "color": "#73008cff", + "enabled": true + } + }, + "hotkeys": { + "addedDefaults": [ + "change channel", + "close popup window", + "create clip", + "delete", + "emote picker", + "focus down", + "focus left", + "focus right", + "focus up", + "go to end of input", + "go to end of input with selection", + "go to start of input", + "go to start of input with selection", + "new popup window", + "new popup window from tab", + "new split", + "new tab", + "next message", + "open debug popup", + "open quick switcher", + "open settings", + "popup accept", + "popup focus search box", + "popup reject", + "popup scroll down", + "popup scroll up", + "popup select last tab", + "popup select next tab", + "popup select previous tab", + "popup select tab #1", + "popup select tab #2", + "popup select tab #3", + "popup select tab #4", + "popup select tab #5", + "popup select tab #6", + "popup select tab #7", + "popup select tab #8", + "previous message", + "reconnect", + "reload emotes", + "remove tab", + "reopen split", + "scroll page down", + "scroll page up", + "scroll to bottom", + "scroll to top", + "select last tab", + "select next tab", + "select previous tab", + "select tab #1", + "select tab #2", + "select tab #3", + "select tab #4", + "select tab #5", + "select tab #6", + "select tab #7", + "select tab #8", + "send message", + "send message and keep text", + "show global search", + "show search", + "toggle live tabs only", + "toggle local r9k", + "toggle tab visibility", + "zoom in", + "zoom out", + "zoom reset" + ], + "change channel": { + "action": "changeChannel", + "arguments": [], + "category": "split", + "keySequence": "Ctrl+R" + }, + "close popup window": { + "action": "delete", + "arguments": [], + "category": "popupWindow", + "keySequence": "Esc" + }, + "create clip": { + "action": "createClip", + "arguments": [], + "category": "split", + "keySequence": "Alt+X" + }, + "delete": { + "action": "delete", + "arguments": [], + "category": "split", + "keySequence": "Ctrl+W" + }, + "emote picker": { + "action": "openEmotesPopup", + "arguments": [], + "category": "splitInput", + "keySequence": "Ctrl+E" + }, + "focus down": { + "action": "focus", + "arguments": [ + "down" + ], + "category": "split", + "keySequence": "Alt+Down" + }, + "focus left": { + "action": "focus", + "arguments": [ + "left" + ], + "category": "split", + "keySequence": "Alt+Left" + }, + "focus right": { + "action": "focus", + "arguments": [ + "right" + ], + "category": "split", + "keySequence": "Alt+Right" + }, + "focus up": { + "action": "focus", + "arguments": [ + "up" + ], + "category": "split", + "keySequence": "Alt+Up" + }, + "go to end of input": { + "action": "cursorToEnd", + "arguments": [ + "withoutSelection" + ], + "category": "splitInput", + "keySequence": "End" + }, + "go to end of input with selection": { + "action": "cursorToEnd", + "arguments": [ + "withSelection" + ], + "category": "splitInput", + "keySequence": "Shift+End" + }, + "go to start of input": { + "action": "cursorToStart", + "arguments": [ + "withoutSelection" + ], + "category": "splitInput", + "keySequence": "Home" + }, + "go to start of input with selection": { + "action": "cursorToStart", + "arguments": [ + "withSelection" + ], + "category": "splitInput", + "keySequence": "Shift+Home" + }, + "new popup window": { + "action": "popup", + "arguments": [ + "split" + ], + "category": "window", + "keySequence": "Ctrl+N" + }, + "new popup window from tab": { + "action": "popup", + "arguments": [ + "window" + ], + "category": "window", + "keySequence": "Ctrl+Shift+N" + }, + "new split": { + "action": "newSplit", + "arguments": [], + "category": "window", + "keySequence": "Ctrl+T" + }, + "new tab": { + "action": "newTab", + "arguments": [], + "category": "window", + "keySequence": "Ctrl+Shift+T" + }, + "next message": { + "action": "nextMessage", + "arguments": [], + "category": "splitInput", + "keySequence": "Down" + }, + "open debug popup": { + "action": "debug", + "arguments": [], + "category": "split", + "keySequence": "F10" + }, + "open quick switcher": { + "action": "openQuickSwitcher", + "arguments": [], + "category": "window", + "keySequence": "Ctrl+K" + }, + "open settings": { + "action": "openSettings", + "arguments": [], + "category": "window", + "keySequence": "Ctrl+P" + }, + "popup accept": { + "action": "accept", + "arguments": [], + "category": "popupWindow", + "keySequence": "Return" + }, + "popup focus search box": { + "action": "search", + "arguments": [], + "category": "popupWindow", + "keySequence": "Ctrl+F" + }, + "popup reject": { + "action": "reject", + "arguments": [], + "category": "popupWindow", + "keySequence": "Esc" + }, + "popup scroll down": { + "action": "scrollPage", + "arguments": [ + "down" + ], + "category": "popupWindow", + "keySequence": "PgDown" + }, + "popup scroll up": { + "action": "scrollPage", + "arguments": [ + "up" + ], + "category": "popupWindow", + "keySequence": "PgUp" + }, + "popup select last tab": { + "action": "openTab", + "arguments": [ + "last" + ], + "category": "popupWindow", + "keySequence": "Ctrl+9" + }, + "popup select next tab": { + "action": "openTab", + "arguments": [ + "next" + ], + "category": "popupWindow", + "keySequence": "Ctrl+Tab" + }, + "popup select previous tab": { + "action": "openTab", + "arguments": [ + "previous" + ], + "category": "popupWindow", + "keySequence": "Ctrl+Shift+Tab" + }, + "popup select tab #1": { + "action": "openTab", + "arguments": [ + "0" + ], + "category": "popupWindow", + "keySequence": "Ctrl+1" + }, + "popup select tab #2": { + "action": "openTab", + "arguments": [ + "1" + ], + "category": "popupWindow", + "keySequence": "Ctrl+2" + }, + "popup select tab #3": { + "action": "openTab", + "arguments": [ + "2" + ], + "category": "popupWindow", + "keySequence": "Ctrl+3" + }, + "popup select tab #4": { + "action": "openTab", + "arguments": [ + "3" + ], + "category": "popupWindow", + "keySequence": "Ctrl+4" + }, + "popup select tab #5": { + "action": "openTab", + "arguments": [ + "4" + ], + "category": "popupWindow", + "keySequence": "Ctrl+5" + }, + "popup select tab #6": { + "action": "openTab", + "arguments": [ + "5" + ], + "category": "popupWindow", + "keySequence": "Ctrl+6" + }, + "popup select tab #7": { + "action": "openTab", + "arguments": [ + "6" + ], + "category": "popupWindow", + "keySequence": "Ctrl+7" + }, + "popup select tab #8": { + "action": "openTab", + "arguments": [ + "7" + ], + "category": "popupWindow", + "keySequence": "Ctrl+8" + }, + "previous message": { + "action": "previousMessage", + "arguments": [], + "category": "splitInput", + "keySequence": "Up" + }, + "reconnect": { + "action": "reconnect", + "arguments": [], + "category": "split", + "keySequence": "Ctrl+F5" + }, + "reload emotes": { + "action": "reloadEmotes", + "arguments": [], + "category": "split", + "keySequence": "F5" + }, + "remove tab": { + "action": "removeTab", + "arguments": [], + "category": "window", + "keySequence": "Ctrl+Shift+W" + }, + "reopen split": { + "action": "reopenSplit", + "arguments": [], + "category": "window", + "keySequence": "Ctrl+G" + }, + "scroll page down": { + "action": "scrollPage", + "arguments": [ + "down" + ], + "category": "split", + "keySequence": "PgDown" + }, + "scroll page up": { + "action": "scrollPage", + "arguments": [ + "up" + ], + "category": "split", + "keySequence": "PgUp" + }, + "scroll to bottom": { + "action": "scrollToBottom", + "arguments": [], + "category": "split", + "keySequence": "Ctrl+End" + }, + "scroll to top": { + "action": "scrollToTop", + "arguments": [], + "category": "split", + "keySequence": "Ctrl+Home" + }, + "select last tab": { + "action": "openTab", + "arguments": [ + "last" + ], + "category": "window", + "keySequence": "Ctrl+9" + }, + "select next tab": { + "action": "openTab", + "arguments": [ + "next" + ], + "category": "window", + "keySequence": "Ctrl+Tab" + }, + "select previous tab": { + "action": "openTab", + "arguments": [ + "previous" + ], + "category": "window", + "keySequence": "Ctrl+Shift+Tab" + }, + "select tab #1": { + "action": "openTab", + "arguments": [ + "0" + ], + "category": "window", + "keySequence": "Ctrl+1" + }, + "select tab #2": { + "action": "openTab", + "arguments": [ + "1" + ], + "category": "window", + "keySequence": "Ctrl+2" + }, + "select tab #3": { + "action": "openTab", + "arguments": [ + "2" + ], + "category": "window", + "keySequence": "Ctrl+3" + }, + "select tab #4": { + "action": "openTab", + "arguments": [ + "3" + ], + "category": "window", + "keySequence": "Ctrl+4" + }, + "select tab #5": { + "action": "openTab", + "arguments": [ + "4" + ], + "category": "window", + "keySequence": "Ctrl+5" + }, + "select tab #6": { + "action": "openTab", + "arguments": [ + "5" + ], + "category": "window", + "keySequence": "Ctrl+6" + }, + "select tab #7": { + "action": "openTab", + "arguments": [ + "6" + ], + "category": "window", + "keySequence": "Ctrl+7" + }, + "select tab #8": { + "action": "openTab", + "arguments": [ + "7" + ], + "category": "window", + "keySequence": "Ctrl+8" + }, + "send message": { + "action": "sendMessage", + "arguments": [], + "category": "splitInput", + "keySequence": "Return" + }, + "send message and keep text": { + "action": "sendMessage", + "arguments": [ + "keepInput" + ], + "category": "splitInput", + "keySequence": "Ctrl+Return" + }, + "show global search": { + "action": "showGlobalSearch", + "arguments": [], + "category": "split", + "keySequence": "Ctrl+Shift+F" + }, + "show search": { + "action": "showSearch", + "arguments": [], + "category": "split", + "keySequence": "Ctrl+F" + }, + "toggle live tabs only": { + "action": "setTabVisibility", + "arguments": [ + "toggleLiveOnly" + ], + "category": "window", + "keySequence": "Ctrl+Shift+L" + }, + "toggle local r9k": { + "action": "toggleLocalR9K", + "arguments": [], + "category": "window", + "keySequence": "Ctrl+H" + }, + "toggle tab visibility": { + "action": "setTabVisibility", + "arguments": [ + "toggle" + ], + "category": "window", + "keySequence": "Ctrl+U" + }, + "zoom in": { + "action": "zoom", + "arguments": [ + "in" + ], + "category": "window", + "keySequence": "Ctrl++" + }, + "zoom out": { + "action": "zoom", + "arguments": [ + "out" + ], + "category": "window", + "keySequence": "Ctrl+-" + }, + "zoom reset": { + "action": "zoom", + "arguments": [ + "reset" + ], + "category": "window", + "keySequence": "Ctrl+0" + } + }, + "misc": { + "currentVersion": "2.5.1", + "lockNotebookLayout": false + }, + "similarity": { + "hideSimilar": false, + "hideSimilarMaxDelay": 30, + "hideSimilarMaxMessagesToCheck": 5, + "similarityEnabled": false + }, + "ui": { + "lastSelectChannelTab": 0, + "lastSelectIrcConn": -1 + } + } + ''; + # home.file.".local/share/chatterino/Settings/settings.json".text = builtins.toJSON { + # hotkeys = { + # addedDefaults = [ + # "change channel" + # "close popup window" + # "create clip" + # "delete" + # "emote picker" + # "focus down" + # "focus left" + # "focus right" + # "focus up" + # "go to end of input" + # "go to end of input with selection" + # "go to start of input" + # "go to start of input with selection" + # "new popup window" + # "new popup window from tab" + # "new split" + # "new tab" + # "next message" + # "open debug popup" + # "open quick switcher" + # "open settings" + # "popup accept" + # "popup focus search box" + # "popup reject" + # "popup scroll down" + # "popup scroll up" + # "popup select last tab" + # "popup select next tab" + # "popup select previous tab" + # "popup select tab #1" + # "popup select tab #2" + # "popup select tab #3" + # "popup select tab #4" + # "popup select tab #5" + # "popup select tab #6" + # "popup select tab #7" + # "popup select tab #8" + # "previous message" + # "reconnect" + # "reload emotes" + # "remove tab" + # "reopen split" + # "scroll page down" + # "scroll page up" + # "scroll to bottom" + # "scroll to top" + # "select last tab" + # "select next tab" + # "select previous tab" + # "select tab #1" + # "select tab #2" + # "select tab #3" + # "select tab #4" + # "select tab #5" + # "select tab #6" + # "select tab #7" + # "select tab #8" + # "send message" + # "send message and keep text" + # "show global search" + # "show search" + # "toggle live tabs only" + # "toggle local r9k" + # "toggle tab visibility" + # "zoom in" + # "zoom out" + # "zoom reset" + # ]; + # "close popup window" = { + # action = "delete"; + # keySequence = "Esc"; + # category = "popupWindow"; + # arguments = [ ]; + # }; + # "popup accept" = { + # action = "accept"; + # keySequence = "Return"; + # category = "popupWindow"; + # arguments = [ ]; + # }; + # "popup focus search box" = { + # action = "search"; + # keySequence = "Ctrl+F"; + # category = "popupWindow"; + # arguments = [ ]; + # }; + # "popup reject" = { + # action = "reject"; + # keySequence = "Esc"; + # category = "popupWindow"; + # arguments = [ ]; + # }; + # "popup scroll down" = { + # action = "scrollPage"; + # keySequence = "PgDown"; + # category = "popupWindow"; + # arguments = [ + # "down" + # ]; + # }; + # "popup scroll up" = { + # action = "scrollPage"; + # keySequence = "PgUp"; + # category = "popupWindow"; + # arguments = [ + # "up" + # ]; + # }; + # "popup select last tab" = { + # action = "openTab"; + # keySequence = "Ctrl+9"; + # category = "popupWindow"; + # arguments = [ + # "last" + # ]; + # }; + # "popup select next tab" = { + # action = "openTab"; + # keySequence = "Ctrl+Tab"; + # category = "popupWindow"; + # arguments = [ + # "next" + # ]; + # }; + # "popup select previous tab" = { + # action = "openTab"; + # keySequence = "Ctrl+Shift+Tab"; + # category = "popupWindow"; + # arguments = [ + # "previous" + # ]; + # }; + # "popup select tab #1" = { + # action = "openTab"; + # keySequence = "Ctrl+1"; + # category = "popupWindow"; + # arguments = [ + # "0" + # ]; + # }; + # "popup select tab #2" = { + # action = "openTab"; + # keySequence = "Ctrl+2"; + # category = "popupWindow"; + # arguments = [ + # "1" + # ]; + # }; + # "popup select tab #3" = { + # action = "openTab"; + # keySequence = "Ctrl+3"; + # category = "popupWindow"; + # arguments = [ + # "2" + # ]; + # }; + # "popup select tab #4" = { + # action = "openTab"; + # keySequence = "Ctrl+4"; + # category = "popupWindow"; + # arguments = [ + # "3" + # ]; + # }; + # "popup select tab #5" = { + # action = "openTab"; + # keySequence = "Ctrl+5"; + # category = "popupWindow"; + # arguments = [ + # "4" + # ]; + # }; + # "popup select tab #6" = { + # action = "openTab"; + # keySequence = "Ctrl+6"; + # category = "popupWindow"; + # arguments = [ + # "5" + # ]; + # }; + # "popup select tab #7" = { + # action = "openTab"; + # keySequence = "Ctrl+7"; + # category = "popupWindow"; + # arguments = [ + # "6" + # ]; + # }; + # "popup select tab #8" = { + # action = "openTab"; + # keySequence = "Ctrl+8"; + # category = "popupWindow"; + # arguments = [ + # "7" + # ]; + # }; + # "change channel" = { + # action = "changeChannel"; + # keySequence = "Ctrl+R"; + # category = "split"; + # arguments = [ ]; + # }; + # "create clip" = { + # action = "createClip"; + # keySequence = "Alt+X"; + # category = "split"; + # arguments = [ ]; + # }; + # delete = { + # action = "delete"; + # keySequence = "Ctrl+W"; + # category = "split"; + # arguments = [ ]; + # }; + # "focus down" = { + # action = "focus"; + # keySequence = "Alt+Down"; + # category = "split"; + # arguments = [ + # "down" + # ]; + # }; + # "focus left" = { + # action = "focus"; + # keySequence = "Alt+Left"; + # category = "split"; + # arguments = [ + # "left" + # ]; + # }; + # "focus right" = { + # action = "focus"; + # keySequence = "Alt+Right"; + # category = "split"; + # arguments = [ + # "right" + # ]; + # }; + # "focus up" = { + # action = "focus"; + # keySequence = "Alt+Up"; + # category = "split"; + # arguments = [ + # "up" + # ]; + # }; + # "open debug popup" = { + # action = "debug"; + # keySequence = "F10"; + # category = "split"; + # arguments = [ ]; + # }; + # reconnect = { + # action = "reconnect"; + # keySequence = "Ctrl+F5"; + # category = "split"; + # arguments = [ ]; + # }; + # "reload emotes" = { + # action = "reloadEmotes"; + # keySequence = "F5"; + # category = "split"; + # arguments = [ ]; + # }; + # "scroll page down" = { + # action = "scrollPage"; + # keySequence = "PgDown"; + # category = "split"; + # arguments = [ + # "down" + # ]; + # }; + # "scroll page up" = { + # action = "scrollPage"; + # keySequence = "PgUp"; + # category = "split"; + # arguments = [ + # "up" + # ]; + # }; + # "scroll to bottom" = { + # action = "scrollToBottom"; + # keySequence = "Ctrl+End"; + # category = "split"; + # arguments = [ ]; + # }; + # "scroll to top" = { + # action = "scrollToTop"; + # keySequence = "Ctrl+Home"; + # category = "split"; + # arguments = [ ]; + # }; + # "show global search" = { + # action = "showGlobalSearch"; + # keySequence = "Ctrl+Shift+F"; + # category = "split"; + # arguments = [ ]; + # }; + # "show search" = { + # action = "showSearch"; + # keySequence = "Ctrl+F"; + # category = "split"; + # arguments = [ ]; + # }; + # "emote picker" = { + # action = "openEmotesPopup"; + # keySequence = "Ctrl+E"; + # category = "splitInput"; + # arguments = [ ]; + # }; + # "go to end of input" = { + # action = "cursorToEnd"; + # keySequence = "End"; + # category = "splitInput"; + # arguments = [ + # "withoutSelection" + # ]; + # }; + # "go to end of input with selection" = { + # action = "cursorToEnd"; + # keySequence = "Shift+End"; + # category = "splitInput"; + # arguments = [ + # "withSelection" + # ]; + # }; + # "go to start of input" = { + # action = "cursorToStart"; + # keySequence = "Home"; + # category = "splitInput"; + # arguments = [ + # "withoutSelection" + # ]; + # }; + # "go to start of input with selection" = { + # action = "cursorToStart"; + # keySequence = "Shift+Home"; + # category = "splitInput"; + # arguments = [ + # "withSelection" + # ]; + # }; + # "next message" = { + # action = "nextMessage"; + # keySequence = "Down"; + # category = "splitInput"; + # arguments = [ ]; + # }; + # "previous message" = { + # action = "previousMessage"; + # keySequence = "Up"; + # category = "splitInput"; + # arguments = [ ]; + # }; + # "send message" = { + # action = "sendMessage"; + # keySequence = "Return"; + # category = "splitInput"; + # arguments = [ ]; + # }; + # "send message and keep text" = { + # action = "sendMessage"; + # keySequence = "Ctrl+Return"; + # category = "splitInput"; + # arguments = [ + # "keepInput" + # ]; + # }; + # "new popup window" = { + # action = "popup"; + # keySequence = "Ctrl+N"; + # category = "window"; + # arguments = [ + # "split" + # ]; + # }; + # "new popup window from tab" = { + # action = "popup"; + # keySequence = "Ctrl+Shift+N"; + # category = "window"; + # arguments = [ + # "window" + # ]; + # }; + # "new split" = { + # action = "newSplit"; + # keySequence = "Ctrl+T"; + # category = "window"; + # arguments = [ ]; + # }; + # "new tab" = { + # action = "newTab"; + # keySequence = "Ctrl+Shift+T"; + # category = "window"; + # arguments = [ ]; + # }; + # "open quick switcher" = { + # action = "openQuickSwitcher"; + # keySequence = "Ctrl+K"; + # category = "window"; + # arguments = [ ]; + # }; + # "open settings" = { + # action = "openSettings"; + # keySequence = "Ctrl+P"; + # category = "window"; + # arguments = [ ]; + # }; + # "remove tab" = { + # action = "removeTab"; + # keySequence = "Ctrl+Shift+W"; + # category = "window"; + # arguments = [ ]; + # }; + # "reopen split" = { + # action = "reopenSplit"; + # keySequence = "Ctrl+G"; + # category = "window"; + # arguments = [ ]; + # }; + # "select last tab" = { + # action = "openTab"; + # keySequence = "Ctrl+9"; + # category = "window"; + # arguments = [ + # "last" + # ]; + # }; + # "select next tab" = { + # action = "openTab"; + # keySequence = "Ctrl+Tab"; + # category = "window"; + # arguments = [ + # "next" + # ]; + # }; + # "select previous tab" = { + # action = "openTab"; + # keySequence = "Ctrl+Shift+Tab"; + # category = "window"; + # arguments = [ + # "previous" + # ]; + # }; + # "select tab #1" = { + # action = "openTab"; + # keySequence = "Ctrl+1"; + # category = "window"; + # arguments = [ + # "0" + # ]; + # }; + # "select tab #2" = { + # action = "openTab"; + # keySequence = "Ctrl+2"; + # category = "window"; + # arguments = [ + # "1" + # ]; + # }; + # "select tab #3" = { + # action = "openTab"; + # keySequence = "Ctrl+3"; + # category = "window"; + # arguments = [ + # "2" + # ]; + # }; + # "select tab #4" = { + # action = "openTab"; + # keySequence = "Ctrl+4"; + # category = "window"; + # arguments = [ + # "3" + # ]; + # }; + # "select tab #5" = { + # action = "openTab"; + # keySequence = "Ctrl+5"; + # category = "window"; + # arguments = [ + # "4" + # ]; + # }; + # "select tab #6" = { + # action = "openTab"; + # keySequence = "Ctrl+6"; + # category = "window"; + # arguments = [ + # "5" + # ]; + # }; + # "select tab #7" = { + # action = "openTab"; + # keySequence = "Ctrl+7"; + # category = "window"; + # arguments = [ + # "6" + # ]; + # }; + # "select tab #8" = { + # action = "openTab"; + # keySequence = "Ctrl+8"; + # category = "window"; + # arguments = [ + # "7" + # ]; + # }; + # "toggle live tabs only" = { + # action = "setTabVisibility"; + # keySequence = "Ctrl+Shift+L"; + # category = "window"; + # arguments = [ + # "toggleLiveOnly" + # ]; + # }; + # "toggle local r9k" = { + # action = "toggleLocalR9K"; + # keySequence = "Ctrl+H"; + # category = "window"; + # arguments = [ ]; + # }; + # "toggle tab visibility" = { + # action = "setTabVisibility"; + # keySequence = "Ctrl+U"; + # category = "window"; + # arguments = [ + # "toggle" + # ]; + # }; + # "zoom in" = { + # action = "zoom"; + # keySequence = "Ctrl++"; + # category = "window"; + # arguments = [ + # "in" + # ]; + # }; + # "zoom out" = { + # action = "zoom"; + # keySequence = "Ctrl+-"; + # category = "window"; + # arguments = [ + # "out" + # ]; + # }; + # "zoom reset" = { + # action = "zoom"; + # keySequence = "Ctrl+0"; + # category = "window"; + # arguments = [ + # "reset" + # ]; + # }; + # }; + # misc = { + # currentVersion = "2.5.1"; + # lockNotebookLayout = false; + # }; + # ui = { + # lastSelectChannelTab = 0; + # lastSelectIrcConn = -1; + # }; + # appearance = { + # theme = { + # name = "Black"; + # }; + # tabVisibility = 1; + # smoothScrollingNewMessages = true;o + # currentFontFamily = rice.font.base.name; + # messages = { + # alternateMessageBackground = true; + # showTimestamps = false; + # timestampFormat = "h =mm"; + # separateMessages = true; + # lastMessagePattern = 10; + # lastMessageColor = "#ff7f0002"; + # usernameDisplayMode = 1; + # }; + # currentFontSize = 12; + # splitheader = { + # showUptime = true; + # showViewerCount = true; + # showGame = true; + # showTitle = true; + # }; + # boldScale = 63.0; + # }; + # accounts = secrets.chatterino.accounts; + # behaviour = { + # pauseOnHoverDuration = 5.0; + # usernameRightClickBehavior = 0; + # usernameRightClickBehaviorWithModifier = 1; + # showJoins = false; + # }; + # highlighting = { + # selfMessageHighlight = { + # enabled = true; + # color = "#73008cff"; + # }; + # badges = [ + # { + # name = "broadcaster"; + # displayName = "Broadcaster"; + # showInMentions = false; + # alert = false; + # sound = false; + # soundUrl = ""; + # color = "#7f7f3f49"; + # } + # { + # name = "admin"; + # displayName = "Admin"; + # showInMentions = false; + # alert = false; + # sound = false; + # soundUrl = ""; + # color = "#7f7f3f49"; + # } + # { + # name = "staff"; + # displayName = "Staff"; + # showInMentions = false; + # alert = false; + # sound = false; + # soundUrl = ""; + # color = "#7f7f3f49"; + # } + # { + # name = "moderator"; + # displayName = "Moderator"; + # showInMentions = false; + # alert = false; + # sound = false; + # soundUrl = ""; + # } + # { + # name = "vip"; + # displayName = "VIP"; + # showInMentions = false; + # alert = false; + # sound = false; + # soundUrl = ""; + # color = "#7f7f3578"; + # } + # ]; + # }; + # emotes = { + # removeSpacesBetweenEmotes = false; + # showUnlistedSevenTVEmotes = true; + # }; + # similarity = { + # similarityEnabled = false; + # hideSimilar = false; + # hideSimilarMaxDelay = 30; + # hideSimilarMaxMessagesToCheck = 5; + # }; + # }; home.file.".local/share/chatterino/Settings/window-layout.json".text = builtins.toJSON { - "windows" = [ + windows = [ { - "emotePopup" = { - "x" = 0; - "y" = 0; + emotePopup = { + x = 0; + y = 0; }; - "height" = 569; - "state" = "maximized"; - "tabs" = map tabber channels; - "type" = "main"; - "width" = 943; - "x" = 0; - "y" = 0; + height = 569; + state = "maximized"; + tabs = map tabber channels; + type = "main"; + width = 943; + x = 0; + y = 0; } ]; }; diff --git a/home-modules/fish.nix b/home-modules/fish.nix index 9cf9d44..4c13a14 100755 --- a/home-modules/fish.nix +++ b/home-modules/fish.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, rice, user, allowed, secrets, ... }: +{ pkgs, lib, rice, user, ... }: lib.mkIf (user != "tv") { home.packages = with pkgs; [ @@ -24,11 +24,11 @@ lib.mkIf (user != "tv") $(echo -e "$logo" | sed -n 3p): $(cat /etc/*-release | grep PRETTY_NAME | cut -c 14- | rev | cut -c 2- | rev) $(echo -e "$logo" | sed -n 4p): ''${XDG_CURRENT_DESKTOP^} $(echo -e "$logo" | sed -n 5p): ''${TERM^} - $(echo -e "$logo" | sed -n 6p): $(bash --version | head --lines 1 | cut -f -4 -d' ') + $(echo -e "$logo" | sed -n 6p): $(bash --version | head --lines 1 | cut -f -4 -d' ' | sed -E 's-(.*?), version (.*?)\(.*-\1 \2-g') $(echo -e "$logo" | sed -n 7p): fish $(fish --version | rev | cut -f 1 -d' ' | rev) $(echo -e "$logo" | sed -n 8p): ''$(uname -r) - $(echo -e "$logo" | sed -n 9p): $($EDITOR --version | head -n 1) - $(echo -e "$logo" | sed -n 10p): $(yazi --version) + $(echo -e "$logo" | sed -n 9p): $($EDITOR --version | head -n 1 | sed -E 's-(.+?) \(.*-\1-g') + $(echo -e "$logo" | sed -n 10p): $(yazi --version | yazi --version | sed -E 's-(.*?) \(.*-\1-g') $(echo -e "$logo" | sed -n 11p): $(starship --version | head -n 1) " echo -e "$msg" diff --git a/home-modules/hyprland.nix b/home-modules/hyprland.nix index 26aa8cc..2b5a063 100755 --- a/home-modules/hyprland.nix +++ b/home-modules/hyprland.nix @@ -291,6 +291,7 @@ lib.mkIf (user != "tv") "float, title:^(wlogout)$" "float, imv" "float, title:^(Page Info — .*)$" + "float, title:^(Compact folders)$" "tile, sent" "fullscreen, wlogout" "workspace 14, lutris" @@ -381,9 +382,9 @@ lib.mkIf (user != "tv") # "SUPER SHIFT, T, exec, alacritty -e sh -c "ssh nxace"" "SUPER, T, exec, kitty" "SUPER SHIFT, T, exec, kitty -e sh -c 'ssh nxace'" - "SUPER, Z, swapactiveworkspaces, HDMI-A-1 HDMI-A-2" + # "SUPER, Z, " "SUPER, U, exec, thunderbird " - # "SUPER, I, " + "SUPER, I, exec, kitty -e fish -c 'hx ~/nix-dots/ && fish'" "SUPER, O, exec, obsidian " "SUPER, P, pin " # "SUPER, Ü," @@ -398,13 +399,11 @@ lib.mkIf (user != "tv") "SUPER, S, exec, spotify" "SUPER, D, exec, vesktop" "SUPER, F, fullscreen" - "SUPER, G, exec, xrandr --verbose --output 'DP-1' --primary && lutris" - "SUPER SHIFT, G, exec, /home/nx2/scripts/cursor-lock-toggle.sh" - # "SUPER SHIFT CTRL, G, exec, /home/nx2/scripts/disable-side-monitors.sh" - "SUPER, H, exec, chatterino" - "SUPER, J, focusmonitor, $left" - "SUPER, K, focusmonitor, $main" - "SUPER, L, focusmonitor, $right" + # "SUPER, G," + "SUPER, H, movefocus, l" + "SUPER, J, movefocus, d" + "SUPER, K, movefocus, u" + "SUPER, L, movefocus, r" # "SUPER, Ö," # "SUPER, Ä," # "SUPER, #," @@ -417,9 +416,9 @@ lib.mkIf (user != "tv") "SUPER, Y, submap, scrR" "SUPER, X, exec, pkill wlogout || wlogout --protocol layer-shell -b 3" # "SUPER, C, exec, /home/nx2/scripts/quickconfig/quickconfig.sh " - "SUPER, C, exec, codium," + "SUPER, C, exec, chatterino" "SUPER, V, togglefloating, " - "SUPER, B, exec, bitwarden-desktop" + "SUPER, B, exec, bitwarden" "SUPER, N, togglesplit" # "SUPER, M, exec, /home/nx2/scripts/meme-full-screen/meme-full-screen.sh " # "SUPER, comma, exec, /home/nx2/scripts/change-language.sh" diff --git a/home-modules/programming/gleam.nix b/home-modules/programming/gleam.nix index 841a4b6..8d6ba8f 100644 --- a/home-modules/programming/gleam.nix +++ b/home-modules/programming/gleam.nix @@ -2,5 +2,6 @@ { home.packages = with pkgs; [ gleam + erlang ]; } diff --git a/system-modules/fonts.nix b/system-modules/fonts.nix new file mode 100644 index 0000000..b2e1661 --- /dev/null +++ b/system-modules/fonts.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: +{ + fonts.packages = with pkgs; [ + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + newcomputermodern + atkinson-hyperlegible + (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) + ] ++ (with rice.font; [ + base.package + code.package + ]) ++ (with pkgs-unstable; [ + ]); +} diff --git a/system-modules/gpg.nix b/system-modules/gpg.nix index 2b0b108..a483e0b 100644 --- a/system-modules/gpg.nix +++ b/system-modules/gpg.nix @@ -3,6 +3,7 @@ environment.systemPackages = with pkgs; [ gnupg ]; + programs.gnupg = { dirmngr.enable = true; agent = {