Browse Source

fix fish, add searches and improve kanshi

main
lelgenio 2 months ago
parent
commit
6c1a0dd551
4 changed files with 22 additions and 15 deletions
  1. +1
    -0
      .gitignore
  2. +12
    -11
      dotfiles/fish.fish
  3. +2
    -0
      dotfiles/qutebrowser.py
  4. +7
    -4
      dotfiles/sway.conf

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
__pycache__

+ 12
- 11
dotfiles/fish.fish 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{{{


+ 2
- 0
dotfiles/qutebrowser.py 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.


+ 7
- 4
dotfiles/sway.conf 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'


Loading…
Cancel
Save