terminal - send command to every running instance of urxvt -
terminal - send command to every running instance of urxvt -
i'm trying write script alter color scheme of running terminals (im using urxvt). thought have keyboard shortcut switch between lite , dark solarized themes. far tried dynamic-colors script https://github.com/sos4nt/dynamic-colors , works expected, can alter between lite , dark solarized colors of running terminal. thinking maybe execute command in every running instance of urxvt, have no thought how acomplish that. please share suggestions how tackle main problem (creating script alter colorscheme of running terminals).
currently i'm using dynamic-colors script https://github.com/sos4nt/dynamic-colors , bit of python code changes terminals lite or dark (version)
pts = os.listdir('/dev/pts/') each_pts in pts: if is_number(each_pts): subprocess.call('echo "`.dynamic-colors/bin/dynamic-colors switch solarized-{0}`" > /dev/pts/{1}'.format(version,each_pts), shell=true)
terminal
Comments
Post a Comment