Introduction
Introduction Statistics Contact Development Disclaimer Help
Desktop tweaks and layout changes. - dotfiles - These are my dotfiles. There ar…
git clone git://jay.scot/dotfiles
Log
Files
Refs
README
---
commit 82950c175a46c3eb86e688f7937b1652c9bca478
parent b4f15da7233f538384b6987014779998300e6c50
Author: Jay Scott <[email protected]>
Date: Sat, 7 Jun 2025 12:51:24 +0100
Desktop tweaks and layout changes.
Diffstat:
M .gitignore | 1 +
M ashrc | 16 ++++++++--------
M bin/link-handler | 2 +-
M bin/sway-start | 7 ++++++-
M bootstrap.sh | 2 +-
M foot/foot.ini | 21 ++++-----------------
M newsraft/config | 6 ++----
M newsraft/feeds | 31 +++++++++++++++++++++++++++++…
M sway/config | 11 +++++++++--
M waybar/config | 23 ++++++++---------------
M waybar/style.css | 23 -----------------------
11 files changed, 71 insertions(+), 72 deletions(-)
---
diff --git a/.gitignore b/.gitignore
@@ -19,6 +19,7 @@ bin/golangci-lint
bin/neonmodem
bin/radio
bin/w3m
+bin/reddittui
# vim
nvim/lazy-lock.json
diff --git a/ashrc b/ashrc
@@ -10,7 +10,7 @@ export PASSWORD_STORE_DIR="$XDG_CONFIG_HOME"/pass
GPG_TTY=$(tty)
export GPG_TTY
export EDITOR="nvim"
-export BROWSER="qutebrowser"
+export BROWSER="librewolf"
export PATH=$PATH:$HOME/bin
# tools
@@ -41,16 +41,14 @@ alias gma='git commit -am'
alias vim='nvim'
alias mutt='neomutt'
alias mpv="mpv --autofit=30% --really-quiet --no-terminal"
-alias w="w3m -B"
# vpn
-alias von='mullvad ~/.config/mullvad/se-mma-wg-111.conf'
+alias von='doas wg-quick up se-sto-wg-011'
+alias voff='doas wg-quick down se-sto-wg-011'
alias vcheck='curl https://am.i.mullvad.net/connected'
-# vpn
-alias von='doas wg-quick up mullvad'
-alias voff='doas wg-quick down mullvad'
-alias vcheck='curl https://am.i.mullvad.net/connected'
+# reddit
+alias r='reddittui'
# pass
export PASSWORD_STORE_DIR=$HOME/src/pass
@@ -59,4 +57,6 @@ export PASSWORD_STORE_DIR=$HOME/src/pass
export LANG=en_US.UTF-8
export LC_CTYPE="en_US.UTF-8"
export LC_ALL=en_US.UTF-8
-export PS1="\[\e[00;34m\]▶▶▶ \W \[\e[0m\]"
+#export PS1="\[\e[00;34m\]▶▶▶ \W \[\e[0m\]"
+#export PS1="\033[35m\w \033[36m➤ \033[0m"
+export PS1="\033[90m\w \033[36m➤ \033[0m"
diff --git a/bin/link-handler b/bin/link-handler
@@ -5,7 +5,7 @@ launcher="setsid"
# applications
player="mpv --autofit=30% --really-quiet --no-terminal"
gemini="foot -e amfora"
-gopher="foot -e w3m"
+gopher="foot -e lynx"
pdf="zathura"
images="swayimg"
torrent="qbittorrent"
diff --git a/bin/sway-start b/bin/sway-start
@@ -1,9 +1,15 @@
#!/bin/sh
+
export TERM=foot
export _JAVA_AWT_WM_NONREPARENTING=1
export XKB_DEFAULT_OPTIONS=caps:escape
export GDK_BACKEND=wayland
+
+# Session
export XDG_SESSION_TYPE=wayland
+export XDG_SESSION_DESKTOP=sway
+export XDG_CURRENT_DESKTOP=sway
+
#export XCURSOR_THEME=Adwaita
export XDG_DESKTOP_DIR="$HOME"
export XDG_DOWNLOAD_DIR="$HOME/tmp"
@@ -11,7 +17,6 @@ export XDG_DOCUMENTS_DIR="$HOME/tmp"
export XDG_MUSIC_DIR="$HOME/tmp"
export XDG_PICTURES_DIR="$HOME/tmp"
export XDG_VIDEOS_DIR="$HOME/tmp"
-export XDG_CURRENT_DESKTOP=sway
if [ -z "$XDG_RUNTIME_DIR" ]; then
mkdir -p /tmp/runtime/jay
diff --git a/bootstrap.sh b/bootstrap.sh
@@ -4,7 +4,7 @@ DOTFILES=$(pwd)
FILES='ashrc profile'
ROOT='bin'
-CONFIG='foot git isync lynx mutt newsraft nvim qutebrowser sway waybar'
+CONFIG='foot git isync lynx mutt newsraft nvim sway waybar'
link() {
for f in $FILES; do ln -sfn "$DOTFILES/$f" "$HOME/.$f"; done
diff --git a/foot/foot.ini b/foot/foot.ini
@@ -1,4 +1,4 @@
-font=Hack:size=14
+font=Hack:size=16
[url]
launch=link-handler ${url}
@@ -9,19 +9,6 @@ show-urls-launch=Control+Shift+p
[colors]
background=282828
foreground=ebdbb2
-regular0=282828
-regular1=cc241d
-regular2=98971a
-regular3=d79921
-regular4=458588
-regular5=b16286
-regular6=689d6a
-regular7=a89984
-bright0=928374
-bright1=fb4934
-bright2=b8bb26
-bright3=fabd2f
-bright4=83a598
-bright5=d3869b
-bright6=8ec07c
-bright7=ebdbb2
+
+bright0=a0a0a0
+regular6=40bfbf
diff --git a/newsraft/config b/newsraft/config
@@ -1,9 +1,7 @@
# settings
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
+list-entry-date-format "%D"
+feeds-menu-paramount-explore true
# key bindings
bind f exec "~/bin/link-handler %l"
diff --git a/newsraft/feeds b/newsraft/feeds
@@ -17,3 +17,34 @@ https://pluralistic.net/feed/ "Pluralistic"
https://k0.tel/feed.xml "Koutsie"
https://labnotes.org/rss/ "Lab Notes"
https://www.jeffgeerling.com/blog.xml "Jeff Geerling"
+
+@ GAMING
+https://www.gamingonlinux.com/article_rss.php "Gaming On Linux"
+
+@ YOUTUBE
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCcjx6m03fZwtRBFn1Cf7kKQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCBhQuxcHU3aydk_zTXcbdTg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCcKw8Eg0FfRvhIAnC0cPGAA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCLmltEyJ0zBsKnL8bWSdn3A "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCv8Po8UR9OfhPhPCLjz1d8Q "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCIDIqg7LhjLFCyD2awY_38g "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7sGXeJOixPBgJ3r5R55JYg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpp3cHR9TWVyXqL1AVw4XkA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCSwl4SnA68L8iDfj5gBf-yA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCRl31PWkfF0a3j3hiDRaCGA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCsxidPdmPXDlsS3rn7arJsA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCylGUf9BvQooEFjgdNudoQg "…
diff --git a/sway/config b/sway/config
@@ -15,7 +15,9 @@ default_floating_border pixel 5
workspace_layout default
font pango: Hack:style=Regular 2
-for_window [app_id="mpv"] floating enable, sticky enable, move absolute positi…
+# application assignment
+for_window [app_id="mpv"] floating enable, sticky enable, resize set 560 280, …
+assign [app_id="librewolf"] 2
# misc
xwayland enable
@@ -36,13 +38,18 @@ output DP-2 {
transform 270 pos 0 0 res 1920x1080
}
+workspace 1 output DP-1
+workspace 2 output DP-2
+workspace 3 output DP-1
+workspace 4 output DP-1
focus output DP-1
# keybinds
bindsym $mod+Space exec footclient
bindsym $mod+p exec $menu
-bindsym $mod+f exec firefox
+bindsym $mod+f exec librewolf
bindsym $mod+m exec /home/jay/bin/music
+bindsym $mod+s exec flatpak run com.heroicgameslauncher.hgl
bindsym XF86AudioRaiseVolume exec pamixer -i 5
bindsym XF86AudioLowerVolume exec pamixer -d 5
diff --git a/waybar/config b/waybar/config
@@ -1,10 +1,13 @@
{
+ // general
+ "output": "DP-1",
+ "reload_style_on_change": true,
"layer": "top",
"position": "top",
+ // layout
"modules-left": [
- "sway/workspaces",
- "custom/right-arrow-dark"
+ "sway/workspaces"
],
"modules-center": [
@@ -12,22 +15,12 @@
],
"modules-right": [
- "custom/left-arrow-dark",
"pulseaudio",
"tray",
"clock"
],
- "custom/right-arrow-dark": {
- "format": "",
- "tooltip": false
- },
-
- "custom/left-arrow-dark": {
- "format": "",
- "tooltip": false
- },
-
+ // modules
"sway/workspaces": {
"disable-scroll": true,
"format": "{name}"
@@ -51,8 +44,8 @@
"on-click": "pamixer -t"
},
- "custom/vpn":{
- "format": "{icon} {}",
+ "custom/vpn": {
+ "format": "{icon} {text}",
"format-icons": {
"default": [""]
},
diff --git a/waybar/style.css b/waybar/style.css
@@ -3,26 +3,12 @@
font-family: Hack;
}
-
#custom-vpn,
window#waybar {
background: #292b2e;
color: #fdf6e3;
}
-#workspaces,
-#clock,
-#custom-mail,
-#pulseaudio,
-#tray {
- background: #1a1a1a;
-}
-
-#custom-right-arrow-dark,
-#custom-left-arrow-dark {
- color: #1a1a1a;
-}
-
#workspaces button {
padding: 0 0px;
color: #fdf6e3;
@@ -30,15 +16,6 @@ window#waybar {
#workspaces button.focused {
color: #268bd2;
}
-#workspaces button:hover {
- box-shadow: inherit;
- text-shadow: inherit;
-}
-#workspaces button:hover {
- background: #1a1a1a;
- border: #1a1a1a;
- padding: 0 1px;
-}
#custom-vpn.connected {
color: #007300;
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.