From 81106dad968d6b0756f7d1c18a64b71db714f8a8 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 29 May 2021 22:52:00 -0500 Subject: [PATCH] Little things --- common/bin/dotfiles-setup | 3 ++- common/mutt/rc | 2 ++ common/wezterm/wezterm.lua | 25 +++++++++++++++++++++++++ os/linux/sway/config | 1 + 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 common/wezterm/wezterm.lua diff --git a/common/bin/dotfiles-setup b/common/bin/dotfiles-setup index 0e0b613..2f86dc9 100755 --- a/common/bin/dotfiles-setup +++ b/common/bin/dotfiles-setup @@ -38,6 +38,7 @@ pushd $dfp l common/tmux/conf $h/.tmux.conf l common/fish $c/fish l common/neovim $c/nvim +l common/wezterm $c/wezterm l common/colors/vim $c/nvim/colors/base16-donokai.vim l common/weechat $h/.weechat l common/scim/rc $h/.scimrc @@ -47,7 +48,7 @@ l common/kak $c/kak l common/gpg/agent.conf $h/.gnupg/gpg-agent.conf l common/htop/rc $c/htop/htoprc l common/kitty $c/kitty -l common/mutt/rc $c/.muttrc +l common/mutt/rc $h/.muttrc l common/git/config $h/.gitconfig l common/elixir/iex.exs $h/.iex.exs l common/data/user-dirs $c/user-dirs.dirs diff --git a/common/mutt/rc b/common/mutt/rc index 91ae8f1..081e601 100644 --- a/common/mutt/rc +++ b/common/mutt/rc @@ -45,3 +45,5 @@ set editor = "nvim" set charset = "utf-8" set header_cache = "~/.cache/mutt/headers" set message_cachedir = "~/.cache/mutt/bodies" + +set new_mail_command="notify-send 'New Email' '%n new messages, %u unread.' &" diff --git a/common/wezterm/wezterm.lua b/common/wezterm/wezterm.lua new file mode 100644 index 0000000..1ad9d96 --- /dev/null +++ b/common/wezterm/wezterm.lua @@ -0,0 +1,25 @@ +local w = require 'wezterm' +return { + color_schemes = { + ["Donokai"] = { + background = "#111111", + foreground = "#ffffff", + cursor_bg = "#333333", + cursor_fg = "#ffffff", + cursor_border = "#666666", + selection_fg = "black", + selection_bg = "cyan", + + ansi = {"#111111", "#f92672", "#a6e22e", "#f4bf75", "#ae81ff", "#fd971f", "#a1efe4", "#888888"}, + brights = {"#333333", "#f92672", "#a6e22e", "#f4bf75", "#ae81ff", "#fd971f", "#a1efe4", "#888888"}, + -- ansi = {"black", "maroon", "green", "olive", "navy", "purple", "teal", "silver"}, + -- brights = {"grey", "red", "lime", "yellow", "blue", "fuchsia", "aqua", "white"}, + } + }, + color_scheme = "Donokai", + colors = { + }, + font = w.font("Iosevka"), + font_size = 14, + enable_wayland = true, +} diff --git a/os/linux/sway/config b/os/linux/sway/config index 6cbbf08..7dee090 100644 --- a/os/linux/sway/config +++ b/os/linux/sway/config @@ -166,6 +166,7 @@ client.focused_inactive #111111 #111111 #ffffff #111111 #111111 client.unfocused #111111 #111111 #ffffff #111111 #111111 exec_always 'killall kanshi; kanshi' +exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway exec mako exec pipewire exec_always notify-send -a "Sway" -i ~/.wallpaper "Sway configuration loaded."