sergei-mironov / xkb-switch

Switch your X keyboard layouts from the command line
MIT License
345 stars 37 forks source link

used optarg for arguments #56

Closed sonuishaq67 closed 3 years ago

sonuishaq67 commented 3 years ago

related to #53

used optarg for parsing arguments removed int i created a string temp because optarg wasn't a string and couldn't check if it was empty (works fine now)