Renaming shell scripts, updating readme. - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit a0fabfd541a4b20687c71556365ceaf6ec271ad1
(DIR) parent 6ae55462d2a43217374579ac7efb08a76c1efec5
(HTM) Author: Jay Scott <me@jay.scot>
Date: Sun, 21 Jul 2024 16:40:14 +0100
Renaming shell scripts, updating readme.
Diffstat:
M README | 14 ++++++++------
M ashrc | 2 +-
R bin/link_handler.sh -> bin/link-ha… | 0
R bin/music.sh -> bin/music | 0
R bin/genaccount.sh -> bin/old/genac… | 0
R bin/gitreset.sh -> bin/old/gitreset | 0
R bin/yt_feedurl.sh -> bin/old/yt-fe… | 0
R bin/sway_run.sh -> bin/sway-start | 0
M foot/foot.ini | 2 +-
M lynx/config | 2 +-
M newsraft/config | 4 ++--
M newsraft/feeds | 5 ++++-
M nvim/init.lua | 1 +
M qutebrowser/config.py | 5 ++---
M sway/config | 2 +-
15 files changed, 21 insertions(+), 16 deletions(-)
---
(DIR) diff --git a/README b/README
@@ -5,11 +5,12 @@
---
-Since 2011, I mainly use the terminal for everything.
+These are my dotfiles. There are many like it, but these are mine.
+
+They are managed via the bootstrap.sh shell script, this links the files and
+folders in the appropriate place. They are used on Alpine Linux which I use as
+my main desktop OS and are forever evolving.
-Privacy is at the forefront of my mind as such some of my browser
-settings maybe too restrictive for some. I also don't use social media
-at all, the closest I come is using IRC.
operating sys : alpine linux
window manager : sway
@@ -17,7 +18,8 @@ at all, the closest I come is using IRC.
launcher : bemenu
email : neomutt
browser : qutebrowser / librewolf
- video / music : mpv
+ media : mpv
password mgt : pass
vpn : mullvad
- news : sfeed
+ news : newsraft
+
(DIR) diff --git a/ashrc b/ashrc
@@ -15,7 +15,7 @@ export BROWSER="qutebrowser"
export PATH=$PATH:$HOME/bin
# tools
-export OPENER=~/bin/link_handler.sh
+export OPENER=~/bin/link-handler
export BEMENU_OPTS="-l 10 -p '>>> ' --tb '#55a1ba' --tf '#ffffff' --hf '#444444' -c -W0.4 --fn 'Hack 10'"
# lynx
(DIR) diff --git a/bin/link_handler.sh b/bin/link-handler
(DIR) diff --git a/bin/music.sh b/bin/music
(DIR) diff --git a/bin/genaccount.sh b/bin/old/genaccount
(DIR) diff --git a/bin/gitreset.sh b/bin/old/gitreset
(DIR) diff --git a/bin/yt_feedurl.sh b/bin/old/yt-feedurl.sh
(DIR) diff --git a/bin/sway_run.sh b/bin/sway-start
(DIR) diff --git a/foot/foot.ini b/foot/foot.ini
@@ -1,7 +1,7 @@
font=Hack:size=14
[url]
-launch=link_handler.sh ${url}
+launch=link-handler ${url}
[key-bindings]
show-urls-launch=Control+Shift+p
(DIR) diff --git a/lynx/config b/lynx/config
@@ -8,7 +8,7 @@ CHARACTER_SET:utf-8
ASSUME_CHARSET:utf-8
# image handing
-XLOADIMAGE_COMMAND:link_handler.sh %s &
+XLOADIMAGE_COMMAND:link-handler %s &
NO_PAUSE:TRUE
MINIMAL_COMMENTS:TRUE
(DIR) diff --git a/newsraft/config b/newsraft/config
@@ -1,9 +1,9 @@
# settings
-set open-in-browser-command ~/bin/link_handler.sh "%l"
+set open-in-browser-command ~/bin/link-handler "%l"
set clean-database-on-startup true
set menu-feed-sorting unread-desc
set menu-item-sorting unread-desc
# key bindings
-bind f exec "~/bin/link_handler.sh %l"
+bind f exec "~/bin/link-handler %l"
(DIR) diff --git a/newsraft/feeds b/newsraft/feeds
@@ -6,7 +6,10 @@ https://discuss.linuxcontainers.org/latest.rss "Linux Containers"
https://noted.lol/rss/ "Noted"
https://tildes.net/topics.rss "Tilde Topics"
https://selfh.st/rss/ "Selfh"
-https://hnrss.org/active?link=comments "Hacker News"
+https://hnrss.org/newest?points=1500 "HN: New"
+https://hnrss.org/newest.atom?q=CLI+OR+terminal&points=25 "HN: CLI"
+https://hnrss.org/newest.atom?q=Alpine&points=25 "HN: Alpine"
+https://hnrss.org/newest.atom?q=gemini+OR+sway+OR+newsraft+OR+smol+OR+suckless+OR+swaywm+OR+gmni+OR+mpv+OR+wayland&points=4&comments=1 "HN: Dev"
https://planet.kernel.org/rss20.xml "Planet Kernel"
https://bearblog.dev/discover/feed/ "Bear Blogs"
(DIR) diff --git a/nvim/init.lua b/nvim/init.lua
@@ -152,6 +152,7 @@ vim.keymap.set("n", "<leader>fb", ":Telescope buffers<CR>", { noremap = true })
-- format paragraphs
vim.keymap.set("n", "<leader>pp", "gqap", { noremap = true, silent = true })
+vim.opt.textwidth = 80
-- enable spellchecking
vim.keymap.set("n", "<leader>ps", ":setlocal spell! spelllang=en_gb<CR>", { noremap = true, silent = true })
(DIR) diff --git a/qutebrowser/config.py b/qutebrowser/config.py
@@ -11,14 +11,13 @@ except ImportError:
pass
# default local page
-#DEFAULT_PAGE = str(config.configdir / 'blank.html')
-DEFAULT_PAGE = "https://local.jay.scot/dashboard"
+DEFAULT_PAGE = str(config.configdir / 'blank.html')
# keybinds remapping
config.bind("xx", "set tabs.show always;; later 5000 set tabs.show switching")
config.bind("xc", "spawn --userscript password_fill")
config.bind("zd", "download-open")
-config.bind("xz", "hint links spawn --detach ~/bin/link_handler.sh {hint-url}")
+config.bind("xz", "hint links spawn --detach ~/bin/link-handler {hint-url}")
config.bind("j", "cmd-run-with-count 5 scroll down")
config.bind("k", "cmd-run-with-count 5 scroll up")
(DIR) diff --git a/sway/config b/sway/config
@@ -31,7 +31,7 @@ input * {
bindsym $mod+Space exec footclient
bindsym $mod+p exec $menu
bindsym $mod+f exec qutebrowser
-bindsym $mod+m exec /home/jay/bin/music.sh
+bindsym $mod+m exec /home/jay/bin/music
bindsym XF86AudioRaiseVolume exec pamixer -i 5
bindsym XF86AudioLowerVolume exec pamixer -d 5