rename home dir

This commit is contained in:
2025-09-19 15:07:40 +00:00
parent d412f1ac6c
commit 2ab49fbfc8
30 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{ config, pkgs, ... }:
{
programs.alacritty = {
enable = true;
theme = "everforest_dark";
settings = {
font = {
italic = {
family = "Hack Nerd Font";
style = "Regular";
};
normal = {
family = "Hack Nerd Font";
style = "Regular";
};
};
window = {
opacity = 0.9;
blur = true;
padding = {x=0;y=15;};
};
};
};
}

View File

@@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
programs.autujump = {
enable = true;
enableFishIntegration = true;
};
}

View File

@@ -0,0 +1,60 @@
[default]
# The time to show the notification for.
;time = 5.0
# The base directory to resolve relative image-path against (default is $XDG_DATA_HOME/avizo).
image-base-dir = ~/avizo-images
# The image opacity; allowed values range from 0 (fully transparent) to 1.0 (fully opaque).
;image-opacity = 1.0
# The width of the notification.
width = 248
# The height of the notification.
height = 248
# The inner padding of the notification.
;padding = 24
# A relative offset of the notification to the top of the screen.
# Allowed values range from 0 (top) to 1.0 (bottom).
y-offset = 0.5
# A relative offset of the notification to the left of the screen.
# Allowed values range from 0 (left) to 1.0 (right).
x-offset = 0.5
# The border radius of the notification in px.
border-radius = 4
# Sets the border width of the notification in px.
border-width = 4
# The block height of the progress indicator.
;block-height = 10
# The spacing between blocks in the progress indicator.
;block-spacing = 2
# Sets the amount of blocks in the progress indicator.
;block-count = 20
# Sets the fade in animation duration in seconds.
;fade-in = 0.2
# Sets the fade out animation duration in seconds.
;fade-out = 0.5
# The color of the notification background in format: rgba([0, 255], [0, 255], [0, 255], [0, 1]).
background = rgba(43, 51, 57, 0.8)
# Sets the color of the notification border in format rgba([0, 255], [0, 255], [0, 255], [0, 1]).
border-color = rgba(127, 187, 179, 1.0)
# The color of the filled bar blocks in format: rgba([0, 255], [0, 255], [0, 255], [0, 1]).
bar-fg-color = rgba(127, 187, 179, 1.0)
# The color of the unfilled bar blocks in format rgba([0, 255], [0, 255], [0, 255], [0, 1]).
# Defaults to 'background' with 2/3 brightness.
bar-bg-color = rgba(211, 198, 170, 1.0)

View File

@@ -0,0 +1,48 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
crawl
];
home.file.".crawlrc" = {
text = ''
# Character Creation Rules
# fully_random = false
# remember_name = false
weapon = viable
# species = viable
# background = viable
# Application Behavior Rules
restart_after_game = maybe
restart_after_save = false
view_max_width = 81
view_max_height = 21
dump_on_save = true
use_terminal_default_colours = true
# Menu Behavior Rules
easy_confirm = all
sort_menus = auto:3
assign_item_slot = backward
show_god_gift = yes
show_player_species = true
# Autopickup Behavior Rules
pickup_thrown = true
drop_disables_autopickup = true
autopickup_search = true
autopickup_starting_ammo = true
# Exploration Behavior Rules
explore_greedy = true
explore_greedy_visit = artefacts,glowing_items
# explore_greedy_visit += stacks
explore_stop = glowing_items,shops,altars,portals,branches,runed_doors
rest_wait_both = true
# Autofight Behavior Rules
auto_switch = true
autofight_fires = true
autofight_caught = true
fire_order_spell = attack
'';
};
}

View File

@@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
programs.direnv = {
enable = true;
};
# home.file = {
# direnvrc = {
# enable = true;
# executable = true;
# target = ".config/direnv/";
# source = "./direnvrc";
# };
# };
}

View File

@@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
oh-my-fish
];
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting ""
'';
shellAliases = {
".." = "cd ..";
"..." = "cd ../..";
"...." = "cd ../../..";
"pls" = "pls -d typ -d perm -d user -d group -d size -d mtime -d git";
"z" = "zoxide";
};
};
}

View File

