update

Changed files
+41 -7
home
emacs
gui
modules
+21
flake.lock
···
"type": "github"
}
},
+
"emacs-overlay": {
+
"inputs": {
+
"nixpkgs": [
+
"nixpkgs"
+
],
+
"nixpkgs-stable": "nixpkgs-stable"
+
},
+
"locked": {
+
"lastModified": 1734599675,
+
"narHash": "sha256-jTfIoLxbVK3r6rFHKs0JS8WEYrmp0AGomzGaPTDZvrE=",
+
"owner": "nix-community",
+
"repo": "emacs-overlay",
+
"rev": "df40078d8d4f3f0439e52a3f3e44af0005e6072e",
+
"type": "github"
+
},
+
"original": {
+
"owner": "nix-community",
+
"repo": "emacs-overlay",
+
"type": "github"
+
}
+
},
"eon": {
"inputs": {
"flake-utils": "flake-utils_3",
+10 -3
home/emacs/default.nix
···
zstd
];
-
home.sessionPath = [ "$XDG_CONFIG_HOME/emacs/bin" ];
-
-
# modules.shell.zsh.rcFiles = [ "${config.xdg.configHome}/emacs/aliases.zsh" ];
+
programs.zsh.initExtra = lib.mkAfter ''
+
PATH="''${XDG_CONFIG_HOME:-$HOME/.config}/emacs/bin":$PATH
+
'';
home.file = {
".mail.cap".text = ''
application/pdf; xdg-open %s
'';
+
};
+
+
services.emacs = {
+
enable = true;
+
package = emacs;
+
socketActivation.enable = true;
+
# defaultEditor = true;
};
};
}
+3 -3
home/gui/wm/config.d/bindings
···
bindsym $mod+Control+bracketleft move workspace to output left ; exec dunstify -C `cat ~/.cache/st_id` && st workspace -t 500
bindsym $mod+Control+bracketright move workspace to output right ; exec dunstify -C `cat ~/.cache/st_id` && st workspace -t 500
-
bindsym $mod+m exec $SCRIPT_DIR/ws_switch.sh "$SCRIPT_DIR/get_free_ws_num.sh" ; exec st workspace -t 500
-
bindsym $mod+Shift+m exec $SCRIPT_DIR/ws_mv.sh "$SCRIPT_DIR/get_free_ws_num.sh" ; exec st workspace -t 500
-
bindsym $mod+Control+m exec $SCRIPT_DIR/ws_switch_mv.sh "$SCRIPT_DIR/get_free_ws_num.sh" ; exec st workspace -t 500
+
bindsym $mod+m exec $SCRIPT_DIR/ws_switch.sh "$SCRIPT_DIR/get_free_ws_num.sh"
+
bindsym $mod+Shift+m exec $SCRIPT_DIR/ws_mv.sh "$SCRIPT_DIR/get_free_ws_num.sh"
+
bindsym $mod+Control+m exec $SCRIPT_DIR/ws_switch_mv.sh "$SCRIPT_DIR/get_free_ws_num.sh"
bindsym $mod+backslash exec $SCRIPT_DIR/ws_switch.sh "$SCRIPT_DIR/select_ws.sh"
bindsym $mod+Shift+backslash exec $SCRIPT_DIR/ws_mv.sh "$SCRIPT_DIR/select_ws.sh"
+2
home/gui/wm/scripts/ws_mv.sh
···
ID="$($(dirname "$0")/get_cur_focus_id.sh)"
$(dirname "$0")/focus_on_id.sh "$ID"
@wmmsg@ move container to workspace \"$NAME\"
+
+
notify-send "$NAME" -t 500
+2
home/gui/wm/scripts/ws_switch.sh
···
NAME="$(eval "$1")" || exit
@wmmsg@ workspace \"$NAME\"
+
+
notify-send "$NAME" -t 500
+2
home/gui/wm/scripts/ws_switch_mv.sh
···
@wmmsg@ workspace \"$NAME\"
$(dirname "$0")/focus_on_id.sh "$ID"
+
+
notify-send "$NAME" -t 500
+1 -1
modules/gui/default.nix
···
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-emoji
-
(nerdfonts.override { fonts = [ "DroidSansMono" ]; })
+
(nerdfonts.override { fonts = [ "DroidSansMono" "NerdFontsSymbolsOnly" ]; })
wqy_zenhei
libertine
];