fix fish, add searches and improve kanshi

This commit is contained in:
lelgenio 2020-07-14 18:54:01 -03:00
parent 6ae8b57a35
commit 89aca822df
4 changed files with 22 additions and 15 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
__pycache__

View File

@ -50,7 +50,7 @@ command -qs bat &&
alias cat bat
command -qs khard &&
khal list now 10d --format " {title}"
alias fish_greeting='khal list now 10d --format " {title}"'
abbr gs git status
abbr gp 'git pull; git push'
@ -111,16 +111,17 @@ end
#}}}
# start window manager if using tty1 {{{
#
function esway
clear
# export XDG_CURRENT_DESKTOP=Unity
pgrep sway || exec sway
end
if test "$XDG_VTNR" = 1 -a -z "$DISPLAY"
esway &> .swaylog
# ei3 &> .i3log
# ebsp &> .bsplog
end
function esway
clear
# export XDG_CURRENT_DESKTOP=Unity
pgrep sway || exec sway
end
if test "$XDG_VTNR" = 1 -a -z "$DISPLAY"
esway &> .swaylog
# ei3 &> .i3log
# ebsp &> .bsplog
end
# }}}
# use tmux{{{

View File

@ -228,6 +228,8 @@ c.url.searchengines = {
"!aw": "wiki.archlinux.org?search={}",
"!w": "pt.wikipedia.org/w?search={}",
"!au": "aur.archlinux.org/packages/?K={}",
"!alt": "alternativeto.net/browse/search?q={}",
"!gw": "https://wiki.gentoo.org/?search={}"
}
# Page(s) to open at the start.

View File

@ -94,7 +94,7 @@
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload; exec pkill kanshi && kanshi
bindsym $mod+Shift+c reload
# Lock Sway
bindsym $mod+Control+$suspend exec loginctl suspend
@ -257,13 +257,16 @@
client.urgent $alert $alert $fg_color $alert $alert
{%@@ if bar == "waybar" @@%}
# Wake up pulseaudio
exec pactl set-sink-volume @DEFAULT_SINK@ +0%
bar swaybar_command waybar
{%@@ else @@%}
bar {
position {{@@ bar_pos @@}}
status_command i3blocks
# status_command i3blocks
gaps 5px
# gaps 5px
icon_theme Papirus
font {{@@ font.interface @@}} 14px
@ -309,7 +312,7 @@
# Block device Mounter to /run/media/<username>
exec udiskie
# Screen manager
exec kanshi
exec_always pkill kanshi; exec kanshi
# gesture daemon
exec fusuma
# exec sh -c 'pkill fusuma; fusuma'