@@ -0,0 +1,31 @@
{ config, pkgs, ... }:
{
programs.fuzzel = {
enable = true;
settings = {
main = {
font = "Hack Nerd Font:size=12";
anchor = "top";
width = "20";
inner-pad = "15";
horizontal-pad = "30";
vertical-pad = "30";
lines = "10";
y-margin = "15";
};
colors = {
background = "2b3339f2";
text = "d3c6aaff";
selection = "d3c6aaff";
selection-text = "2b3339ff";
border = "7fbbb3ff";
};
border = {
width = "3";
selection-radius = "3";
};
};
};
}

View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
programs.git = {
enable = true;
userEmail = "autumnal.musing@gmail.com";
userName = "autumn";
};
}

View File

@@ -0,0 +1,66 @@
# Author : Sebastian Zivota <loewenheim@mailbox.org>
"comment" = { fg = "comment" }
"constant" = { fg = "purple" }
"constant.character.escape" = { fg = "pink" }
"function" = { fg = "green" }
"keyword" = { fg = "pink" }
"operator" = { fg = "pink" }
"punctuation" = { fg = "foreground" }
"string" = { fg = "yellow" }
"string.regexp" = { fg = "red" }
"tag" = { fg = "pink" }
"type" = { fg = "cyan", modifiers = ["italic"] }
"type.enum.variant" = { fg = "foreground", modifiers = ["italic"] }
"variable" = { fg = "foreground" }
"variable.builtin" = { fg = "cyan", modifiers = ["italic"] }
"variable.parameter" = { fg ="orange", modifiers = ["italic"] }
"diff.plus" = { fg = "green" }
"diff.delta" = { fg = "orange" }
"diff.minus" = { fg = "red" }
"ui.background" = {} #fg = "foreground", bg = "background" }
"ui.cursor" = { fg = "background", bg = "orange", modifiers = ["dim"] }
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] }
"ui.cursor.primary" = { fg = "background", bg = "cyan", modifier = ["dim"] }
"ui.help" = { fg = "foreground", bg = "background_dark" }
"ui.linenr" = { fg = "comment" }
"ui.linenr.selected" = { fg = "foreground" }
"ui.menu" = { fg = "foreground", bg = "background_dark" }
"ui.menu.selected" = { fg = "cyan", bg = "background_dark" }
"ui.popup" = { fg = "foreground", bg = "background_dark" }
"ui.selection" = { bg = "secondary_highlight" }
"ui.selection.primary" = { bg = "primary_highlight" }
"ui.statusline" = { fg = "foreground", bg = "background_dark" }
"ui.statusline.inactive" = { fg = "comment", bg = "background_dark" }
"ui.text" = { fg = "foreground" }
"ui.text.focus" = { fg = "cyan" }
"ui.window" = { fg = "foreground" }
"ui.virtual" = { fg = "comment" }
"error" = { fg = "red" }
"warning" = { fg = "cyan" }
"markup.heading" = { fg = "purple", modifiers = ["bold"] }
"markup.list" = "cyan"
"markup.bold" = { fg = "orange", modifiers = ["bold"] }
"markup.italic" = { fg = "yellow", modifiers = ["italic"] }
"markup.link.url" = "cyan"
"markup.link.text" = "pink"
"markup.quote" = { fg = "yellow", modifiers = ["italic"] }
"markup.raw" = { fg = "foreground" }
[palette]
background = "#282a36"
background_dark = "#21222c"
primary_highlight = "#800049"
secondary_highlight = "#4d4f66"
foreground = "#f8f8f2"
comment = "#6272a4"
red = "#ff5555"
orange = "#ffb86c"
yellow = "#f1fa8c"
green = "#50fa7b"
purple = "#bd93f9"
cyan = "#8be9fd"
pink = "#ff79c6"

View File

