Compare commits

...

2 Commits

Author SHA1 Message Date
26770fbc77 bindings 2025-08-17 14:31:57 +00:00
24ec5904fe bemenu 2025-07-06 00:22:16 +00:00
7 changed files with 23 additions and 26 deletions

View File

@ -6,7 +6,7 @@ PACKAGES=(
linux base linux-firmware lvm2 sudo polkit # base linux base linux-firmware lvm2 sudo polkit # base
pulseaudio pulseaudio-bluetooth bluez bluez-utils networkmanager udisks2 # device management pulseaudio pulseaudio-bluetooth bluez bluez-utils networkmanager udisks2 # device management
openssh sysstat screen man-db which # system openssh sysstat screen man-db which rlwrap # system
nodejs dash jq # runtime nodejs dash jq # runtime
qemu-system-x86 # virt qemu-system-x86 # virt

View File

@ -6,7 +6,7 @@ if [ -z "$query" ]; then
query="$(echo "tui" | bemenu --prompt "qalc")" query="$(echo "tui" | bemenu --prompt "qalc")"
fi fi
if [ "$query" = "tui" ]; then if [ "$query" = "tui" ]; then
exec footclient --app-id="footclient_float" -D ~/ "qalc"; exec footclient --app-id="footclient_float" -D ~/ "qalc"
elif [ -n "$query" ]; then elif [ -n "$query" ]; then
qalc_res="$(qalc --terse "$query")" qalc_res="$(qalc --terse "$query")"
menu_res="$(echo -e "$qalc_res\ntui" | bemenu --prompt "qalc")" menu_res="$(echo -e "$qalc_res\ntui" | bemenu --prompt "qalc")"

View File

@ -1,14 +1,12 @@
#!/bin/bash #!/bin/bash
set -e set -e
type="$1"
shift
cd "$PASSWORD_STORE_DIR" cd "$PASSWORD_STORE_DIR"
pws="$(find -path "*/.*" -prune -o -path "*/cred/*" -name "*.gpg" -printf '%P\n' | sed 's/\.gpg$//')" pws="$(find -path "*/.*" -prune -o -path "*/cred/*" -name "*.gpg" -printf '%P\n' | sed 's/\.gpg$//')"
pw="$(echo "$pws" | bemenu --prompt "pass")" pw="$(echo "$pws" | bemenu --prompt "pass")"
case "$type" in case "$2" in
info) exec footclient --app-id="footclient_float" -D ~/ "$SHELL" -c "pass $pw | vim -";;
otp) pass otp -c "$pw" && notify-send "$pw" -a pass "OTP copied to clipboard, clears in 45s";; otp) pass otp -c "$pw" && notify-send "$pw" -a pass "OTP copied to clipboard, clears in 45s";;
*) pass -c "$pw" && notify-send "$pw" -a pass "Password copied to clipboard, clears in 45s";; *) pass -c "$pw" && notify-send "$pw" -a pass "Password copied to clipboard, clears in 45s";;
esac esac

View File

@ -1,3 +0,0 @@
---
model: openrouter:perplexity/sonar
---

View File

@ -6,6 +6,7 @@ stty intr ^K
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias grep='grep --color=auto' alias grep='grep --color=auto'
alias node='NODE_NO_READLINE=1 rlwrap node'
export EDITOR=vim export EDITOR=vim

View File

@ -10,11 +10,11 @@ export BEMENU_OPTS="\
--bdr #{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} \ --bdr #{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} \
--scf #{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} \ --scf #{{ .theme.color.fg_accent }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} \
--scb #{{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \ --scb #{{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
--nb #{{ .theme.color.bg }} \ --nb #{{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
--ab #{{ .theme.color.bg }} \ --ab #{{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
--hb #{{ .theme.color.bg }} \ --hb #{{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
--fb #{{ .theme.color.bg }} \ --fb #{{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
--tb #{{ .theme.color.bg }} \ --tb #{{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
--nf #{{ .theme.color.fg }} \ --nf #{{ .theme.color.fg }} \
--af #{{ .theme.color.fg }} \ --af #{{ .theme.color.fg }} \
--cf #{{ .theme.color.fg }} \ --cf #{{ .theme.color.fg }} \

View File

@ -1,8 +1,8 @@
# vim: filetype=swayconfig # vim: filetype=swayconfig
set $mod Mod4 set $mod Mod4
set $altmod Mod4+Mod5 set $altmod Mod4+Shift
set $altmod2 Mod4+Shift set $altmod2 Mod4+Mod5
set $kbmod Alt_R set $kbmod Alt_R
set $fwd m set $fwd m
set $left n set $left n
@ -18,8 +18,8 @@ title_align center
font pango:{{ .theme.font.name_regular }} {{ math.Sub .theme.font.size_base_pt .theme.font.size_step_pt }} font pango:{{ .theme.font.name_regular }} {{ math.Sub .theme.font.size_base_pt .theme.font.size_step_pt }}
output * bg #{{ .theme.color.bg }} solid_color output * bg #{{ .theme.color.bg }} solid_color
client.focused #{{ .theme.color.bg_accent_light }} #{{ .theme.color.bg_accent_light }} #{{ .theme.color.fg }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }} client.focused #{{ .theme.color.bg_accent_light }} #{{ .theme.color.bg_accent_light }} #{{ .theme.color.fg }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }}
client.focused_tab_title #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.fg_dark }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }} client.focused_tab_title #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.fg_dark }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }}
client.focused_inactive #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.med 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.fg_dark }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }} client.focused_inactive #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }} #{{ .theme.color.fg_dark }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }}
client.unfocused #{{ .theme.color.bg_accent_dark }} #{{ .theme.color.bg_accent_dark }} #{{ .theme.color.fg_dark }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }} client.unfocused #{{ .theme.color.bg_accent_dark }} #{{ .theme.color.bg_accent_dark }} #{{ .theme.color.fg_dark }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_light }}{{ math.Mul .theme.opacity.low 255 | conv.ToInt64 | printf "%02X" }}
client.urgent #{{ .theme.color.fg_accent }} #{{ .theme.color.fg_accent }} #{{ .theme.color.fg }} #{{ .theme.color.fg_accent }} #{{ .theme.color.fg_accent }} client.urgent #{{ .theme.color.fg_accent }} #{{ .theme.color.fg_accent }} #{{ .theme.color.fg }} #{{ .theme.color.fg_accent }} #{{ .theme.color.fg_accent }}
bar { bar {
@ -74,17 +74,18 @@ bindgesture swipe:left workspace next
############### containers ################# ############### containers #################
# top row - layouts # top row - layouts
bindsym --to-code { bindsym --to-code {
$mod+p layout splith $mod+p layout splitv
$altmod+p split h $altmod+p split v
$mod+l layout splitv $mod+l layout splith
$altmod+l split v $altmod+l split h
$mod+f fullscreen $mod+f fullscreen
$mod+w layout tabbed $mod+w layout stacking
$altmod+w split v; layout tabbed $altmod+w split v; layout stacking
$mod+q split v; layout stacking
$mod+u split none $mod+u split none
$altmod+u split none $altmod+u split none
$mod+y layout stacking $mod+y layout tabbed
$altmod+y split h; layout stacking $altmod+y split h; layout tabbed
} }
# mid row - focus, movement # mid row - focus, movement
bindsym --to-code { bindsym --to-code {