dmenuunicode: fix script
This commit is contained in:
parent
dd3d515dd6
commit
791645f1c3
3 changed files with 13375 additions and 263 deletions
common/.local
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# The famous "get a menu of emojis to copy" script.
|
||||
emoji_json="${XDG_DATA_HOME}/emoji.json"
|
||||
|
||||
# Get user selection via dmenu from emoji file.
|
||||
chosen=$(cut -d' ' -f1 ~/.local/share/emoji | dmenu -i -l 30 | sed "s/ .*//")
|
||||
chosen=$(jq -r '.[] | [.emoji, .name] | join(" ")' "$emoji_json" | dmenu -i -l 30 | sed "s/ .*$//")
|
||||
|
||||
# Exit if none chosen.
|
||||
[ -z "$chosen" ] && exit
|
||||
|
|
|
@ -1,261 +0,0 @@
|
|||
🇦🇨 Ascension Island
|
||||
🇦🇩 Andorra
|
||||
🇦🇪 United Arab Emirates
|
||||
🇦🇫 Afghanistan
|
||||
🇦🇬 Antigua & Barbuda
|
||||
🇦🇮 Anguilla
|
||||
🇦🇱 Albania
|
||||
🇦🇲 Armenia
|
||||
🇦🇴 Angola
|
||||
🇦🇶 Antarctica
|
||||
🇦🇷 Argentina
|
||||
🇦🇸 American Samoa
|
||||
🇦🇹 Austria
|
||||
🇦🇺 Australia
|
||||
🇦🇼 Aruba
|
||||
🇦🇽 Åland Islands
|
||||
🇦🇿 Azerbaijan
|
||||
🇧🇦 Bosnia & Herzegovina
|
||||
🇧🇧 Barbados
|
||||
🇧🇩 Bangladesh
|
||||
🇧🇪 Belgium
|
||||
🇧🇫 Burkina Faso
|
||||
🇧🇬 Bulgaria
|
||||
🇧🇭 Bahrain
|
||||
🇧🇮 Burundi
|
||||
🇧🇯 Benin
|
||||
🇧🇱 St. Barthélemy
|
||||
🇧🇲 Bermuda
|
||||
🇧🇳 Brunei
|
||||
🇧🇴 Bolivia
|
||||
🇧🇶 Caribbean Netherlands
|
||||
🇧🇷 Brazil
|
||||
🇧🇸 Bahamas
|
||||
🇧🇹 Bhutan
|
||||
🇧🇻 Bouvet Island
|
||||
🇧🇼 Botswana
|
||||
🇧🇾 Belarus
|
||||
🇧🇿 Belize
|
||||
🇨🇦 Canada
|
||||
🇨🇨 Cocos (Keeling) Islands
|
||||
🇨🇩 Congo - Kinshasa
|
||||
🇨🇫 Central African Republic
|
||||
🇨🇬 Congo - Brazzaville
|
||||
🇨🇭 Switzerland
|
||||
🇨🇮 Côte d’Ivoire
|
||||
🇨🇰 Cook Islands
|
||||
🇨🇱 Chile
|
||||
🇨🇲 Cameroon
|
||||
🇨🇳 China
|
||||
🇨🇴 Colombia
|
||||
🇨🇵 Clipperton Island
|
||||
🇨🇷 Costa Rica
|
||||
🇨🇺 Cuba
|
||||
🇨🇻 Cape Verde
|
||||
🇨🇼 Curaçao
|
||||
🇨🇽 Christmas Island
|
||||
🇨🇾 Cyprus
|
||||
🇨🇿 Czechia
|
||||
🇩🇪 Germany
|
||||
🇩🇬 Diego Garcia
|
||||
🇩🇯 Djibouti
|
||||
🇩🇰 Denmark
|
||||
🇩🇲 Dominica
|
||||
🇩🇴 Dominican Republic
|
||||
🇩🇿 Algeria
|
||||
🇪🇦 Ceuta & Melilla
|
||||
🇪🇨 Ecuador
|
||||
🇪🇪 Estonia
|
||||
🇪🇬 Egypt
|
||||
🇪🇭 Western Sahara
|
||||
🇪🇷 Eritrea
|
||||
🇪🇸 Spain
|
||||
🇪🇹 Ethiopia
|
||||
🇪🇺 European Union
|
||||
🇫🇮 Finland
|
||||
🇫🇯 Fiji
|
||||
🇫🇰 Falkland Islands
|
||||
🇫🇲 Micronesia
|
||||
🇫🇴 Faroe Islands
|
||||
🇫🇷 France
|
||||
🇬🇦 Gabon
|
||||
🇬🇧 United Kingdom
|
||||
🇬🇩 Grenada
|
||||
🇬🇪 Georgia
|
||||
🇬🇫 French Guiana
|
||||
🇬🇬 Guernsey
|
||||
🇬🇭 Ghana
|
||||
🇬🇮 Gibraltar
|
||||
🇬🇱 Greenland
|
||||
🇬🇲 Gambia
|
||||
🇬🇳 Guinea
|
||||
🇬🇵 Guadeloupe
|
||||
🇬🇶 Equatorial Guinea
|
||||
🇬🇷 Greece
|
||||
🇬🇸 South Georgia & South Sandwich Islands
|
||||
🇬🇹 Guatemala
|
||||
🇬🇺 Guam
|
||||
🇬🇼 Guinea-Bissau
|
||||
🇬🇾 Guyana
|
||||
🇭🇰 Hong Kong SAR China
|
||||
🇭🇲 Heard & McDonald Islands
|
||||
🇭🇳 Honduras
|
||||
🇭🇷 Croatia
|
||||
🇭🇹 Haiti
|
||||
🇭🇺 Hungary
|
||||
🇮🇨 Canary Islands
|
||||
🇮🇩 Indonesia
|
||||
🇮🇪 Ireland
|
||||
🇮🇱 Israel
|
||||
🇮🇲 Isle of Man
|
||||
🇮🇳 India
|
||||
🇮🇴 British Indian Ocean Territory
|
||||
🇮🇶 Iraq
|
||||
🇮🇷 Iran
|
||||
🇮🇸 Iceland
|
||||
🇮🇹 Italy
|
||||
🇯🇪 Jersey
|
||||
🇯🇲 Jamaica
|
||||
🇯🇴 Jordan
|
||||
🇯🇵 Japan
|
||||
🇰🇪 Kenya
|
||||
🇰🇬 Kyrgyzstan
|
||||
🇰🇭 Cambodia
|
||||
🇰🇮 Kiribati
|
||||
🇰🇲 Comoros
|
||||
🇰🇳 St. Kitts & Nevis
|
||||
🇰🇵 North Korea
|
||||
🇰🇷 South Korea
|
||||
🇰🇼 Kuwait
|
||||
🇰🇾 Cayman Islands
|
||||
🇰🇿 Kazakhstan
|
||||
🇱🇦 Laos
|
||||
🇱🇧 Lebanon
|
||||
🇱🇨 St. Lucia
|
||||
🇱🇮 Liechtenstein
|
||||
🇱🇰 Sri Lanka
|
||||
🇱🇷 Liberia
|
||||
🇱🇸 Lesotho
|
||||
🇱🇹 Lithuania
|
||||
🇱🇺 Luxembourg
|
||||
🇱🇻 Latvia
|
||||
🇱🇾 Libya
|
||||
🇲🇦 Morocco
|
||||
🇲🇨 Monaco
|
||||
🇲🇩 Moldova
|
||||
🇲🇪 Montenegro
|
||||
🇲🇫 St. Martin
|
||||
🇲🇬 Madagascar
|
||||
🇲🇭 Marshall Islands
|
||||
🇲🇰 North Macedonia
|
||||
🇲🇱 Mali
|
||||
🇲🇲 Myanmar (Burma)
|
||||
🇲🇳 Mongolia
|
||||
🇲🇴 Macao SAR China
|
||||
🇲🇵 Northern Mariana Islands
|
||||
🇲🇶 Martinique
|
||||
🇲🇷 Mauritania
|
||||
🇲🇸 Montserrat
|
||||
🇲🇹 Malta
|
||||
🇲🇺 Mauritius
|
||||
🇲🇻 Maldives
|
||||
🇲🇼 Malawi
|
||||
🇲🇽 Mexico
|
||||
🇲🇾 Malaysia
|
||||
🇲🇿 Mozambique
|
||||
🇳🇦 Namibia
|
||||
🇳🇨 New Caledonia
|
||||
🇳🇪 Niger
|
||||
🇳🇫 Norfolk Island
|
||||
🇳🇬 Nigeria
|
||||
🇳🇮 Nicaragua
|
||||
🇳🇱 Netherlands
|
||||
🇳🇴 Norway
|
||||
🇳🇵 Nepal
|
||||
🇳🇷 Nauru
|
||||
🇳🇺 Niue
|
||||
🇳🇿 New Zealand
|
||||
🇴🇲 Oman
|
||||
🇵🇦 Panama
|
||||
🇵🇪 Peru
|
||||
🇵🇫 French Polynesia
|
||||
🇵🇬 Papua New Guinea
|
||||
🇵🇭 Philippines
|
||||
🇵🇰 Pakistan
|
||||
🇵🇱 Poland
|
||||
🇵🇲 St. Pierre & Miquelon
|
||||
🇵🇳 Pitcairn Islands
|
||||
🇵🇷 Puerto Rico
|
||||
🇵🇸 Palestinian Territories
|
||||
🇵🇹 Portugal
|
||||
🇵🇼 Palau
|
||||
🇵🇾 Paraguay
|
||||
🇶🇦 Qatar
|
||||
🇷🇪 Réunion
|
||||
🇷🇴 Romania
|
||||
🇷🇸 Serbia
|
||||
🇷🇺 Russia
|
||||
🇷🇼 Rwanda
|
||||
🇸🇦 Saudi Arabia
|
||||
🇸🇧 Solomon Islands
|
||||
🇸🇨 Seychelles
|
||||
🇸🇩 Sudan
|
||||
🇸🇪 Sweden
|
||||
🇸🇬 Singapore
|
||||
🇸🇭 St. Helena
|
||||
🇸🇮 Slovenia
|
||||
🇸🇯 Svalbard & Jan Mayen
|
||||
🇸🇰 Slovakia
|
||||
🇸🇱 Sierra Leone
|
||||
🇸🇲 San Marino
|
||||
🇸🇳 Senegal
|
||||
🇸🇴 Somalia
|
||||
🇸🇷 Suriname
|
||||
🇸🇸 South Sudan
|
||||
🇸🇹 São Tomé & Príncipe
|
||||
🇸🇻 El Salvador
|
||||
🇸🇽 Sint Maarten
|
||||
🇸🇾 Syria
|
||||
🇸🇿 Eswatini
|
||||
🇹🇦 Tristan da Cunha
|
||||
🇹🇨 Turks & Caicos Islands
|
||||
🇹🇩 Chad
|
||||
🇹🇫 French Southern Territories
|
||||
🇹🇬 Togo
|
||||
🇹🇭 Thailand
|
||||
🇹🇯 Tajikistan
|
||||
🇹🇰 Tokelau
|
||||
🇹🇱 Timor-Leste
|
||||
🇹🇲 Turkmenistan
|
||||
🇹🇳 Tunisia
|
||||
🇹🇴 Tonga
|
||||
🇹🇷 Turkey
|
||||
🇹🇹 Trinidad & Tobago
|
||||
🇹🇻 Tuvalu
|
||||
🇹🇼 Taiwan
|
||||
🇹🇿 Tanzania
|
||||
🇺🇦 Ukraine
|
||||
🇺🇬 Uganda
|
||||
🇺🇲 U.S. Outlying Islands
|
||||
🇺🇳 United Nations
|
||||
🇺🇸 United States
|
||||
🇺🇾 Uruguay
|
||||
🇺🇿 Uzbekistan
|
||||
🇻🇦 Vatican City
|
||||
🇻🇨 St. Vincent & Grenadines
|
||||
🇻🇪 Venezuela
|
||||
🇻🇬 British Virgin Islands
|
||||
🇻🇮 U.S. Virgin Islands
|
||||
🇻🇳 Vietnam
|
||||
🇻🇺 Vanuatu
|
||||
🇼🇫 Wallis & Futuna
|
||||
🇼🇸 Samoa
|
||||
🇽🇰 Kosovo
|
||||
🇾🇪 Yemen
|
||||
🇾🇹 Mayotte
|
||||
🇿🇦 South Africa
|
||||
🇿🇲 Zambia
|
||||
🇿🇼 Zimbabwe
|
||||
🏴 England
|
||||
🏴 Scotland
|
||||
🏴 Wales
|
13373
common/.local/share/emoji.json
Normal file
13373
common/.local/share/emoji.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue