aboutsummaryrefslogtreecommitdiff
path: root/mirenn/home
diff options
context:
space:
mode:
Diffstat (limited to 'mirenn/home')
-rw-r--r--mirenn/home/files/dotfiles/.config/fastfetch/config.jsonc16
-rw-r--r--mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish1
-rw-r--r--mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish3
-rw-r--r--mirenn/home/services/brightnessctl.scm5
-rw-r--r--mirenn/home/services/timer.scm42
5 files changed, 11 insertions, 56 deletions
diff --git a/mirenn/home/files/dotfiles/.config/fastfetch/config.jsonc b/mirenn/home/files/dotfiles/.config/fastfetch/config.jsonc
index bfebe37..b1896f4 100644
--- a/mirenn/home/files/dotfiles/.config/fastfetch/config.jsonc
+++ b/mirenn/home/files/dotfiles/.config/fastfetch/config.jsonc
@@ -28,44 +28,44 @@
{
"type": "os",
"key": " ",
- "keyColor": "30", // = color3
+ "keyColor": "light_black", // = color3
},
{
"type": "kernel",
"key": " ",
- "keyColor": "31",
+ "keyColor": "light_red",
},
{
"type": "packages",
"format": "{guix-all} (guix)",
"combined": true,
"key": " ",
- "keyColor": "32",
+ "keyColor": "light_green",
},
{
"type": "shell",
"key": " ",
- "keyColor": "33",
+ "keyColor": "light_yellow",
},
{
"type": "terminal",
"key": " ",
- "keyColor": "34",
+ "keyColor": "light_blue",
},
{
"type": "wm",
"key": " ",
- "keyColor": "35",
+ "keyColor": "light_magenta",
},
{
"type": "uptime",
"key": " ",
- "keyColor": "36",
+ "keyColor": "light_cyan",
},
{
"type": "media",
"key": "󰝚 ",
- "keyColor": "37",
+ "keyColor": "light_white",
},
"break",
{
diff --git a/mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish b/mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish
index 8f82c33..ea83377 100644
--- a/mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish
+++ b/mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish
@@ -1,5 +1,4 @@
if status is-interactive
- fish_add_path -p ~/.cargo/bin ~/.ghcup/bin
set -g fish_greeting
zoxide init fish | source
end
diff --git a/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish b/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish
deleted file mode 100644
index 191c64f..0000000
--- a/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function shrekfetch --wraps='fastfetch -l ~/Pictures/shrek.jpg --logo-type sixel --logo-width 30' --description 'alias shrekfetch fastfetch -l ~/Pictures/shrek.jpg --logo-type sixel --logo-width 30'
- fastfetch -l ~/Pictures/shrek.jpg --logo-type sixel --logo-width 30 $argv
-end
diff --git a/mirenn/home/services/brightnessctl.scm b/mirenn/home/services/brightnessctl.scm
index b71e04a..b1eeb35 100644
--- a/mirenn/home/services/brightnessctl.scm
+++ b/mirenn/home/services/brightnessctl.scm
@@ -7,7 +7,8 @@
#:use-module (gnu home services shepherd)
#:use-module (gnu packages linux)
- #:export (home-brightnessctl-configuration))
+ #:export (home-brightnessctl-configuration
+ home-brightnessctl-service-type))
(define-configuration/no-serialization home-brightnessctl-configuration
(state-file
@@ -28,7 +29,7 @@
(home-brightnessctl-configuration-state-file config)
"\""))))))
-(define-public home-brightnessctl-service-type
+(define home-brightnessctl-service-type
(service-type
(name 'home-brightnessctl)
(extensions
diff --git a/mirenn/home/services/timer.scm b/mirenn/home/services/timer.scm
deleted file mode 100644
index 59e2fc8..0000000
--- a/mirenn/home/services/timer.scm
+++ /dev/null
@@ -1,42 +0,0 @@
-(define-module (mirenn home services timer)
- #:use-module (guix gexp)
- #:use-module (gnu services)
- #:use-module (gnu services shepherd)
- #:use-module (gnu services configuration)
- #:use-module (gnu home services)
- #:use-module (gnu home services shepherd)
-
- #:export (home-timer-configuration))
-
-(define-configuration/no-serialization home-timer-configuration
- (name
- symbol
- "Name of the timer.")
- (script
- local-file
- "Script to run on timeout.")
- (arguments
- (list string)
- "Arguments passed to the script.")
- (delay
- number
- "Timer delay in seconds."))
-
-(define (home-timer-shepherd-service config)
- (list
- (shepherd-service
- (documentation "Run a periodic task")
- (provision (list (home-timer-configuration-name config)))
- (respawn? #t)
- (respawn-delay (home-timer-configuration-delay config))
- (start #~(make-forkexec-constructor
- (cons #$(home-timer-configuration-script config)
- #$(home-timer-configuration-arguments config))))
- (stop #~(make-kill-destructor)))))
-
-(define-public home-timer-service-type
- (service-type
- (name 'home-timer')
- (extensions
- (list (service-extension home-shepherd-service-type home-timer-shepherd-service)))
- (description "Runs a script periodically based on a respawn delay")))