tangled
alpha
login
or
join now
quilling.dev
/
nixos-config
2
fork
atom
My personal nix config files. Feel free to import flake.
2
fork
atom
overview
issues
pulls
pipelines
add shell sources; adjust starship prompt
quilling.dev
10 months ago
e3622e25
65fa2f6b
+28
-1
3 changed files
expand all
collapse all
unified
split
modules
home-manager
sources
.config
ghostty
config
ghostty-shaders
my_bloom.glsl
starship.toml
+13
modules/home-manager/sources/.config/ghostty/config
···
1
1
+
shell-integration-features = cursor,sudo,title
2
2
+
custom-shader = ghostty-shaders/my_bloom.glsl
3
3
+
custom-shader-animation = true
4
4
+
copy-on-select = false
5
5
+
window-padding-x = 7,12
6
6
+
window-padding-y = 7,12
7
7
+
window-padding-balance = true
8
8
+
window-padding-color = extend
9
9
+
background = #23272F
10
10
+
cursor-opacity = 0.6
11
11
+
font-size = 8
12
12
+
font-thicken = true
13
13
+
mouse-hide-while-typing = true
+14
modules/home-manager/sources/.config/ghostty/ghostty-shaders/my_bloom.glsl
···
1
1
+
float scan = 0.15;
2
2
+
float bloomIntensity = 15.0;
3
3
+
float scanlineFrequency = 1.0;
4
4
+
5
5
+
void mainImage(out vec4 fragColor, in vec2 fragCoord)
6
6
+
{
7
7
+
vec2 uv = fragCoord / iResolution.xy;
8
8
+
vec2 dc = abs(0.5 - uv);
9
9
+
dc *= dc;
10
10
+
vec3 color = texture(iChannel0, uv).rgb;
11
11
+
float apply = abs(sin(fragCoord.y * scanlineFrequency) * 0.5 * scan);
12
12
+
vec3 bloom = max(color - vec3(0.45), 0.0) * bloomIntensity;
13
13
+
fragColor = vec4(mix(color, bloom, apply), 1.0);
14
14
+
}
+1
-1
modules/home-manager/sources/.config/starship.toml
···
240
240
241
241
[nix_shell]
242
242
style = 'bg:color_bg_purple'
243
243
-
format = '[$state]($style)[$name ](fg:#color_fg0 bg:color_bg_purple)'
243
243
+
format = '[$state]($style)[$name ](fg:color_fg0 bg:color_bg_purple)'
244
244
impure_msg = '[ ⌽ ](fg:color_red bg:color_bg_purple)'
245
245
pure_msg = '[ ⌾ ](fg:color_green bg:color_bg_purple)'
246
246
unknown_msg = '[ ◌ ](fg:color_yellow bg:color_bg_purple)'