add de cosmic to new flake based approach

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-27 14:57:44 -06:00
parent b69246de06
commit 985d584213
14 changed files with 426 additions and 68 deletions

View file

@ -0,0 +1,9 @@
(
state: Enabled,
scroll_config: Some((
method: None,
natural_scroll: Some(true),
scroll_button: None,
scroll_factor: None,
)),
)

View file

@ -1,7 +1,11 @@
# Check if ~/.config/environment exists and source all files within it
if [ -d "$HOME/.config/environment" ]; then
for file in "$HOME/.config/environment/"*; do
[ -r "$file" ] && . "$file"
if [ -r "$file" ]; then
if ! . "$file"; then
echo "Failed to source $file"
fi
fi
done
fi