radio: files: Add some missing .config files
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"display": {
|
||||||
|
"size": {
|
||||||
|
"maxPrefix": "MB",
|
||||||
|
"ndigits": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"title",
|
||||||
|
"separator",
|
||||||
|
"os",
|
||||||
|
"host",
|
||||||
|
{
|
||||||
|
"type": "kernel",
|
||||||
|
"format": "{release}"
|
||||||
|
},
|
||||||
|
"uptime",
|
||||||
|
"packages",
|
||||||
|
"shell",
|
||||||
|
{
|
||||||
|
"type": "display",
|
||||||
|
"compactType": "original",
|
||||||
|
"key": "Resolution"
|
||||||
|
},
|
||||||
|
"wm",
|
||||||
|
"terminal",
|
||||||
|
{
|
||||||
|
"type": "terminalfont",
|
||||||
|
"format": "{/name}{-}{/}{name}{?size} {size}{?}"
|
||||||
|
},
|
||||||
|
"cpu",
|
||||||
|
{
|
||||||
|
"type": "gpu",
|
||||||
|
"key": "GPU"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "memory",
|
||||||
|
"format": "{} / {}"
|
||||||
|
},
|
||||||
|
"break",
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,12 +1,5 @@
|
||||||
# Utilities
|
# Utilities
|
||||||
|
|
||||||
function blue
|
|
||||||
set_color blue; printf $argv; set_color normal
|
|
||||||
end
|
|
||||||
function normal
|
|
||||||
set_color normal; printf $argv; set_color normal
|
|
||||||
end
|
|
||||||
|
|
||||||
function displayed_string_length
|
function displayed_string_length
|
||||||
string replace -ra -- '\x1b.*?[mGKH]' '' "$argv" | string length
|
string replace -ra -- '\x1b.*?[mGKH]' '' "$argv" | string length
|
||||||
end
|
end
|
||||||
|
@ -37,13 +30,19 @@ function fish_cwd_prompt
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Guix environment prompt
|
function fish_prompt
|
||||||
function fish_environment_prompt
|
# Color
|
||||||
normal "(env "; blue "%s" $GUIX_ENVIRONMENT; normal ")"
|
set -x red_or_blue (test "$USER" = "root" && printf "red" || printf "blue")
|
||||||
|
|
||||||
|
function printc
|
||||||
|
set_color $red_or_blue; printf $argv; set_color normal
|
||||||
|
end
|
||||||
|
|
||||||
|
# Guix environment prompt
|
||||||
|
function fish_environment_prompt
|
||||||
|
printf "(env "; printc "%s" $GUIX_ENVIRONMENT; printf ")"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Actual prompt
|
|
||||||
function fish_prompt
|
|
||||||
if test -n "$GUIX_ENVIRONMENT"
|
if test -n "$GUIX_ENVIRONMENT"
|
||||||
set -l fish_git_prompt (fish_git_prompt)
|
set -l fish_git_prompt (fish_git_prompt)
|
||||||
set -l fish_environment_prompt (fish_environment_prompt)
|
set -l fish_environment_prompt (fish_environment_prompt)
|
||||||
|
@ -63,14 +62,13 @@ function fish_prompt
|
||||||
set -g fish_key_bindings fish_vi_key_bindings
|
set -g fish_key_bindings fish_vi_key_bindings
|
||||||
switch "$fish_key_bindings"
|
switch "$fish_key_bindings"
|
||||||
case fish_vi_key_bindings fish_hybrid_key_bindings
|
case fish_vi_key_bindings fish_hybrid_key_bindings
|
||||||
test $fish_bind_mode = 'default' && normal ':' || normal '+'
|
test $fish_bind_mode = 'default' && printf ':' || printf '+'
|
||||||
end
|
end
|
||||||
|
|
||||||
blue (whoami); normal ' at '; blue (prompt_hostname)
|
printc (whoami); printf ' at '; printc (prompt_hostname)
|
||||||
normal ' in '; blue (fish_cwd_prompt)
|
printf ' in '; printc (fish_cwd_prompt)
|
||||||
normal ' > '
|
printf ' > '
|
||||||
end
|
end
|
||||||
|
|
||||||
function fish_default_mode_prompt -d "Display vi prompt mode"
|
function fish_default_mode_prompt -d "Display vi prompt mode"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,99 @@
|
||||||
|
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
|
||||||
|
#
|
||||||
|
# This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
|
||||||
|
# custom widgets, programs giving us a chance to alter their UI to fit more with
|
||||||
|
# the theme or stuff that is supposed to look different, like panels.
|
||||||
|
|
||||||
|
# TODO: This could really look nicer
|
||||||
|
style "gimp_spin_scale" {
|
||||||
|
|
||||||
|
# Spin background
|
||||||
|
bg[NORMAL] = @base_color
|
||||||
|
|
||||||
|
engine "pixmap" {
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = NORMAL
|
||||||
|
detail = "spinbutton_up"
|
||||||
|
overlay_file = "assets/spin-up.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = PRELIGHT
|
||||||
|
detail = "spinbutton_up"
|
||||||
|
overlay_file = "assets/spin-up.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = ACTIVE
|
||||||
|
detail = "spinbutton_up"
|
||||||
|
overlay_file = "assets/spin-up.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = INSENSITIVE
|
||||||
|
detail = "spinbutton_up"
|
||||||
|
overlay_file = "assets/spin-up-insensitive.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = NORMAL
|
||||||
|
detail = "spinbutton_down"
|
||||||
|
overlay_file = "assets/spin-down.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = PRELIGHT
|
||||||
|
detail = "spinbutton_down"
|
||||||
|
overlay_file = "assets/spin-down.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = ACTIVE
|
||||||
|
detail = "spinbutton_down"
|
||||||
|
overlay_file = "assets/spin-down.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
function = BOX
|
||||||
|
state = INSENSITIVE
|
||||||
|
detail = "spinbutton_down"
|
||||||
|
overlay_file = "assets/spin-down-insensitive.png"
|
||||||
|
overlay_stretch = FALSE
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
style "chrome_gtk_frame" {
|
||||||
|
|
||||||
|
ChromeGtkFrame::frame-color = @window_color
|
||||||
|
ChromeGtkFrame::frame-gradient-color = @window_color
|
||||||
|
ChromeGtkFrame::inactive-frame-color = @bg_color
|
||||||
|
|
||||||
|
ChromeGtkFrame::incognito-frame-color = "#cbd2d9"
|
||||||
|
ChromeGtkFrame::incognito-frame-gradient-color = "#cbd2d9"
|
||||||
|
ChromeGtkFrame::incognito-inactive-frame-color = mix (0.5, @bg_color, "#cbd2d9")
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# Disable spin button assets for GimpSpinScale
|
||||||
|
class "GimpSpinScale" style "gimp_spin_scale"
|
||||||
|
|
||||||
|
# Chromium lets us define some colours and settings for better integration
|
||||||
|
class "ChromeGtkFrame" style "chrome_gtk_frame"
|
After Width: | Height: | Size: 69 B |
After Width: | Height: | Size: 199 B |
After Width: | Height: | Size: 283 B |
After Width: | Height: | Size: 196 B |
After Width: | Height: | Size: 292 B |
After Width: | Height: | Size: 325 B |
After Width: | Height: | Size: 465 B |
After Width: | Height: | Size: 320 B |
After Width: | Height: | Size: 451 B |
After Width: | Height: | Size: 242 B |
After Width: | Height: | Size: 373 B |
After Width: | Height: | Size: 245 B |
After Width: | Height: | Size: 352 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 191 B |
After Width: | Height: | Size: 281 B |
After Width: | Height: | Size: 156 B |
After Width: | Height: | Size: 239 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 240 B |
After Width: | Height: | Size: 170 B |
After Width: | Height: | Size: 140 B |
After Width: | Height: | Size: 135 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 157 B |
After Width: | Height: | Size: 224 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 159 B |
After Width: | Height: | Size: 219 B |
After Width: | Height: | Size: 69 B |
After Width: | Height: | Size: 69 B |
After Width: | Height: | Size: 153 B |
After Width: | Height: | Size: 168 B |
After Width: | Height: | Size: 82 B |
After Width: | Height: | Size: 80 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 95 B |
After Width: | Height: | Size: 90 B |
After Width: | Height: | Size: 90 B |
After Width: | Height: | Size: 94 B |
After Width: | Height: | Size: 68 B |
After Width: | Height: | Size: 95 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 286 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 151 B |
After Width: | Height: | Size: 200 B |
After Width: | Height: | Size: 191 B |
After Width: | Height: | Size: 263 B |
After Width: | Height: | Size: 191 B |
After Width: | Height: | Size: 151 B |
After Width: | Height: | Size: 109 B |
After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 104 B |
After Width: | Height: | Size: 115 B |
After Width: | Height: | Size: 104 B |
After Width: | Height: | Size: 103 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 103 B |
After Width: | Height: | Size: 106 B |
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 422 B |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 233 B |
After Width: | Height: | Size: 339 B |
After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 416 B |
After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 233 B |
After Width: | Height: | Size: 70 B |
After Width: | Height: | Size: 172 B |
After Width: | Height: | Size: 134 B |
After Width: | Height: | Size: 134 B |
After Width: | Height: | Size: 170 B |
After Width: | Height: | Size: 133 B |
After Width: | Height: | Size: 133 B |
After Width: | Height: | Size: 212 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 151 B |
After Width: | Height: | Size: 109 B |
After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 115 B |
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 104 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 103 B |
After Width: | Height: | Size: 106 B |
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 131 B |
After Width: | Height: | Size: 126 B |
After Width: | Height: | Size: 133 B |
After Width: | Height: | Size: 128 B |