Move firefox into module and clean useless folder
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
{ ... }:
|
||||
{
|
||||
home.file = {
|
||||
".config/ghostty/" = {
|
||||
source = ./ghostty;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
# macOS specific
|
||||
macos-titlebar-style = "tabs"
|
||||
|
||||
# Window padding & size
|
||||
window-padding-x = 8
|
||||
window-padding-y = 0,2
|
||||
window-height = 25
|
||||
window-width = 100
|
||||
|
||||
# Themes
|
||||
background-blur=true
|
||||
background-opacity = 0.85
|
||||
theme = Spacegray Eighties
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 MiB |
@@ -1,19 +0,0 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
wallpaperPath = "${config.home.homeDirectory}/.config/wallpaper/current-wallpaper.jpg";
|
||||
in
|
||||
{
|
||||
# Create wallpaper directory and download wallpaper
|
||||
home.file.".config/wallpaper/current-wallpaper.jpg" = {
|
||||
source = ./walls.jpg;
|
||||
};
|
||||
|
||||
# Set wallpaper using activation script
|
||||
home.activation.setWallpaper = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
||||
# Set wallpaper for all desktops using osascript
|
||||
$DRY_RUN_CMD /usr/bin/osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${wallpaperPath}\""
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user