Compare commits

..

No commits in common. "9a15df4d53446abf84c936a1b5e6538f3efed717" and "9d5ee37ff0c49be3ec62d9be48e9b2b6486d21f3" have entirely different histories.

8 changed files with 75 additions and 27 deletions

View file

@ -62,7 +62,7 @@ local on_attach = function(client, bufnr)
end
local servers = { 'zls', 'gopls' }
local servers = { 'zls' }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
on_attach = on_attach,
@ -70,5 +70,3 @@ for _, lsp in ipairs(servers) do
}
end
EOF
noremap <space>f :FZF<return>

View file

@ -35,4 +35,4 @@ riverctl csd-filter-add app-id gnome-calendar
~/.config/river/keys
riverctl default-layout stacktile
exec stacktile --per-tag-config --drop-empty-configs --outer-padding=0 --inner-padding=6 --primary-sublayout=stack
exec stacktile --per-tag-config --drop-empty-configs --outer-padding=6 --inner-padding=10 --primary-sublayout=stack

View file

@ -76,6 +76,7 @@ define_tag $((1 << 16)) 6
define_tag $((1 << 17)) 7
define_tag $((1 << 18)) 8
define_tag $((1 << 19)) 9
define_tag $((1 << 20)) 0
all_tags=$(((1 << 32) - 1))
riverctl map normal $mod 0 set-focused-tags $all_tags

View file

@ -6,3 +6,9 @@ riverctl border-color-focused 0x$border_focused
riverctl border-color-unfocused 0x$border_unfocused
riverctl border-width 2
riverctl spawn 'killall yambar ; yambar'
if $dark; then
riverctl spawn 'killall swaybg ; swaybg -m fill -i ~/.config/river/windows-11-wallpapers/win21.jpg'
else
riverctl spawn 'killall swaybg ; swaybg -m fill -i ~/.config/river/windows-11-wallpapers/win13.jpg'
fi

View file

@ -4,10 +4,10 @@ set -e
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
echo "# Autogenerated by ~/.config/themer/foot.ini.sh
font=JetBrains Mono:style=Regular:size=10
font-bold=JetBrains Mono:style=Bold:size=10
font-italic=JetBrains Mono:style=Italic:size=10
font-bold-italic=JetBrains Mono:style=Bold Italic:size=10
font=JetBrains Mono:style=Regular:size=9
font-bold=JetBrains Mono:style=Bold:size=9
font-italic=JetBrains Mono:style=Italic:size=9
font-bold-italic=JetBrains Mono:style=Bold Italic:size=9
pad=5x5

View file

@ -11,7 +11,7 @@ rose_pine () {
border_unfocused=$inactive
else
border_focused=$subtle
border_unfocused=$overlay
border_unfocused=$surface
fi
echo "
export background=$base

View file

@ -1,13 +1,15 @@
nerd: &nerd Overpass Nerd Font:size=14
bar:
height: 20
location: top
location: bottom
layer: top
spacing: 8
right-margin: 8
background: *bg
foreground: *fg
font: Inter:style=Medium:size=14
font: Inter:style=Bold:size=14
left:
- river:
@ -78,8 +80,9 @@ bar:
on-click: /bin/sh -c "pamixer --default-source --toggle-mute"
tag: muted
values:
true: {string: {text: Mic en mute, foreground: *accent}}
false: {string: {text: "Mic {percent}%"}}
false:
- string: {text: , font: *nerd}
true: {string: {text: , font: *nerd, foreground: *accent}}
- alsa:
card: pulse
mixer: Master
@ -88,8 +91,14 @@ bar:
on-click: /bin/sh -c "pamixer --toggle-mute"
tag: muted
values:
true: {string: {text: Audio en mute, foreground: *accent}}
false: {string: {text: "Audio {percent}%"}}
true: {string: {text: ﱝ, font: *nerd, foreground: *accent}}
false:
- ramp:
tag: volume
items:
- string: {text: 奄, font: *nerd}
- string: {text: 奔, font: *nerd}
- string: {text: 墳, font: *nerd}
- network:
name: eth0
@ -101,39 +110,74 @@ bar:
true:
map:
tag: state
default: {string: {text: , font: *nerd, foreground: *accent}}
values:
down: {string: {text: Ethernet down, foreground: *accent}}
up:
map:
tag: ipv4
default: {string: {text: Ethernet}}
default: {string: {text: , font: *nerd}}
values:
"": {string: {text: Ethernet sin IPv4, foreground: *accent}}
"": {string: {text: , font: *nerd, foreground: *accent}}
- network:
name: wlan0
content:
map:
tag: state
default: {string: {text: 直, font: *nerd, foreground: *accent}}
values:
down: {string: {text: WiFi down, foreground: *accent}}
down: {string: {text: 睊, font: *nerd, foreground: *accent}}
up:
map:
tag: ipv4
default: {string: {text: WiFi}}
default: {string: {text: 直, font: *nerd}}
values:
"": {string: {text: WiFi sin IPv4, foreground: *accent}}
"": {string: {text: 直, font: *nerd, foreground: *accent}}
- battery:
name: BAT0
poll-interval: 30
anchors:
charging: &charging
list:
items:
- ramp:
tag: capacity
items:
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: " {capacity}%"}
content:
map:
tag: state
values:
discharging: {string: {text: "{capacity}%"}}
unknown: {string: {text: "{capacity}% limite"}}
charging: {string: {text: "{capacity}% cargando"}}
full: {string: {text: "{capacity}% full"}}
discharging:
- ramp:
tag: capacity
items:
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: " {capacity}%"}
unknown:
<<: *charging
charging:
<<: *charging
full:
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: " {capacity}% full"}
- clock:
date-format: "%A %d of %B"

View file

@ -2,14 +2,13 @@
set -e
cd ~
file="$(find \
Documents Sync Pictures Downloads Proyectos \
Documents Sync Pictures Downloads \
-iname '*.jpg' -or \
-iname '*.png' -or \
-iname '*.js' -or \
-iname '*.md' -or \
-iname '*.txt' -or \
-iname '*.pdf' -or \
-iname '*.epub' -or \
-iname '*.docx' -or \
-iname '*.mp3' -or \
-type d \