diff --git a/config/swaync.nix b/config/swaync.nix index cdaea75..6a17384 100644 --- a/config/swaync.nix +++ b/config/swaync.nix @@ -2,110 +2,111 @@ let palette = config.colorScheme.palette; -in { +in +{ home.file.".config/swaync/config.json".text = '' - { - "$schema": "/etc/xdg/swaync/configSchema.json", - "positionX": "right", - "positionY": "top", - "control-center-margin-top": 10, - "control-center-margin-bottom": 10, - "control-center-margin-right": 10, - "control-center-margin-left": 10, - "notification-icon-size": 64, - "notification-body-image-height": 100, - "notification-body-image-width": 200, - "timeout": 10, - "timeout-low": 5, - "timeout-critical": 0, - "fit-to-screen": false, - "control-center-width": 500, - "control-center-height": 1025, - "notification-window-width": 500, - "keyboard-shortcuts": true, - "image-visibility": "when-available", - "transition-time": 200, - "hide-on-clear": false, - "hide-on-action": true, - "script-fail-notify": true, - "widgets": [ - "title", - "buttons-grid", - "mpris", - "volume", - "backlight", - "dnd", - "notifications" - ], - "widget-config": { - "title": { - "text": "Notification Center", - "clear-all-button": true, - "button-text": "󰆴 Clear All" - }, - "dnd": { - "text": "Do Not Disturb" - }, - "label": { - "max-lines": 1, - "text": "Notification Center" - }, - "mpris": { - "image-size": 96, - "image-radius": 7 - }, - "volume": { - "label": "󰕾" - }, - "backlight": { - "label": "󰃟" - }, - "buttons-grid": { - "actions": [ - { - "label": "⏹️", - "command": "systemctl poweroff" - }, - { - "label": "🔄", - "command": "systemctl reboot" - }, - { - "label": "🚪", - "command": "hyprctl dispatch exit" - }, - { - "label": "🗃️", - "command": "thunar" - }, - { - "label": "📸", - "command": "gimp" - }, - { - "label": "📣", - "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" - }, - { - "label": "🎙️", - "command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" - }, - { - "label": "🎮", - "command": "steam" - }, - { - "label": "🌏", - "command": "firefox" - }, - { - "label": "📹", - "command": "obs" - } - ] - } + { + "$schema": "/etc/xdg/swaync/configSchema.json", + "positionX": "right", + "positionY": "top", + "control-center-margin-top": 10, + "control-center-margin-bottom": 10, + "control-center-margin-right": 10, + "control-center-margin-left": 10, + "notification-icon-size": 64, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "timeout": 10, + "timeout-low": 5, + "timeout-critical": 0, + "fit-to-screen": false, + "control-center-width": 500, + "control-center-height": 1025, + "notification-window-width": 500, + "keyboard-shortcuts": true, + "image-visibility": "when-available", + "transition-time": 200, + "hide-on-clear": false, + "hide-on-action": true, + "script-fail-notify": true, + "widgets": [ + "title", + "buttons-grid", + "mpris", + "volume", + "backlight", + "dnd", + "notifications" + ], + "widget-config": { + "title": { + "text": "Notification Center", + "clear-all-button": true, + "button-text": "󰆴 Clear All" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "label": { + "max-lines": 1, + "text": "Notification Center" + }, + "mpris": { + "image-size": 96, + "image-radius": 7 + }, + "volume": { + "label": "󰕾" + }, + "backlight": { + "label": "󰃟" + }, + "buttons-grid": { + "actions": [ + { + "label": "⏹️", + "command": "systemctl poweroff" + }, + { + "label": "🔄", + "command": "systemctl reboot" + }, + { + "label": "🚪", + "command": "hyprctl dispatch exit" + }, + { + "label": "🗃️", + "command": "thunar" + }, + { + "label": "📸", + "command": "gimp" + }, + { + "label": "📣", + "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" + }, + { + "label": "🎙️", + "command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" + }, + { + "label": "🎮", + "command": "steam" + }, + { + "label": "🌏", + "command": "firefox" + }, + { + "label": "📹", + "command": "obs" + } + ] + } + } } -} ''; home.file.".config/swaync/style.css".text = '' diff --git a/hosts/familypc/home.nix b/hosts/familypc/home.nix index 43650be..810dc36 100644 --- a/hosts/familypc/home.nix +++ b/hosts/familypc/home.nix @@ -117,17 +117,17 @@ in }; theme = { name = "${config.colorScheme.slug}"; - package = gtkThemeFromScheme {scheme = config.colorScheme;}; + package = gtkThemeFromScheme { scheme = config.colorScheme; }; }; iconTheme = { name = "Papirus-Dark"; package = pkgs.papirus-icon-theme; }; gtk3.extraConfig = { - gtk-application-prefer-dark-theme=1; + gtk-application-prefer-dark-theme = 1; }; gtk4.extraConfig = { - gtk-application-prefer-dark-theme=1; + gtk-application-prefer-dark-theme = 1; }; }; @@ -136,8 +136,8 @@ in enable = true; platformTheme = "gtk"; style = { - name = "adwaita-dark"; - package = pkgs.adwaita-qt; + name = "adwaita-dark"; + package = pkgs.adwaita-qt; }; }; @@ -168,6 +168,16 @@ in programs = { gh.enable = true; + neovim = { + enable = true; + defaultEditor = true; + vimAlias = true; + vimdiffAlias = true; + plugins = with pkgs.vimPlugins; [ + nvim-lspconfig + nvim-treesitter.withAllGrammars + ]; + }; kitty = { enable = true; package = pkgs.kitty; diff --git a/hosts/familypc/users.nix b/hosts/familypc/users.nix index 891e624..bcc80a1 100644 --- a/hosts/familypc/users.nix +++ b/hosts/familypc/users.nix @@ -27,6 +27,7 @@ in packages = with pkgs; [ obs-studio zeroad + blender-hip ]; }; # "newuser" = {