@@ -0,0 +1,106 @@
# Everforest (Dark Hard)
# Author: CptPotato
# Original Author:
# URL: https://github.com/sainnhe/everforest
# Filename: autoload/everforest.vim
# Author: sainnhe
# Email: sainnhe@gmail.com
# License: MIT License
"constant.character.escape" = "orange"
"type" = "yellow"
"constant" = "purple"
"constant.numeric" = "purple"
"string" = "green"
"comment" = "grey0"
"variable" = "fg"
"variable.builtin" = "blue"
"variable.parameter" = "fg"
"variable.other.member" = "fg"
"label" = "aqua"
"punctuation" = "grey2"
"punctuation.delimiter" = "grey2"
"punctuation.bracket" = "fg"
"keyword" = "red"
"operator" = "orange"
"function" = "green"
"function.builtin" = "blue"
"function.macro" = "aqua"
"tag" = "yellow"
"namespace" = "aqua"
"attribute" = "aqua"
"constructor" = "yellow"
"module" = "blue"
"special" = "orange"
"markup.heading.marker" = "grey2"
"markup.heading.1" = { fg = "red", modifiers = ["bold"] }
"markup.heading.2" = { fg = "orange", modifiers = ["bold"] }
"markup.heading.3" = { fg = "yellow", modifiers = ["bold"] }
"markup.heading.4" = { fg = "green", modifiers = ["bold"] }
"markup.heading.5" = { fg = "blue", modifiers = ["bold"] }
"markup.heading.6" = { fg = "fg", modifiers = ["bold"] }
"markup.list" = "red"
"markup.bold" = { modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
"markup.link.url" = { fg = "blue", modifiers = ["underlined"] }
"markup.link.text" = "purple"
"markup.quote" = "grey2"
"markup.raw" = "green"
"diff.plus" = "green"
"diff.delta" = "orange"
"diff.minus" = "red"
"ui.background" = { }
"ui.cursor" = { fg = "bg0", bg = "fg" }
"ui.cursor.match" = { fg = "orange", bg = "bg_yellow" }
"ui.cursor.insert" = { fg = "bg0", bg = "grey1" }
"ui.cursor.select" = { fg = "bg0", bg = "blue" }
"ui.linenr" = "grey0"
"ui.linenr.selected" = "fg"
"ui.statusline" = { fg = "grey2", bg = "bg2" }
"ui.statusline.inactive" = { fg = "grey0", bg = "bg1" }
"ui.popup" = { fg = "grey2", bg = "bg1" }
"ui.window" = { fg = "grey2", bg = "bg1" }
"ui.help" = { fg = "fg", bg = "bg1" }
"ui.text" = "fg"
"ui.text.focus" = "fg"
"ui.menu" = { fg = "fg", bg = "bg2" }
"ui.menu.selected" = { fg = "bg0", bg = "green" }
"ui.selection" = { bg = "bg3" }
"ui.virtual" = "grey0"
"hint" = "blue"
"info" = "aqua"
"warning" = "yellow"
"error" = "red"
"diagnostic" = { modifiers = ["underlined"] }
[palette]
bg0 = "#2b3339"
bg1 = "#323c41"
bg2 = "#3a454a"
bg3 = "#445055"
bg4 = "#4c555b"
bg5 = "#53605c"
bg_visual = "#503946"
bg_red = "#4e3e43"
bg_green = "#404d44"
bg_blue = "#394f5a"
bg_yellow = "#4a4940"
fg = "#d3c6aa"
red = "#e67e80"
orange = "#e69875"
yellow = "#dbbc7f"
green = "#a7c080"
aqua = "#83c092"
blue = "#7fbbb3"
purple = "#d699b6"
grey0 = "#7a8478"
grey1 = "#859289"
grey2 = "#9da9a0"

View File

@@ -0,0 +1,32 @@
{ config, pkgs, ... }:
{
programs.helix = {
enable = true;
themes = {
everforest_dark_trans = ./everforest_dark_trans.toml;
dracula_trans = ./dracula_trans.toml;
};
settings = {
theme = "everforest_dark_trans";
editor = {
mouse = true;
middle-click-paste = true;
whitespace = {
render = {
space = "all";
tab = "all";
newline = "none";
};
characters = {
space = "·";
nbsp = "";
tab = "";
newline = "";
};
};
};
};
};
}

View File

@@ -0,0 +1,131 @@
{ config, pkgs, ... }:
let
cmd = "send-layout-cmd wideriver";
tft = "toggle-focused-tags";
tvt = "toggle-view-tags";
sft = "set-focused-tags";
in
{
home.packages = with pkgs; [
wideriver
];
wayland.windowManager.river = {
enable = true;
systemd.enable = true;
settings = {
spawn = [
#spawn notifiers
# generic notifier
"twmnd"
# brightness/media volume notifier
"avizo-service"
#set wallpaper
"~/login-wm-setup.sh"
# set gaps on wideriver
"~/login-wm-setup-2.sh"
];
output-layout = "wideriver";
rule-add = "ssd";
border-color-urgent = "0xe67e80";
map = {
normal = {
# spawn binds
"Super Return" = "spawn alacritty";
"Super R" = "spawn fuzzel";
"Super E" = "spawn fm";
"Super B" = "spawn obsidian";
"Super Escape" = "spawn \"swaylock --screenshots --clock --indicator --indicator-radius 250 --indicator-thickness 12 --effect-blur 7x5 --ring-color 7fbbb3 --line-color d3c6aa --inside-color 2b3339 --separator-color 83c092\"";
# format changes
"Super U" = "${cmd} \"--layout left\"";
"Super I" = "${cmd} \"--layout bottom\"";
"Super O" = "${cmd} \"--layout top\"";
"Super P" = "${cmd} \"--layout right\"";
"Super N" = "${cmd} \"--layout monocle\"";
"Super M" = "${cmd} \"--layout wide\"";
# globals
"Alt Q" = "close";
"Super+Shift E" = "exit";
"Super+Shift Return" = "zoom";
"Super F" = "toggle-fullscreen";
"Super+Shift F" = "toggle-float";
# avizo keys
"None XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\"";
"None XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\"";
"None XF86AudioMute" = "spawn \"volumectl -d toggle-mute\"";
"None XF86MonBrightnessUp" = "spawn \"lightctl -d up\"";
"None XF86MonBrightnessDown" = "spawn \"lightctl -d down\"";
"Super KP_Multiply" = "spawn 'playerctl play-pause'";
"Super KP_Minus" = "spawn 'playerctl next'";
"Super KP_Divide" = "spawn 'playerctl previous'";
#movement
"Super J" = "focus-view next";
"Super K" = "focus-view previous";
"Super H" = "${cmd} \"--count +1\"";
"Super L" = "${cmd} \"--count -1\"";
"Super+Shift H" = "${cmd} \"--ratio -0.05\"";
"Super+Shift J" = "swap next";
"Super+Shift K" = "swap previous";
"Super+Shift L" = "${cmd} \"--ratio +0.05\"";
# "Super+Alt H" = "move left 100";
# "Super+Alt J" = "move down 100";
# "Super+Alt K" = "move up 100";
# "Super+Alt L" = "move right 100";
# "Super Period" = "focus-output next";
# "Super Comma" = "focus-output previous";
# "Super+Shift Period" = "send-to-output next";
# "Super+Shift Comma" = "send-to-output previous";
# tag commands
"Super 1" = "${sft} 2147483649";
"Super+Shift 1" = "${tft} 1";
"Super+Alt 1" = "${tvt} 1";
"Super 2" = "${sft} 2147483650";
"Super+Shift 2" = "${tft} 2";
"Super+Alt 2" = "${tvt} 2";
"Super 3" = "${sft} 2147483652";
"Super+Shift 3" = "${tft} 4";
"Super+Alt 3" = "${tvt} 4";
"Super 4" = "${sft} 2147483656";
"Super+Shift 4" = "${tft} 8";
"Super+Alt 4" = "${tvt} 8";
"Super 5" = "${sft} 2147483664";
"Super+Shift 5" = "${tft} 16";
"Super+Alt 5" = "${tvt} 16";
"Super 6" = "${sft} 2147483680";
"Super+Shift 6" = "${tft} 32";
"Super+Alt 6" = "${tvt} 32";
"Super 7" = "${sft} 2147483712";
"Super+Shift 7" = "${tft} 64";
"Super+Alt 7" = "${tvt} 64";
"Super 8" = "${sft} 2147483776";
"Super+Shift 8" = "${tft} 128";
"Super+Alt 8" = "${tvt} 128";
"Super 9" = "${sft} 2147483904";
"Super+Shift 9" = "${tft} 256";
"Super+Alt 9" = "${tvt} 256";
"Super 0" = "${sft} 2147483648";
"Super+Shift 0" = "${tft} 2147483648";
"Super+Alt 0" = "${tvt} 2147483648";
};
locked = {
# avizo keys
"None XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\"";
"None XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\"";
"None XF86AudioMute" = "spawn \"volumectl -d toggle-mute\"";
"None XF86MonBrightnessUp" = "spawn \"lightctl -d up\"";
"None XF86MonBrightnessDown" = "spawn \"lightctl -d down\"";
};
};
};
};
}

View File

@@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
xdg.configFile."starship.toml".source = ./starship.toml;
programs.starship = {
enable = true;
enableFishIntegration = true;
enableZshIntegration = true;
};
}

View File

@@ -0,0 +1,156 @@
add_newline = false
format = """
[█](#D52D00)\
$username\
[](bg:#EF7627 fg:#D52D00)\
$directory\
[](fg:#EF7627 bg:#FF9A56)\
$git_branch\
$git_status\
[](fg:#FF9A56 bg:#D162A4)\
$c\
$python\
$elixir\
$elm\
$golang\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$rust\
$zig\
[](fg:#D162A4 bg:#B55690)\
$docker_context\
[](fg:#B55690 bg:#A30262)\
$time\
[ ](fg:#A30262)\
\n\
$status\
$cmd_duration\
[ ](fg:#d52d00)
"""
# You can also replace your username with a neat symbol like  to save some space
[username]
show_always = true
style_user = "bg:#D52D00"
style_root = "bg:#D52D00"
format = '[$user ]($style)'
[directory]
style = "bg:#EF7627"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
# Keep in mind that the order matters. For example:
# "Important Documents" = "  "
# will not be replaced, because "Documents" was already substituted before.
# So either put "Important Documents" before "Documents" or use the substituted version:
# "Important  " = "  "
[c]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[docker_context]
symbol = " "
style = "fg:#666666 bg:#06969a"
format = '[[ $symbol $context ](fg:#666666 bg:#06969A)]($style) $path'
[elixir]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[elm]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[git_branch]
symbol = " "
style = "fg:#666666 bg:#FF9A56"
format = '[[ $symbol $branch ](fg:#666666 bg:#FF9A56)]($style)'
[git_status]
style = "fg:#666666 bg:#FF9A56"
format = '[[($all_status$ahead_behind )](fg:#666666 bg:#FF9A56)]($style)'
[golang]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[haskell]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[java]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[julia]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[nodejs]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[nim]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[rust]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[ruby]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[python]
symbol = " "
style = "fg:#d3c6aa bg:#D162A4"
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "fg:#d3c6aa bg:#A30262"
format = '[[ ♥ $time ](bg:#A30262)]($style)'
[status]
disabled = false
symbol = "󰜺 "
success_symbol = " "
not_executable_symbol = " "
not_found_symbol = "󰦀 "
sigint_symbol = " "
signal_symbol = "󰣧 "
recognize_signal_code = false
style = "fg:#d3c6aa bg:#D52D00"
format = '[ $symbol ]($style)'
[cmd_duration]
min_time = 10_000
style = "fg:#d3c6aa bg:#d52d00"
format = '[$duration]($style)'

