aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/aerc/aerc.conf45
-rw-r--r--.config/aerc/binds.conf194
-rw-r--r--.config/aerc/gmail-map.conf1
-rw-r--r--.config/hypr/hyprland.conf10
-rw-r--r--.config/shell/profile17
-rw-r--r--.config/waybar/style.css6
6 files changed, 253 insertions, 20 deletions
diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
new file mode 100644
index 0000000..ee8d522
--- /dev/null
+++ b/.config/aerc/aerc.conf
@@ -0,0 +1,45 @@
+[general]
+
+[ui]
+styleset-name=nord
+fuzzy-complete=true
+icon-new=
+icon-attachment=
+icon-old=
+icon-replied=
+icon-flagged=
+icon-deleted=
+# icon-new=✨
+# icon-attachment=📎
+# icon-old=🕰️
+# icon-replied=📝
+# icon-flagged=🚩
+# icon-deleted=🗑️
+# index-columns=date<=,name<20,flags>=,subject<*,notmuch>=
+# column-notmuch= \
+# {{- (map .Labels \
+# (exclude .Folder) \
+# (exclude "replied|passed|attachment|flagged|unread|draft") \
+# | join ",") -}}
+
+[statusline]
+
+[viewer]
+alternatives=text/html,text/plain
+
+[compose]
+
+[multipart-converters]
+
+[filters]
+text/plain=colorize
+text/calendar=calendar
+message/delivery-status=colorize
+message/rfc822=colorize
+text/html=! html
+.headers=colorize
+[openers]
+
+[hooks]
+
+[templates]
diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf
new file mode 100644
index 0000000..fdbf651
--- /dev/null
+++ b/.config/aerc/binds.conf
@@ -0,0 +1,194 @@
+# Binds are of the form <key sequence> = <command to run>
+# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
+# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
+<C-p> = :prev-tab<Enter>
+<C-PgUp> = :prev-tab<Enter>
+<C-n> = :next-tab<Enter>
+<C-PgDn> = :next-tab<Enter>
+\[t = :prev-tab<Enter>
+\]t = :next-tab<Enter>
+<C-t> = :term<Enter>
+? = :help keys<Enter>
+<C-c> = :prompt 'Quit?' quit<Enter>
+<C-q> = :prompt 'Quit?' quit<Enter>
+<C-z> = :suspend<Enter>
+O = :check-mail<Enter>
+
+[messages]
+q = :quit<Enter>
+
+j = :next<Enter>
+<Down> = :next<Enter>
+<C-d> = :next 50%<Enter>
+<C-f> = :next 100%<Enter>
+<PgDn> = :next 100%<Enter>
+
+k = :prev<Enter>
+<Up> = :prev<Enter>
+<C-u> = :prev 50%<Enter>
+<C-b> = :prev 100%<Enter>
+<PgUp> = :prev 100%<Enter>
+gg = :select 0<Enter>
+G = :select -1<Enter>
+gi = :cf INBOX<Enter>
+gs = :cf Sent<Enter>
+gt = :cf Trash<Enter>
+gd = :cf Drafts<Enter>
+gj = :cf Junk<Enter>
+
+J = :next-folder<Enter>
+<C-Down> = :next-folder<Enter>
+K = :prev-folder<Enter>
+<C-Up> = :prev-folder<Enter>
+H = :collapse-folder<Enter>
+<C-Left> = :collapse-folder<Enter>
+L = :expand-folder<Enter>
+<C-Right> = :expand-folder<Enter>
+
+v = :mark -t<Enter>
+<Space> = :mark -t<Enter>:next<Enter>
+V = :mark -v<Enter>
+
+T = :toggle-threads<Enter>
+zc = :fold<Enter>
+zo = :unfold<Enter>
+za = :fold -t<Enter>
+zM = :fold -a<Enter>
+zR = :unfold -a<Enter>
+<tab> = :fold -t<Enter>
+
+zz = :align center<Enter>
+zt = :align top<Enter>
+zb = :align bottom<Enter>
+
+<Enter> = :view<Enter>
+D = :move Trash<Enter>
+a = :archive flat<Enter>
+A = :unmark -a<Enter>:mark -T<Enter>:archive flat<Enter>
+
+C = :compose<Enter>
+m = :compose<Enter>
+
+b = :bounce<space>
+
+rr = :reply -a<Enter>
+rq = :reply -aq<Enter>
+Rr = :reply<Enter>
+Rq = :reply -q<Enter>
+
+c = :cf<space>
+$ = :term<space>
+! = :term<space>
+| = :pipe<space>
+
+/ = :search<space>
+\ = :filter<space>
+n = :next-result<Enter>
+N = :prev-result<Enter>
+<Esc> = :clear<Enter>
+
+s = :split<Enter>
+S = :vsplit<Enter>
+
+pl = :patch list<Enter>
+pa = :patch apply <Tab>
+pd = :patch drop <Tab>
+pb = :patch rebase<Enter>
+pt = :patch term<Enter>
+ps = :patch switch <Tab>
+
+[messages:folder=Drafts]
+<Enter> = :recall<Enter>
+
+[messages:folder=Trash]
+D = :delete-message<Enter>
+
+[view]
+/ = :toggle-key-passthrough<Enter>/
+q = :close<Enter>
+o = :open<Enter>
+S = :save<space>
+| = :pipe<space>
+D = :delete<Enter>
+A = :archive flat<Enter>
+
+<C-y> = :copy-link <space>
+<C-l> = :open-link <space>
+
+f = :forward<Enter>
+rr = :reply -a<Enter>
+rq = :reply -aq<Enter>
+Rr = :reply<Enter>
+Rq = :reply -q<Enter>
+
+H = :toggle-headers<Enter>
+<C-k> = :prev-part<Enter>
+<C-Up> = :prev-part<Enter>
+<C-j> = :next-part<Enter>
+<C-Down> = :next-part<Enter>
+J = :next<Enter>
+<C-Right> = :next<Enter>
+K = :prev<Enter>
+<C-Left> = :prev<Enter>
+
+[view::passthrough]
+$noinherit = true
+$ex = <C-x>
+<Esc> = :toggle-key-passthrough<Enter>
+
+[compose]
+# Keybindings used when the embedded terminal is not selected in the compose
+# view
+$noinherit = true
+$ex = <C-x>
+$complete = <C-o>
+<C-k> = :prev-field<Enter>
+<C-Up> = :prev-field<Enter>
+<C-j> = :next-field<Enter>
+<C-Down> = :next-field<Enter>
+<A-p> = :switch-account -p<Enter>
+<C-Left> = :switch-account -p<Enter>
+<A-n> = :switch-account -n<Enter>
+<C-Right> = :switch-account -n<Enter>
+<tab> = :next-field<Enter>
+<backtab> = :prev-field<Enter>
+<C-p> = :prev-tab<Enter>
+<C-PgUp> = :prev-tab<Enter>
+<C-n> = :next-tab<Enter>
+<C-PgDn> = :next-tab<Enter>
+
+[compose::editor]
+# Keybindings used when the embedded terminal is selected in the compose view
+$noinherit = true
+$ex = <C-x>
+<C-k> = :prev-field<Enter>
+<C-Up> = :prev-field<Enter>
+<C-j> = :next-field<Enter>
+<C-Down> = :next-field<Enter>
+<C-p> = :prev-tab<Enter>
+<C-PgUp> = :prev-tab<Enter>
+<C-n> = :next-tab<Enter>
+<C-PgDn> = :next-tab<Enter>
+
+[compose::review]
+# Keybindings used when reviewing a message to be sent
+# Inline comments are used as descriptions on the review screen
+y = :send<Enter> # Send
+n = :abort<Enter> # Abort (discard message, no confirmation)
+s = :sign<Enter> # Toggle signing
+x = :encrypt<Enter> # Toggle encryption to all recipients
+v = :preview<Enter> # Preview message
+p = :postpone<Enter> # Postpone
+q = :choose -o d discard abort -o p postpone postpone<Enter> # Abort or postpone
+e = :edit<Enter> # Edit (body and headers)
+a = :attach<space> # Add attachment
+d = :detach<space> # Remove attachment
+
+[terminal]
+$noinherit = true
+$ex = <C-x>
+
+<C-p> = :prev-tab<Enter>
+<C-n> = :next-tab<Enter>
+<C-PgUp> = :prev-tab<Enter>
+<C-PgDn> = :next-tab<Enter>
diff --git a/.config/aerc/gmail-map.conf b/.config/aerc/gmail-map.conf
new file mode 100644
index 0000000..cfb6b25
--- /dev/null
+++ b/.config/aerc/gmail-map.conf
@@ -0,0 +1 @@
+* = [Gmail]/*
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 247bd65..c5827a8 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -1,5 +1,5 @@
-monitor = DP-3, 3840x2160@165, 0x0, 1.5, bitdepth, 10
-# monitor = DP-3, 3840x2160@165, 0x0, 1.5
+# monitor = DP-3, 3840x2160@165, 0x0, 1.5, bitdepth, 10
+monitor = DP-3, 3840x2160@165, 0x0, 1.5
monitor = DP-2, 2560x1440@165, -2560x0, 1
$terminal = footclient
@@ -112,7 +112,8 @@ misc {
swallow_regex = ^(footclient)$
# background_color = rgb(1E2326)
background_color = rgb(4c566a)
- disable_hyprland_qtutils_check=true
+ disable_hyprland_qtutils_check = true
+ middle_click_paste = false
}
experimental {
@@ -169,7 +170,7 @@ bind = , Print, exec, grim pic-full-$(date '+%y%m%d-%H%M-%S').png
bind = SHIFT, Print, exec, maimpick
bind = $mainMod, Print, exec, dmenurecord
bind = $mainMod SHIFT, Print, exec, dmenurecord kill
-bind = $mainMod, E, exec, $terminal -T neomutt neomutt; pkill -RTMIN+12 waybar
+bind = $mainMod, E, exec, $terminal -T aerc aerc; pkill -RTMIN+12 waybar
bind = $mainMod, N, exec, linkhandler
bind = $mainMod SHIFT, N, exec, $terminal -T newsraft -e newsraft; pkill -RTMIN+6 waybar
bind = $mainMod SHIFT, R, exec, $terminal -e btop
@@ -191,6 +192,7 @@ bind = $mainMod SHIFT, minus, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%-;
bind = $mainMod, equal, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; pkill -RTMIN+10 waybar
bind = $mainMod SHIFT, equal, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%+; pkill -RTMIN+10 waybar
bind = $mainMod SHIFT, M, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; pkill -RTMIN+10 waybar
+bind = $mainMod, Tab, exec, chooseprofile
bind = $mainMod, F1, exec, singboxwrap menu
bind = $mainMod, F2, exec, killall waybar & hyprctl dispatch exec waybar
bind = $mainMod, F4, exec, $terminal -e pulsemixer
diff --git a/.config/shell/profile b/.config/shell/profile
index f3f6066..ebe7991 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -57,6 +57,7 @@ export KUBECONFIG="$XDG_CONFIG_HOME/kube/config"
export KUBECACHEDIR="$XDG_CACHE_HOME/kube"
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
export PASSWORD_STORE_CLIP_TIME=5
+export W3M_DIR="$XDG_STATE_HOME/w3m"
# Other program settings:
export DICS="/usr/share/stardict/dic/"
@@ -80,16 +81,10 @@ export MOZ_DISABLE_RDD_SANDBOX=1 # For HW in Firefox on nvidia gpu
export ELECTRON_OZONE_PLATFORM_HINT=auto # Electron fix
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 # Disables decorations for QT applications
export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS \
---color=fg:#D3C6AA:regular
---color=fg+:#2D353B:regular
---color=hl:#A7C080:bold
---color=hl+:#2D353B:bold
---color=bg+:#A7C080
---color=gutter:-1
---color=prompt:#3D484D
---color=pointer:#A7C080
---color=scrollbar:#7A8478
---color=preview-label:#859289
+--color=fg:#e5e9f0,bg:-1,hl:#81a1c1
+--color=fg+:#e5e9f0,bg+:#3b4252,hl+:#81a1c1
+--color=info:#eacb8a,prompt:#bf6069,pointer:#b48dac
+--color=marker:#a3be8b,spinner:#b48dac,header:#a3be8b
--cycle
--scroll-off=8
--tabstop=4
@@ -105,7 +100,7 @@ export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS \
--bind=resize:refresh-preview
"
export YT_X_FZF_OPTS="$FZF_DEFAULT_OPTS"
-export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#767676"
+# export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#767676"
export BAT_THEME="Nord"
export GTK_USE_PORTAL=1
export ENABLE_HDR_WSI=1
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index a8eb398..0107eba 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -4,6 +4,7 @@
font-family: monospace;
font-size: 15px;
border: none;
+ border-radius: 0px;
}
window#waybar {
@@ -11,11 +12,6 @@ window#waybar {
color: @text;
}
-/* window#waybar>* { */
-/* margin-top: 4px; */
-/* margin-bottom: 4px; */
-/* } */
-
window#waybar.hidden {
opacity: 0.2;
}