From 329c5adb2d3156f195c91703fe22fd14b84d6a3c Mon Sep 17 00:00:00 2001 From: Simponic Date: Mon, 7 Nov 2022 15:47:39 -0700 Subject: [PATCH] Add thefuck and comment out songnotification for now --- .emacs.d/init.el | 3 ++- .emacs.d/settings.org | 5 +++++ .zshrc | 2 ++ scripts/songnotification | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index b92df38..6496021 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -9,7 +9,8 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages '(magit counsel doom-modeline doom-themes use-package)) + '(package-selected-packages + '(kotlin-mode magit counsel doom-modeline doom-themes use-package)) '(tab-width 2)) (custom-set-faces ;; custom-set-faces was added by Custom. diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index d18aa41..0ed73c3 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -260,3 +260,8 @@ After installing the ~rust-analyzer~ program, the following can be used: (enable-minor-mode '("\\.tsx?\\'" . prettier-js-mode)))) #+END_SRC +*** Kotlin +#+BEGIN_SRC emacs-lisp + (use-package kotlin-mode + :ensure t) +#+END_SRC diff --git a/.zshrc b/.zshrc index f38221f..7b9c956 100644 --- a/.zshrc +++ b/.zshrc @@ -50,3 +50,5 @@ HISTFILE=~/.zsh_history HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory + +eval $(thefuck --alias) diff --git a/scripts/songnotification b/scripts/songnotification index 440d8a6..838d0a0 100755 --- a/scripts/songnotification +++ b/scripts/songnotification @@ -1,4 +1,4 @@ #!/bin/sh song=$(playerctl metadata --format "{{ title }}\n{{ artist }}\n{{ album }}") -notify-send "Now Playing" "$song" #--icon=~/.config/spotifyd/penguin.jpg +#notify-send "Now Playing" "$song" #--icon=~/.config/spotifyd/penguin.jpg