home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 1a385f1e35b62510e3958daba6b271c0cbd6af5c
parent c6c9dd4f684d7e31a210a46fbc94c37e6051cf48
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed,  4 Sep 2024 15:59:38 +0200

clean some stuff...

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-org.el | 3++-
Musers/vincent/desktop/sway.nix | 20+-------------------
2 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el @@ -268,6 +268,7 @@ file which do not already have one." :commands (org-capture) :config + ;; TODO: refine this, create a function that reset this (add-to-list 'org-capture-templates `("l" "Link" entry (file ,org-inbox-file) @@ -275,7 +276,7 @@ file which do not already have one." :empty-lines 1)) (add-to-list 'org-capture-templates `("d" "daily entry" entry - (file ,(car (denote-journal-extras--entry-today))) + (file (car ,(denote-journal-extras--entry-today))) "* %a\n%U\n%?\n%i" :empty-lines 1)) (add-to-list 'org-capture-templates diff --git a/users/vincent/desktop/sway.nix b/users/vincent/desktop/sway.nix @@ -64,7 +64,6 @@ in }; output = { "*" = { - # { command = "${pkgs.swaybg}/bin/swaybg -i ~/desktop/pictures/lockscreen -m fill"; } bg = "~/desktop/pictures/lockscreen fill"; }; }; @@ -89,21 +88,11 @@ in "${mod}+Control+Return" = "exec emacs"; "${mod}+Control+Shift+Return" = "exec ${emacs-in-folder}"; - # "${mod}+${left}" = "focus left"; - # "${mod}+${down}" = "focus down"; - # "${mod}+${up}" = "focus up"; - # "${mod}+${right}" = "focus right"; - "${mod}+Left" = "focus left"; "${mod}+Down" = "focus down"; "${mod}+Up" = "focus up"; "${mod}+Right" = "focus right"; - # "${mod}+Shift+${left}" = "move left"; - # "${mod}+Shift+${down}" = "move down"; - # "${mod}+Shift+${up}" = "move up"; - # "${mod}+Shift+${right}" = "move right"; - "${mod}+Shift+Left" = "move left"; "${mod}+Shift+Down" = "move down"; "${mod}+Shift+Up" = "move up"; @@ -119,16 +108,9 @@ in "${mod}+Shift+Control+Up" = "move workspace to output up"; "${mod}+Shift+Control+Right" = "move workspace to output right"; - # "${mod}+b" = "splith"; - # "${mod}+v" = "splitv"; - # "${mod}+f" = "fullscreen toggle"; - "${mod}+Shift+space" = "floating toggle"; "${mod}+space" = "focus mode_toggle"; - #"${mod}+Shift+minus" = "move scratchpad"; - #"${mod}+minus" = "scratchpad show"; - "XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 10%+"; "XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 10%-"; "Shift+XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 1%+"; @@ -185,7 +167,7 @@ in } ]; startup = [ - { command = "dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY DBUS_SESSION_BUS_ADDRESS SWAYSOCK XDG_SESSION_TYPE XDG_SESSION_DESKTOP XDG_CURRENT_DESKTOP"; } #workaround + { command = "dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY DBUS_SESSION_BUS_ADDRESS SWAYSOCK XDG_SESSION_TYPE XDG_SESSION_DESKTOP XDG _CURRENT_DESKTOP"; } #workaround { command = "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; } # { command = "systemctl --user restart waybar"; always = true; } { command = "systemctl --user restart kanshi"; always = true; }