View File

@@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
];
programs. = {
enable = true;
};
}

View File

@@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
programs.thunderbird = {
enable = true;
profiles.autumn = {
isDefault = true;
};
};
}

View File

@@ -0,0 +1,34 @@
{ config, pkgs, ... }:
{
services.twmn = {
enable = true;
# icons = {
# critical = "󰋮 ";
# info = " ";
# warning = " ";
# };
text = {
color = "2b3339";
font = {
family = "Hack Nerd Font";
size = 11;
};
maxLength = 75;
};
window = {
position = "tc";
alwaysOnTop = true;
color = "#7fbbb3";
height = 30;
animation = {
easeIn = {
curve = 25;
duration = 750;
};
};
};
};
}

8
home/packages/uv/uv.nix Normal file
View File

@@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
programs.uv = {
enable = true;
};
}

View File

@@ -0,0 +1,191 @@
* {
font-family: JetBrains Mono, Font Awesome 6 Free;
font-size: 13px;
}
window#waybar {
color: #ffffff;
background-color: #1e3b28;
border-bottom: 3px solid #8f2fef;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 0;
}
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button {
padding: 0 15px;
background-color: transparent;
border: 2px solid #8f2fef
}
#workspaces button:hover {
background: rgba(255, 255, 255, 0.2);
}
#workspaces button.focused {
background-color: #8f2fef;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.urgent {
background-color: #f38ba8;
}
#backlight,
#battery,
#clock,
#cpu,
#memory,
#mode,
#network,
#pulseaudio,
#temperature,
#tray,
#idle_inhibitor,
#keyboard-state,
#power-profiles-daemon {
padding: 0 8px;
}
#window,
#workspaces {
margin: 0 8px;
}
.modules-left>widget:first-child>#workspaces {
margin-left: 0;
}
.modules-right>widget:last-child>#workspaces {
margin-right: 0;
}
#backlight {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #cba6f7;
}
#battery {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#battery.critical.discharging {
background-color: #f38ba8;
animation: blink 1s infinite;
}
#battery.warning.discharging {
background-color: #f9e2af;
animation: blink 1s infinite;
}
@keyframes blink {
to {
background-color: transparent;
}
}
#clock {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#cpu {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #cba6f7;
}
#memory {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #f9e2af;
}
#mode {
color: #ffffff;
background-color: #8f2fef;
border-bottom: 3px solid #ffffff;
}
#network {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#network.disconnected {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #f38ba8;
}
#pulseaudio {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#pulseaudio.muted {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #f38ba8;
}
#temperature {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#temperature.critical {
background-color: transparent;
border-bottom: 3px solid #f38ba8;
}
#tray {
background-color: transparent;
border-bottom: 3px solid #8f2fef;
}
#idle_inhibitor {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #f9e2af;
}
#idle_inhibitor.activated {
color: #1e3b28;
background-color: #f9e2af;
border-bottom: 3px solid #f9e2af;
}
#keyboard-state {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #fab387;
}
#power-profiles-daemon {
color: #ffffff;
background-color: transparent;
border-bottom: 3px solid #94e2d5;
}

