This commit is contained in:
Never Gude 2026-01-07 13:56:52 +01:00
parent e6714de34b
commit b0b4067a00
10 changed files with 2610 additions and 98 deletions

Binary file not shown.

View file

@ -3,6 +3,8 @@ if status is-interactive
end end
abbr --add ll ll -a abbr --add ll ll -a
abbr --add adl album-dl.fish
abbr --add vv nvim
function mvi function mvi
mpv --config-dir=$HOME/.config/mvi/ $argv mpv --config-dir=$HOME/.config/mvi/ $argv

View file

@ -115,7 +115,7 @@ output "HDMI-A-1" {
// https://yalter.github.io/niri/Configuration:-Layout // https://yalter.github.io/niri/Configuration:-Layout
layout { layout {
// Set gaps around windows in logical pixels. // Set gaps around windows in logical pixels.
gaps 8 gaps 4
//background-color "#351e4c" //background-color "#351e4c"
// When to center a column when changing focus, options are: // When to center a column when changing focus, options are:
@ -254,6 +254,13 @@ layout {
color "#0007" color "#0007"
} }
tab-indicator {
on
place-within-column
gap 3
width 4
}
// Struts shrink the area occupied by windows, similarly to layer-shell panels. // Struts shrink the area occupied by windows, similarly to layer-shell panels.
// You can think of them as a kind of outer gaps. They are set in logical pixels. // You can think of them as a kind of outer gaps. They are set in logical pixels.
// Left and right struts will cause the next window to the side to always be visible. // Left and right struts will cause the next window to the side to always be visible.
@ -334,6 +341,10 @@ window-rule {
open-floating true open-floating true
} }
window-rule {
match app-id=r#"ipe$"# title="^Ipe: waiting$"
open-floating true
}
// Example: block out two password managers from screen capture. // Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.) // (This example rule is commented out with a "/-" in front.)
/-window-rule { /-window-rule {

View file

@ -6,78 +6,5 @@
config_version: 2 config_version: 2
settings: settings:
colors.completion.category.bg:
global: '#3c3836'
colors.completion.category.border.bottom:
global: '#3c3836'
colors.completion.category.border.top:
global: '#83a598'
colors.completion.category.fg:
global: '#83a598'
colors.completion.item.selected.bg:
global: '#7c6f64'
colors.completion.item.selected.fg:
global: '#fbf1c7'
colors.prompts.bg:
global: '#665c54'
colors.prompts.fg:
global: '#d5c4a1'
colors.prompts.selected.bg:
global: '#504945'
colors.prompts.selected.fg:
global: white
colors.statusbar.private.fg:
global: '#d3869b'
colors.statusbar.progress.bg:
global: '#83a598'
colors.tabs.bar.bg:
global: '#3c3836'
colors.tabs.indicator.start:
global: '#83a598'
colors.tabs.selected.even.bg:
global: '#7c6f64'
colors.tabs.selected.even.fg:
global: '#fbf1c7'
colors.tabs.selected.odd.bg:
global: '#7c6f64'
colors.tabs.selected.odd.fg:
global: '#fbf1c7'
colors.webpage.bg:
global: white
colors.webpage.preferred_color_scheme: colors.webpage.preferred_color_scheme:
global: dark global: dark
content.blocking.method:
global: auto
editor.command:
global:
- alacritty
- -e
- nvim
- -f
- '{file}'
- -c
- normal {line}G{column0}l
fileselect.folder.command:
global:
- alacritty
- -e
- ranger
- --choosedir={}
fileselect.multiple_files.command:
global:
- alacritty
- -e
- ranger
- --choosefiles={}
fileselect.single_file.command:
global:
- alacritty
- -e
- ranger
- --choosefile={}
fonts.contextmenu:
global: Adwaita Sans
fonts.default_family:
global: Adwaita Mono
tabs.position:
global: right

View file

@ -1,2 +1,19 @@
config.source("gruvbox.py") config.source("gruvbox.py")
config.load_autoconfig()
c.fonts.default_size = '14px'
c.fonts.default_family = 'Adwaita Mono'
c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 8, 'right': 8}
c.tabs.indicator.width = 0 # no tab indicators
c.editor.command = ['alacritty', '-e', 'nvim', '-f', '{file}', '-c', 'normal {line}G{column0}l']
c.fileselect.handler = 'default'
c.fileselect.folder.command = ['alacritty', '-e', 'ranger', '--choosedir={}']
c.fileselect.multiple_files.command = ['alacritty', '-e', 'ranger', '--choosefiles={}']
c.fileselect.single_file.command = ['alacritty', '-e', 'ranger', '--choosefile={}']
config.bind('<Ctrl-v>', 'spawn mpv {url}')
c.content.blocking.enabled = True
config.load_autoconfig(False)

12
.config/qutebrowser/egg Normal file
View file

@ -0,0 +1,12 @@
config.source("gruvbox.py")
#c.tabs.show = "multiple"
c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 8, 'right': 8}
c.tabs.indicator.width = 0 # no tab indicators
c.tabs.width = '7%'
c.fonts.default_size = '14px'
c.content.blocking.enabled = True
config.load_autoconfig(False)

View file

@ -204,7 +204,7 @@ c.colors.statusbar.normal.bg = bg0
c.colors.statusbar.insert.fg = bg0 c.colors.statusbar.insert.fg = bg0
# Background color of the statusbar in insert mode. # Background color of the statusbar in insert mode.
c.colors.statusbar.insert.bg = dark_aqua c.colors.statusbar.insert.bg = bright_blue
# Foreground color of the statusbar in passthrough mode. # Foreground color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.fg = bg0 c.colors.statusbar.passthrough.fg = bg0
@ -280,7 +280,7 @@ c.colors.tabs.indicator.stop = bright_aqua
c.colors.tabs.indicator.error = bright_red c.colors.tabs.indicator.error = bright_red
# Foreground color of unselected odd tabs. # Foreground color of unselected odd tabs.
c.colors.tabs.odd.fg = fg2 c.colors.tabs.odd.fg = fg3
# Background color of unselected odd tabs. # Background color of unselected odd tabs.
c.colors.tabs.odd.bg = bg2 c.colors.tabs.odd.bg = bg2
@ -289,44 +289,44 @@ c.colors.tabs.odd.bg = bg2
c.colors.tabs.even.fg = c.colors.tabs.odd.fg c.colors.tabs.even.fg = c.colors.tabs.odd.fg
# Background color of unselected even tabs. # Background color of unselected even tabs.
c.colors.tabs.even.bg = bg3 c.colors.tabs.even.bg = c.colors.tabs.odd.bg
# Foreground color of selected odd tabs. # Foreground color of selected odd tabs.
c.colors.tabs.selected.odd.fg = fg2 c.colors.tabs.selected.odd.fg = bright_green
# Background color of selected odd tabs. # Background color of selected odd tabs.
c.colors.tabs.selected.odd.bg = bg0 c.colors.tabs.selected.odd.bg = c.colors.tabs.odd.bg
# Foreground color of selected even tabs. # Foreground color of selected even tabs.
c.colors.tabs.selected.even.fg = c.colors.tabs.selected.odd.fg c.colors.tabs.selected.even.fg = c.colors.tabs.selected.odd.fg
# Background color of selected even tabs. # Background color of selected even tabs.
c.colors.tabs.selected.even.bg = bg0 c.colors.tabs.selected.even.bg = c.colors.tabs.selected.odd.bg
# Background color of pinned unselected even tabs.
c.colors.tabs.pinned.even.bg = bright_green
# Foreground color of pinned unselected even tabs.
c.colors.tabs.pinned.even.fg = bg2
# Background color of pinned unselected odd tabs. # Background color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.bg = bright_green c.colors.tabs.pinned.odd.bg = bright_green
# Foreground color of pinned unselected odd tabs. # Foreground color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.fg = c.colors.tabs.pinned.even.fg c.colors.tabs.pinned.odd.fg = bg2
# Background color of pinned selected even tabs. # Background color of pinned unselected even tabs.
c.colors.tabs.pinned.selected.even.bg = bg0 c.colors.tabs.pinned.even.bg = c.colors.tabs.pinned.odd.bg
# Foreground color of pinned selected even tabs. # Foreground color of pinned unselected even tabs.
c.colors.tabs.pinned.selected.even.fg = c.colors.tabs.selected.odd.fg c.colors.tabs.pinned.even.fg = c.colors.tabs.pinned.odd.fg
# Background color of pinned selected odd tabs. # Background color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.bg = c.colors.tabs.pinned.selected.even.bg c.colors.tabs.pinned.selected.odd.bg = c.colors.tabs.selected.odd.fg
# Foreground color of pinned selected odd tabs. # Foreground color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.fg = c.colors.tabs.selected.odd.fg c.colors.tabs.pinned.selected.odd.fg = bg2
# Background color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.bg = c.colors.tabs.pinned.selected.odd.bg
# Foreground color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.fg = c.colors.tabs.pinned.selected.odd.fg
# Background color for webpages if unset (or empty to use the theme's # Background color for webpages if unset (or empty to use the theme's
# color). # color).
# c.colors.webpage.bg = bg4 c.colors.webpage.bg = fg0

File diff suppressed because it is too large Load diff

18
.local/scripts/album-dl.fish Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env fish
set url $argv[1]
set folder (string collect (yt-dlp -I 1:1 --skip-download --print "%(artists.0,artist)s" $url) - (yt-dlp -I 1:1 --skip-download --print "%(album)s" $url))
mkdir "$folder"
cd "$folder"
yt-dlp \
--parse-metadata "playlist_index:%(track_number)s" \
--parse-metadata "%(artists.0,artist)s:%(meta_artist)s" \
--parse-metadata "%(release_date,upload_date)s:%(meta_date)s" \
--embed-metadata \
--extract-audio --audio-format opus \
-o "%(playlist_index)s - %(title)s.%(ext)s" $url
yt-dlp -I 1:0 --write-thumbnail -o "cover.jpg" $url

View file

@ -4,13 +4,16 @@ url=$1
album=$(yt-dlp -I 1:1 --skip-download --print "%(album)s" ${url}) album=$(yt-dlp -I 1:1 --skip-download --print "%(album)s" ${url})
artist=$(yt-dlp -I 1:1 --skip-download --print "%(artists.0,artist)s" ${url}) artist=$(yt-dlp -I 1:1 --skip-download --print "%(artists.0,artist)s" ${url})
date=$(yt-dlp -I 1:1 --skip-download --print "%(release_date,upload_date)s" ${url})
folder="${artist} - ${album}" folder="${artist} - ${album}"
mkdir $folder
yt-dlp \ yt-dlp \
--parse-metadata "playlist_index:%(track_number)s" \
--parse-metadata "%(artists.0,artist)s:%(meta_artist)s" \
--parse-metadata "${date}:%(meta_date)s" \
--embed-metadata \ --embed-metadata \
--parse-metadata "%(playlist_index)s:%(track_number)s" \
--parse-metadata "%(release_date,upload_date)s:%(date)s" \
--parse-metadata "%(artists.0,artist)s:%(artist)s" \
--extract-audio --audio-format opus \ --extract-audio --audio-format opus \
-o "${folder}/%(playlist_index)s - %(title)s.%(ext)s" ${url} -o "${folder}/%(playlist_index)s - %(title)s.%(ext)s" ${url}