dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.margiolis.net/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 83216c88509f2d6773e3f97796ecb08636a3d773
parent de9d7d110e1dbaefcd631573bf90e27bcad010a6
Author: Christos Margiolis <christos@FreeBSD.org>
Date:   Wed, 26 Mar 2025 00:26:21 +0100

improve

Diffstat:
M.gitignore | 5+----
Mautoinstall | 2+-
Acalcurse/.config/calcurse/conf | 33+++++++++++++++++++++++++++++++++
Acalcurse/.config/calcurse/keys | 56++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mfilebackup | 1-
Mfreebsd/loader.conf.desktop | 7+++++--
Mfreebsd/rc.conf.desktop | 20++++++++++++--------
Dmpd/.config/mpd/mpd.conf | 19-------------------
Mmpv/.config/mpv/mpv.conf | 1+
Dncmpcpp/.config/ncmpcpp/config | 49-------------------------------------------------
Msh/.profile | 2+-
Mtmux/.tmux.conf | 7+++++++
12 files changed, 117 insertions(+), 85 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,10 +1,7 @@ aliasrc/ +arcrc/ irssi/ mbsync/ -mpd/.config/mpd/* -!mpd/.config/mpd/mpd.conf mutt/ -ncmpcpp/.config/ncmpcpp/* -!ncmpcpp/.config/ncmpcpp/config sfeed/ homedir/ diff --git a/autoinstall b/autoinstall @@ -1,6 +1,6 @@ #!/bin/sh -ignoredirs="\.|\.git|freebsd|homedir|xbindkeys" +ignoredirs="\.|\.git|freebsd|homedir" homestuff="$(ls -a homedir/ | grep -Ev '^\.$|^\.\.$')" # FIXME single regex mkdir -p ${HOME}/.config diff --git a/calcurse/.config/calcurse/conf b/calcurse/.config/calcurse/conf @@ -0,0 +1,33 @@ +appearance.calendarview=monthly +appearance.compactpanels=no +appearance.defaultpanel=appointments +appearance.layout=1 +appearance.headerline=yes +appearance.eventseparator=yes +appearance.dayseparator=yes +appearance.emptyline=yes +appearance.emptyday=-- +appearance.notifybar=yes +appearance.sidebarwidth=50 +appearance.theme=green on default +appearance.todoview=show-completed +appearance.headingpos=right-justified +daemon.enable=no +daemon.log=no +format.inputdate=2 +format.notifydate=%a %F +format.notifytime=%T +format.appointmenttime=%H:%M +format.outputdate=%D +format.dayheading=%B %e, %Y +general.autogc=no +general.autosave=yes +general.confirmdelete=yes +general.confirmquit=yes +general.firstdayofweek=monday +general.multipledays=yes +general.periodicsave=1 +general.systemevents=yes +notification.command=calcurse --next | nfy +notification.notifyall=all +notification.warning=300 diff --git a/calcurse/.config/calcurse/keys b/calcurse/.config/calcurse/keys @@ -0,0 +1,56 @@ +# +# Calcurse keys configuration file +# +# In this file the keybindings used by Calcurse are defined. +# It is generated automatically by Calcurse and is maintained +# via the key configuration menu of the interactive user +# interface. It should not be edited directly. + +generic-cancel ESC +generic-select SPC +generic-credits @ +generic-help ? +generic-quit q Q +generic-save s S ^S +generic-reload R +generic-copy c +generic-paste p ^V +generic-change-view TAB +generic-prev-view KEY_BTAB +generic-import i I +generic-export x X +generic-goto g G +generic-other-cmd o O +generic-config-menu C +generic-redraw ^R +generic-add-appt ^A +generic-add-todo ^T +generic-prev-day T ^H +generic-next-day t ^L +generic-prev-week W ^K +generic-next-week w +generic-prev-month M +generic-next-month m +generic-prev-year Y +generic-next-year y +generic-scroll-down ^N +generic-scroll-up ^P +generic-goto-today ^G +generic-command : +move-right l L RGT +move-left h H LFT +move-down j J DWN +move-up k K UP +start-of-week 0 +end-of-week $ +add-item a A +del-item d D +edit-item e E +view-item v V RET +pipe-item | +flag-item ! +repeat r +edit-note n N +view-note > +raise-priority + +lower-priority - diff --git a/filebackup b/filebackup @@ -1,7 +1,6 @@ #!/bin/sh cp -vf \ - /etc/hosts \ /etc/src-env.conf \ /etc/rc.local \ ${HOME}/.login_conf \ diff --git a/freebsd/loader.conf.desktop b/freebsd/loader.conf.desktop @@ -1,5 +1,8 @@ -kern.vty="YES" kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" -kern.geom.label.ufsid.enable="0" +cryptodev_load="YES" zfs_load="YES" + +vmm_load="YES" +hw.vmm.amdvi.enable="1" +pptdevs="0/20/0" diff --git a/freebsd/rc.conf.desktop b/freebsd/rc.conf.desktop @@ -1,23 +1,27 @@ hostname="pleb" -keymap="us.kbd" -ifconfig_re0="DHCP" +#ifconfig_em0="up DHCP" +wlans_iwm0="wlan0" +synchronous_dhclient="YES" +ifconfig_wlan0="up WPA DHCP" +#ifconfig_wlan0_ipv6="inet6 accept_rtadv" sshd_enable="YES" +# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" +kld_list="cuse nfs modeset fusefs linux sound snd_hda /boot/modules/i915kms.ko acpi_video" +webcamd_enable="YES" zfs_enable="YES" -nvidia_modeset_name="nvidia-modeset" -kld_list="linux nvidia nvidia-modeset fusefs filemon sound snd_hda snd_ich snd_uaudio vmm" - if_bridge_load="YES" if_tap_load="YES" if_epair_load="YES" cloned_interfaces="bridge0 epair0 tap0" -ifconfig_bridge0="addm re0 addm epair0a addm tap0 up" +ifconfig_bridge0="addm wlan0 addm epair0a addm tap0 up" +#ifconfig_bridge0="addm em0 addm epair0a addm tap0 up" -nfs_server_enable="YES" +rpcbind_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" -rpcbind_enable="YES" mountd_enable="YES" mountd_flags="-n" +nfs_server_enable="YES" diff --git a/mpd/.config/mpd/mpd.conf b/mpd/.config/mpd/mpd.conf @@ -1,19 +0,0 @@ -music_directory "/backup/music" -db_file "~/.config/mpd/database" -log_file "~/.config/mpd/log" -playlist_directory "~/.config/mpd/playlists" -pid_file "~/.config/mpd/pid" -state_file "~/.config/mpd/state" -sticker_file "~/.config/mpd/sticker.sql" - -auto_update "yes" -bind_to_address "127.0.0.1" -restore_paused "yes" -max_output_buffer_size "16384" - -audio_output { - type "oss" - name "oss" - mixer_type "software" - mixer_device "/dev/mixer" -} diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf @@ -1 +1,2 @@ script-opts=ytdl_hook-ytdl_path=/usr/local/bin/yt-dlp +ytdl-format=bestvideo[height<=?480][vcodec!=vp9]+bestaudio/best diff --git a/ncmpcpp/.config/ncmpcpp/config b/ncmpcpp/.config/ncmpcpp/config @@ -1,49 +0,0 @@ -ncmpcpp_directory="~/.config/ncmpcpp" - -mpd_music_dir = "~/.config/mpd/music" -mpd_crossfade_time = "2" -mpd_port = "6600" - -# Playlist -song_columns_list_format = "(6f)[blue]{l} (25)[red]{a} (40)[green]{t|f} (30)[yellow]{b}" -now_playing_prefix = "$b$5»$7»$1» " -now_playing_suffix = "$/b" -playlist_display_mode = "columns" (classic/columns) -autocenter_mode = "yes" -centered_cursor = "yes" - -# Bars -song_status_format = "$2%a $1• $3%t $1• $4%b {(Disc %d) }$1• $5%y$1" -progressbar_look = "─╼·" -titles_visibility = "no" - -# Browser -browser_playlist_prefix = "$2plist »$9 " -browser_display_mode = "columns" (classic/columns) - -# Colors -discard_colors_if_item_is_selected = "yes" -header_window_color = "white" -volume_color = "cyan" -state_line_color = "green" -state_flags_color = "yellow" -main_window_color = "white" -color1 = "default" -color2 = "green" -#main_window_highlight_color = "red" -current_item_prefix = "$(red)$r" -current_item_suffix = "$/r$(end)" -progressbar_color = "yellow" -statusbar_color = "white" -#active_column_color = "red" -current_item_inactive_column_prefix = "$(red)$r" -current_item_inactive_column_suffix = "$/r$(end)" - -lyrics_fetchers = genius - -# Others -song_window_title_format = "{%a - }{%t}{ [%b{ Disc %d}]}" -search_engine_display_mode = "columns" (classic/columns) -follow_now_playing_lyrics = "yes" -allow_for_physical_item_deletion = "yes" -#display_screens_numbers_on_start = "no" diff --git a/sh/.profile b/sh/.profile @@ -16,7 +16,7 @@ # TERM=xterm; export TERM export EDITOR="nvim" export TERMINAL="st" -export BROWSER="firefox" +export BROWSER="librewolf" export READER="zathura" export PAGER="less -R" diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -19,3 +19,10 @@ set -g base-index 1 # open a man page in a separated split pane bind m command-prompt -p "man page:" "split-window -h 'exec man %%'" + +# open urls from tmux buffer +bind-key u \ + capture-pane -J \; \ + save-buffer /tmp/tmuxbuf \; \ + delete-buffer \; \ + split-window -l 10 "urlview /tmp/tmuxbuf"