View File

@@ -0,0 +1,322 @@
{ config, pkgs, ... }:
{
programs.waybar = {
enable = true;
systemd.enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 30;
spacing = 4;
# Module layout
#
modules-left = [
"river/tags"
];
modules-center = [
#"river/mode"
# "river/layout"
"river/window"
];
modules-right = [
"pulseaudio"
"network#wifi"
"cpu"
"memory"
"temperature"
"backlight"
"battery"
"clock"
"tray"
];
# Module configurations
"river/tags" = {
num-tags = 10;
tag-labels = [
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"0"
];
set-tags = [
2147483649
2147483650
2147483652
2147483656
2147483664
2147483680
2147483712
2147483776
2147483904
2147483648
];
toggle-tags = [
1
2
4
8
16
32
64
128
256
];
hide-vacant = true;
};
"river/window" = {
format = "{}";
max-length = 20;
};
"tray" = {
icon-size = 21;
spacing = 10;
};
"clock" = {
timezone = "America/Denver";
tooltip-format = "<big>{calendar}</big>";
format-alt = "{:%Y-%m-%d}";
};
"cpu" = {
format = "{usage}% ";
tooltip = true;
};
"memory" = {
format = "{}% ";
};
"temperature" = {
# thermal-zone = 2;
# hwmon-path = "/sys/class/hwmon/hwmon2/temp1_input";
critical-threshold = 80;
format-critical = "{temperatureC}°C {icon}";
format = "{temperatureC}°C {icon}";
format-icons = ["" "" ""];
};
"backlight" = {
format = "{percent}% {icon}";
format-icons = ["" "" "" "" "" "" "" "" ""];
};
"battery" = {
states = {
good = 95;
warning = 30;
critical = 15;
};
format = "{icon} {capacity}%";
format-full = "{icon} Full";
format-charging = "{icon} Charging {capacity}% {time}";
format-plugged = "{icon} Charge complete";
format-good = ">{icon} {capacity}%";
format-icons = ["" "" "" "" "" "" "" ""];
};
"network#wifi" = {
interface = "wlp*";
format-wifi = "{essid} ({signalStrength}%) ";
tooltip-format = "{ifname} via {gwaddr} ";
format-linked = "{ifname} (No IP) ";
format-disconnected = "No WiFi";
format-alt = "{ifname}: {ipaddr}/{cidr}";
};
"pulseaudio" = {
format = "{volume}% {icon} {format_source}";
format-bluetooth = "{volume}% {icon} {format_source}";
format-bluetooth-muted = " {icon} {format_source}";
format-muted = " {format_source}";
format-source = "{volume}% ";
format-source-muted = "";
format-icons = {
headphone = "";
hands-free = "";
headset = "";
phone = "";
portable = "";
car = "";
default = ["" "" ""];
on-click = "pavucontrol";
};
};
};
};
# Waybar styling inspired by the referenced swayhome configuration
style = ''
* {
font-family: "Hack Nerd Font Mono";
font-size: 13px;
}
window#waybar {
color: #d3c6aa;
background-color: #2b3339;
border-bottom: 3px solid #7fbbb3;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
button {
box-shadow: inset 0 -3px transparent;
border: 1px #000000 solid;
border-radius: 0;
color:#d3c6aa;
}
button:hover {
background: inherit;
box-shadow: inset 0 -3px #7fbbb3;
}
#tags button {
padding: 0 15px;
background-color: transparent;
border: 2px solid #d3c6aa;
}
#tags button.occupied {
background: #d3c6aa;
border: 1px solid #2b3339;
color:#2b3339;
}
#tags button.focused {
background-color: #7fbbb3;
color: #2b3339;
border: 1px solid #2b3339;
border-bottom: 3px solid #2b3339;
}
#tags button.urgent {
background-color: #e67e80;
}
#backlight,
#battery,
#clock,
#cpu,
#memory,
#mode,
#network,
#pulseaudio,
#temperature,
#tray,
#power-profiles-daemon {
padding: 0 8px;
color:#d3c6aa;
}
#window,
#workspaces {
margin: 0 8px;
}
#backlight {
background-color: transparent;
border-bottom: 3px solid #cba6f7;
}
#battery {
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#battery.critical.discharging {
background-color: #f38ba8;
animation: blink 1s infinite;
}
#battery.warning.discharging {
background-color: #f9e2af;
animation: blink 1s infinite;
}
@keyframes blink {
to {
background-color: transparent;
}
}
#clock {
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#cpu {
background-color: transparent;
border-bottom: 3px solid #cba6f7;
}
#memory {
background-color: transparent;
border-bottom: 3px solid #f9e2af;
}
#mode {
color: #ffffff;
background-color: #6e3a6d;
border-bottom: 3px solid #ffffff;
}
#network {
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#network.disconnected {
background-color: transparent;
border-bottom: 3px solid #f38ba8;
}
#pulseaudio {
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#pulseaudio.muted {
background-color: transparent;
border-bottom: 3px solid #f38ba8;
}
#temperature {
background-color: transparent;
border-bottom: 3px solid #a6e3a1;
}
#temperature.critical {
background-color: transparent;
border-bottom: 3px solid #f38ba8;
}
#tray {
background-color: transparent;
border-bottom: 3px solid #6e3a6d;
}
#power-profiles-daemon {
background-color: transparent;
border-bottom: 3px solid #94e2d5;
}
'';
};
}

