Compare commits

...

5 Commits

Author SHA1 Message Date
Joel Beckmeyer e9cd7c268a add darkman 2026-05-18 21:23:05 -04:00
Joel Beckmeyer 528ed9b0b7 fix gap issue when using foot with KDE+window manager plugins 2026-05-07 08:42:44 -04:00
Joel Beckmeyer 7725847263 support dynamic toggling between dark/light theme via darkman 2026-05-07 08:13:13 -04:00
Joel Beckmeyer a58ced0fcd update ignore file 2026-04-16 13:46:46 -04:00
Joel Beckmeyer 9ab113bf91 remove sway vars, add vars for vscode/wayland 2026-04-10 14:08:23 -04:00
9 changed files with 90 additions and 25 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
README.md
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (eq .chezmoi.hostname "UGC13335X84") (eq .chezmoi.hostname "UGCB2YBS33") (env "ANDROID_ROOT") }}
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (eq .chezmoi.hostname "UGC13335X84") (eq .chezmoi.hostname "UGCB2YBS33") (eq .chezmoi.hostname "UGC1C4PJF24") (env "ANDROID_ROOT") }}
.config/beets
.config/davfs2/secrets
.config/kitty
@@ -9,7 +9,7 @@ README.md
.config/waybar
{{ end }}
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (eq .chezmoi.hostname "UGC13335X84") (eq .chezmoi.hostname "UGCB2YBS33") }}
{{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (eq .chezmoi.hostname "UGC13335X84") (eq .chezmoi.hostname "UGCB2YBS33") (eq .chezmoi.hostname "UGC1C4PJF24") }}
.local/share/gnupg/sshcontrol
{{ end }}
+3
View File
@@ -0,0 +1,3 @@
lat: 42.32
lng: -83.17
portal: true
+3 -4
View File
@@ -27,10 +27,9 @@ export EDITOR=nvim
export SUDO_EDITOR="$(which $EDITOR)"
export PAGER=less
# sway
#export XDG_CURRENT_DESKTOP=sway
#export _JAVA_AWT_WM_NONREPARENTING=1
#export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# wayland
export ELECTRON_OZONE_PLATFORM_HINT=wayland
export GTK_USE_PORTAL=1
# virt
export LIBVIRT_DEFAULT_URI="qemu:///system"
+33 -18
View File
@@ -24,12 +24,12 @@ font=FiraCode:size=10
# dpi-aware=no
# gamma-correct-blending=no
# initial-color-theme=1
initial-color-theme=light
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
initial-window-mode=maximized
# pad=0x0 center-when-maximized-and-fullscreen
# resize-by-cells=yes
resize-by-cells=no
# resize-keep-grid=yes
# resize-delay-ms=100
@@ -103,28 +103,24 @@ initial-window-mode=maximized
[colors-dark]
alpha=0.95
background=fbf1c7
foreground=3c3836
# Normal/regular colors (color palette 0-7)
regular0=bdae93
background=282828
foreground=ebdbb2
regular0=282828
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=7c6f64
# Bright colors (color palette 8-15)
bright0=a89984
bright1=9d0006
bright2=79740e
bright3=b57614
bright4=076678
bright5=8f3f71
bright6=427b58
bright7=665c54
regular7=a89984
bright0=928374
bright1=fb4934
bright2=b8bb26
bright3=fabd2f
bright4=83a598
bright5=d3869b
bright6=8ec07c
bright7=ebdbb2
## dimmed colors (see foot.ini(5) man page)
# dim-blend-towards=black
@@ -168,6 +164,25 @@ bright7=665c54
# Alternative color theme, see man page foot.ini(5)
# Same builtin defaults as [color], except for:
# dim-blend-towards=white
alpha=0.95
background=fbf1c7
foreground=3c3836
regular0=bdae93
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=7c6f64
bright0=a89984
bright1=9d0006
bright2=79740e
bright3=b57614
bright4=076678
bright5=8f3f71
bright6=427b58
bright7=665c54
[csd]
# preferred=server
-1
View File
@@ -76,7 +76,6 @@ vim.opt.mouse = "a"
-- Colorscheme
vim.opt.termguicolors = true
vim.o.background = "light"
vim.g.gruvbox_contrast_light = "medium"
vim.g.gruvbox_italicize_comments = 0
vim.cmd([[colorscheme gruvbox]])
@@ -0,0 +1,12 @@
#!/usr/bin/env sh
# trigger a small, passive popup dialog to inform the user about darkman's activity
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
case "$1" in
dark) ICON=weather-clear-night ;;
light) ICON=weather-clear ;;
default) exit 1 ;;
esac
notify-send --app-name="darkman" --urgency=low --icon="$ICON" "switching to $1 mode"
@@ -0,0 +1,10 @@
#!/usr/bin/env sh
CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/foot/foot.ini"
case "$1" in
dark) sed -i 's/initial-color-theme=light/initial-color-theme=dark/' "$CONFIG";
pkill -u "$USER" --signal=SIGUSR1 ^foot$ ;;
light) sed -i 's/initial-color-theme=dark/initial-color-theme=light/' "$CONFIG";
pkill -u "$USER" --signal=SIGUSR2 ^foot$ ;;
esac
@@ -0,0 +1,17 @@
#!/usr/bin/env sh
# Change the global Plasma Theme. On Manjaro you can use "org.manjaro.breath-dark.desktop"
# or "org.manjaro.breath-light.desktop", or you can create your own global Plasma Theme
# with the "Plasma Look And Feel Explorer".
# Reference: https://userbase.kde.org/Plasma/Create_a_Global_Theme_Package
#
# Since Plasma 5.26 the lookandfeeltool does not work anymore without "faking" the screen.
# Reference: https://bugs.kde.org/show_bug.cgi?id=460643
case "$1" in
dark) THEME=org.kde.breezedark.desktop ;;
light) THEME=org.kde.breeze.desktop ;;
default) exit 1 ;;
esac
lookandfeeltool -platform offscreen --apply "$THEME"
@@ -0,0 +1,10 @@
#!/bin/sh
# This uses the neovim-remote python package to control other neovim instances.
# see: https://github.com/mhinz/neovim-remote
# Further, it is assumed that toggling the background in neovim is enough.
# Anything else should be handled by the set color scheme.
for server in $(nvr --serverlist); do
nvr --servername "$server" -cc "set background=$1"
done