[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
talk:howtos:window_managers:keyboard_layout_in_i3 [2014/04/16 01:12 (UTC)] 23.74.9.221talk:howtos:window_managers:keyboard_layout_in_i3 [2014/04/16 01:14 (UTC)] 23.74.9.221
Line 23: Line 23:
             LG=$(xkblayout-state print %s)             LG=$(xkblayout-state print %s)
             dat=" [{\"name\":\"layout\",\"full_text\":\"$LG\"}"             dat=" [{\"name\":\"layout\",\"full_text\":\"$LG\"}"
-            #echo "${line/\]/$dat}" || exit 1 +            echo "${line/[{/$dat,{}" || exit 1
-            echo "${line/[{/$dat,{}"+
     done     done
  
-NOTE: the original script that uses $!/bin/sh fails on some systems+NOTE: the original script that uses #!/bin/sh fails on some systems
 where the default shell is not bash where the default shell is not bash
  
  
 talk:howtos:window_managers:keyboard_layout_in_i3 ()