View File

@@ -0,0 +1,28 @@
{ config, pkgs, ... }:
{
programs.zellij = {
enable = true;
enableZshIntegration = true;
# exitShellOnExit = true;
settings = {
themes = {
custom = {
bg = "#2b3339";
fg = "#d3c6aa";
black = "#2b3339";
red = "#e67e80";
green = "#a7c080";
yellow = "#dbbc7f";
blue = "#7fbbb3";
magenta = "#d699b6";
cyan = "#83c092";
white = "#d3c6aa";
orange = "#FF9E64";
};
};
theme = "custom";
advanced_mouse_actions = false;
};
};
}

View File

@@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
programs.zoxide = {
enable = true;
enableFishIntegration = true;
};
}

52
home/packages/zsh/zsh.nix Normal file
View File

@@ -0,0 +1,52 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
oh-my-zsh
];
programs ={
zsh = {
enable = true;
antidote = {
enable = true;
plugins = [
"zsh-users/zsh-autosuggestions"
"zsh-users/zsh-syntax-highlighting"
# "colored-man-pages"
# "colorize"
# "cp"
# "history"
# "ssh-agent"
# "zoxide"
];
useFriendlyNames = true;
};
autosuggestion = {
enable = true;
};
shellAliases = {
".." = "cd ..";
"..." = "cd ../..";
"...." = "cd ../../..";
"pls" = "pls -d typ -d perm -d user -d group -d size -d mtime -d git";
"z" = "zoxide";
};
oh-my-zsh = {
enable = true;
plugins = [
"git"
"sudo"
"colored-man-pages"
"colorize"
"cp"
"zoxide"
"ssh-agent"
"command-not-found"
];
};
};
};
}