Skip to content
/ xinp Public

Popup command input like i3-input but with more customizability and Xresources support

Notifications You must be signed in to change notification settings

7aske/xinp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xinp

Popup command prompt just like i3-input but with more customizability and Xresources support

Installation

make && make install

Usage example

From command line

xinp -F "Input goes here -> %s"

and after typing here and confirming the input you get

xinp -F "Input goes -> %s" # Input goes -> here

Changing font and prompt

xinp -f Inconsolata -p "cmd:"

Changing colors

xinp --bg 000000 --fg ffffff

With i3

As an arbitrary workspace switcher

bindsym $mod+s       exec --no-startup-id xinp --i3 -f Inconsolata -l 1 -p 'workspace: ' -F 'workspace %s'
bindsym $mod+Ctrl+s  exec --no-startup-id xinp --i3 -f Inconsolata -l 1 -p 'workspace: ' -F 'move container to workspace %s'
bindsym $mod+Shift+s exec --no-startup-id xinp --i3 -f Inconsolata -l 1 -p 'workspace: ' -F 'move container to workspace %s, workspace %s'

Development setup

Requires:

  • gcc
  • cmake
  • X11
  • Xft
make
./cmake-build-debug/xinp

Author

Nikola Tasić – [email protected]

7aske.com

https://github.com/7aske

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Popup command input like i3-input but with more customizability and Xresources support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published