superclick update
parent
0a48fc1815
commit
95995abb14
|
@ -28,7 +28,7 @@ cat <<EOF > ${CONFIG_FILE}
|
|||
gap=16
|
||||
# Outer gap (disable if you use WM margins)
|
||||
show_outer_gap=true
|
||||
# Only for clicksnap (mouse) action
|
||||
# Only for mouse action
|
||||
activate_window=false
|
||||
EOF
|
||||
fi
|
||||
|
@ -197,13 +197,13 @@ EOF
|
|||
trainer(){
|
||||
case "$LANG" in
|
||||
pl*)
|
||||
TITLE="Trener Superclick"
|
||||
MOUSE="przytrzymaj klawisz <kbd>super</kbd> i kliknij w wybrany obszar okna<br /><br /><em>...kolejne kliknięcia zmieniają rozmiar</em>"
|
||||
TITLE="Trener SuperClick"
|
||||
MOUSE="przytrzymaj klawisz <kbd>super</kbd> i kliknij w wybrany obszar okna<br /><br /><em>...kolejne kliknięcia zmieniają rozmiar</em><br /><br /><a href='run://jgdeskgrid -s'><button type='button'> Konfiguruj ...</button></a>"
|
||||
KEYB="<em>z klawiatury: Super + KP_1..9</em>"
|
||||
;;
|
||||
*)
|
||||
TITLE="SuperClick trainer"
|
||||
MOUSE="hold <kbd>Super</kbd> key and click in appropriate area<br />of any window<br /><br /><em>...subsequent clicks change the size</em>"
|
||||
MOUSE="hold <kbd>Super</kbd> key and click in appropriate area<br />of any window<br /><br /><em>...subsequent clicks change the size</em><br /><br /><a href='run://jgdeskgrid -s'><button type='button'> Configure ...</button></a>"
|
||||
KEYB="<em>with keyboard: Super + KP_1..9</em>"
|
||||
;;
|
||||
esac
|
||||
|
@ -217,7 +217,7 @@ cat <<EOF > ${HTML_FILE}
|
|||
<style>
|
||||
body{padding:0;margin:0;}
|
||||
#grid {display: grid;grid-template-columns: auto auto auto;gap: 1px;background-color: #113344;padding: 1px;height:100vh;}
|
||||
#grid > div {background-color: rgba(255, 255, 255, 0.8);color: #113344;text-align: center;font-size: 20vh;line-height: 33vh;transition:0.3s;}
|
||||
#grid > div {background-color: rgba(255, 255, 255, 0.8);color: #113344;text-align: center;font-size: 16vh;line-height: 33vh;transition:0.3s;}
|
||||
#grid > div.txt {text-align: center;position:relative;}
|
||||
#grid > div.txt p {position:absolute;top:0;left:0;font-size: 2.8vh;line-height: 3.2vh;width:100%;color: #222222;}
|
||||
#grid > div.txt:hover p {color: #EEEEEE;}
|
||||
|
|
Loading…
Reference in New Issue