From 4f217c505bdaf7c03534ee4df6b106f16bbf0313 Mon Sep 17 00:00:00 2001 From: "Skylar \"The Cobra\" Widulski" Date: Sun, 4 Jun 2023 20:02:31 -0400 Subject: [PATCH] Add fetch configs and source setup-environment Signed-off-by: Skylar "The Cobra" Widulski --- .bash_profile | 1 + .config/guix/cobra/config.scm | 104 +++++++++++++++++++++++++++++++++- .config/guix/home.scm | 2 + 3 files changed, 106 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 3b11ec6..2959487 100644 --- a/.bash_profile +++ b/.bash_profile @@ -18,6 +18,7 @@ PERL_MB_OPT="--install_base \"/home/cobra/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=/home/cobra/perl5"; export PERL_MM_OPT; . ~/.devspec +. ~/.guix-home/setup-environment if [[ $(tty) == /dev/tty2 ]]; then exec $WM fi \ No newline at end of file diff --git a/.config/guix/cobra/config.scm b/.config/guix/cobra/config.scm index ad5fdd4..8980c14 100644 --- a/.config/guix/cobra/config.scm +++ b/.config/guix/cobra/config.scm @@ -7,7 +7,9 @@ config-mpv config-mako config-foot - config-colorscheme)) + config-colorscheme + config-hyfetch + config-neofetch)) (define waybar-style (plain-file "waybar-style" "\ @@ -874,3 +876,103 @@ bright7=fcf5f3 # bright white if [[ \"$TERM\" = \"vt102\" || \"$TERM\" = \"linux\" ]]; then printf \"\\e]P$background\\e]P1$regular1\\e]P2$regular2\\e]P3$regular3\\e]P4$regular4\\e]P5$regular5\\e]P6$regular6\\e]P7$foreground\\e]P8$bright0\\e]P9$bright1\\e]PA$bright2\\e]PB$bright3\\e]PC$bright4\\e]PD$bright5\\e]PE$bright6\\e]PF$bright7\" fi")) + +(define config-hyfetch + (plain-file "config-hyfetch" "{\"preset\": \"transgender\", \"mode\": \"rgb\", \"light_dark\": \"dark\", \"lightness\": 0.65, \"color_align\": {\"mode\": \"horizontal\", \"custom_colors\": [], \"fore_back\": null}}")) + +(define config-neofetch + (plain-file "config-neofetch" "\ +print_info() { + info title + info underline + info \"OS\" distro + info \"Host\" model + info \"Kernel\" kernel + info \"Uptime\" uptime + info \"Packages\" packages + info \"Shell\" shell + info \"Resolution\" resolution + info \"DE\" de + info \"WM\" wm + info \"WM Theme\" wm_theme + info \"Theme\" theme + info \"Icons\" icons + info \"Terminal\" term + info \"Terminal Font\" term_font + info \"Font\" font + [[ \"$player\" ]] && prin \"Music Player\" \"$player\" + info \"Song\" song + info \"CPU\" cpu + info \"CPU Usage\" cpu_usage + info \"GPU\" gpu + info \"GPU Driver\" gpu_driver # Linux/macOS only + info \"Disk\" disk + info \"Memory\" memory + info cols +} +title_fqdn=\"off\" +kernel_shorthand=\"on\" +distro_shorthand=\"off\" +os_arch=\"on\" +uptime_shorthand=\"on\" +memory_percent=\"off\" +package_managers=\"on\" +shell_path=\"off\" +shell_version=\"on\" +speed_type=\"bios_limit\" +speed_shorthand=\"off\" +cpu_brand=\"on\" +cpu_speed=\"on\" +cpu_cores=\"logical\" +cpu_temp=\"off\" +gpu_brand=\"on\" +gpu_type=\"all\" +refresh_rate=\"off\" +gtk_shorthand=\"off\" +gtk2=\"on\" +gtk3=\"on\" +public_ip_host=\"http://ident.me\" +public_ip_timeout=2 +de_version=\"off\" +disk_show=('/') +disk_subtitle=\"mount\" +disk_percent=\"on\" +music_player=\"auto\" +song_format=\"%artist% - %album% - %title%\" +song_shorthand=\"off\" +mpc_args=() +colors=(distro) +bold=\"on\" +underline_enabled=\"on\" +underline_char=\"-\" +separator=\":\" +block_range=(0 15) +color_blocks=\"on\" +block_width=3 +block_height=1 +col_offset=\"auto\" +bar_char_elapsed=\"-\" +bar_char_total=\"=\" +bar_border=\"on\" +bar_length=15 +bar_color_elapsed=\"distro\" +bar_color_total=\"distro\" +cpu_display=\"off\" +memory_display=\"off\" +battery_display=\"off\" +disk_display=\"off\" +image_backend=\"ascii\" +image_source=\"auto\" +ascii_distro=\"auto\" +ascii_colors=(distro) +ascii_bold=\"on\" +image_loop=\"off\" +thumbnail_dir=\"${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch\" +crop_mode=\"normal\" +crop_offset=\"center\" +image_size=\"auto\" +gap=3 +yoffset=0 +xoffset=0 +background_color= +stdout=\"off\"")) diff --git a/.config/guix/home.scm b/.config/guix/home.scm index 5c0d880..2c7ccd3 100644 --- a/.config/guix/home.scm +++ b/.config/guix/home.scm @@ -185,6 +185,8 @@ `(".local/bin/suspend" ,bin-suspend-wrap) `(".local/bin/torbrowser" ,bin-torbrowser) + `(".config/neofetch/config.conf" ,config-neofetch) + `(".config/hyfetch.json" ,config-hyfetch) `(".config/colorscheme" ,config-colorscheme) `(".config/foot/foot.ini" ,config-foot) `(".config/mako/config" ,config-mako)