diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-27 20:28:05 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-27 20:28:05 -0500 |
commit | 7edb3349287bdf182510f1b377583fc9988c6dbb (patch) | |
tree | faaa504d23b5b52fba0dd27926f10049e16191cf /nixos/.local | |
parent | 245089884cac141b69f326ea741f7aad86f4a3ca (diff) |
move more into flake
Diffstat (limited to 'nixos/.local')
-rw-r--r-- | nixos/.local/bin/poweroptions.org | 24 | ||||
-rw-r--r-- | nixos/.local/share/applications/emacs.org | 20 |
2 files changed, 0 insertions, 44 deletions
diff --git a/nixos/.local/bin/poweroptions.org b/nixos/.local/bin/poweroptions.org deleted file mode 100644 index 6f154ef..0000000 --- a/nixos/.local/bin/poweroptions.org +++ /dev/null @@ -1,24 +0,0 @@ -#+title: Power Options Script - -Use =fuzzel= to open a menu to power off, reboot, or log out. -#+begin_src sh :tangle ~/.local/bin/poweroptions.sh :mkdirp yes :tangle-mode o755 - #!/bin/sh - - getoption () { - fuzzel --dmenu -l 3 -x 1 -r 10 << EOF - power off - restart - logout - EOF - } - - option=$(getoption | xargs) - case $option in - ' power off') - systemctl poweroff;; - ' restart') - systemctl reboot;; - ' logout') - hyprctl dispatch exit;; - esac -#+end_src diff --git a/nixos/.local/share/applications/emacs.org b/nixos/.local/share/applications/emacs.org deleted file mode 100644 index 6eab52f..0000000 --- a/nixos/.local/share/applications/emacs.org +++ /dev/null @@ -1,20 +0,0 @@ -#+title: Emacs Desktop File -This is a copy of the normal Emacs desktop file, but it launches with =emacsclient= instead of =emacs= to allow connecting to the Emacs daemon. -#+begin_src desktop :tangle ~/.local/share/applications/emacs.desktop :mkdirp yes - [Desktop Entry] - Type=Application - Version=1.0 - Name=GNU Emacs - GenericName=Emacs - Comment=Emacs is the extensible, customizable, self-documenting real-time display editor - Comment[de]=Emacs ist der erweiterbare, anpassbare, selbst-dokumentierende Echtzeit-Editor - Comment[es]=Emacs es un editor ampliable, adaptable, mismo documentado, de tiempo real - Comment[fr]=Emacs est l'éditeur plein écran avancé, auto-documenté, personnalisable et extensible - Icon=emacs - TryExec=/usr/bin/emacs - Exec=/usr/bin/emacsclient -c %F - Terminal=false - MimeType=text/css;text/english;text/html;text/plain;text/x-c;text/x-chdr;text/x-csrc;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-java;text/x-makefile;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript; - Categories=Development;TextEditor; - StartupWMClass=Emacs -#+end_src |