From 97263f394d877dc41135776b41320866069a51a8 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 6 Jun 2024 14:10:35 +0200 Subject: [PATCH] spismeg --- .envrc | 2 +- users/pbsds/home/default.nix | 2 +- users/pbsds/home/profiles/gnome/default.nix | 8 ++++---- users/pbsds/home/profiles/pulsar/config.cson | 10 ++++++++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.envrc b/.envrc index 0f74252..75c0044 100644 --- a/.envrc +++ b/.envrc @@ -18,7 +18,7 @@ if ! test -s .direnv/pull-date || test "$now" != "$(cat .direnv/pull-date)"; the fi -if ! test -s .remote.toml; then +if ! test -f .remote.toml; then use flake .#envrc-local else use flake .#envrc-remote diff --git a/users/pbsds/home/default.nix b/users/pbsds/home/default.nix index 31a4186..611ed71 100644 --- a/users/pbsds/home/default.nix +++ b/users/pbsds/home/default.nix @@ -50,7 +50,7 @@ dos2unix - pandoc + pandoc # TODO: typst and latex graphviz vgmstream gallery-dl diff --git a/users/pbsds/home/profiles/gnome/default.nix b/users/pbsds/home/profiles/gnome/default.nix index 17197b7..221fe7b 100644 --- a/users/pbsds/home/profiles/gnome/default.nix +++ b/users/pbsds/home/profiles/gnome/default.nix @@ -115,10 +115,10 @@ in #"org/gnome/desktop/session" = { # idle-delay = mkUint32 (5 * 60); #}; - #"org/gnome/settings-daemon/plugins/power" { - # #sleep-inactive-ac-type = "suspend"; - # sleep-inactive-ac-type = "nothing"; - #}; + "org/gnome/settings-daemon/plugins/power" = { + sleep-inactive-ac-type = "nothing"; + sleep-inactive-battery-type = "suspend"; + }; }; } diff --git a/users/pbsds/home/profiles/pulsar/config.cson b/users/pbsds/home/profiles/pulsar/config.cson index 6d76e45..cc4a71d 100644 --- a/users/pbsds/home/profiles/pulsar/config.cson +++ b/users/pbsds/home/profiles/pulsar/config.cson @@ -31,8 +31,8 @@ allowPendingPaneItems: false autoHideMenuBar: true customFileTypes: - 'source.makefile': [ - 'justfile' + "source.makefile": [ + "justfile" ] disabledPackages: [ "language-python" @@ -144,6 +144,11 @@ fontSize: 11 pigments: mergeColorDuplicates: true + "pulsar-ide-python": + pylsPlugins: + jedi_definition: + follow_builtin_imports: true + follow_imports: true "spell-check": grammars: [ "source.asciidoc" @@ -172,6 +177,7 @@ hideIgnoredNames: true hideVcsIgnoredFiles: true welcome: + showChangeLog: false showOnStartup: false whitespace: {} wordcount: