mb-places hidden files

master
Daniel Napora 2022-09-20 23:15:44 +02:00
parent 9a7105adba
commit a37808d5a2
2 changed files with 14 additions and 15 deletions

View File

@ -1,6 +1,5 @@
#!/bin/bash
#TODO Reset to defaults
TINT2PATH="$HOME/.config/tint2"
TINT2RC="$TINT2PATH/tint2rc"
@ -220,21 +219,21 @@ qactions () {
out2+=("^tag(ppos$i)")
out2+=("^sep($POSITION)")
out2+=("^sep($HORIZONTAL)")
out2+=("$TOP,t2ctl position tch ${TINT};$me")
out2+=("$BOTTOM,t2ctl position bch ${TINT};$me")
out2+=("$TOP,t2ctl position tch ${TINT};$me")
out2+=("$BOTTOM,t2ctl position bch ${TINT};$me")
out2+=("^sep()")
out2+=("$TOPLEFT,t2ctl position tlh ${TINT};$me")
out2+=("$TOPRIGHT,t2ctl position trh ${TINT};$me")
out2+=("$BOTTOMLEFT,t2ctl position blh ${TINT};$me")
out2+=("$BOTTOMRIGHT,t2ctl position brh ${TINT};$me")
out2+=("$TOPLEFT,t2ctl position tlh ${TINT};$me")
out2+=("$TOPRIGHT,t2ctl position trh ${TINT};$me")
out2+=("$BOTTOMLEFT,t2ctl position blh ${TINT};$me")
out2+=("$BOTTOMRIGHT,t2ctl position brh ${TINT};$me")
out2+=("^sep($VERTICAL)")
out2+=("$LEFT,t2ctl position clv ${TINT};$me")
out2+=("$RIGHT,t2ctl position crv ${TINT};$me")
out2+=("$LEFT,t2ctl position clv ${TINT};$me")
out2+=("$RIGHT,t2ctl position crv ${TINT};$me")
out2+=("^sep()")
out2+=("$TOPLEFT,t2ctl position tlv ${TINT};$me")
out2+=("$TOPRIGHT,t2ctl position trv ${TINT};$me")
out2+=("$BOTTOMLEFT,t2ctl position blv ${TINT};$me")
out2+=("$BOTTOMRIGHT,t2ctl position brv ${TINT};$me")
out2+=("$TOPLEFT,t2ctl position tlv ${TINT};$me")
out2+=("$TOPRIGHT,t2ctl position trv ${TINT};$me")
out2+=("$BOTTOMLEFT,t2ctl position blv ${TINT};$me")
out2+=("$BOTTOMRIGHT,t2ctl position brv ${TINT};$me")
out2+=("^tag(pwidth$i)")
out2+=("^sep($SIZE)")
out2+=("100%,t2ctl width 100% ${TINT};$me")

View File

@ -9,7 +9,7 @@ case $LANG in
LABEL="Miejsca"
ROOTDIR="Katalog główny"
HOME_DIR="Katalog domowy"
SHOW_HIDDEN="Wyświetlanie ukrytych"
SHOW_HIDDEN="Wyświetlanie ukrytych plików"
EDIT="Edytuj"
FILETOOLS="Narzędzia plikowe"
INST="Instaluj"
@ -52,7 +52,7 @@ fi
mapfile -t out < "$PLACES"
out+=("^sep()")
#[[ $jgbrowser_show_hidden = false ]] && out+=("<i><s>$SHOW_HIDDEN</s></i>,mb-setvar jgbrowser_show_hidden=true") || out+=("$SHOW_HIDDEN,mb-setvar jgbrowser_show_hidden=false")
[[ $jgbrowser_show_hidden = false ]] && out+=("<i><s>$SHOW_HIDDEN</s></i>,mb-setvar jgbrowser_show_hidden=true;mb-places -s") || out+=("$SHOW_HIDDEN,mb-setvar jgbrowser_show_hidden=false;mb-places -s")
out+=("$EDIT $LABEL,xdg-open $PLACES,geany")
out+=("^sep($FILETOOLS)")