From dc1fbe8f36b71d3742ec18fcd6aa7adb969bf499 Mon Sep 17 00:00:00 2001 From: 53hornet Date: Fri, 6 Aug 2021 22:46:40 -0400 Subject: aliases, functions, mutt config, i3 template --- .config/i3/config | 56 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 25 deletions(-) (limited to '.config/i3/config') diff --git a/.config/i3/config b/.config/i3/config index 5ff0929..88b7cde 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -53,13 +53,13 @@ bindsym $mod+shift+0 move container to workspace $ws10 ## COLORS # base colors -- set by WPG -set $coloract "#3b659f" -set $colorin "#28456d" -set_from_resource $color0 i3wm.color0 "#0a0b0a" -set_from_resource $color15 i3wm.color15 "#fffefe" -set_from_resource $color8 i3wm.color8 "#212521" -set_from_resource $coloru i3wm.color2 "#778655" -set_from_resource $split i3wm.color10 "#a0bc60" +set $coloract "#344cc1" +set $colorin "#243484" +set_from_resource $color0 i3wm.color0 "#02031E" +set_from_resource $color15 i3wm.color15 "#eef3ff" +set_from_resource $color8 i3wm.color8 "#03064e" +set_from_resource $coloru i3wm.color2 "#565463" +set_from_resource $split i3wm.color10 "#67618c" # class border backgr text indicator child_border client.background $color0 @@ -118,19 +118,20 @@ bindsym $mod+space focus mode_toggle bindsym $mod+shift+F1 exec firefox /usr/local/share/doc/freebsd/handbook/book.html bindsym $mod+F2 exec firefox bindsym $mod+shift+F2 exec firefox --private-window -#bindsym $mod+F3 exec alacritty -e zsh -i -c "vifm ~ ~/downloads" -bindsym $mod+F4 exec alacritty -t "Reading Email" -e sh -i -c 'OLDPWD="$PWD" && cd ~/downloads/ && mutt && cd "$OLDPWD"' && mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks -bindsym $mod+F5 exec alacritty -t "Reading News" -e zsh -i -c newsboat && pkill -78 i3blocks -bindsym $mod+F6 exec --no-startup-id url_handler.sh -bindsym $mod+F7 exec --no-startup-id dict.sh -bindsym $mod+F8 exec "pkill pwcview || exec pwcview -f 30 -s sif" -bindsym $mod+shift+F8 exec --no-startup-id toggle-screencast.sh -bindsym $mod+F9 exec --no-startup-id abraham-porter.sh -bindsym $mod+shift+F9 exec --no-startup-id "killall picom || exec picom" -bindsym $mod+F10 exec xautolock -toggle -bindsym $mod+F11 exec dockd.sh dock -bindsym $mod+shift+F11 exec dockd.sh undock -bindsym $mod+shift+F12 exec alacritty -e zsh -i -c mixertui && pkill -75 i3blocks +bindsym $mod+F3 exec url_handler.sh +bindsym $mod+F4 exec alacritty -e zsh -i -c 'OLDPWD="$PWD" && cd ~/downloads/ && mutt && cd "$OLDPWD"' && mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks && notify-send 'Email syncd' +bindsym $mod+shift+F4 exec mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks && notify-send 'Email syncd' +bindsym $mod+F5 exec alacritty -e zsh -i -c 'newsboat && pkill -78 i3blocks' +bindsym $mod+F6 exec --no-startup-id dict.sh +#bindsym $mod+F7 exec +#bindsym $mod+F8 exec "killall pwcview || exec pwcview -f 30 -s sif" +#bindsym $mod+shift+F8 exec --no-startup-id toggle-screencast.sh +#bindsym $mod+F9 exec --no-startup-id abraham-porter.sh +#bindsym $mod+shift+F9 exec --no-startup-id "killall picom || exec picom" +#bindsym $mod+F10 exec xautolock -toggle +#bindsym $mod+F11 exec dockd.sh dock +#bindsym $mod+shift+F11 exec dockd.sh undock +#bindsym $mod+shift+F12 exec alacritty -e zsh -i -c mixertui && pkill -75 i3blocks bindsym $mod+Return split horizontal; exec alacritty bindsym $mod+shift+Return split vertical; exec alacritty bindsym $mod+shift+Insert exec $locker @@ -140,6 +141,9 @@ bindsym --release Print exec import -window root ~/Nextcloud/InstantUpload/Scr bindsym --release shift+Print exec import ~/Nextcloud/InstantUpload/Screenshots/`date +"%Y-%m-%d-%H-%M-%S"`.png bindsym --release $mod+Print exec import ~/Nextcloud/InstantUpload/Screenshots/`date +"%Y-%m-%d-%H-%M-%S"`.png bindsym Mod4+p exec nvidia-settings +bindsym $mod+F10 exec --no-startup-id mixer vol 0 && $sigaudio +bindsym $mod+F11 exec --no-startup-id mixer vol -5 && $sigaudio +bindsym $mod+F12 exec --no-startup-id mixer vol +5 && $sigaudio bindsym XF86AudioLowerVolume exec --no-startup-id mixer vol -5 && $sigaudio bindsym XF86AudioMute exec --no-startup-id mixer vol 0 && $sigaudio bindsym XF86AudioRaiseVolume exec --no-startup-id mixer vol +5 && $sigaudio @@ -183,8 +187,8 @@ mode "$mode_help" { } bindsym $mod+Insert mode "$mode_system" -bindsym $mod+F1 mode "$mode_help" -bindsym $mod+F12 mode "$mode_volume" +#bindsym $mod+F1 mode "$mode_help" +#bindsym $mod+F12 mode "$mode_volume" ## BARS bar { @@ -207,12 +211,14 @@ bar { ## DEFAULT PLACEMENT for_window [class = "Wpg"] floating enable -for_window [title = "Reading Email"] floating enable -for_window [title = "Reading News"] floating enable +for_window [title = "x64"] floating enable for_window [title = "Streaming from YouTube"] floating enable; sticky enable for_window [title = "pwcview"] border pixel 1; floating enable; sticky enable; move position 1598px 808px -for_window [title = "sxiv"] floating enable +#for_window [title = "sxiv"] floating enable ## STARTUP +exec --no-startup-id picom +exec --no-startup-id dunst +exec --no-startup-id ~/.local/scripts/dockd.sh exec firefox exec nextcloud -- cgit v1.2.3