aboutsummaryrefslogtreecommitdiff
path: root/nixos/.local
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/.local')
-rw-r--r--nixos/.local/bin/poweroptions.org24
-rw-r--r--nixos/.local/share/applications/emacs.org20
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