home/natto: use just legacy configs

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-11-08 02:52:44 +05:30
parent 3da8b6ba31
commit 05a1c4707b
11 changed files with 179 additions and 204 deletions

View File

@@ -482,7 +482,7 @@ This returns the command to run in the terminal
("java" (concat "java" full))
("py" (concat "python" full))
("cpp" (concat "g++ " full " -o " file " && " file " && rm " file))
("hs" (concat "ghc -dynamic" full " && " file " && rm " file " " file ".o"))
("hs" (concat "ghc -dynamic " full " && " file " && rm " file " " file ".o"))
("sh" (concat "sh" full))
("js" (concat "node" full))
("ts" (concat "tsc" full " && node " file ".js && rm " file ".js" ))
@@ -537,7 +537,8 @@ This returns the command to run in the terminal
"C-S-v" 'yank)
(general-define-key
:keymaps '(global vterm-mode-map)
:keymaps '(global override vterm-mode-map)
:states evil-states
"M-o" 'treemacs
"M-v" 'split-window-vertically
"M-h" 'split-window-horizontally
@@ -561,15 +562,16 @@ This returns the command to run in the terminal
#+begin_src emacs-lisp
(with-eval-after-load 'vterm-toggle
(general-define-key
:keymaps '(global vterm-mode-map)
:keymaps '(global override vterm-mode-map)
:states evil-states
"<f4>" (lambda () (interactive) (vterm t))
"C-<f1>" 'vterm-toggle-cd
"<f1>" 'vterm-toggle
"<f5>" (lambda () (interactive) (run-in-vterm (candrun))))
(define-key vterm-mode-map (kbd "<F2>") 'vterm-toggle-forward)
(define-key vterm-mode-map (kbd "<f3>") 'vterm-toggle-backward)
)
(general-define-key
:keymaps 'vterm-mode-map
"<f2>" 'vterm-toggle-forward
"<f3>" 'vterm-toggle-backward))
#+end_src
*** Toggle Appearance

View File

@@ -0,0 +1,35 @@
music_directory "~/Music"
playlist_directory "~/.config/mpd/playlists"
db_file "~/.config/mpd/database"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
log_file "~/.config/mpd/log"
pid_file "~/.config/mpd/pid"
bind_to_address "0.0.0.0"
bind_to_address "~/.config/mpd/socket"
restore_paused "yes"
input {
plugin "curl"
}
audio_output {
type "pulse"
name "pulse audio"
}
audio_output {
type "fifo"
name "Visualizer feed"
path "/tmp/g.fifo"
format "44100:16:2"
}
audio_output {
encoder "vorbis"
type "httpd"
quality "9"
name "Vorbis Stream"
port "8001"
max_clients "0"
always_on "yes"
}
filesystem_charset "UTF-8"

View File

@@ -0,0 +1,3 @@
force-window=yes
keep-open=yes
save-position-on-quit=yes

View File

@@ -0,0 +1,38 @@
active_window_border=blue
autocenter_mode=yes
browser_sort_mode=mtime
centered_cursor=yes
colors_enabled=yes
cyclic_scrolling=yes
display_bitrate=yes
empty_tag_marker=
enable_window_title=yes
fetch_lyrics_for_current_song_in_background=yes
follow_now_playing_lyrics=yes
header_visibility=yes
header_window_color=green
lines_scrolled=2
locked_screen_width_part=25
lyrics_directory=~/.lyrics
main_window_color=white
mpd_music_dir=/home/natto/Music
now_playing_prefix=>
playlist_display_mode=columns
playlist_editor_display_mode=classic
progressbar_color=green
progressbar_look=▃▃▃
regular_expressions=extended
song_columns_list_format=(4)[red]{l} (20)[cyan]{t} (25)[green]{a} (25)[magenta]{b}
song_list_format=$(yellow){%a} - $(blue){%t}
song_status_format= $6%a $7⟫⟫ $3%t $7⟫⟫ $4%b
statusbar_visibility=yes
system_encoding=utf-8
titles_visibility=yes
user_interface=alternative
visualizer_data_source=/tmp/g.fifo
visualizer_fps=144
visualizer_in_stereo=yes
visualizer_look=◆▋
visualizer_spectrum_smooth_look=yes
visualizer_type=spectrum
volume_color=yellow

View File

@@ -0,0 +1,10 @@
background "#002b36"
geometry "1x1-0"
grow_gravity "E"
icon_gravity "E"
icon_size "23"
kludges "force_icons_size"
max_geometry "10x0"
sticky true
window_layer "top"
window_type "dock"