From 819bdd2eae7d8590e25eb2fd574532b6114a9307 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 6 Dec 2020 11:39:02 +0200 Subject: [PATCH] Small fixes --- home/.config/neomutt/accounts/marko@korhonen.cc | 9 +++++++++ home/.config/neomutt/neomuttrc | 9 +++++++++ home/.config/nvimpager/init.vim | 1 - home/.config/sway/conf.d/01-vars.conf | 2 +- home/.config/sway/conf.d/06-keybinds.conf | 8 ++++++-- home/.config/sway/conf.d/08-exec.conf | 4 ++-- root/etc/systemd/timesyncd.conf | 3 --- 7 files changed, 27 insertions(+), 9 deletions(-) create mode 100644 home/.config/neomutt/accounts/marko@korhonen.cc create mode 100644 home/.config/neomutt/neomuttrc delete mode 100644 root/etc/systemd/timesyncd.conf diff --git a/home/.config/neomutt/accounts/marko@korhonen.cc b/home/.config/neomutt/accounts/marko@korhonen.cc new file mode 100644 index 00000000..d054f631 --- /dev/null +++ b/home/.config/neomutt/accounts/marko@korhonen.cc @@ -0,0 +1,9 @@ +# vim: filetype=neomuttrc + +set folder = ~/.mail/marko@korhonen.cc +set spoolfile = +INBOX +set postponed = +Drafts +set record = +Sent + +set realname='Marko Korhonen' +set from=marko@korhonen.cc diff --git a/home/.config/neomutt/neomuttrc b/home/.config/neomutt/neomuttrc new file mode 100644 index 00000000..f37ec331 --- /dev/null +++ b/home/.config/neomutt/neomuttrc @@ -0,0 +1,9 @@ +# vim: filetype=neomuttrc + +## General options +set header_cache = "~/.cache/neomutt" +set mbox_type=Maildir + +# Accounts +source "~/.config/neomutt/accounts/marko@korhonen.cc" +folder-hook $folder 'source ~/.config/neomutt/accounts/marko@korhonen.cc' diff --git a/home/.config/nvimpager/init.vim b/home/.config/nvimpager/init.vim index e963c9aa..76dd80bb 100644 --- a/home/.config/nvimpager/init.vim +++ b/home/.config/nvimpager/init.vim @@ -8,4 +8,3 @@ set runtimepath+=~/.config/nvim/plugged/vim-polyglot source ~/.config/nvim/conf.d/02-appearance.vim source ~/.config/nvim/conf.d/03-keybinds.vim source ~/.config/nvim/conf.d/06-misc.vim -source ~/.config/nvim/conf.d/07-clipboardfix.vim diff --git a/home/.config/sway/conf.d/01-vars.conf b/home/.config/sway/conf.d/01-vars.conf index 2736d7e0..5bc7c612 100644 --- a/home/.config/sway/conf.d/01-vars.conf +++ b/home/.config/sway/conf.d/01-vars.conf @@ -3,5 +3,5 @@ set $mod Mod4 set $term alacritty set $gnome-schema org.gnome.desktop.interface -set $wallpaper ~/pictures/Wallpapers/random/$(ls ~/Pictures/Wallpapers/random | sort -R | tail -n 1) +set $wallpaper ~/pictures/Wallpapers/random/$(ls ~/pictures/Wallpapers/random | sort -R | tail -n 1) set $scripts ~/.config/sway/scripts diff --git a/home/.config/sway/conf.d/06-keybinds.conf b/home/.config/sway/conf.d/06-keybinds.conf index 0e44439b..d0ad336a 100644 --- a/home/.config/sway/conf.d/06-keybinds.conf +++ b/home/.config/sway/conf.d/06-keybinds.conf @@ -54,11 +54,15 @@ bindsym --locked XF86Search output eDP-1 toggle # FZF # exit menu bindsym $mod+Shift+e exec $term --class fzf-launcher -e $scripts/exit.sh +# password manager +bindsym $mod+p exec $term --class fzf-launcher --title "FZF pass" -e sh -c fzf-pass + # launch a program bindsym $mod+d exec wofi bindsym $mod+Shift+d exec wofi --show run -# password manager -bindsym $mod+p exec $term --class fzf-launcher --title "FZF pass" -e sh -c fzf-pass + +# manage clipboard +bindsym $mod+c exec clipman pick -t wofi # manage notifications bindsym $mod+Backspace exec makoctl invoke diff --git a/home/.config/sway/conf.d/08-exec.conf b/home/.config/sway/conf.d/08-exec.conf index f6f9633e..f8d685a8 100644 --- a/home/.config/sway/conf.d/08-exec.conf +++ b/home/.config/sway/conf.d/08-exec.conf @@ -7,9 +7,9 @@ exec { telegram-desktop /usr/lib/kdeconnectd kdeconnect-indicator - thunderbird mako - wl-paste -t text --watch clipman store 1>> ~/.log/clipman 2>&1 & + wl-paste -t text --watch clipman store --notify 1>> ~/.log/clipman 2>&1 + wl-paste -p -t text --watch clipman store -P --histpath="~/.local/share/clipman-primary.json" mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 gnome-keyring-daemon --start --components=secrets diff --git a/root/etc/systemd/timesyncd.conf b/root/etc/systemd/timesyncd.conf deleted file mode 100644 index e1aac332..00000000 --- a/root/etc/systemd/timesyncd.conf +++ /dev/null @@ -1,3 +0,0 @@ -[Time] -NTP=0.arch.pool.ntp.org -FallbackNTP=0.pfsense.pool.ntp.org