aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/dunst/dunstrc6
-rw-r--r--config/qutebrowser/homepage/index.html4
-rwxr-xr-xconfig/xorg/init.sh4
-rw-r--r--config/zsh/plugins/timer.zsh2
-rw-r--r--config/zsh/theme.zsh8
-rw-r--r--configuration.nix5
-rw-r--r--modules/email.home/aerc.theme.nix3
-rw-r--r--modules/music/client.home.nix24
-rw-r--r--modules/music/mpd.home.nix6
-rw-r--r--modules/xresources.home.nix2
-rw-r--r--modules/xresources/dark.nix2
-rwxr-xr-xpackages/dwm/autostart.sh2
12 files changed, 36 insertions, 32 deletions
diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc
index f537440..36a7a91 100644
--- a/config/dunst/dunstrc
+++ b/config/dunst/dunstrc
@@ -131,17 +131,17 @@
frame_color = "#6f8285"
[urgency_low]
- background = "#7e6aD3"
+ background = "#042f2f"
foreground = "#ffffff"
timeout = 3
[urgency_normal]
- background = "#4e3aA3"
+ background = "#007070"
foreground = "#ffffff"
timeout = 5
[urgency_critical]
- background = "#d63031"
+ background = "#7c162e"
foreground = "#ffffff"
timeout = 10
diff --git a/config/qutebrowser/homepage/index.html b/config/qutebrowser/homepage/index.html
index b27ea82..e703030 100644
--- a/config/qutebrowser/homepage/index.html
+++ b/config/qutebrowser/homepage/index.html
@@ -6,8 +6,8 @@
<title>New tab</title>
<style>
:root {
- --col-primary: #14121e;
- --col-accent: #5e4ab3;
+ --col-primary: #101414;
+ --col-accent: #007070;
--col-accent-light: #8e7ae3;
}
html, body {
diff --git a/config/xorg/init.sh b/config/xorg/init.sh
index d3a2473..f289c02 100755
--- a/config/xorg/init.sh
+++ b/config/xorg/init.sh
@@ -14,10 +14,10 @@ xset s noblank;
# Typing rate
xset r rate 350 30;
-# Display settings
+# Display settings: day mode
~/scripts/commands/:day
-# Sound
+# Sound settings
amixer set Capture nocap;
amixer set Master off;
diff --git a/config/zsh/plugins/timer.zsh b/config/zsh/plugins/timer.zsh
index 73d9673..3610877 100644
--- a/config/zsh/plugins/timer.zsh
+++ b/config/zsh/plugins/timer.zsh
@@ -7,7 +7,7 @@ function precmd() {
now=$(($(date +%s%0N)/1000000))
elapsed=$(($now-$timer))
- export RPROMPT="%F{magenta}${elapsed}ms %{$reset_color%}"
+ export RPROMPT="%F{cyan}${elapsed}ms %{$reset_color%}"
unset timer
fi
}
diff --git a/config/zsh/theme.zsh b/config/zsh/theme.zsh
index c6341df..e2f476b 100644
--- a/config/zsh/theme.zsh
+++ b/config/zsh/theme.zsh
@@ -1,7 +1,9 @@
setopt prompt_subst
+autoload -U colors && colors
+
# Theme
-COL_ACCENT=13;
+COL_ACCENT="#007070";
COL_DIR=$COL_ACCENT;
@@ -17,7 +19,7 @@ git_changes() { git status --porcelain 2> /dev/null | wc -l; }
# Prompt dir
p_dir() {
- segment "%2~" $COL_DIR white;
+ segment "%2~" $COL_DIR brightwhite;
}
# Prompt terminal status
@@ -47,7 +49,7 @@ prompt() {
p_status;
p_dir;
echo -n '$(p_git)';
- segment "󱄅" black 13;
+ segment "󱄅" black "$COL_ACCENT";
}
export PROMPT="$(prompt) ";
diff --git a/configuration.nix b/configuration.nix
index e581422..aaa6055 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -28,8 +28,9 @@
programs.nix-ld.enable = true;
# Fix hmr issue
- systemd.extraConfig = ''DefaultLimitNOFILE=65536'';
- systemd.user.extraConfig = ''DefaultLimitNOFILE=65536'';
+ # systemd.extraConfig = ''DefaultLimitNOFILE=65536'';
+ # systemd.user.extraConfig = ''DefaultLimitNOFILE=65536'';
+ systemd.settings.Manager = { DefaultLimitNOFILE=65536; };
boot.kernel.sysctl."fs.inotify.max_user_instances" = 8192;
security.pam.loginLimits = [
{ domain = "*"; type = "-"; item = "nofile"; value = "65536"; }
diff --git a/modules/email.home/aerc.theme.nix b/modules/email.home/aerc.theme.nix
index f2f525d..e4a0868 100644
--- a/modules/email.home/aerc.theme.nix
+++ b/modules/email.home/aerc.theme.nix
@@ -1,5 +1,6 @@
let
- accent = "#4f3aA3";
+ xresources = (import ../xresources.home.nix {}).xresources.properties;
+ accent = xresources."*.accent";
in {
"title.bg" = accent;
"title.fg" = "black";
diff --git a/modules/music/client.home.nix b/modules/music/client.home.nix
index aa106bb..73c7d4d 100644
--- a/modules/music/client.home.nix
+++ b/modules/music/client.home.nix
@@ -43,27 +43,27 @@ in
browser_display_mode = "columns";
playlist_editor_display_mode = "classic";
- empty_tag_color = "magenta";
- header_window_color = "magenta";
+ empty_tag_color = "cyan";
+ header_window_color = "green";
volume_color = "cyan";
- state_line_color = "magenta";
- state_flags_color = "magenta:b";
+ state_line_color = "cyan";
+ state_flags_color = "cyan:b";
color1 = "white";
- color2 = "magenta";
+ color2 = "cyan";
main_window_color = "white";
progressbar_color = "black:b";
- progressbar_elapsed_color = "magenta:b";
- statusbar_color = "magenta";
- statusbar_time_color = "magenta:b";
- player_state_color = "magenta:b";
- alternative_ui_separator_color = "magenta";
- window_border_color = "magenta";
+ progressbar_elapsed_color = "cyan:b";
+ statusbar_color = "cyan";
+ statusbar_time_color = "cyan:b";
+ player_state_color = "cyan:b";
+ alternative_ui_separator_color = "cyan";
+ window_border_color = "cyan";
active_window_border = "red";
progressbar_look = "=>-";
now_playing_prefix = "$(blue)$b";
now_playing_suffix = "$/b$(end)";
- current_item_prefix = "$(magenta)$r$b";
+ current_item_prefix = "$(cyan)$r$b";
current_item_suffix = "$/r$(end)$/b";
current_item_inactive_column_prefix = "$(white)$r";
current_item_inactive_column_suffix = "$/r$(end)";
diff --git a/modules/music/mpd.home.nix b/modules/music/mpd.home.nix
index 3619786..12f5ab9 100644
--- a/modules/music/mpd.home.nix
+++ b/modules/music/mpd.home.nix
@@ -15,8 +15,8 @@ in
user "imsohexy"
group "users"
restore_paused "yes"
- metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
- auto_update "yes"
+ metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
+ auto_update "yes"
auto_update_depth "5"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
@@ -37,7 +37,7 @@ in
format "44100:16:2"
}
- filesystem_charset "UTF-8"
+ filesystem_charset "UTF-8"
'';
};
diff --git a/modules/xresources.home.nix b/modules/xresources.home.nix
index 4138ec5..4f83d45 100644
--- a/modules/xresources.home.nix
+++ b/modules/xresources.home.nix
@@ -29,7 +29,7 @@
"*.color13" = "#4e3aA3";
"*.color6" = "#56B6C2";
- "*.color14" = "#0fb9b1";
+ "*.color14" = "#042f2f";
"*.color7" = "#ABB2BF";
"*.color15" = "#ebdbb2";
diff --git a/modules/xresources/dark.nix b/modules/xresources/dark.nix
index 4762fca..656ed1f 100644
--- a/modules/xresources/dark.nix
+++ b/modules/xresources/dark.nix
@@ -2,5 +2,5 @@
background = "#000000";
background-light = "#111111";
foreground = "#d8dee9";
- accent = "#4e3aA3";
+ accent = "#007070";
}
diff --git a/packages/dwm/autostart.sh b/packages/dwm/autostart.sh
index 1187b93..9e88422 100755
--- a/packages/dwm/autostart.sh
+++ b/packages/dwm/autostart.sh
@@ -46,7 +46,7 @@ spew "shotkey" shotkey;
# Wallpaper
# run "" ~/.fehbg;
-hsetroot -solid "#141313"
+hsetroot -solid "#101414"
# Notification daemon
spew "dunst" dunst -config ~/.config/dunst/dunstrc;