From 1f1fdfc738756c1caecf08382c9b6ae725fdc70b Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 17 Feb 2020 16:44:33 -0700 Subject: [PATCH 01/20] Avoid rare crash when saving average temps --- scripts/wk/hw/sensors.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/wk/hw/sensors.py b/scripts/wk/hw/sensors.py index 77cbcfa3..3dc719d7 100644 --- a/scripts/wk/hw/sensors.py +++ b/scripts/wk/hw/sensors.py @@ -158,7 +158,15 @@ class Sensors(): for sources in adapters.values(): for source_data in sources.values(): temps = source_data['Temps'] - source_data[temp_label] = sum(temps) / len(temps) + try: + source_data[temp_label] = sum(temps) / len(temps) + except ZeroDivisionError: + # Going to use unrealistic 0°C instead + LOG.error( + 'No temps saved for %s', + source_data.get('label', 'UNKNOWN'), + ) + source_data[temp_label] = 0 def start_background_monitor( self, out_path, From 0a00e17536e8f63317e8fc1be203433361d7f7b1 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 17 Feb 2020 16:54:51 -0700 Subject: [PATCH 02/20] Avoid another rare crash when saving average temps --- scripts/wk/hw/sensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wk/hw/sensors.py b/scripts/wk/hw/sensors.py index 3dc719d7..784406da 100644 --- a/scripts/wk/hw/sensors.py +++ b/scripts/wk/hw/sensors.py @@ -150,7 +150,7 @@ class Sensors(): # Get temps for i in range(seconds): - self.update_sensor_data() + self.update_sensor_data(exit_on_thermal_limit=False) sleep(1) # Calculate averages From 94a428f6dabf6a4888b2f154f8430742b58c4c13 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Tue, 25 Feb 2020 20:15:13 -0700 Subject: [PATCH 03/20] Added check for missing source/destination * Addresses issue #155 --- scripts/wk/hw/ddrescue.py | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/scripts/wk/hw/ddrescue.py b/scripts/wk/hw/ddrescue.py index e3433598..61905c14 100644 --- a/scripts/wk/hw/ddrescue.py +++ b/scripts/wk/hw/ddrescue.py @@ -1390,6 +1390,25 @@ def build_sfdisk_partition_line(table_type, dev_path, size, details): return line +def check_for_missing_items(state): + """Check if source or destination dissapeared.""" + items = { + 'Source': state.source, + 'Destination': state.destination, + } + for name, item in items.items(): + if not item: + continue + if hasattr(item, 'path'): + if not item.path.exists(): + std.print_error(f'{name} disappeared') + elif hasattr(item, 'exists'): + if not item.exists(): + std.print_error(f'{name} disappeared') + else: + LOG.error('Unknown %s type: %s', name, item) + + def clean_working_dir(working_dir): """Clean working directory to ensure a fresh recovery session. @@ -1686,7 +1705,8 @@ def main(): state = State() try: state.init_recovery(args) - except std.GenericAbort: + except (FileNotFoundError, std.GenericAbort): + check_for_missing_items(state) std.abort() # Show menu @@ -1926,7 +1946,8 @@ def run_recovery(state, main_menu, settings_menu, dry_run=True): state.mark_started() try: run_ddrescue(state, pair, pass_name, settings, dry_run=dry_run) - except (KeyboardInterrupt, std.GenericAbort): + except (FileNotFoundError, KeyboardInterrupt, std.GenericAbort): + check_for_missing_items(state) abort = True break From 45a6b31910680a5ee067e423d454df1d511b760a Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Tue, 25 Feb 2020 20:45:59 -0700 Subject: [PATCH 04/20] Added periodic destination health check * Addresses issue #158 --- scripts/wk/hw/ddrescue.py | 52 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/scripts/wk/hw/ddrescue.py b/scripts/wk/hw/ddrescue.py index 61905c14..66ac3d5a 100644 --- a/scripts/wk/hw/ddrescue.py +++ b/scripts/wk/hw/ddrescue.py @@ -1390,6 +1390,29 @@ def build_sfdisk_partition_line(table_type, dev_path, size, details): return line +def check_destination_health(destination): + """Check destination health, returns str.""" + result = '' + + # Bail early + if not isinstance(destination, hw_obj.Disk): + # Return empty string + return result + + # Run safety checks + try: + destination.safety_checks() + except hw_obj.CriticalHardwareError: + result = 'Critical hardware error detected on destination' + except hw_obj.SMARTSelfTestInProgressError: + result = 'SMART self-test in progress on destination' + except hw_obj.SMARTNotSupportedError: + pass + + # Done + return result + + def check_for_missing_items(state): """Check if source or destination dissapeared.""" items = { @@ -1820,6 +1843,7 @@ def mount_raw_image_macos(path): def run_ddrescue(state, block_pair, pass_name, settings, dry_run=True): + # pylint: disable=too-many-statements """Run ddrescue using passed settings.""" cmd = build_ddrescue_cmd(block_pair, pass_name, settings) state.update_progress_pane('Active') @@ -1854,6 +1878,13 @@ def run_ddrescue(state, block_pair, pass_name, settings, dry_run=True): if _i % 30 == 0: # Update SMART pane _update_smart_pane() + + # Check destination + warning_message = check_destination_health(state.destination) + if warning_message: + # Error detected on destination, stop recovery + stop_ddrescue(proc) + break if _i % 60 == 0: # Clear ddrescue pane tmux.clear_pane() @@ -1872,7 +1903,7 @@ def run_ddrescue(state, block_pair, pass_name, settings, dry_run=True): LOG.warning('ddrescue stopped by user') warning_message = 'Aborted' std.sleep(2) - exe.run_program(['sudo', 'kill', str(proc.pid)], check=False) + stop_ddrescue(proc, graceful=False) break except subprocess.TimeoutExpired: # Continue to next loop to update panes @@ -2149,6 +2180,25 @@ def set_mode(docopt_args): return mode +def stop_ddrescue(proc, graceful=True): + """Stop ddrescue.""" + running_as_root = os.geteuid() == 0 + + # Graceful exit + if graceful: + if running_as_root: + proc.terminate() + else: + exe.run_program(['sudo', 'kill', str(proc.pid)], check=False) + std.sleep(2) + + # Force exit + if running_as_root: + proc.kill() + else: + exe.run_program(['sudo', 'kill', '-9', str(proc.pid)], check=False) + + def unmount_loopback_device(path): """Unmount loopback device using OS specific methods.""" cmd = [] From a4df2f41d32c0b7b782262d7a1eb412634e62dde Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Tue, 25 Feb 2020 20:52:08 -0700 Subject: [PATCH 05/20] Added wk.exe.stop_process() * Replaced wk.hw.ddrescue.stop_ddrescue() --- scripts/wk/exe.py | 24 ++++++++++++++++++++++++ scripts/wk/hw/ddrescue.py | 23 ++--------------------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/scripts/wk/exe.py b/scripts/wk/exe.py index e49b51d6..2097469b 100644 --- a/scripts/wk/exe.py +++ b/scripts/wk/exe.py @@ -6,6 +6,7 @@ import logging import os import re import subprocess +import time from threading import Thread from queue import Queue, Empty @@ -214,6 +215,29 @@ def start_thread(function, args=None, daemon=True): return thread +def stop_process(proc, graceful=True): + """Stop process. + + NOTES: proc should be a subprocess.Popen obj. + If graceful is True then a SIGTERM is sent before SIGKILL. + """ + running_as_root = os.geteuid() == 0 + + # Graceful exit + if graceful: + if running_as_root: + proc.terminate() + else: + run_program(['sudo', 'kill', str(proc.pid)], check=False) + time.sleep(2) + + # Force exit + if running_as_root: + proc.kill() + else: + run_program(['sudo', 'kill', '-9', str(proc.pid)], check=False) + + def wait_for_procs(name, exact=True, timeout=None): """Wait for all process matching name.""" LOG.debug('name: %s, exact: %s, timeout: %s', name, exact, timeout) diff --git a/scripts/wk/hw/ddrescue.py b/scripts/wk/hw/ddrescue.py index 66ac3d5a..5d3d7e2e 100644 --- a/scripts/wk/hw/ddrescue.py +++ b/scripts/wk/hw/ddrescue.py @@ -1883,7 +1883,7 @@ def run_ddrescue(state, block_pair, pass_name, settings, dry_run=True): warning_message = check_destination_health(state.destination) if warning_message: # Error detected on destination, stop recovery - stop_ddrescue(proc) + exe.stop_process(proc) break if _i % 60 == 0: # Clear ddrescue pane @@ -1903,7 +1903,7 @@ def run_ddrescue(state, block_pair, pass_name, settings, dry_run=True): LOG.warning('ddrescue stopped by user') warning_message = 'Aborted' std.sleep(2) - stop_ddrescue(proc, graceful=False) + exe.stop_process(proc, graceful=False) break except subprocess.TimeoutExpired: # Continue to next loop to update panes @@ -2180,25 +2180,6 @@ def set_mode(docopt_args): return mode -def stop_ddrescue(proc, graceful=True): - """Stop ddrescue.""" - running_as_root = os.geteuid() == 0 - - # Graceful exit - if graceful: - if running_as_root: - proc.terminate() - else: - exe.run_program(['sudo', 'kill', str(proc.pid)], check=False) - std.sleep(2) - - # Force exit - if running_as_root: - proc.kill() - else: - exe.run_program(['sudo', 'kill', '-9', str(proc.pid)], check=False) - - def unmount_loopback_device(path): """Unmount loopback device using OS specific methods.""" cmd = [] From 24dbdf29fda069b4d508aa8a5ec507bfdbc90bef Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 6 Apr 2020 19:46:09 -0600 Subject: [PATCH 06/20] Added Windows Registry functions --- scripts/wk/os/win.py | 183 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) diff --git a/scripts/wk/os/win.py b/scripts/wk/os/win.py index 7f17af37..77b61999 100644 --- a/scripts/wk/os/win.py +++ b/scripts/wk/os/win.py @@ -5,7 +5,9 @@ import logging import os import pathlib import platform +import winreg +from contextlib import suppress from wk.borrowed import acpi from wk.exe import run_program from wk.io import non_clobber_path @@ -15,6 +17,39 @@ from wk.std import GenericError, GenericWarning, sleep # STATIC VARIABLES LOG = logging.getLogger(__name__) +KNOWN_HIVES = { + 'HKCR': winreg.HKEY_CLASSES_ROOT, + 'HKCU': winreg.HKEY_CURRENT_USER, + 'HKLM': winreg.HKEY_LOCAL_MACHINE, + 'HKU': winreg.HKEY_USERS, + 'HKEY_CLASSES_ROOT': winreg.HKEY_CLASSES_ROOT, + 'HKEY_CURRENT_USER': winreg.HKEY_CURRENT_USER, + 'HKEY_LOCAL_MACHINE': winreg.HKEY_LOCAL_MACHINE, + 'HKEY_USERS': winreg.HKEY_USERS, + } +KNOWN_HIVE_NAMES = { + winreg.HKEY_CLASSES_ROOT: 'HKCR', + winreg.HKEY_CURRENT_USER: 'HKCU', + winreg.HKEY_LOCAL_MACHINE: 'HKLM', + winreg.HKEY_USERS: 'HKU', + winreg.HKEY_CLASSES_ROOT: 'HKEY_CLASSES_ROOT', + winreg.HKEY_CURRENT_USER: 'HKEY_CURRENT_USER', + winreg.HKEY_LOCAL_MACHINE: 'HKEY_LOCAL_MACHINE', + winreg.HKEY_USERS: 'HKEY_USERS', + } +KNOWN_VALUE_TYPES = { + 'BINARY': winreg.REG_BINARY, + 'DWORD': winreg.REG_DWORD, + 'DWORD_LITTLE_ENDIAN': winreg.REG_DWORD_LITTLE_ENDIAN, + 'DWORD_BIG_ENDIAN': winreg.REG_DWORD_BIG_ENDIAN, + 'EXPAND_SZ': winreg.REG_EXPAND_SZ, + 'LINK': winreg.REG_LINK, + 'MULTI_SZ': winreg.REG_MULTI_SZ, + 'NONE': winreg.REG_NONE, + 'QWORD': winreg.REG_QWORD, + 'QWORD_LITTLE_ENDIAN': winreg.REG_QWORD_LITTLE_ENDIAN, + 'SZ': winreg.REG_SZ, + } OS_VERSION = float(platform.win32_ver()[0]) REG_MSISERVER = r'HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer' SLMGR = pathlib.Path(f'{os.environ.get("SYSTEMROOT")}/System32/slmgr.vbs') @@ -177,5 +212,153 @@ def run_sfc_scan(): raise OSError +# Registry Functions +def reg_delete_key(hive, key, recurse=False): + """Delete a key from the registry. + + NOTE: If recurse is False then it will only work on empty keys. + """ + hive = reg_get_hive(hive) + hive_name = KNOWN_HIVE_NAMES.get(hive, '???') + + # Delete subkeys first + if recurse: + with suppress(WindowsError), winreg.OpenKey(hive, key) as open_key: + while True: + subkey = fr'{key}\{winreg.EnumKey(open_key, 0)}' + reg_delete_key(hive, subkey, recurse=recurse) + + # Delete key + try: + winreg.DeleteKey(hive, key) + LOG.warning(r'Deleting registry key: %s\%s', hive_name, key) + except FileNotFoundError: + # Ignore + pass + except PermissionError: + LOG.error(r'Failed to delete registry key: %s\%s', hive_name, key) + if recurse: + # Re-raise exception + raise + + # recurse is not True so assuming we tried to remove a non-empty key + msg = fr'Refusing to remove non-empty key: {hive_name}\{key}' + raise FileExistsError(msg) + + +def reg_delete_value(hive, key, value): + """Delete a value from the registry.""" + access = winreg.KEY_ALL_ACCESS + hive = reg_get_hive(hive) + hive_name = KNOWN_HIVE_NAMES.get(hive, '???') + + # Delete value + with winreg.OpenKey(hive, key, access=access) as open_key: + try: + winreg.DeleteValue(open_key, value) + LOG.warning( + r'Deleting registry value: %s\%s "%s"', hive_name, key, value, + ) + except FileNotFoundError: + # Ignore + pass + except PermissionError: + LOG.error( + r'Failed to delete registry value: %s\%s "%s"', hive_name, key, value, + ) + # Re-raise exception + raise + + +def reg_get_hive(hive): + """Get winreg HKEY constant from string, returns HKEY constant.""" + if isinstance(hive, int): + # Assuming we're already a winreg HKEY constant + pass + else: + hive = KNOWN_HIVES[hive.upper()] + + # Done + return hive + + +def reg_get_value_type(value_type): + """Get registry value type from string, returns winreg constant.""" + if isinstance(value_type, int): + # Assuming we're already a winreg value type constant + pass + else: + value_type = KNOWN_VALUE_TYPES[value_type.upper()] + + # Done + return value_type + + +def reg_key_exists(hive, key): + """Test if the specified hive/key exists, returns bool.""" + exists = False + hive = reg_get_hive(hive) + + # Query key + try: + winreg.QueryValue(hive, key) + except FileNotFoundError: + # Leave set to False + pass + else: + exists = True + + # Done + return exists + + +def reg_read_value(hive, key, value, force_32=False, force_64=False): + """Query value from hive/hey, returns multiple types.""" + access = winreg.KEY_READ + data = None + hive = reg_get_hive(hive) + + # Set access + if force_32: + access = access | winreg.KEY_WOW64_32KEY + elif force_64: + access = access | winreg.KEY_WOW64_64KEY + + # Query value + with winreg.OpenKey(hive, key, access=access) as open_key: + # Returning first part of tuple and ignoreing type + data = winreg.QueryValueEx(open_key, value)[0] + + # Done + return data + + +def reg_write_settings(settings_dict): + """TODO""" + + +def reg_set_value( + hive, key, name, value, value_type, force_32=False, force_64=False): + # pylint: disable=too-many-arguments + """Set value for hive/key.""" + access = winreg.KEY_WRITE + value_type = reg_get_value_type(value_type) + hive = reg_get_hive(hive) + + # Set access + if force_32: + access = access | winreg.KEY_WOW64_32KEY + elif force_64: + access = access | winreg.KEY_WOW64_64KEY + + # Create key + winreg.CreateKeyEx(hive, key, access=access) + + # Set value + with winreg.OpenKey(hive, key, access=access) as open_key: + # Returning first part of tuple and ignoreing type + winreg.SetValueEx(open_key, name, 0, value_type, value) + + if __name__ == '__main__': print("This file is not meant to be called directly.") From 818e321682ad9866d0576837d2a0b20b0239b86f Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 6 Apr 2020 19:46:36 -0600 Subject: [PATCH 07/20] Added alias for ip * Use brief reporting with colors --- setup/linux/include/airootfs/etc/skel/.aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/linux/include/airootfs/etc/skel/.aliases b/setup/linux/include/airootfs/etc/skel/.aliases index 88eb4070..dff33e69 100644 --- a/setup/linux/include/airootfs/etc/skel/.aliases +++ b/setup/linux/include/airootfs/etc/skel/.aliases @@ -11,6 +11,7 @@ alias du='du -sch --apparent-size' alias fix-perms='find -type d -exec chmod 755 "{}" \; && find -type f -exec chmod 644 "{}" \;' alias hexedit='hexedit --color' alias hw-info='sudo hw-info | less -S' +alias ip='ip -br -color' alias less='less -S' alias ls='ls --color=auto' alias mkdir='mkdir -p' From 87533446653c0d6bf24e26ade852cf70fd83f247 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Tue, 7 Apr 2020 23:05:40 -0600 Subject: [PATCH 08/20] Added reg_write_settings() * Replaces old write_registry_settings() * Uses tuples to combine all parts of the values * e.g. ('SampleValue', 'SampleData', 'SZ', '32) * This will allow merging multiple setting groups together * Should be more readable than the old method --- scripts/wk/os/win.py | 97 +++++++++++++++++++++++++++++++------------- 1 file changed, 69 insertions(+), 28 deletions(-) diff --git a/scripts/wk/os/win.py b/scripts/wk/os/win.py index 77b61999..95f8693a 100644 --- a/scripts/wk/os/win.py +++ b/scripts/wk/os/win.py @@ -8,6 +8,7 @@ import platform import winreg from contextlib import suppress + from wk.borrowed import acpi from wk.exe import run_program from wk.io import non_clobber_path @@ -17,6 +18,19 @@ from wk.std import GenericError, GenericWarning, sleep # STATIC VARIABLES LOG = logging.getLogger(__name__) +KNOWN_DATA_TYPES = { + 'BINARY': winreg.REG_BINARY, + 'DWORD': winreg.REG_DWORD, + 'DWORD_LITTLE_ENDIAN': winreg.REG_DWORD_LITTLE_ENDIAN, + 'DWORD_BIG_ENDIAN': winreg.REG_DWORD_BIG_ENDIAN, + 'EXPAND_SZ': winreg.REG_EXPAND_SZ, + 'LINK': winreg.REG_LINK, + 'MULTI_SZ': winreg.REG_MULTI_SZ, + 'NONE': winreg.REG_NONE, + 'QWORD': winreg.REG_QWORD, + 'QWORD_LITTLE_ENDIAN': winreg.REG_QWORD_LITTLE_ENDIAN, + 'SZ': winreg.REG_SZ, + } KNOWN_HIVES = { 'HKCR': winreg.HKEY_CLASSES_ROOT, 'HKCU': winreg.HKEY_CURRENT_USER, @@ -37,19 +51,6 @@ KNOWN_HIVE_NAMES = { winreg.HKEY_LOCAL_MACHINE: 'HKEY_LOCAL_MACHINE', winreg.HKEY_USERS: 'HKEY_USERS', } -KNOWN_VALUE_TYPES = { - 'BINARY': winreg.REG_BINARY, - 'DWORD': winreg.REG_DWORD, - 'DWORD_LITTLE_ENDIAN': winreg.REG_DWORD_LITTLE_ENDIAN, - 'DWORD_BIG_ENDIAN': winreg.REG_DWORD_BIG_ENDIAN, - 'EXPAND_SZ': winreg.REG_EXPAND_SZ, - 'LINK': winreg.REG_LINK, - 'MULTI_SZ': winreg.REG_MULTI_SZ, - 'NONE': winreg.REG_NONE, - 'QWORD': winreg.REG_QWORD, - 'QWORD_LITTLE_ENDIAN': winreg.REG_QWORD_LITTLE_ENDIAN, - 'SZ': winreg.REG_SZ, - } OS_VERSION = float(platform.win32_ver()[0]) REG_MSISERVER = r'HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer' SLMGR = pathlib.Path(f'{os.environ.get("SYSTEMROOT")}/System32/slmgr.vbs') @@ -282,16 +283,16 @@ def reg_get_hive(hive): return hive -def reg_get_value_type(value_type): - """Get registry value type from string, returns winreg constant.""" - if isinstance(value_type, int): +def reg_get_data_type(data_type): + """Get registry data type from string, returns winreg constant.""" + if isinstance(data_type, int): # Assuming we're already a winreg value type constant pass else: - value_type = KNOWN_VALUE_TYPES[value_type.upper()] + data_type = KNOWN_DATA_TYPES[data_type.upper()] # Done - return value_type + return data_type def reg_key_exists(hive, key): @@ -333,31 +334,71 @@ def reg_read_value(hive, key, value, force_32=False, force_64=False): return data -def reg_write_settings(settings_dict): - """TODO""" +def reg_write_settings(settings): + """Set registry values in bulk from a custom data structure. + + Data structure should be as follows: + EXAMPLE_SETTINGS = { + # See KNOWN_HIVES for valid hives + 'HKLM': { + r'Software\\2Shirt\\WizardKit': ( + # Value tuples should be in the form: + # (name, data, data-type, option), + # See KNOWN_DATA_TYPES for valid types + # The option item is optional + ('Sample Value #1', 'Sample Data', 'SZ'), + ('Sample Value #2', 14, 'DWORD'), + ), + r'Software\\2Shirt\\WizardKit\\Test': ( + ('Sample Value #3', 14000000000000, 'QWORD'), + ), + }, + 'HKCU': { + r'Software\\2Shirt\\WizardKit': ( + # The 4th item forces using the 32-bit registry + # See reg_set_value() for valid options + ('Sample Value #4', 'Sample Data', 'SZ', '32'), + ), + }, + } + """ + for hive, keys in settings.items(): + hive = reg_get_hive(hive) + for key, values in keys.items(): + for value in values: + reg_set_value(hive, key, *value) -def reg_set_value( - hive, key, name, value, value_type, force_32=False, force_64=False): +def reg_set_value(hive, key, name, data, data_type, option=None): # pylint: disable=too-many-arguments """Set value for hive/key.""" access = winreg.KEY_WRITE - value_type = reg_get_value_type(value_type) + data_type = reg_get_data_type(data_type) hive = reg_get_hive(hive) + option = str(option) + + # Safety check + if not name and option in ('32', '64'): + raise NotImplementedError( + 'Unable to set default values using alternate registry views', + ) # Set access - if force_32: + if option == '32': access = access | winreg.KEY_WOW64_32KEY - elif force_64: + elif option == '64': access = access | winreg.KEY_WOW64_64KEY # Create key winreg.CreateKeyEx(hive, key, access=access) # Set value - with winreg.OpenKey(hive, key, access=access) as open_key: - # Returning first part of tuple and ignoreing type - winreg.SetValueEx(open_key, name, 0, value_type, value) + if name: + with winreg.OpenKey(hive, key, access=access) as open_key: + winreg.SetValueEx(open_key, name, 0, data_type, data) + else: + # Set default value instead + winreg.SetValue(hive, key, data_type, data) if __name__ == '__main__': From d0d74b87637dafd4ac2364407260b37cd0c6069a Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Tue, 7 Apr 2020 23:23:11 -0600 Subject: [PATCH 09/20] Support creating emtpy keys in reg_write_settings() --- scripts/wk/os/win.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/wk/os/win.py b/scripts/wk/os/win.py index 95f8693a..34d1220c 100644 --- a/scripts/wk/os/win.py +++ b/scripts/wk/os/win.py @@ -349,6 +349,8 @@ def reg_write_settings(settings): ('Sample Value #1', 'Sample Data', 'SZ'), ('Sample Value #2', 14, 'DWORD'), ), + # An empty key will be created if no values are specified + r'Software\\2Shirt\\WizardKit\\Empty': (), r'Software\\2Shirt\\WizardKit\\Test': ( ('Sample Value #3', 14000000000000, 'QWORD'), ), @@ -365,6 +367,9 @@ def reg_write_settings(settings): for hive, keys in settings.items(): hive = reg_get_hive(hive) for key, values in keys.items(): + if not values: + # Create an empty key + winreg.CreateKey(hive, key) for value in values: reg_set_value(hive, key, *value) From 6c775bbba721a30f1e9b171a7d1722db52458969 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 26 Apr 2020 16:24:35 -0600 Subject: [PATCH 10/20] Adjusted running as root checks * Suppress pylint errors when checking uid/euid/gid * Helpful when checking under Windows * Allow running wk.exe.stop_process() under Windows --- scripts/wk/exe.py | 18 +++++++++--------- scripts/wk/net.py | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/wk/exe.py b/scripts/wk/exe.py index 2097469b..87b90935 100644 --- a/scripts/wk/exe.py +++ b/scripts/wk/exe.py @@ -80,8 +80,9 @@ def build_cmd_kwargs(cmd, minimized=False, pipe=True, shell=False, **kwargs): } # Strip sudo if appropriate - if cmd[0] == 'sudo' and os.name == 'posix' and os.geteuid() == 0: - cmd.pop(0) + if cmd[0] == 'sudo': + if os.name == 'posix' and os.geteuid() == 0: # pylint: disable=no-member + cmd.pop(0) # Add additional kwargs if applicable for key in 'check cwd encoding errors stderr stdin stdout'.split(): @@ -221,21 +222,20 @@ def stop_process(proc, graceful=True): NOTES: proc should be a subprocess.Popen obj. If graceful is True then a SIGTERM is sent before SIGKILL. """ - running_as_root = os.geteuid() == 0 # Graceful exit if graceful: - if running_as_root: - proc.terminate() - else: + if os.name == 'posix' and os.geteuid() != 0: # pylint: disable=no-member run_program(['sudo', 'kill', str(proc.pid)], check=False) + else: + proc.terminate() time.sleep(2) # Force exit - if running_as_root: - proc.kill() - else: + if os.name == 'posix' and os.geteuid() != 0: # pylint: disable=no-member run_program(['sudo', 'kill', '-9', str(proc.pid)], check=False) + else: + proc.kill() def wait_for_procs(name, exact=True, timeout=None): diff --git a/scripts/wk/net.py b/scripts/wk/net.py index e8e763b5..d2ba5c5d 100644 --- a/scripts/wk/net.py +++ b/scripts/wk/net.py @@ -122,8 +122,8 @@ def mount_network_share(details, mount_point=None, read_write=False): '-t', 'cifs', '-o', ( f'{"rw" if read_write else "ro"}' - f',uid={os.getuid()}' - f',gid={os.getgid()}' + f',uid={os.getuid()}' # pylint: disable=no-member + f',gid={os.getgid()}' # pylint: disable=no-member f',username={username}' f',{"password=" if password else "guest"}{password}' ), From 9a53d4adad9d4838724e1087badd4f5f385cb48d Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 26 Apr 2020 16:28:23 -0600 Subject: [PATCH 11/20] Updated log handling to support Windows --- scripts/wk/log.py | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/scripts/wk/log.py b/scripts/wk/log.py index 2cb39764..d1b7c4e0 100644 --- a/scripts/wk/log.py +++ b/scripts/wk/log.py @@ -79,14 +79,20 @@ def get_root_logger_path(): return log_path -def remove_empty_log(): - """Remove log if empty.""" +def remove_empty_log(log_path=None): + """Remove log if empty. + + NOTE: Under Windows an empty log is 2 bytes long. + """ is_empty = False + # Get log path + if not log_path: + log_path = get_root_logger_path() + # Check if log is empty - log_path = get_root_logger_path() try: - is_empty = log_path and log_path.exists() and log_path.stat().st_size == 0 + is_empty = log_path and log_path.exists() and log_path.stat().st_size <= 2 except (FileNotFoundError, AttributeError): # File doesn't exist or couldn't verify it's empty pass @@ -122,34 +128,35 @@ def update_log_path( dest_dir=None, dest_name=None, keep_history=True, timestamp=True): """Moves current log file to new path and updates the root logger.""" root_logger = logging.getLogger() - cur_handler = None - cur_path = get_root_logger_path() new_path = format_log_path(dest_dir, dest_name, timestamp=timestamp) + old_handler = None + old_path = get_root_logger_path() os.makedirs(new_path.parent, exist_ok=True) # Get current logging file handler for handler in root_logger.handlers: if isinstance(handler, logging.FileHandler): - cur_handler = handler + old_handler = handler break - if not cur_handler: + if not old_handler: raise RuntimeError('Logging FileHandler not found') # Copy original log to new location if keep_history: if new_path.exists(): raise FileExistsError(f'Refusing to clobber: {new_path}') - shutil.move(cur_path, new_path) + shutil.copy(old_path, new_path) - # Remove old log if empty - remove_empty_log() - - # Create new cur_handler (preserving formatter settings) + # Create new handler (preserving formatter settings) new_handler = logging.FileHandler(new_path, mode='a') - new_handler.setFormatter(cur_handler.formatter) + new_handler.setFormatter(old_handler.formatter) - # Replace current handler - root_logger.removeHandler(cur_handler) + # Remove old_handler and log if empty + root_logger.removeHandler(old_handler) + old_handler.close() + remove_empty_log(old_path) + + # Add new handler root_logger.addHandler(new_handler) From 830395f6724bc3f3424065b4ed47dbd7f3569fae Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Thu, 30 Jul 2020 22:07:45 -0600 Subject: [PATCH 12/20] Update windows_builds.py to include 20H1 --- scripts/wk.prev/settings/windows_builds.py | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/scripts/wk.prev/settings/windows_builds.py b/scripts/wk.prev/settings/windows_builds.py index f7481294..7f243315 100644 --- a/scripts/wk.prev/settings/windows_builds.py +++ b/scripts/wk.prev/settings/windows_builds.py @@ -205,6 +205,7 @@ WINDOWS_BUILDS = { '18358': ('10', None, '19H1', None, 'preview build'), '18361': ('10', None, '19H1', None, 'preview build'), '18362': ('10', 'v1903', '19H1', 'May 2019 Update', None), + '18363': ('10', 'v1909', '19H2', 'November 2019 Update', None), '18836': ('10', None, '20H1', None, 'preview build'), '18841': ('10', None, '20H1', None, 'preview build'), '18845': ('10', None, '20H1', None, 'preview build'), @@ -218,6 +219,38 @@ WINDOWS_BUILDS = { '18894': ('10', None, '20H1', None, 'preview build'), '18895': ('10', None, '20H1', None, 'preview build'), '18898': ('10', None, '20H1', None, 'preview build'), + '18908': ('10', None, '20H1', None, 'preview build'), + '18912': ('10', None, '20H1', None, 'preview build'), + '18917': ('10', None, '20H1', None, 'preview build'), + '18922': ('10', None, '20H1', None, 'preview build'), + '18932': ('10', None, '20H1', None, 'preview build'), + '18936': ('10', None, '20H1', None, 'preview build'), + '18941': ('10', None, '20H1', None, 'preview build'), + '18945': ('10', None, '20H1', None, 'preview build'), + '18950': ('10', None, '20H1', None, 'preview build'), + '18956': ('10', None, '20H1', None, 'preview build'), + '18963': ('10', None, '20H1', None, 'preview build'), + '18965': ('10', None, '20H1', None, 'preview build'), + '18970': ('10', None, '20H1', None, 'preview build'), + '18975': ('10', None, '20H1', None, 'preview build'), + '18980': ('10', None, '20H1', None, 'preview build'), + '18985': ('10', None, '20H1', None, 'preview build'), + '18990': ('10', None, '20H1', None, 'preview build'), + '18995': ('10', None, '20H1', None, 'preview build'), + '18999': ('10', None, '20H1', None, 'preview build'), + '19002': ('10', None, '20H1', None, 'preview build'), + '19008': ('10', None, '20H1', None, 'preview build'), + '19013': ('10', None, '20H1', None, 'preview build'), + '19018': ('10', None, '20H1', None, 'preview build'), + '19023': ('10', None, '20H1', None, 'preview build'), + '19025': ('10', None, '20H1', None, 'preview build'), + '19028': ('10', None, '20H1', None, 'preview build'), + '19030': ('10', None, '20H1', None, 'preview build'), + '19033': ('10', None, '20H1', None, 'preview build'), + '19035': ('10', None, '20H1', None, 'preview build'), + '19037': ('10', None, '20H1', None, 'preview build'), + '19041': ('10', 'v2004', '20H1', 'May 2020 Update', None), + '19042': ('10', None, '20H1', None, 'preview build'), } From 7d77aa81b064e420fa7bfbff7f577ca7eafdb1bb Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Thu, 24 Dec 2020 21:08:53 -0700 Subject: [PATCH 13/20] Update sensors.py to improve CPU data Include AMD CCD sensors Exclude current sensors --- scripts/wk/hw/sensors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/wk/hw/sensors.py b/scripts/wk/hw/sensors.py index 784406da..573c9c3b 100644 --- a/scripts/wk/hw/sensors.py +++ b/scripts/wk/hw/sensors.py @@ -261,7 +261,7 @@ def fix_sensor_name(name): name = name.replace('Smc', 'SMC') name = re.sub(r'(\D+)(\d+)', r'\1 \2', name, re.IGNORECASE) name = re.sub(r'^K (\d+)Temp', r'AMD K\1 Temps', name, re.IGNORECASE) - name = re.sub(r'T(ctl|die)', r'CPU (T\1)', name, re.IGNORECASE) + name = re.sub(r'T(ccd\s+\d+|ctl|die)', r'CPU (T\1)', name, re.IGNORECASE) name = re.sub(r'\s+', ' ', name) return name @@ -294,7 +294,7 @@ def get_sensor_data_linux(): ## current temp is labeled xxxx_input for source, labels in sources.items(): for label, temp in labels.items(): - if label.startswith('fan') or label.startswith('in'): + if label.startswith('fan') or label.startswith('in') or label.startswith('curr'): # Skip fan RPMs and voltages continue if 'input' in label: From ce912e9525b033a365accedc01d66282ed8c89c2 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 9 Jan 2021 21:15:07 -0700 Subject: [PATCH 14/20] Update windows_builds.py to include 20H2 --- scripts/wk.prev/settings/windows_builds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wk.prev/settings/windows_builds.py b/scripts/wk.prev/settings/windows_builds.py index 7f243315..68b09bfe 100644 --- a/scripts/wk.prev/settings/windows_builds.py +++ b/scripts/wk.prev/settings/windows_builds.py @@ -250,7 +250,7 @@ WINDOWS_BUILDS = { '19035': ('10', None, '20H1', None, 'preview build'), '19037': ('10', None, '20H1', None, 'preview build'), '19041': ('10', 'v2004', '20H1', 'May 2020 Update', None), - '19042': ('10', None, '20H1', None, 'preview build'), + '19042': ('10', 'v20H2', '20H2', 'October 2020 Update', None), } From 31cd8d1e5641f2f001a217f0cdc3f74e006e96e0 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 10 Jan 2021 17:19:27 -0700 Subject: [PATCH 15/20] Fix items_not_found logic --- scripts/wk/kit/ufd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/wk/kit/ufd.py b/scripts/wk/kit/ufd.py index 483e2fbb..93d5b7ca 100644 --- a/scripts/wk/kit/ufd.py +++ b/scripts/wk/kit/ufd.py @@ -212,7 +212,8 @@ def copy_source(source, items, overwrite=False): linux.unmount('/mnt/Source') # Raise exception if item(s) were not found - raise FileNotFoundError('One or more items not found') + if items_not_found: + raise FileNotFoundError('One or more items not found') def create_table(dev_path, use_mbr=False): From b081d79fabc991096e9030dc68783feb90b12bb9 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 10 Jan 2021 19:09:10 -0700 Subject: [PATCH 16/20] Change file layout for new archiso usage --- setup/linux/packages/{live_add => base} | 0 setup/linux/packages/{live_add_x => gui} | 0 setup/linux/packages/live_add_min | 2 -- setup/linux/packages/live_remove | 21 ------------------ .../EFI/boot/icons/dgpu.png | Bin .../EFI/boot/icons/wk_arch.png | Bin .../EFI/boot/icons/wk_memtest.png | Bin .../EFI/boot/icons/wk_win.png | Bin .../EFI/boot/refind.conf | 0 .../EFI/boot/selection_big.png | Bin .../EFI/boot/selection_small.png | Bin .../airootfs/etc/default/ufw | 0 .../airootfs/etc/hostname | 0 .../airootfs/etc/hosts | 0 .../airootfs/etc/locale.conf | 0 .../airootfs/etc/locale.gen | 0 .../airootfs/etc/motd | 0 .../polkit-1/rules.d/49-nopasswd_global.rules | 0 .../airootfs/etc/skel/.aliases | 0 .../airootfs/etc/skel/.bashrc | 0 .../airootfs/etc/skel/.dircolors | 0 .../airootfs/etc/skel/.rsync_exclusions | 0 .../airootfs/etc/skel/.tmux.conf | 0 .../airootfs/etc/skel/.update_network | 0 .../airootfs/etc/skel/.vimrc | 0 .../airootfs/etc/skel/.zlogin | 0 .../airootfs/etc/skel/.zshrc | 0 .../NetworkManager.service | 0 .../multi-user.target.wants/rngd.service | 0 .../multi-user.target.wants/sshd.service | 0 .../systemd-timesyncd.service | 0 .../multi-user.target.wants/ufw.service | 0 .../etc/udev/rules.d/99-udisks2.rules | 0 .../airootfs/etc/udevil/udevil.conf | 0 .../airootfs/etc/ufw/ufw.conf | 0 .../airootfs/etc/ufw/user.rules | 0 .../airootfs/etc/ufw/user6.rules | 0 .../airootfs/etc/vconsole.conf | 0 .../isolinux/isolinux.cfg | 0 .../syslinux/splash.png | 0 .../syslinux/syslinux.cfg | 0 .../{include => profile_base}/syslinux/wk.cfg | 0 .../syslinux/wk_hdt.cfg | 0 .../syslinux/wk_head.cfg | 0 .../syslinux/wk_iso.cfg | 0 .../syslinux/wk_iso_linux.cfg | 0 .../syslinux/wk_pxe.cfg | 0 .../syslinux/wk_pxe_linux.cfg | 0 .../syslinux/wk_pxe_winpe.cfg | 0 .../syslinux/wk_sys.cfg | 0 .../syslinux/wk_sys_linux.cfg | 0 .../syslinux/wk_sys_winpe.cfg | 0 .../syslinux/wk_tail.cfg | 0 .../airootfs/etc/skel/.Xauthority | 0 .../airootfs/etc/skel/.Xresources | 0 .../etc/skel/.config/Thunar/accels.scm | 0 .../airootfs/etc/skel/.config/Thunar/uca.xml | 0 .../airootfs/etc/skel/.config/conky/base.conf | 0 .../airootfs/etc/skel/.config/dunst/dunstrc | 0 .../etc/skel/.config/gtk-3.0/settings.ini | 0 .../airootfs/etc/skel/.config/i3/config | 0 .../airootfs/etc/skel/.config/i3status/config | 0 .../airootfs/etc/skel/.config/mimeapps.list | 0 .../etc/skel/.config/openbox/autostart | 0 .../etc/skel/.config/openbox/environment | 0 .../etc/skel/.config/openbox/menu.xml | 0 .../airootfs/etc/skel/.config/openbox/rc.xml | 0 .../airootfs/etc/skel/.config/rofi/config | 0 .../timers.target.wants/update-conky.timer | 0 .../.config/systemd/user/update-conky.service | 0 .../.config/systemd/user/update-conky.timer | 0 .../airootfs/etc/skel/.config/tint2/tint2rc | 0 .../etc/skel/.config/volumeicon/volumeicon | 0 .../airootfs/etc/skel/.gtkrc-2.0 | 0 .../airootfs/etc/skel/.start_desktop_apps | 0 .../airootfs/etc/skel/.update_conky | 0 .../airootfs/etc/skel/.update_x | 0 .../airootfs/etc/skel/.wallpaper | 0 .../airootfs/etc/skel/.xinitrc | 0 .../airootfs/etc/skel/.zlogin | 0 .../applications/Hardware Diagnostics.desktop | 0 .../applications/Hardware Information.desktop | 0 .../share/applications/NetworkTest.desktop | 0 83 files changed, 23 deletions(-) rename setup/linux/packages/{live_add => base} (100%) rename setup/linux/packages/{live_add_x => gui} (100%) delete mode 100644 setup/linux/packages/live_add_min delete mode 100644 setup/linux/packages/live_remove rename setup/linux/{include => profile_base}/EFI/boot/icons/dgpu.png (100%) rename setup/linux/{include => profile_base}/EFI/boot/icons/wk_arch.png (100%) rename setup/linux/{include => profile_base}/EFI/boot/icons/wk_memtest.png (100%) rename setup/linux/{include => profile_base}/EFI/boot/icons/wk_win.png (100%) rename setup/linux/{include => profile_base}/EFI/boot/refind.conf (100%) rename setup/linux/{include => profile_base}/EFI/boot/selection_big.png (100%) rename setup/linux/{include => profile_base}/EFI/boot/selection_small.png (100%) rename setup/linux/{include => profile_base}/airootfs/etc/default/ufw (100%) rename setup/linux/{include => profile_base}/airootfs/etc/hostname (100%) rename setup/linux/{include => profile_base}/airootfs/etc/hosts (100%) rename setup/linux/{include => profile_base}/airootfs/etc/locale.conf (100%) rename setup/linux/{include => profile_base}/airootfs/etc/locale.gen (100%) rename setup/linux/{include => profile_base}/airootfs/etc/motd (100%) rename setup/linux/{include => profile_base}/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.aliases (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.bashrc (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.dircolors (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.rsync_exclusions (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.tmux.conf (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.update_network (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.vimrc (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.zlogin (100%) rename setup/linux/{include => profile_base}/airootfs/etc/skel/.zshrc (100%) rename setup/linux/{include => profile_base}/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service (100%) rename setup/linux/{include => profile_base}/airootfs/etc/systemd/system/multi-user.target.wants/rngd.service (100%) rename setup/linux/{include => profile_base}/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service (100%) rename setup/linux/{include => profile_base}/airootfs/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service (100%) rename setup/linux/{include => profile_base}/airootfs/etc/systemd/system/multi-user.target.wants/ufw.service (100%) rename setup/linux/{include => profile_base}/airootfs/etc/udev/rules.d/99-udisks2.rules (100%) rename setup/linux/{include => profile_base}/airootfs/etc/udevil/udevil.conf (100%) rename setup/linux/{include => profile_base}/airootfs/etc/ufw/ufw.conf (100%) rename setup/linux/{include => profile_base}/airootfs/etc/ufw/user.rules (100%) rename setup/linux/{include => profile_base}/airootfs/etc/ufw/user6.rules (100%) rename setup/linux/{include => profile_base}/airootfs/etc/vconsole.conf (100%) rename setup/linux/{include => profile_base}/isolinux/isolinux.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/splash.png (100%) rename setup/linux/{include => profile_base}/syslinux/syslinux.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_hdt.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_head.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_iso.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_iso_linux.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_pxe.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_pxe_linux.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_pxe_winpe.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_sys.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_sys_linux.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_sys_winpe.cfg (100%) rename setup/linux/{include => profile_base}/syslinux/wk_tail.cfg (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.Xauthority (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.Xresources (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/Thunar/accels.scm (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/Thunar/uca.xml (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/conky/base.conf (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/dunst/dunstrc (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/gtk-3.0/settings.ini (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/i3/config (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/i3status/config (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/mimeapps.list (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/openbox/autostart (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/openbox/environment (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/openbox/menu.xml (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/openbox/rc.xml (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/rofi/config (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/systemd/user/timers.target.wants/update-conky.timer (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/systemd/user/update-conky.service (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/systemd/user/update-conky.timer (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/tint2/tint2rc (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.config/volumeicon/volumeicon (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.gtkrc-2.0 (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.start_desktop_apps (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.update_conky (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.update_x (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.wallpaper (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.xinitrc (100%) rename setup/linux/{include_x => profile_gui}/airootfs/etc/skel/.zlogin (100%) rename setup/linux/{include_x => profile_gui}/airootfs/usr/share/applications/Hardware Diagnostics.desktop (100%) rename setup/linux/{include_x => profile_gui}/airootfs/usr/share/applications/Hardware Information.desktop (100%) rename setup/linux/{include_x => profile_gui}/airootfs/usr/share/applications/NetworkTest.desktop (100%) diff --git a/setup/linux/packages/live_add b/setup/linux/packages/base similarity index 100% rename from setup/linux/packages/live_add rename to setup/linux/packages/base diff --git a/setup/linux/packages/live_add_x b/setup/linux/packages/gui similarity index 100% rename from setup/linux/packages/live_add_x rename to setup/linux/packages/gui diff --git a/setup/linux/packages/live_add_min b/setup/linux/packages/live_add_min deleted file mode 100644 index b37bdc74..00000000 --- a/setup/linux/packages/live_add_min +++ /dev/null @@ -1,2 +0,0 @@ -linux-headers -macbook12-spi-driver-dkms diff --git a/setup/linux/packages/live_remove b/setup/linux/packages/live_remove deleted file mode 100644 index 2e1ffbe7..00000000 --- a/setup/linux/packages/live_remove +++ /dev/null @@ -1,21 +0,0 @@ -arch-install-scripts -b43-fwcutter -darkhttpd -gpm -grml-zsh-config -grub -irssi -mc -openvpn -ppp -pptpclient -refind-efi -rp-pppoe -smartmontools -speedtouch -testdisk -wpa_actiond -vim-minimal -vpnc -wvdial -xl2tpd diff --git a/setup/linux/include/EFI/boot/icons/dgpu.png b/setup/linux/profile_base/EFI/boot/icons/dgpu.png similarity index 100% rename from setup/linux/include/EFI/boot/icons/dgpu.png rename to setup/linux/profile_base/EFI/boot/icons/dgpu.png diff --git a/setup/linux/include/EFI/boot/icons/wk_arch.png b/setup/linux/profile_base/EFI/boot/icons/wk_arch.png similarity index 100% rename from setup/linux/include/EFI/boot/icons/wk_arch.png rename to setup/linux/profile_base/EFI/boot/icons/wk_arch.png diff --git a/setup/linux/include/EFI/boot/icons/wk_memtest.png b/setup/linux/profile_base/EFI/boot/icons/wk_memtest.png similarity index 100% rename from setup/linux/include/EFI/boot/icons/wk_memtest.png rename to setup/linux/profile_base/EFI/boot/icons/wk_memtest.png diff --git a/setup/linux/include/EFI/boot/icons/wk_win.png b/setup/linux/profile_base/EFI/boot/icons/wk_win.png similarity index 100% rename from setup/linux/include/EFI/boot/icons/wk_win.png rename to setup/linux/profile_base/EFI/boot/icons/wk_win.png diff --git a/setup/linux/include/EFI/boot/refind.conf b/setup/linux/profile_base/EFI/boot/refind.conf similarity index 100% rename from setup/linux/include/EFI/boot/refind.conf rename to setup/linux/profile_base/EFI/boot/refind.conf diff --git a/setup/linux/include/EFI/boot/selection_big.png b/setup/linux/profile_base/EFI/boot/selection_big.png similarity index 100% rename from setup/linux/include/EFI/boot/selection_big.png rename to setup/linux/profile_base/EFI/boot/selection_big.png diff --git a/setup/linux/include/EFI/boot/selection_small.png b/setup/linux/profile_base/EFI/boot/selection_small.png similarity index 100% rename from setup/linux/include/EFI/boot/selection_small.png rename to setup/linux/profile_base/EFI/boot/selection_small.png diff --git a/setup/linux/include/airootfs/etc/default/ufw b/setup/linux/profile_base/airootfs/etc/default/ufw similarity index 100% rename from setup/linux/include/airootfs/etc/default/ufw rename to setup/linux/profile_base/airootfs/etc/default/ufw diff --git a/setup/linux/include/airootfs/etc/hostname b/setup/linux/profile_base/airootfs/etc/hostname similarity index 100% rename from setup/linux/include/airootfs/etc/hostname rename to setup/linux/profile_base/airootfs/etc/hostname diff --git a/setup/linux/include/airootfs/etc/hosts b/setup/linux/profile_base/airootfs/etc/hosts similarity index 100% rename from setup/linux/include/airootfs/etc/hosts rename to setup/linux/profile_base/airootfs/etc/hosts diff --git a/setup/linux/include/airootfs/etc/locale.conf b/setup/linux/profile_base/airootfs/etc/locale.conf similarity index 100% rename from setup/linux/include/airootfs/etc/locale.conf rename to setup/linux/profile_base/airootfs/etc/locale.conf diff --git a/setup/linux/include/airootfs/etc/locale.gen b/setup/linux/profile_base/airootfs/etc/locale.gen similarity index 100% rename from setup/linux/include/airootfs/etc/locale.gen rename to setup/linux/profile_base/airootfs/etc/locale.gen diff --git a/setup/linux/include/airootfs/etc/motd b/setup/linux/profile_base/airootfs/etc/motd similarity index 100% rename from setup/linux/include/airootfs/etc/motd rename to setup/linux/profile_base/airootfs/etc/motd diff --git a/setup/linux/include/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules b/setup/linux/profile_base/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules similarity index 100% rename from setup/linux/include/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules rename to setup/linux/profile_base/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules diff --git a/setup/linux/include/airootfs/etc/skel/.aliases b/setup/linux/profile_base/airootfs/etc/skel/.aliases similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.aliases rename to setup/linux/profile_base/airootfs/etc/skel/.aliases diff --git a/setup/linux/include/airootfs/etc/skel/.bashrc b/setup/linux/profile_base/airootfs/etc/skel/.bashrc similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.bashrc rename to setup/linux/profile_base/airootfs/etc/skel/.bashrc diff --git a/setup/linux/include/airootfs/etc/skel/.dircolors b/setup/linux/profile_base/airootfs/etc/skel/.dircolors similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.dircolors rename to setup/linux/profile_base/airootfs/etc/skel/.dircolors diff --git a/setup/linux/include/airootfs/etc/skel/.rsync_exclusions b/setup/linux/profile_base/airootfs/etc/skel/.rsync_exclusions similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.rsync_exclusions rename to setup/linux/profile_base/airootfs/etc/skel/.rsync_exclusions diff --git a/setup/linux/include/airootfs/etc/skel/.tmux.conf b/setup/linux/profile_base/airootfs/etc/skel/.tmux.conf similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.tmux.conf rename to setup/linux/profile_base/airootfs/etc/skel/.tmux.conf diff --git a/setup/linux/include/airootfs/etc/skel/.update_network b/setup/linux/profile_base/airootfs/etc/skel/.update_network similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.update_network rename to setup/linux/profile_base/airootfs/etc/skel/.update_network diff --git a/setup/linux/include/airootfs/etc/skel/.vimrc b/setup/linux/profile_base/airootfs/etc/skel/.vimrc similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.vimrc rename to setup/linux/profile_base/airootfs/etc/skel/.vimrc diff --git a/setup/linux/include/airootfs/etc/skel/.zlogin b/setup/linux/profile_base/airootfs/etc/skel/.zlogin similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.zlogin rename to setup/linux/profile_base/airootfs/etc/skel/.zlogin diff --git a/setup/linux/include/airootfs/etc/skel/.zshrc b/setup/linux/profile_base/airootfs/etc/skel/.zshrc similarity index 100% rename from setup/linux/include/airootfs/etc/skel/.zshrc rename to setup/linux/profile_base/airootfs/etc/skel/.zshrc diff --git a/setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service similarity index 100% rename from setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service rename to setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service diff --git a/setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/rngd.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/rngd.service similarity index 100% rename from setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/rngd.service rename to setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/rngd.service diff --git a/setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service similarity index 100% rename from setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service rename to setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service diff --git a/setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service similarity index 100% rename from setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service rename to setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service diff --git a/setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/ufw.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/ufw.service similarity index 100% rename from setup/linux/include/airootfs/etc/systemd/system/multi-user.target.wants/ufw.service rename to setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/ufw.service diff --git a/setup/linux/include/airootfs/etc/udev/rules.d/99-udisks2.rules b/setup/linux/profile_base/airootfs/etc/udev/rules.d/99-udisks2.rules similarity index 100% rename from setup/linux/include/airootfs/etc/udev/rules.d/99-udisks2.rules rename to setup/linux/profile_base/airootfs/etc/udev/rules.d/99-udisks2.rules diff --git a/setup/linux/include/airootfs/etc/udevil/udevil.conf b/setup/linux/profile_base/airootfs/etc/udevil/udevil.conf similarity index 100% rename from setup/linux/include/airootfs/etc/udevil/udevil.conf rename to setup/linux/profile_base/airootfs/etc/udevil/udevil.conf diff --git a/setup/linux/include/airootfs/etc/ufw/ufw.conf b/setup/linux/profile_base/airootfs/etc/ufw/ufw.conf similarity index 100% rename from setup/linux/include/airootfs/etc/ufw/ufw.conf rename to setup/linux/profile_base/airootfs/etc/ufw/ufw.conf diff --git a/setup/linux/include/airootfs/etc/ufw/user.rules b/setup/linux/profile_base/airootfs/etc/ufw/user.rules similarity index 100% rename from setup/linux/include/airootfs/etc/ufw/user.rules rename to setup/linux/profile_base/airootfs/etc/ufw/user.rules diff --git a/setup/linux/include/airootfs/etc/ufw/user6.rules b/setup/linux/profile_base/airootfs/etc/ufw/user6.rules similarity index 100% rename from setup/linux/include/airootfs/etc/ufw/user6.rules rename to setup/linux/profile_base/airootfs/etc/ufw/user6.rules diff --git a/setup/linux/include/airootfs/etc/vconsole.conf b/setup/linux/profile_base/airootfs/etc/vconsole.conf similarity index 100% rename from setup/linux/include/airootfs/etc/vconsole.conf rename to setup/linux/profile_base/airootfs/etc/vconsole.conf diff --git a/setup/linux/include/isolinux/isolinux.cfg b/setup/linux/profile_base/isolinux/isolinux.cfg similarity index 100% rename from setup/linux/include/isolinux/isolinux.cfg rename to setup/linux/profile_base/isolinux/isolinux.cfg diff --git a/setup/linux/include/syslinux/splash.png b/setup/linux/profile_base/syslinux/splash.png similarity index 100% rename from setup/linux/include/syslinux/splash.png rename to setup/linux/profile_base/syslinux/splash.png diff --git a/setup/linux/include/syslinux/syslinux.cfg b/setup/linux/profile_base/syslinux/syslinux.cfg similarity index 100% rename from setup/linux/include/syslinux/syslinux.cfg rename to setup/linux/profile_base/syslinux/syslinux.cfg diff --git a/setup/linux/include/syslinux/wk.cfg b/setup/linux/profile_base/syslinux/wk.cfg similarity index 100% rename from setup/linux/include/syslinux/wk.cfg rename to setup/linux/profile_base/syslinux/wk.cfg diff --git a/setup/linux/include/syslinux/wk_hdt.cfg b/setup/linux/profile_base/syslinux/wk_hdt.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_hdt.cfg rename to setup/linux/profile_base/syslinux/wk_hdt.cfg diff --git a/setup/linux/include/syslinux/wk_head.cfg b/setup/linux/profile_base/syslinux/wk_head.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_head.cfg rename to setup/linux/profile_base/syslinux/wk_head.cfg diff --git a/setup/linux/include/syslinux/wk_iso.cfg b/setup/linux/profile_base/syslinux/wk_iso.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_iso.cfg rename to setup/linux/profile_base/syslinux/wk_iso.cfg diff --git a/setup/linux/include/syslinux/wk_iso_linux.cfg b/setup/linux/profile_base/syslinux/wk_iso_linux.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_iso_linux.cfg rename to setup/linux/profile_base/syslinux/wk_iso_linux.cfg diff --git a/setup/linux/include/syslinux/wk_pxe.cfg b/setup/linux/profile_base/syslinux/wk_pxe.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_pxe.cfg rename to setup/linux/profile_base/syslinux/wk_pxe.cfg diff --git a/setup/linux/include/syslinux/wk_pxe_linux.cfg b/setup/linux/profile_base/syslinux/wk_pxe_linux.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_pxe_linux.cfg rename to setup/linux/profile_base/syslinux/wk_pxe_linux.cfg diff --git a/setup/linux/include/syslinux/wk_pxe_winpe.cfg b/setup/linux/profile_base/syslinux/wk_pxe_winpe.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_pxe_winpe.cfg rename to setup/linux/profile_base/syslinux/wk_pxe_winpe.cfg diff --git a/setup/linux/include/syslinux/wk_sys.cfg b/setup/linux/profile_base/syslinux/wk_sys.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_sys.cfg rename to setup/linux/profile_base/syslinux/wk_sys.cfg diff --git a/setup/linux/include/syslinux/wk_sys_linux.cfg b/setup/linux/profile_base/syslinux/wk_sys_linux.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_sys_linux.cfg rename to setup/linux/profile_base/syslinux/wk_sys_linux.cfg diff --git a/setup/linux/include/syslinux/wk_sys_winpe.cfg b/setup/linux/profile_base/syslinux/wk_sys_winpe.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_sys_winpe.cfg rename to setup/linux/profile_base/syslinux/wk_sys_winpe.cfg diff --git a/setup/linux/include/syslinux/wk_tail.cfg b/setup/linux/profile_base/syslinux/wk_tail.cfg similarity index 100% rename from setup/linux/include/syslinux/wk_tail.cfg rename to setup/linux/profile_base/syslinux/wk_tail.cfg diff --git a/setup/linux/include_x/airootfs/etc/skel/.Xauthority b/setup/linux/profile_gui/airootfs/etc/skel/.Xauthority similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.Xauthority rename to setup/linux/profile_gui/airootfs/etc/skel/.Xauthority diff --git a/setup/linux/include_x/airootfs/etc/skel/.Xresources b/setup/linux/profile_gui/airootfs/etc/skel/.Xresources similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.Xresources rename to setup/linux/profile_gui/airootfs/etc/skel/.Xresources diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/Thunar/accels.scm b/setup/linux/profile_gui/airootfs/etc/skel/.config/Thunar/accels.scm similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/Thunar/accels.scm rename to setup/linux/profile_gui/airootfs/etc/skel/.config/Thunar/accels.scm diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/Thunar/uca.xml b/setup/linux/profile_gui/airootfs/etc/skel/.config/Thunar/uca.xml similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/Thunar/uca.xml rename to setup/linux/profile_gui/airootfs/etc/skel/.config/Thunar/uca.xml diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/conky/base.conf b/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/conky/base.conf rename to setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/dunst/dunstrc b/setup/linux/profile_gui/airootfs/etc/skel/.config/dunst/dunstrc similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/dunst/dunstrc rename to setup/linux/profile_gui/airootfs/etc/skel/.config/dunst/dunstrc diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/gtk-3.0/settings.ini b/setup/linux/profile_gui/airootfs/etc/skel/.config/gtk-3.0/settings.ini similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/gtk-3.0/settings.ini rename to setup/linux/profile_gui/airootfs/etc/skel/.config/gtk-3.0/settings.ini diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/i3/config b/setup/linux/profile_gui/airootfs/etc/skel/.config/i3/config similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/i3/config rename to setup/linux/profile_gui/airootfs/etc/skel/.config/i3/config diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/i3status/config b/setup/linux/profile_gui/airootfs/etc/skel/.config/i3status/config similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/i3status/config rename to setup/linux/profile_gui/airootfs/etc/skel/.config/i3status/config diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/mimeapps.list b/setup/linux/profile_gui/airootfs/etc/skel/.config/mimeapps.list similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/mimeapps.list rename to setup/linux/profile_gui/airootfs/etc/skel/.config/mimeapps.list diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/openbox/autostart b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/autostart similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/openbox/autostart rename to setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/autostart diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/openbox/environment b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/environment similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/openbox/environment rename to setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/environment diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/openbox/menu.xml b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/openbox/menu.xml rename to setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/openbox/rc.xml b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/openbox/rc.xml rename to setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/rofi/config b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/config similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/rofi/config rename to setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/config diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/systemd/user/timers.target.wants/update-conky.timer b/setup/linux/profile_gui/airootfs/etc/skel/.config/systemd/user/timers.target.wants/update-conky.timer similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/systemd/user/timers.target.wants/update-conky.timer rename to setup/linux/profile_gui/airootfs/etc/skel/.config/systemd/user/timers.target.wants/update-conky.timer diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/systemd/user/update-conky.service b/setup/linux/profile_gui/airootfs/etc/skel/.config/systemd/user/update-conky.service similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/systemd/user/update-conky.service rename to setup/linux/profile_gui/airootfs/etc/skel/.config/systemd/user/update-conky.service diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/systemd/user/update-conky.timer b/setup/linux/profile_gui/airootfs/etc/skel/.config/systemd/user/update-conky.timer similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/systemd/user/update-conky.timer rename to setup/linux/profile_gui/airootfs/etc/skel/.config/systemd/user/update-conky.timer diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/tint2/tint2rc b/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/tint2/tint2rc rename to setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc diff --git a/setup/linux/include_x/airootfs/etc/skel/.config/volumeicon/volumeicon b/setup/linux/profile_gui/airootfs/etc/skel/.config/volumeicon/volumeicon similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.config/volumeicon/volumeicon rename to setup/linux/profile_gui/airootfs/etc/skel/.config/volumeicon/volumeicon diff --git a/setup/linux/include_x/airootfs/etc/skel/.gtkrc-2.0 b/setup/linux/profile_gui/airootfs/etc/skel/.gtkrc-2.0 similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.gtkrc-2.0 rename to setup/linux/profile_gui/airootfs/etc/skel/.gtkrc-2.0 diff --git a/setup/linux/include_x/airootfs/etc/skel/.start_desktop_apps b/setup/linux/profile_gui/airootfs/etc/skel/.start_desktop_apps similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.start_desktop_apps rename to setup/linux/profile_gui/airootfs/etc/skel/.start_desktop_apps diff --git a/setup/linux/include_x/airootfs/etc/skel/.update_conky b/setup/linux/profile_gui/airootfs/etc/skel/.update_conky similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.update_conky rename to setup/linux/profile_gui/airootfs/etc/skel/.update_conky diff --git a/setup/linux/include_x/airootfs/etc/skel/.update_x b/setup/linux/profile_gui/airootfs/etc/skel/.update_x similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.update_x rename to setup/linux/profile_gui/airootfs/etc/skel/.update_x diff --git a/setup/linux/include_x/airootfs/etc/skel/.wallpaper b/setup/linux/profile_gui/airootfs/etc/skel/.wallpaper similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.wallpaper rename to setup/linux/profile_gui/airootfs/etc/skel/.wallpaper diff --git a/setup/linux/include_x/airootfs/etc/skel/.xinitrc b/setup/linux/profile_gui/airootfs/etc/skel/.xinitrc similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.xinitrc rename to setup/linux/profile_gui/airootfs/etc/skel/.xinitrc diff --git a/setup/linux/include_x/airootfs/etc/skel/.zlogin b/setup/linux/profile_gui/airootfs/etc/skel/.zlogin similarity index 100% rename from setup/linux/include_x/airootfs/etc/skel/.zlogin rename to setup/linux/profile_gui/airootfs/etc/skel/.zlogin diff --git a/setup/linux/include_x/airootfs/usr/share/applications/Hardware Diagnostics.desktop b/setup/linux/profile_gui/airootfs/usr/share/applications/Hardware Diagnostics.desktop similarity index 100% rename from setup/linux/include_x/airootfs/usr/share/applications/Hardware Diagnostics.desktop rename to setup/linux/profile_gui/airootfs/usr/share/applications/Hardware Diagnostics.desktop diff --git a/setup/linux/include_x/airootfs/usr/share/applications/Hardware Information.desktop b/setup/linux/profile_gui/airootfs/usr/share/applications/Hardware Information.desktop similarity index 100% rename from setup/linux/include_x/airootfs/usr/share/applications/Hardware Information.desktop rename to setup/linux/profile_gui/airootfs/usr/share/applications/Hardware Information.desktop diff --git a/setup/linux/include_x/airootfs/usr/share/applications/NetworkTest.desktop b/setup/linux/profile_gui/airootfs/usr/share/applications/NetworkTest.desktop similarity index 100% rename from setup/linux/include_x/airootfs/usr/share/applications/NetworkTest.desktop rename to setup/linux/profile_gui/airootfs/usr/share/applications/NetworkTest.desktop From 118012d7e29f74d32351700a31e41bc5ab27fb87 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 10 Jan 2021 19:28:51 -0700 Subject: [PATCH 17/20] Merge refactored code NOTE: This was unintentionally squashed so some details were lost * Major updates to build_linux to support the current archiso scripts * Most customize_airootfs.sh code has been moved elsewhere * Using static files or links where possible * Generating other files as needed in build_linux * Syslinux configuration has been simplified * Dropped i3 * Dropped rxvt-unicode in favor of termite * Font rendering broke one too many times * Dropped NetworkManager in favor of iwd/systemd-networkd --- scripts/resize-and-run | 15 + scripts/start-max | 4 + scripts/tint2-sensors | 61 ++++ setup/build_linux | 194 +++++----- setup/linux/packages/aur | 5 +- setup/linux/packages/base | 15 +- setup/linux/packages/dependencies | 3 + setup/linux/packages/gui | 9 +- setup/linux/profile_base/EFI/boot/refind.conf | 12 +- setup/linux/profile_base/airootfs/etc/group | 8 + setup/linux/profile_base/airootfs/etc/gshadow | 2 + .../linux/profile_base/airootfs/etc/hostname | 1 - .../profile_base/airootfs/etc/locale.gen | 2 - .../profile_base/airootfs/etc/mkinitcpio.conf | 70 ++++ .../airootfs/etc/mkinitcpio.d/linux.preset | 11 + setup/linux/profile_base/airootfs/etc/passwd | 2 + setup/linux/profile_base/airootfs/etc/shadow | 1 + .../profile_base/airootfs/etc/skel/.aliases | 2 +- .../profile_base/airootfs/etc/ssh/sshd_config | 116 ++++++ .../journald.conf.d/volatile-storage.conf | 5 + .../systemd/logind.conf.d/do-not-suspend.conf | 7 + .../etc/systemd/network/20-ethernet.network | 13 + .../etc/systemd/network/20-wireless.network | 13 + .../airootfs/etc/systemd/system.conf | 3 + .../dbus-org.freedesktop.network1.service | 1 + .../dbus-org.freedesktop.resolve1.service | 1 + .../systemd/system/etc-pacman.d-gnupg.mount | 11 + .../getty@tty1.service.d/autologin.conf | 3 + .../NetworkManager.service | 1 - .../multi-user.target.wants/iwd.service | 1 + .../systemd-networkd.service | 1 + .../systemd-resolved.service | 1 + .../etc/systemd/system/pacman-init.service | 18 + .../systemd-networkd.socket | 1 + .../airootfs/etc/systemd/timesyncd.conf | 2 + .../airootfs/root/customize_airootfs.sh | 19 + .../loader/entries/archiso-x86_64-linux.conf | 7 + .../profile_base/efiboot/loader/loader.conf | 5 + .../linux/profile_base/isolinux/isolinux.cfg | 6 - setup/linux/profile_base/pacman.conf | 14 + setup/linux/profile_base/profiledef.sh | 18 + .../syslinux/{wk_sys_linux.cfg => linux.cfg} | 13 +- setup/linux/profile_base/syslinux/memtest.cfg | 8 + .../linux/profile_base/syslinux/syslinux.cfg | 56 ++- setup/linux/profile_base/syslinux/winpe.cfg | 8 + setup/linux/profile_base/syslinux/wk.cfg | 14 - setup/linux/profile_base/syslinux/wk_hdt.cfg | 5 - setup/linux/profile_base/syslinux/wk_head.cfg | 43 --- setup/linux/profile_base/syslinux/wk_iso.cfg | 6 - .../profile_base/syslinux/wk_iso_linux.cfg | 31 -- setup/linux/profile_base/syslinux/wk_pxe.cfg | 8 - .../profile_base/syslinux/wk_pxe_linux.cfg | 32 -- .../profile_base/syslinux/wk_pxe_winpe.cfg | 8 - setup/linux/profile_base/syslinux/wk_sys.cfg | 7 - .../profile_base/syslinux/wk_sys_winpe.cfg | 8 - setup/linux/profile_base/syslinux/wk_tail.cfg | 9 - .../airootfs/etc/skel/.config/conky/base.conf | 2 +- .../airootfs/etc/skel/.config/i3/config | 335 ------------------ .../airootfs/etc/skel/.config/i3status/config | 76 ---- .../etc/skel/.config/openbox/menu.xml | 2 +- .../airootfs/etc/skel/.config/openbox/rc.xml | 20 +- .../airootfs/etc/skel/.config/termite/config | 90 +++++ .../airootfs/etc/skel/.config/tint2/tint2rc | 20 +- .../airootfs/etc/skel/.start_desktop_apps | 16 +- .../airootfs/etc/skel/.update_conky | 5 - .../profile_gui/airootfs/etc/skel/.update_x | 16 +- .../profile_gui/airootfs/etc/skel/.zlogin | 5 - 67 files changed, 743 insertions(+), 784 deletions(-) create mode 100755 scripts/resize-and-run create mode 100755 scripts/start-max create mode 100755 scripts/tint2-sensors create mode 100644 setup/linux/profile_base/airootfs/etc/group create mode 100644 setup/linux/profile_base/airootfs/etc/gshadow delete mode 100644 setup/linux/profile_base/airootfs/etc/hostname delete mode 100644 setup/linux/profile_base/airootfs/etc/locale.gen create mode 100644 setup/linux/profile_base/airootfs/etc/mkinitcpio.conf create mode 100644 setup/linux/profile_base/airootfs/etc/mkinitcpio.d/linux.preset create mode 100644 setup/linux/profile_base/airootfs/etc/passwd create mode 100644 setup/linux/profile_base/airootfs/etc/shadow create mode 100644 setup/linux/profile_base/airootfs/etc/ssh/sshd_config create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/network/20-ethernet.network create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/network/20-wireless.network create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/system.conf create mode 120000 setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service create mode 120000 setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf delete mode 120000 setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service create mode 120000 setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service create mode 120000 setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service create mode 120000 setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/system/pacman-init.service create mode 120000 setup/linux/profile_base/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket create mode 100644 setup/linux/profile_base/airootfs/etc/systemd/timesyncd.conf create mode 100755 setup/linux/profile_base/airootfs/root/customize_airootfs.sh create mode 100644 setup/linux/profile_base/efiboot/loader/entries/archiso-x86_64-linux.conf create mode 100644 setup/linux/profile_base/efiboot/loader/loader.conf delete mode 100644 setup/linux/profile_base/isolinux/isolinux.cfg create mode 100644 setup/linux/profile_base/pacman.conf create mode 100644 setup/linux/profile_base/profiledef.sh rename setup/linux/profile_base/syslinux/{wk_sys_linux.cfg => linux.cfg} (59%) create mode 100644 setup/linux/profile_base/syslinux/memtest.cfg create mode 100644 setup/linux/profile_base/syslinux/winpe.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_hdt.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_head.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_iso.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_iso_linux.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_pxe.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_pxe_linux.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_pxe_winpe.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_sys.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_sys_winpe.cfg delete mode 100644 setup/linux/profile_base/syslinux/wk_tail.cfg delete mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/i3/config delete mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/i3status/config create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/termite/config diff --git a/scripts/resize-and-run b/scripts/resize-and-run new file mode 100755 index 00000000..a96ba005 --- /dev/null +++ b/scripts/resize-and-run @@ -0,0 +1,15 @@ +#!/bin/bash +# + +# Magic numbers: +## Width: | 20 | term_x | 20 | 180 (conky) | 20 | +## Height: | 24 | 10 (titlebar) | term_y | 24 | 30 (Tint2) | +## X Offset: 20 - 5 (shadow?) +## Y Offset: 24 - 5 (shadow?) + +source ~/.screen_data + +term_width="$(echo "$width_px - 240" | bc)" +term_height="$(echo "$height_px - 88" | bc)" + +wmctrl -r :ACTIVE: -e "0,15,19,$term_width,$term_height" && "$@" diff --git a/scripts/start-max b/scripts/start-max new file mode 100755 index 00000000..2b27765b --- /dev/null +++ b/scripts/start-max @@ -0,0 +1,4 @@ +#!/bin/bash +# + +wmctrl -r:ACTIVE: -b toggle,maximized_vert,maximized_horz && "$@" diff --git a/scripts/tint2-sensors b/scripts/tint2-sensors new file mode 100755 index 00000000..e5e31145 --- /dev/null +++ b/scripts/tint2-sensors @@ -0,0 +1,61 @@ +#!/bin/env python3 +# + +import json +import re +import subprocess + +CPU_REGEX = re.compile(r'(core|k\d+)temp', re.IGNORECASE) +NON_TEMP_REGEX = re.compile(r'^(fan|in|curr)', re.IGNORECASE) + +def get_data(): + cmd = ('sensors', '-j') + data = {} + raw_data = [] + + try: + proc = subprocess.run( + args=cmd, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + encoding='utf-8', + check=True, + ) + except subprocess.CalledProcessError: + return data + + for line in proc.stdout.splitlines(): + if line.strip() == ',': + # Assuming malformatted line caused by missing data + continue + raw_data.append(line) + + try: + data = json.loads('\n'.join(raw_data)) + except json.JSONDecodeError: + # Still broken, just return the empty dict + pass + + return data + +def parse_data(data): + cpu_temps = [] + for adapter, sources in data.items(): + if not CPU_REGEX.search(adapter): + continue + sources.pop('Adapter', None) + + for labels in sources.values(): + for label, temp in sorted(labels.items()): + if NON_TEMP_REGEX.search(label): + continue + cpu_temps.append(temp) + + cpu_temps = [f'{int(temp)}°' for temp in cpu_temps] + if not cpu_temps: + cpu_temps.append('??°') + return ' | '.join(cpu_temps) + +if __name__ == '__main__': + sensor_data = get_data() + print(f' {parse_data(sensor_data)}') diff --git a/setup/build_linux b/setup/build_linux index 7b064788..035b2a43 100755 --- a/setup/build_linux +++ b/setup/build_linux @@ -8,17 +8,17 @@ set -o nounset set -o pipefail # Prep -DATE="$(date +%F)" -DATETIME="$(date +%F_%H%M)" +DATE="$(date +%Y-%m-%d)" +DATETIME="$(date +%Y-%m-%d_%H%M)" ROOT_DIR="$(realpath $(dirname "$0")/..)" BUILD_DIR="$ROOT_DIR/setup/BUILD" -LIVE_DIR="$BUILD_DIR/live" LOG_DIR="$BUILD_DIR/logs" OUT_DIR="$ROOT_DIR/setup/OUT" +PROFILE_DIR="$BUILD_DIR/archiso-profile" REPO_DIR="$BUILD_DIR/repo" -SKEL_DIR="$LIVE_DIR/airootfs/etc/skel" +SKEL_DIR="$PROFILE_DIR/airootfs/etc/skel" TEMP_DIR="$BUILD_DIR/temp" -MIRRORLIST_SOURCE='https://www.archlinux.org/mirrorlist/?country=US&protocol=http&protocol=https&ip_version=4&use_mirror_status=on' +MIRRORLIST_SOURCE='https://archlinux.org/mirrorlist/?country=US&protocol=http&protocol=https&ip_version=4&use_mirror_status=on' if command -v nano >/dev/null 2>&1; then EDITOR=nano elif command -v vim >/dev/null 2>&1; then @@ -42,7 +42,7 @@ function ask() { } function cleanup() { - for d in "$TEMP_DIR" "$LIVE_DIR"; do + for d in "$TEMP_DIR" "$PROFILE_DIR"; do if [[ -d "$d" ]]; then if ask "Remove: ${d}?"; then rm -Rf "$d" @@ -74,27 +74,19 @@ function load_settings() { function copy_live_env() { echo "Copying Archlinux files..." - rsync -aI /usr/share/archiso/configs/releng/ "$LIVE_DIR/" - - # Remove items - rm "$LIVE_DIR/airootfs/etc/systemd/scripts/choose-mirror" - rmdir "$LIVE_DIR/airootfs/etc/systemd/scripts" --ignore-fail-on-non-empty - rm "$LIVE_DIR/airootfs/etc/systemd/system/choose-mirror.service" - rm "$LIVE_DIR/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount" - rm "$LIVE_DIR/airootfs/etc/systemd/system/pacman-init.service" - rm "$LIVE_DIR/airootfs/etc/udev/rules.d/81-dhcpcd.rules" - rmdir "$LIVE_DIR/airootfs/etc/udev/rules.d" --ignore-fail-on-non-empty - rmdir "$LIVE_DIR/airootfs/etc/udev" --ignore-fail-on-non-empty - rm "$LIVE_DIR/isolinux"/*.cfg - rm "$LIVE_DIR/syslinux"/*.cfg "$LIVE_DIR/syslinux"/*.png + rsync -aI "$ROOT_DIR/setup/linux/profile_base/" "$PROFILE_DIR/" # Add items - rsync -aI "$ROOT_DIR/setup/linux/include/" "$LIVE_DIR/" if [[ "${1:-}" != "--minimal" ]]; then - rsync -aI "$ROOT_DIR/setup/linux/include_x/" "$LIVE_DIR/" + rsync -aI "$ROOT_DIR/setup/linux/profile_gui/" "$PROFILE_DIR/" fi - mkdir -p "$LIVE_DIR/airootfs/usr/local/bin" - rsync -aI "$ROOT_DIR/scripts/" "$LIVE_DIR/airootfs/usr/local/bin/" + mkdir -p "$PROFILE_DIR/airootfs/usr/local/bin" + rsync -aI "$ROOT_DIR/scripts/" "$PROFILE_DIR/airootfs/usr/local/bin/" + + # Update profiledef.sh to set proper permissions for executable files + for _file in $(find "$PROFILE_DIR/airootfs" -executable -type f | sed "s%$PROFILE_DIR/airootfs%%" | sort); do + sed -i "\$i\ [\"$_file\"]=\"0:0:0755\"" "$PROFILE_DIR/profiledef.sh" + done } function run_elevated() { @@ -123,71 +115,67 @@ function update_live_env() { username="tech" label="${KIT_NAME_SHORT}_LINUX" + # MOTD + sed -i -r "s/KIT_NAME_SHORT/$KIT_NAME_SHORT/" "$PROFILE_DIR/profiledef.sh" + sed -i -r "s/KIT_NAME_FULL/$KIT_NAME_SHORT/" "$PROFILE_DIR/profiledef.sh" + sed -i -r "s/SUPPORT_URL/$KIT_NAME_SHORT/" "$PROFILE_DIR/profiledef.sh" + # Boot config (legacy) - mkdir -p "$LIVE_DIR/arch" - cp "$ROOT_DIR/images/Pxelinux.png" "$LIVE_DIR/arch/pxelinux.png" - cp "$ROOT_DIR/images/Syslinux.png" "$LIVE_DIR/arch/syslinux.png" - sed -i -r "s/_+/$KIT_NAME_FULL/" "$LIVE_DIR/syslinux/wk_head.cfg" + mkdir -p "$PROFILE_DIR/arch" + cp "$ROOT_DIR/images/Pxelinux.png" "$PROFILE_DIR/arch/pxelinux.png" + cp "$ROOT_DIR/images/Syslinux.png" "$PROFILE_DIR/arch/syslinux.png" + sed -i -r "s/__+/$KIT_NAME_FULL/" "$PROFILE_DIR/syslinux/syslinux.cfg" mkdir -p "$TEMP_DIR" 2>/dev/null curl -Lo "$TEMP_DIR/wimboot.zip" "http://git.ipxe.org/releases/wimboot/wimboot-latest.zip" - 7z e -aoa "$TEMP_DIR/wimboot.zip" -o"$LIVE_DIR/arch/boot" 'wimboot*/LICENSE.txt' 'wimboot*/README.txt' 'wimboot*/wimboot' + 7z e -aoa "$TEMP_DIR/wimboot.zip" -o"$PROFILE_DIR/arch/boot" 'wimboot*/LICENSE.txt' 'wimboot*/README.txt' 'wimboot*/wimboot' # Boot config (UEFI) - mkdir -p "$LIVE_DIR/EFI/boot" - cp "/usr/share/refind/refind_x64.efi" "$LIVE_DIR/EFI/boot/bootx64.efi" - cp "$ROOT_DIR/images/rEFInd.png" "$LIVE_DIR/EFI/boot/rEFInd.png" - rsync -aI "/usr/share/refind/drivers_x64/" "$LIVE_DIR/EFI/boot/drivers_x64/" - rsync -aI "/usr/share/refind/icons/" "$LIVE_DIR/EFI/boot/icons/" --exclude "/usr/share/refind/icons/svg" - sed -i "s/%ARCHISO_LABEL%/${label}/" "$LIVE_DIR/EFI/boot/refind.conf" - - # Customize_airootfs.sh - sed -i -r 's/set -e -u/set -o errexit\nset -o errtrace\nset -o nounset\nset -o pipefail/' "$LIVE_DIR/airootfs/root/customize_airootfs.sh" + mkdir -p "$PROFILE_DIR/EFI/boot" + cp "/usr/share/refind/refind_x64.efi" "$PROFILE_DIR/EFI/boot/bootx64.efi" + cp "$ROOT_DIR/images/rEFInd.png" "$PROFILE_DIR/EFI/boot/rEFInd.png" + rsync -aI "/usr/share/refind/drivers_x64/" "$PROFILE_DIR/EFI/boot/drivers_x64/" + rsync -aI "/usr/share/refind/icons/" "$PROFILE_DIR/EFI/boot/icons/" --exclude "/usr/share/refind/icons/svg" + sed -i "s/%ARCHISO_LABEL%/${label}/" "$PROFILE_DIR/EFI/boot/refind.conf" # Memtest86 - mkdir -p "$LIVE_DIR/EFI/memtest86/Benchmark" + mkdir -p "$PROFILE_DIR/EFI/memtest86/Benchmark" mkdir -p "$TEMP_DIR/memtest86" curl -Lo "$TEMP_DIR/memtest86/memtest86-usb.zip" "https://www.memtest86.com/downloads/memtest86-usb.zip" 7z e -aoa "$TEMP_DIR/memtest86/memtest86-usb.zip" -o"$TEMP_DIR/memtest86" "memtest86-usb.img" 7z e -aoa "$TEMP_DIR/memtest86/memtest86-usb.img" -o"$TEMP_DIR/memtest86" "MemTest86.img" 7z x -aoa "$TEMP_DIR/memtest86/MemTest86.img" -o"$TEMP_DIR/memtest86" rm "$TEMP_DIR/memtest86/EFI/BOOT/BOOTIA32.efi" - mv "$TEMP_DIR/memtest86/EFI/BOOT/BOOTX64.efi" "$LIVE_DIR/EFI/memtest86/memtestx64.efi" - mv "$TEMP_DIR/memtest86/EFI/BOOT"/* "$LIVE_DIR/EFI/memtest86"/ - mv "$TEMP_DIR/memtest86/help"/* "$LIVE_DIR/EFI/memtest86"/ - mv "$TEMP_DIR/memtest86/license.rtf" "$LIVE_DIR/EFI/memtest86"/ + mv "$TEMP_DIR/memtest86/EFI/BOOT/BOOTX64.efi" "$PROFILE_DIR/EFI/memtest86/memtestx64.efi" + mv "$TEMP_DIR/memtest86/EFI/BOOT"/* "$PROFILE_DIR/EFI/memtest86"/ + mv "$TEMP_DIR/memtest86/help"/* "$PROFILE_DIR/EFI/memtest86"/ + mv "$TEMP_DIR/memtest86/license.rtf" "$PROFILE_DIR/EFI/memtest86"/ # build.sh - if ! grep -iq 'wizardkit additions' "$LIVE_DIR/build.sh"; then - sed -i -r 's/^(run_once make_iso)$/# wizardkit additions\n\1/' "$LIVE_DIR/build.sh" - sed -i "/# wizardkit additions/r $ROOT_DIR/setup/linux/build_additions.txt" "$LIVE_DIR/build.sh" - fi + #if ! grep -iq 'wizardkit additions' "$PROFILE_DIR/build.sh"; then + # sed -i -r 's/^(run_once make_iso)$/# wizardkit additions\n\1/' "$PROFILE_DIR/build.sh" + # sed -i "/# wizardkit additions/r $ROOT_DIR/setup/linux/build_additions.txt" "$PROFILE_DIR/build.sh" + #fi # Hostname - echo "$hostname" > "$LIVE_DIR/airootfs/etc/hostname" - echo "127.0.1.1 $hostname.localdomain $hostname" >> "$LIVE_DIR/airootfs/etc/hosts" + echo "$hostname" > "$PROFILE_DIR/airootfs/etc/hostname" + echo "127.0.1.1 $hostname.localdomain $hostname" >> "$PROFILE_DIR/airootfs/etc/hosts" # Live packages - while read -r p; do - sed -i "/$p/d" "$LIVE_DIR/packages.x86_64" - done < "$ROOT_DIR/setup/linux/packages/live_remove" - cat "$ROOT_DIR/setup/linux/packages/live_add" >> "$LIVE_DIR/packages.x86_64" - if [[ "${1:-}" == "--minimal" ]]; then - cat "$ROOT_DIR/setup/linux/packages/live_add_min" >> "$LIVE_DIR/packages.x86_64" - else - cat "$ROOT_DIR/setup/linux/packages/live_add_x" >> "$LIVE_DIR/packages.x86_64" + cp "$ROOT_DIR/setup/linux/packages/base" "$PROFILE_DIR/packages.x86_64" + if [[ "${1:-}" != "--minimal" ]]; then + cat "$ROOT_DIR/setup/linux/packages/gui" >> "$PROFILE_DIR/packages.x86_64" fi - echo "[custom]" >> "$LIVE_DIR/pacman.conf" - echo "SigLevel = Optional TrustAll" >> "$LIVE_DIR/pacman.conf" - echo "Server = file://$REPO_DIR" >> "$LIVE_DIR/pacman.conf" - echo "" >> "$LIVE_DIR/pacman.conf" + echo "[custom]" >> "$PROFILE_DIR/pacman.conf" + echo "SigLevel = Optional TrustAll" >> "$PROFILE_DIR/pacman.conf" + echo "Server = file://$REPO_DIR" >> "$PROFILE_DIR/pacman.conf" # Mirrors - sed -i -r 's/^(.*mirrorlist.*)$/#NOPE#\1/' "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo "curl -o '/etc/pacman.d/mirrorlist' '$MIRRORLIST_SOURCE'" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo "sed -i 's/#Server/Server/g' /etc/pacman.d/mirrorlist" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" + mkdir -p "$PROFILE_DIR/airootfs/etc/pacman.d" + curl -Lo "$PROFILE_DIR/airootfs/etc/pacman.d/mirrorlist" "$MIRRORLIST_SOURCE" + sed -i 's/#Server/Server/g' "$PROFILE_DIR/airootfs/etc/pacman.d/mirrorlist" # MOTD - sed -i -r "s/_+/$KIT_NAME_FULL Linux Environment/" "$LIVE_DIR/airootfs/etc/motd" + sed -i -r "s/_+/$KIT_NAME_FULL Linux Environment/" "$PROFILE_DIR/airootfs/etc/motd" # Oh My ZSH git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git "$SKEL_DIR/.oh-my-zsh" @@ -197,64 +185,38 @@ function update_live_env() { if [[ "${1:-}" != "--minimal" ]]; then # Openbox theme git clone --depth=1 https://github.com/addy-dclxvi/Openbox-Theme-Collections.git "$TEMP_DIR/ob-themes" - mkdir -p "$LIVE_DIR/airootfs/usr/share/themes" - cp -a "$TEMP_DIR/ob-themes/Triste-Orange" "$LIVE_DIR/airootfs/usr/share/themes/" + mkdir -p "$PROFILE_DIR/airootfs/usr/share/themes" + cp -a "$TEMP_DIR/ob-themes/Triste-Orange" "$PROFILE_DIR/airootfs/usr/share/themes/" fi - # Services - sed -i -r 's/^(.*pacman-init.*)$/#NOPE#\1/' "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - sed -i -r 's/^(.*choose-mirror.*)$/#NOPE#\1/' "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - - # Shutdown stall fix - echo "sed -i -r 's/^.*(DefaultTimeoutStartSec)=.*$/\1=15s/' /etc/systemd/system.conf" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo "sed -i -r 's/^.*(DefaultTimeoutStopSec)=.*$/\1=15s/' /etc/systemd/system.conf" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - # SSH mkdir -p "$SKEL_DIR/.ssh" ssh-keygen -b 4096 -C "$username@$hostname" -N "" -f "$SKEL_DIR/.ssh/id_rsa" - echo 'rm /root/.ssh/id*' >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo 'rm /root/.zlogin' >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - sed -i -r '/.*PermitRootLogin.*/d' "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo "sed -i -r '/.*PermitRootLogin.*/d' /etc/ssh/sshd_config" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" cp "$ROOT_DIR/setup/linux/authorized_keys" "$SKEL_DIR/.ssh/authorized_keys" # Root user - echo "echo 'root:$ROOT_PASSWORD' | chpasswd" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - - # Sudo - echo "echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" + echo "root:$(echo "$ROOT_PASSWORD" | openssl passwd -6 -stdin):14871::::::" >> "$PROFILE_DIR/airootfs/etc/shadow" # Tech user - echo "groupadd -r autologin" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo "useradd -m -s /bin/zsh -G autologin,power,storage,wheel -U $username" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo "echo '$username:$TECH_PASSWORD' | chpasswd" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" + echo "tech:$(echo "$TECH_PASSWORD" | openssl passwd -6 -stdin):14871::::::" >> "$PROFILE_DIR/airootfs/etc/shadow" - # Tech user autologin - mkdir -p "$LIVE_DIR/airootfs/etc/systemd/system/getty@tty1.service.d" - echo "[Service]" > "$LIVE_DIR/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf" - echo "ExecStart=" >> "$LIVE_DIR/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf" - echo "ExecStart=-/sbin/agetty --autologin $username --noclear %I 38400 linux" >> "$LIVE_DIR/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf" - - # Timezone - echo "ln -sf '/usr/share/zoneinfo/$LINUX_TIME_ZONE' '/etc/localtime'" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo 'sed -i "s/#FallbackNTP/NTP/" /etc/systemd/timesyncd.conf' >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - - # udevil fix - echo "mkdir /media" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" + # Timezonew + ln -sf "/usr/share/zoneinfo/$LINUX_TIME_ZONE" "$PROFILE_DIR/airootfs/etc/localtime" if [[ "${1:-}" != "--minimal" ]]; then # VNC password - echo "mkdir '/home/$username/.vnc'" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" - echo "echo '$TECH_PASSWORD' | vncpasswd -f > '/home/$username/.vnc/passwd'" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" + mkdir "$SKEL_DIR/.vnc" + echo "$TECH_PASSWORD" | vncpasswd -f > "$SKEL_DIR/.vnc/passwd" # Wallpaper - mkdir -p "$LIVE_DIR/airootfs/usr/share/wallpaper" - cp "$ROOT_DIR/images/Linux.png" "$LIVE_DIR/airootfs/usr/share/wallpaper/burned.in" + mkdir -p "$PROFILE_DIR/airootfs/usr/share/wallpaper" + cp "$ROOT_DIR/images/Linux.png" "$PROFILE_DIR/airootfs/usr/share/wallpaper/burned.in" fi # WiFi - cp "$ROOT_DIR/setup/linux/known_networks" "$LIVE_DIR/airootfs/root/known_networks" - echo "add-known-networks --user=$username" >> "$LIVE_DIR/airootfs/root/customize_airootfs.sh" + # TODO + #cp "$ROOT_DIR/setup/linux/known_networks" "$PROFILE_DIR/airootfs/root/known_networks" + #echo "add-known-networks --user=$username" >> "$PROFILE_DIR/airootfs/root/customize_airootfs.sh" } function update_repo() { @@ -268,7 +230,7 @@ function update_repo() { # Archive current files if [[ -d "$REPO_DIR" ]]; then mkdir -p "$BUILD_DIR/Archive" 2>/dev/null - archive="$BUILD_DIR/Archive/$(date "+%F_%H%M%S")" + archive="$BUILD_DIR/Archive/$(date "+%Y-%m-%d_%H%M%S")" mv -bv "$REPO_DIR" "$archive" fi sleep 1s @@ -282,15 +244,18 @@ function update_repo() { curl -LsfO https://aur.archlinux.org/cgit/aur.git/snapshot/$p.tar.gz tar xf $p.tar.gz pushd $p >/dev/null + if [[ "$p" == "hfsprogs" ]]; then + sed -i 's!http://cavan.codon.org.uk/\~mjg59/diskdev_cmds!https://sources.voidlinux.org/hfsprogs-540.1.linux3!' "$TEMP_DIR/hfsprogs/PKGBUILD" + fi makepkg -d popd >/dev/null - mv -n $p/*xz "$REPO_DIR"/ + mv -n $p/*zst "$REPO_DIR"/ done < "$ROOT_DIR/setup/linux/packages/aur" popd >/dev/null # Build custom repo database pushd "$REPO_DIR" >/dev/null - repo-add custom.db.tar.gz *xz + repo-add custom.db.tar.gz *zst popd >/dev/null } @@ -326,7 +291,7 @@ function build_linux() { # Rerun script as root to start Archiso build process run_elevated "$(realpath "$0")" --build-iso # Cleanup - mv -nv "$LIVE_DIR" "${LIVE_DIR}.${version}" + mv -nv "$PROFILE_DIR" "${PROFILE_DIR}.${version}" perl-rename -v "s/(${KIT_NAME_SHORT}-Linux)-(${DATE}.*)/\1-${version}-\2/" "$OUT_DIR"/* done } @@ -338,12 +303,6 @@ function build_iso() { exit 1 fi - # Set permissions - echo "Setting permissions..." - chown root:root "$LIVE_DIR" -R - chmod 700 "$LIVE_DIR/airootfs/etc/skel/.ssh" - chmod 600 "$LIVE_DIR/airootfs/etc/skel/.ssh/id_rsa" - # Removing cached (and possibly outdated) custom repo packages for package in $(cat "$ROOT_DIR/setup/linux/packages/aur"); do for p in /var/cache/pacman/pkg/*${package}*; do @@ -356,14 +315,19 @@ function build_iso() { # Build ISO prefix="${KIT_NAME_SHORT}-Linux" label="${KIT_NAME_SHORT}_LINUX" - "$LIVE_DIR/build.sh" -N "$prefix" -V "$DATE" -L "$label" -w "$TEMP_DIR/Linux" -o "$OUT_DIR" -v | tee -a "$LOG_DIR/$DATETIME.log" + #mkarchiso -w "$BUILD_DIR/work" -o "$OUT_DIR" -v "$PROFILE_DIR" | tee -a "$LOG_DIR/$DATETIME.log" + mkarchiso -w /tmp/archiso-tmp -o "$OUT_DIR" -v "$PROFILE_DIR" | tee -a "$LOG_DIR/$DATETIME.log" # Cleanup echo "Removing temp files..." rm "$TEMP_DIR/Linux" -Rf | tee -a "$LOG_DIR/$DATETIME.log" + #sudo umount -R "$BUILD_DIR/work" || true + #sudo rm -rf "$BUILD_DIR/work" + sudo umount -R /tmp/archiso-tmp || true + sudo rm -rf /tmp/archiso-tmp echo "Reverting permissions..." - chown $REAL_USER:$REAL_USER "$LIVE_DIR" -R + chown $REAL_USER:$REAL_USER "$PROFILE_DIR" -R chown $REAL_USER:$REAL_USER "$OUT_DIR" -R } diff --git a/setup/linux/packages/aur b/setup/linux/packages/aur index 60272aea..4134e20a 100644 --- a/setup/linux/packages/aur +++ b/setup/linux/packages/aur @@ -1,11 +1,10 @@ aic94xx-firmware -bash-pipes hfsprogs -i3lock-fancy-git +iwgtk ldmtool -macbook12-spi-driver-dkms mprime openbox-patched +pipes.sh smartmontools-svn testdisk-wip ttf-font-awesome-4 diff --git a/setup/linux/packages/base b/setup/linux/packages/base index 32939c85..87b83be1 100644 --- a/setup/linux/packages/base +++ b/setup/linux/packages/base @@ -1,7 +1,8 @@ aic94xx-firmware alsa-utils +amd-ucode antiword -bash-pipes +base bc bluez bluez-utils @@ -16,10 +17,12 @@ diffutils dmidecode dos2unix e2fsprogs +edk2-shell hexedit hfsprogs htop inetutils +intel-ucode iwd jfsutils ldmtool @@ -27,6 +30,7 @@ ldns less lha libewf +linux linux-firmware lm_sensors lvm2 @@ -35,12 +39,15 @@ man-db man-pages mdadm mediainfo +memtest86+ +mkinitcpio +mkinitcpio-archiso mprime nano ncdu -networkmanager p7zip perl +pipes.sh progsreiserfs python python-docopt @@ -50,12 +57,16 @@ python-requests reiserfsprogs rfkill rng-tools +rsync rxvt-unicode-terminfo smartmontools-svn speedtest-cli +sudo sysfsutils +syslinux systemd-sysvcompat terminus-font +termite-terminfo testdisk-wip texinfo tmux diff --git a/setup/linux/packages/dependencies b/setup/linux/packages/dependencies index 5600fec3..406e1870 100644 --- a/setup/linux/packages/dependencies +++ b/setup/linux/packages/dependencies @@ -5,8 +5,10 @@ curl dos2unix git gtk-doc +gtk3 hwloc imlib2 +iwd json-glib lhasa libbsd @@ -28,3 +30,4 @@ rsync startup-notification subversion syslinux +tigervnc diff --git a/setup/linux/packages/gui b/setup/linux/packages/gui index 02ade591..53852d78 100644 --- a/setup/linux/packages/gui +++ b/setup/linux/packages/gui @@ -13,15 +13,12 @@ gparted gpicview-gtk3 gsmartcontrol hardinfo -i3-gaps -i3lock-fancy-git -i3status +iwgtk leafpad libinput mesa-demos mkvtoolnix-cli mpv -network-manager-applet noto-fonts noto-fonts-cjk openbox-patched @@ -31,16 +28,18 @@ qemu-guest-agent rofi rxvt-unicode spice-vdagent +termite thunar tigervnc tint2 tk ttf-font-awesome-4 +ttf-hack ttf-inconsolata veracrypt -virtualbox-guest-modules-arch virtualbox-guest-utils volumeicon +wmctrl xarchiver xf86-input-libinput xf86-video-amdgpu diff --git a/setup/linux/profile_base/EFI/boot/refind.conf b/setup/linux/profile_base/EFI/boot/refind.conf index 4912e6c8..e004b6e0 100644 --- a/setup/linux/profile_base/EFI/boot/refind.conf +++ b/setup/linux/profile_base/EFI/boot/refind.conf @@ -22,20 +22,20 @@ menuentry "MemTest86" { menuentry "Linux" { icon /EFI/boot/icons/wk_arch.png - loader /arch/boot/x86_64/vmlinuz + loader /arch/boot/x86_64/vmlinuz-linux initrd /arch/boot/intel_ucode.img initrd /arch/boot/amd_ucode.img - initrd /arch/boot/x86_64/archiso.img + initrd /arch/boot/x86_64/initramfs-linux.img options "archisobasedir=arch archisolabel=%ARCHISO_LABEL% copytoram loglevel=3" submenuentry "Linux (CLI)" { add_options "nox" } #UFD-MINIMAL#submenuentry "Linux (Minimal)" { - #UFD-MINIMAL# loader /arch_minimal/vmlinuz + #UFD-MINIMAL# loader /arch_minimal/vmlinuz-linux #UFD-MINIMAL# initrd #UFD-MINIMAL# initrd /arch/boot/intel_ucode.img #UFD-MINIMAL# initrd /arch/boot/amd_ucode.img - #UFD-MINIMAL# initrd /arch_minimal/archiso.img + #UFD-MINIMAL# initrd /arch_minimal/initramfs-linux.img #UFD-MINIMAL# options #UFD-MINIMAL# options "archisobasedir=arch_minimal archisolabel=%ARCHISO_LABEL% copytoram loglevel=3" #UFD-MINIMAL#} @@ -49,10 +49,10 @@ menuentry "Linux" { #UFD-DGPU#menuentry "Mac dGPU Disable Tool" { #UFD-DGPU# icon /EFI/boot/icons/dgpu.png -#UFD-DGPU# loader /dgpu/vmlinuz +#UFD-DGPU# loader /dgpu/vmlinuz-linux #UFD-DGPU# initrd /arch/boot/intel_ucode.img #UFD-DGPU# initrd /arch/boot/amd_ucode.img -#UFD-DGPU# initrd /dgpu/archiso.img +#UFD-DGPU# initrd /dgpu/initramfs-linux.img #UFD-DGPU# options "archisobasedir=dgpu archisolabel=%ARCHISO_LABEL% nomodeset" #UFD-DGPU#} diff --git a/setup/linux/profile_base/airootfs/etc/group b/setup/linux/profile_base/airootfs/etc/group new file mode 100644 index 00000000..70ee592c --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/group @@ -0,0 +1,8 @@ +root:x:0:root +adm:x:4:tech +wheel:x:10:tech +uucp:x:14:tech +power:x:98:tech +autologin:x:975:tech +storage:x:988:tech +tech:x:1000: diff --git a/setup/linux/profile_base/airootfs/etc/gshadow b/setup/linux/profile_base/airootfs/etc/gshadow new file mode 100644 index 00000000..f460b9dc --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/gshadow @@ -0,0 +1,2 @@ +root:!!::root +tech:!!:: diff --git a/setup/linux/profile_base/airootfs/etc/hostname b/setup/linux/profile_base/airootfs/etc/hostname deleted file mode 100644 index d0b7e4a6..00000000 --- a/setup/linux/profile_base/airootfs/etc/hostname +++ /dev/null @@ -1 +0,0 @@ -wklinux diff --git a/setup/linux/profile_base/airootfs/etc/locale.gen b/setup/linux/profile_base/airootfs/etc/locale.gen deleted file mode 100644 index 1165d291..00000000 --- a/setup/linux/profile_base/airootfs/etc/locale.gen +++ /dev/null @@ -1,2 +0,0 @@ -en_US.UTF-8 UTF-8 - diff --git a/setup/linux/profile_base/airootfs/etc/mkinitcpio.conf b/setup/linux/profile_base/airootfs/etc/mkinitcpio.conf new file mode 100644 index 00000000..c37b19fc --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/mkinitcpio.conf @@ -0,0 +1,70 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# vim:set ft=sh +# MODULES +# The following modules are loaded before any boot hooks are +# run. Advanced users may wish to specify all system modules +# in this array. For instance: +# MODULES=(piix ide_disk reiserfs) +MODULES=() + +# BINARIES +# This setting includes any additional binaries a given user may +# wish into the CPIO image. This is run last, so it may be used to +# override the actual binaries included by a given hook +# BINARIES are dependency parsed, so you may safely ignore libraries +BINARIES=() + +# FILES +# This setting is similar to BINARIES above, however, files are added +# as-is and are not parsed in any way. This is useful for config files. +FILES=() + +# HOOKS +# This is the most important setting in this file. The HOOKS control the +# modules and scripts added to the image, and what happens at boot time. +# Order is important, and it is recommended that you do not change the +# order in which HOOKS are added. Run 'mkinitcpio -H ' for +# help on a given hook. +# 'base' is _required_ unless you know precisely what you are doing. +# 'udev' is _required_ in order to automatically load modules +# 'filesystems' is _required_ unless you specify your fs modules in MODULES +# Examples: +## This setup specifies all modules in the MODULES setting above. +## No raid, lvm2, or encrypted root is needed. +# HOOKS=(base) +# +## This setup will autodetect all modules for your system and should +## work as a sane default +# HOOKS=(base udev autodetect block filesystems) +# +## This setup will generate a 'full' image which supports most systems. +## No autodetection is done. +# HOOKS=(base udev block filesystems) +# +## This setup assembles a pata mdadm array with an encrypted root FS. +## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. +# HOOKS=(base udev block mdadm encrypt filesystems) +# +## This setup loads an lvm2 volume group on a usb device. +# HOOKS=(base udev block lvm2 filesystems) +# +## NOTE: If you have /usr on a separate partition, you MUST include the +# usr, fsck and shutdown hooks. +HOOKS=(base udev modconf memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block filesystems keyboard) + +# COMPRESSION +# Use this to compress the initramfs image. By default, gzip compression +# is used. Use 'cat' to create an uncompressed image. +#COMPRESSION="gzip" +#COMPRESSION="bzip2" +#COMPRESSION="lzma" +COMPRESSION="xz" +#COMPRESSION="lzop" +#COMPRESSION="lz4" +#COMPRESSION="zstd" + +# COMPRESSION_OPTIONS +# Additional options for the compressor +#COMPRESSION_OPTIONS=() diff --git a/setup/linux/profile_base/airootfs/etc/mkinitcpio.d/linux.preset b/setup/linux/profile_base/airootfs/etc/mkinitcpio.d/linux.preset new file mode 100644 index 00000000..d35f1377 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/mkinitcpio.d/linux.preset @@ -0,0 +1,11 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# mkinitcpio preset file for the 'linux' package on archiso + +PRESETS=('archiso') + +ALL_kver='/boot/vmlinuz-linux' +ALL_config='/etc/mkinitcpio.conf' + +archiso_image="/boot/initramfs-linux.img" diff --git a/setup/linux/profile_base/airootfs/etc/passwd b/setup/linux/profile_base/airootfs/etc/passwd new file mode 100644 index 00000000..2e41801a --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/passwd @@ -0,0 +1,2 @@ +root:x:0:0:root:/root:/usr/bin/zsh +tech:x:1000:1000::/home/tech:/usr/bin/zsh diff --git a/setup/linux/profile_base/airootfs/etc/shadow b/setup/linux/profile_base/airootfs/etc/shadow new file mode 100644 index 00000000..7edfd69b --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/shadow @@ -0,0 +1 @@ +root::14871:::::: diff --git a/setup/linux/profile_base/airootfs/etc/skel/.aliases b/setup/linux/profile_base/airootfs/etc/skel/.aliases index dff33e69..34bb9b36 100644 --- a/setup/linux/profile_base/airootfs/etc/skel/.aliases +++ b/setup/linux/profile_base/airootfs/etc/skel/.aliases @@ -11,7 +11,7 @@ alias du='du -sch --apparent-size' alias fix-perms='find -type d -exec chmod 755 "{}" \; && find -type f -exec chmod 644 "{}" \;' alias hexedit='hexedit --color' alias hw-info='sudo hw-info | less -S' -alias ip='ip -br -color' +alias ip='ip -brief -color' alias less='less -S' alias ls='ls --color=auto' alias mkdir='mkdir -p' diff --git a/setup/linux/profile_base/airootfs/etc/ssh/sshd_config b/setup/linux/profile_base/airootfs/etc/ssh/sshd_config new file mode 100644 index 00000000..ad60c508 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/ssh/sshd_config @@ -0,0 +1,116 @@ +# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $ + +# This is the sshd server system-wide configuration file. See +# sshd_config(5) for more information. + +# This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/bin + +# The strategy used for options in the default sshd_config shipped with +# OpenSSH is to specify options with their default value where +# possible, but leave them commented. Uncommented options override the +# default value. + +#Port 22 +#AddressFamily any +#ListenAddress 0.0.0.0 +#ListenAddress :: + +#HostKey /etc/ssh/ssh_host_rsa_key +#HostKey /etc/ssh/ssh_host_ecdsa_key +#HostKey /etc/ssh/ssh_host_ed25519_key + +# Ciphers and keying +#RekeyLimit default none + +# Logging +#SyslogFacility AUTH +#LogLevel INFO + +# Authentication: + +#LoginGraceTime 2m +PermitRootLogin no +#StrictModes yes +#MaxAuthTries 6 +#MaxSessions 10 + +PubkeyAuthentication yes + +# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 +# but this is overridden so installations will only check .ssh/authorized_keys +AuthorizedKeysFile .ssh/authorized_keys + +#AuthorizedPrincipalsFile none + +#AuthorizedKeysCommand none +#AuthorizedKeysCommandUser nobody + +# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts +#HostbasedAuthentication no +# Change to yes if you don't trust ~/.ssh/known_hosts for +# HostbasedAuthentication +#IgnoreUserKnownHosts no +# Don't read the user's ~/.rhosts and ~/.shosts files +#IgnoreRhosts yes + +# To disable tunneled clear text passwords, change to no here! +PasswordAuthentication yes +PermitEmptyPasswords no + +# Change to no to disable s/key passwords +ChallengeResponseAuthentication no + +# Kerberos options +#KerberosAuthentication no +#KerberosOrLocalPasswd yes +#KerberosTicketCleanup yes +#KerberosGetAFSToken no + +# GSSAPI options +#GSSAPIAuthentication no +#GSSAPICleanupCredentials yes + +# Set this to 'yes' to enable PAM authentication, account processing, +# and session processing. If this is enabled, PAM authentication will +# be allowed through the ChallengeResponseAuthentication and +# PasswordAuthentication. Depending on your PAM configuration, +# PAM authentication via ChallengeResponseAuthentication may bypass +# the setting of "PermitRootLogin without-password". +# If you just want the PAM account and session checks to run without +# PAM authentication, then enable this but set PasswordAuthentication +# and ChallengeResponseAuthentication to 'no'. +UsePAM yes + +#AllowAgentForwarding yes +#AllowTcpForwarding yes +#GatewayPorts no +#X11Forwarding no +#X11DisplayOffset 10 +#X11UseLocalhost yes +#PermitTTY yes +PrintMotd no # pam does that +#PrintLastLog yes +#TCPKeepAlive yes +#PermitUserEnvironment no +#Compression delayed +#ClientAliveInterval 0 +#ClientAliveCountMax 3 +#UseDNS no +#PidFile /run/sshd.pid +#MaxStartups 10:30:100 +#PermitTunnel no +#ChrootDirectory none +#VersionAddendum none + +# no default banner path +#Banner none + +# override default of no subsystems +Subsystem sftp /usr/lib/ssh/sftp-server + +# Example of overriding settings on a per-user basis +#Match User anoncvs +# X11Forwarding no +# AllowTcpForwarding no +# PermitTTY no +# ForceCommand cvs server diff --git a/setup/linux/profile_base/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf b/setup/linux/profile_base/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf new file mode 100644 index 00000000..3104779c --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/journald.conf.d/volatile-storage.conf @@ -0,0 +1,5 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[Journal] +Storage=volatile diff --git a/setup/linux/profile_base/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf b/setup/linux/profile_base/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf new file mode 100644 index 00000000..c6b17a4e --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/logind.conf.d/do-not-suspend.conf @@ -0,0 +1,7 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[Login] +HandleSuspendKey=ignore +HandleHibernateKey=ignore +HandleLidSwitch=ignore diff --git a/setup/linux/profile_base/airootfs/etc/systemd/network/20-ethernet.network b/setup/linux/profile_base/airootfs/etc/systemd/network/20-ethernet.network new file mode 100644 index 00000000..efa309c5 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/network/20-ethernet.network @@ -0,0 +1,13 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[Match] +Name=en* +Name=eth* + +[Network] +DHCP=yes +IPv6PrivacyExtensions=yes + +[DHCP] +RouteMetric=512 diff --git a/setup/linux/profile_base/airootfs/etc/systemd/network/20-wireless.network b/setup/linux/profile_base/airootfs/etc/systemd/network/20-wireless.network new file mode 100644 index 00000000..bf9ab9d2 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/network/20-wireless.network @@ -0,0 +1,13 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[Match] +Name=wlp* +Name=wlan* + +[Network] +DHCP=yes +IPv6PrivacyExtensions=yes + +[DHCP] +RouteMetric=1024 diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system.conf b/setup/linux/profile_base/airootfs/etc/systemd/system.conf new file mode 100644 index 00000000..4aca5b99 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system.conf @@ -0,0 +1,3 @@ +[Manager] +DefaultTimeoutStartSec=15s +DefaultTimeoutStopSec=15s diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service new file mode 120000 index 00000000..4c158e62 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.service \ No newline at end of file diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service b/setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service new file mode 120000 index 00000000..4f6ae342 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-resolved.service \ No newline at end of file diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/setup/linux/profile_base/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount new file mode 100644 index 00000000..f86a91da --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount @@ -0,0 +1,11 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[Unit] +Description=Temporary /etc/pacman.d/gnupg directory + +[Mount] +What=tmpfs +Where=/etc/pacman.d/gnupg +Type=tmpfs +Options=mode=0755 diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/setup/linux/profile_base/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf new file mode 100644 index 00000000..534c6d40 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty --autologin tech --noclear %I 38400 linux diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service deleted file mode 120000 index e874a9b3..00000000 --- a/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/NetworkManager.service \ No newline at end of file diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service new file mode 120000 index 00000000..3625abda --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/iwd.service \ No newline at end of file diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service new file mode 120000 index 00000000..4c158e62 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.service \ No newline at end of file diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service new file mode 120000 index 00000000..4f6ae342 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-resolved.service \ No newline at end of file diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/pacman-init.service b/setup/linux/profile_base/airootfs/etc/systemd/system/pacman-init.service new file mode 100644 index 00000000..3adec4c0 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/pacman-init.service @@ -0,0 +1,18 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[Unit] +Description=Initializes Pacman keyring +Wants=haveged.service +After=haveged.service +Requires=etc-pacman.d-gnupg.mount +After=etc-pacman.d-gnupg.mount + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/pacman-key --init +ExecStart=/usr/bin/pacman-key --populate archlinux + +[Install] +WantedBy=multi-user.target diff --git a/setup/linux/profile_base/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/setup/linux/profile_base/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket new file mode 120000 index 00000000..51942c8e --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-networkd.socket \ No newline at end of file diff --git a/setup/linux/profile_base/airootfs/etc/systemd/timesyncd.conf b/setup/linux/profile_base/airootfs/etc/systemd/timesyncd.conf new file mode 100644 index 00000000..cc17cd8a --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/systemd/timesyncd.conf @@ -0,0 +1,2 @@ +[Time] +NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org diff --git a/setup/linux/profile_base/airootfs/root/customize_airootfs.sh b/setup/linux/profile_base/airootfs/root/customize_airootfs.sh new file mode 100755 index 00000000..7801ce9b --- /dev/null +++ b/setup/linux/profile_base/airootfs/root/customize_airootfs.sh @@ -0,0 +1,19 @@ +#!/bin/env bash +# +# Warning: customize_airootfs.sh is deprecated! Support for it will be removed in a future archiso version. + +set -o errexit +set -o errtrace +set -o nounset +set -o pipefail + + +sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen +locale-gen + +# Sudo +echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers + +# SSH +#rm /root/.ssh/id* +#rm /root/.zlogin diff --git a/setup/linux/profile_base/efiboot/loader/entries/archiso-x86_64-linux.conf b/setup/linux/profile_base/efiboot/loader/entries/archiso-x86_64-linux.conf new file mode 100644 index 00000000..8dd7a169 --- /dev/null +++ b/setup/linux/profile_base/efiboot/loader/entries/archiso-x86_64-linux.conf @@ -0,0 +1,7 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +title Arch Linux (x86_64, UEFI) +linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% diff --git a/setup/linux/profile_base/efiboot/loader/loader.conf b/setup/linux/profile_base/efiboot/loader/loader.conf new file mode 100644 index 00000000..1ea5ce56 --- /dev/null +++ b/setup/linux/profile_base/efiboot/loader/loader.conf @@ -0,0 +1,5 @@ +# +# SPDX-License-Identifier: GPL-3.0-or-later + +timeout 3 +default archiso-x86_64-linux.conf diff --git a/setup/linux/profile_base/isolinux/isolinux.cfg b/setup/linux/profile_base/isolinux/isolinux.cfg deleted file mode 100644 index 736fecf0..00000000 --- a/setup/linux/profile_base/isolinux/isolinux.cfg +++ /dev/null @@ -1,6 +0,0 @@ -PATH /%INSTALL_DIR%/boot/syslinux/ -DEFAULT loadconfig - -LABEL loadconfig - CONFIG /%INSTALL_DIR%/boot/syslinux/wk.cfg - APPEND /%INSTALL_DIR%/ diff --git a/setup/linux/profile_base/pacman.conf b/setup/linux/profile_base/pacman.conf new file mode 100644 index 00000000..1d48e528 --- /dev/null +++ b/setup/linux/profile_base/pacman.conf @@ -0,0 +1,14 @@ +[options] +HoldPkg = pacman glibc +Architecture = auto +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist diff --git a/setup/linux/profile_base/profiledef.sh b/setup/linux/profile_base/profiledef.sh new file mode 100644 index 00000000..e25deef1 --- /dev/null +++ b/setup/linux/profile_base/profiledef.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# shellcheck disable=SC2034 + +iso_name="KIT_NAME_SHORT-Linux" +iso_label="KIT_NAME_SHORT_LINUX" +iso_publisher="SUPPORT_URL" +iso_application="KIT_NAME_FULL Linux Environment" +iso_version="$(date +%Y-%m-%d)" +install_dir="arch" +bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito') +arch="x86_64" +pacman_conf="pacman.conf" +file_permissions=( + ["/etc/shadow"]="0:0:0400" + ["/etc/gshadow"]="0:0:0400" + ["/etc/skel/.ssh"]="0:0:0700" + ["/etc/skel/.ssh/id_rsa"]="0:0:0600" +) diff --git a/setup/linux/profile_base/syslinux/wk_sys_linux.cfg b/setup/linux/profile_base/syslinux/linux.cfg similarity index 59% rename from setup/linux/profile_base/syslinux/wk_sys_linux.cfg rename to setup/linux/profile_base/syslinux/linux.cfg index b6a9370c..b31795c5 100644 --- a/setup/linux/profile_base/syslinux/wk_sys_linux.cfg +++ b/setup/linux/profile_base/syslinux/linux.cfg @@ -4,8 +4,9 @@ A live Linux environment * HW diagnostics, file-based backups, data recovery, etc ENDTEXT MENU LABEL Linux -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img +LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux +#INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +INITRD /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram loglevel=3 LABEL wk_linux_cli @@ -14,8 +15,8 @@ A live Linux environment (CLI) * HW diagnostics, file-based backups, data recovery, etc ENDTEXT MENU LABEL Linux (CLI) -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img +LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram nox SYSAPPEND 3 @@ -25,8 +26,8 @@ SYSAPPEND 3 #UFD-MINIMAL# * HW diagnostics, file-based backups, data recovery, etc #UFD-MINIMAL#ENDTEXT #UFD-MINIMAL#MENU LABEL Linux (Minimal) -#UFD-MINIMAL#LINUX ../arch_minimal/vmlinuz -#UFD-MINIMAL#INITRD boot/intel_ucode.img,boot/amd_ucode.img,../arch_minimal/archiso.img +#UFD-MINIMAL#LINUX ../arch_minimal/vmlinuz-linux +#UFD-MINIMAL#INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,../arch_minimal/initramfs-linux.img #UFD-MINIMAL#APPEND archisobasedir=arch_minimal archisolabel=%ARCHISO_LABEL% copytoram loglevel=3 #UFD-MINIMAL#SYSAPPEND 3 diff --git a/setup/linux/profile_base/syslinux/memtest.cfg b/setup/linux/profile_base/syslinux/memtest.cfg new file mode 100644 index 00000000..624e526b --- /dev/null +++ b/setup/linux/profile_base/syslinux/memtest.cfg @@ -0,0 +1,8 @@ +# http://www.memtest.org/ +LABEL memtest +MENU LABEL Memtest86+ +TEXT HELP +Perform RAM diagnostics + * This utility is not recommended for testing DDR4 RAM +ENDTEXT +LINUX /%INSTALL_DIR%/boot/memtest diff --git a/setup/linux/profile_base/syslinux/syslinux.cfg b/setup/linux/profile_base/syslinux/syslinux.cfg index 2e99dd9c..e59f84da 100644 --- a/setup/linux/profile_base/syslinux/syslinux.cfg +++ b/setup/linux/profile_base/syslinux/syslinux.cfg @@ -1,5 +1,53 @@ -DEFAULT loadconfig +SERIAL 0 38400 +UI vesamenu.c32 +MENU TITLE _______ +MENU BACKGROUND syslinux.png -LABEL loadconfig - CONFIG wk.cfg - APPEND ../../ +MENU WIDTH 80 +MENU MARGIN 10 +MENU ROWS 15 +MENU VSHIFT 2 +MENU TABMSGROW 22 +MENU CMDLINEROW 22 +MENU HELPMSGROW 24 +MENU HELPMSGENDROW -1 +MENU TABMSG + +# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu + +MENU COLOR screen 30;44 #a0000000 #a0000000 none +MENU COLOR border 30;44 #a0000000 #a0000000 none +MENU COLOR title 1;36;44 #9033ccff #a0000000 none +MENU COLOR sel 7;37;40 #e0ffffff #a0000000 std +MENU COLOR disabled 37;44 #50ffffff #a0000000 none +MENU COLOR unsel 37;44 #50ffffff #a0000000 none +MENU COLOR help 37;40 #c0ffffff #a0000000 none +MENU COLOR tabmsg 30;44 #a0000000 #a0000000 none +MENU COLOR cmdmark 1;36;44 #9033ccff #a0000000 none +MENU COLOR cmdline 37;40 #c0ffffff #a0000000 none +MENU COLOR timeout_msg 37;40 #80ffffff #a0000000 none +MENU COLOR timeout 1;37;40 #c0ffffff #a0000000 none +MENU COLOR msg07 37;40 #90ffffff #a0000000 none +MENU COLOR tabmsg 31;40 #30ffffff #a0000000 none + +# Start entries +MENU SEPARATOR + +MENU CLEAR + +DEFAULT memtest +TIMEOUT 0 + +INCLUDE memtest.cfg +INCLUDE linux.cfg +#UFD-WINPE#INCLUDE winpe.cfg + +MENU SEPARATOR + +LABEL reboot +MENU LABEL Reboot +COM32 reboot.c32 + +LABEL poweroff +MENU LABEL Power Off +COM32 poweroff.c32 diff --git a/setup/linux/profile_base/syslinux/winpe.cfg b/setup/linux/profile_base/syslinux/winpe.cfg new file mode 100644 index 00000000..3cc4d5a5 --- /dev/null +++ b/setup/linux/profile_base/syslinux/winpe.cfg @@ -0,0 +1,8 @@ +LABEL wk_winpe +TEXT HELP +A live Windows environment + * Create partition backups, Install Windows, etc +ENDTEXT +MENU LABEL Windows PE +COM32 linux.c32 +APPEND /%INSTALL_DIR%/boot/wimboot gui initrdfile=/sources/bootmgr,/sources/BCD,/sources/boot.sdi,/sources/boot.wim diff --git a/setup/linux/profile_base/syslinux/wk.cfg b/setup/linux/profile_base/syslinux/wk.cfg deleted file mode 100644 index f37655df..00000000 --- a/setup/linux/profile_base/syslinux/wk.cfg +++ /dev/null @@ -1,14 +0,0 @@ -DEFAULT select - -LABEL select -COM32 boot/syslinux/whichsys.c32 -APPEND -pxe- pxe -sys- sys -iso- iso - -LABEL iso -CONFIG boot/syslinux/wk_iso.cfg - -LABEL pxe -CONFIG boot/syslinux/wk_pxe.cfg - -LABEL sys -CONFIG boot/syslinux/wk_sys.cfg diff --git a/setup/linux/profile_base/syslinux/wk_hdt.cfg b/setup/linux/profile_base/syslinux/wk_hdt.cfg deleted file mode 100644 index 44b6578f..00000000 --- a/setup/linux/profile_base/syslinux/wk_hdt.cfg +++ /dev/null @@ -1,5 +0,0 @@ -# http://hdt-project.org/ -LABEL hdt -MENU LABEL Hardware Information (HDT) -COM32 boot/syslinux/hdt.c32 -APPEND modules_alias=boot/syslinux/hdt/modalias.gz pciids=boot/syslinux/hdt/pciids.gz diff --git a/setup/linux/profile_base/syslinux/wk_head.cfg b/setup/linux/profile_base/syslinux/wk_head.cfg deleted file mode 100644 index 7562755a..00000000 --- a/setup/linux/profile_base/syslinux/wk_head.cfg +++ /dev/null @@ -1,43 +0,0 @@ -SERIAL 0 38400 -UI boot/syslinux/vesamenu.c32 -MENU TITLE _______ -MENU BACKGROUND syslinux.png - -MENU WIDTH 80 -MENU MARGIN 10 -MENU ROWS 15 -MENU VSHIFT 2 -MENU TABMSGROW 22 -MENU CMDLINEROW 22 -MENU HELPMSGROW 24 -MENU HELPMSGENDROW -1 -MENU TABMSG - -# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu - -MENU COLOR screen 30;44 #a0000000 #a0000000 none -MENU COLOR border 30;44 #a0000000 #a0000000 none -MENU COLOR title 1;36;44 #9033ccff #a0000000 none -MENU COLOR sel 7;37;40 #e0ffffff #a0000000 std -MENU COLOR disabled 37;44 #50ffffff #a0000000 none -MENU COLOR unsel 37;44 #50ffffff #a0000000 none -MENU COLOR help 37;40 #c0ffffff #a0000000 none -MENU COLOR tabmsg 30;44 #a0000000 #a0000000 none -menu color cmdmark 1;36;44 #9033ccff #a0000000 none -menu color cmdline 37;40 #c0ffffff #a0000000 none -MENU COLOR timeout_msg 37;40 #80ffffff #a0000000 none -MENU COLOR timeout 1;37;40 #c0ffffff #a0000000 none -MENU COLOR msg07 37;40 #90ffffff #a0000000 none -MENU COLOR tabmsg 31;40 #30ffffff #a0000000 none - -# Start entries -MENU SEPARATOR - -# http://www.memtest.org/ -LABEL memtest -MENU LABEL Memtest86+ -TEXT HELP -Perform RAM diagnostics - * This utility is not recommended for testing DDR4 RAM -ENDTEXT -LINUX boot/memtest diff --git a/setup/linux/profile_base/syslinux/wk_iso.cfg b/setup/linux/profile_base/syslinux/wk_iso.cfg deleted file mode 100644 index fa35a1b6..00000000 --- a/setup/linux/profile_base/syslinux/wk_iso.cfg +++ /dev/null @@ -1,6 +0,0 @@ -INCLUDE boot/syslinux/wk_head.cfg - -INCLUDE boot/syslinux/wk_iso_linux.cfg -#DISABLED_UPSTREAM_BUG#INCLUDE boot/syslinux/wk_hdt.cfg - -INCLUDE boot/syslinux/wk_tail.cfg diff --git a/setup/linux/profile_base/syslinux/wk_iso_linux.cfg b/setup/linux/profile_base/syslinux/wk_iso_linux.cfg deleted file mode 100644 index fef9a9e1..00000000 --- a/setup/linux/profile_base/syslinux/wk_iso_linux.cfg +++ /dev/null @@ -1,31 +0,0 @@ -LABEL wk_iso_linux -TEXT HELP -A live Linux environment - * HW diagnostics, file-based backups, data recovery, etc -ENDTEXT -MENU LABEL Linux -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img -APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% loglevel=3 - -LABEL wk_iso_linux_i3 -TEXT HELP -A live Linux environment (i3) - * HW diagnostics, file-based backups, data recovery, etc -ENDTEXT -MENU LABEL Linux (i3) -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img -APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% loglevel=3 i3 -SYSAPPEND 3 - -LABEL wk_iso_linux_cli -TEXT HELP -A live Linux environment (CLI) - * HW diagnostics, file-based backups, data recovery, etc -ENDTEXT -MENU LABEL Linux (CLI) -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img -APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% loglevel=4 nomodeset nox -SYSAPPEND 3 diff --git a/setup/linux/profile_base/syslinux/wk_pxe.cfg b/setup/linux/profile_base/syslinux/wk_pxe.cfg deleted file mode 100644 index 10112666..00000000 --- a/setup/linux/profile_base/syslinux/wk_pxe.cfg +++ /dev/null @@ -1,8 +0,0 @@ -INCLUDE boot/syslinux/wk_head.cfg -MENU BACKGROUND pxelinux.png - -INCLUDE boot/syslinux/wk_pxe_linux.cfg -#UFD-WINPE#INCLUDE boot/syslinux/wk_pxe_winpe.cfg -#DISABLED_UPSTREAM_BUG#INCLUDE boot/syslinux/wk_hdt.cfg - -INCLUDE boot/syslinux/wk_tail.cfg diff --git a/setup/linux/profile_base/syslinux/wk_pxe_linux.cfg b/setup/linux/profile_base/syslinux/wk_pxe_linux.cfg deleted file mode 100644 index caa6a1cc..00000000 --- a/setup/linux/profile_base/syslinux/wk_pxe_linux.cfg +++ /dev/null @@ -1,32 +0,0 @@ -LABEL wk_http_linux -TEXT HELP -A live Linux environment - * HW diagnostics, file-based backups, data recovery, etc -ENDTEXT -MENU LABEL Linux (PXE) -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img -APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ loglevel=3 -SYSAPPEND 3 - -LABEL wk_http_linux_i3 -TEXT HELP -A live Linux environment (i3) - * HW diagnostics, file-based backups, data recovery, etc -ENDTEXT -MENU LABEL Linux (PXE) (i3) -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img -APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ loglevel=3 i3 -SYSAPPEND 3 - -LABEL wk_http_linux_cli -TEXT HELP -A live Linux environment (CLI) - * HW diagnostics, file-based backups, data recovery, etc -ENDTEXT -MENU LABEL Linux (PXE) (CLI) -LINUX boot/x86_64/vmlinuz -INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/x86_64/archiso.img -APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ loglevel=4 nomodeset nox -SYSAPPEND 3 diff --git a/setup/linux/profile_base/syslinux/wk_pxe_winpe.cfg b/setup/linux/profile_base/syslinux/wk_pxe_winpe.cfg deleted file mode 100644 index 097df277..00000000 --- a/setup/linux/profile_base/syslinux/wk_pxe_winpe.cfg +++ /dev/null @@ -1,8 +0,0 @@ -LABEL wk_http_winpe -TEXT HELP -A live Windows environment - * Create partition backups, Install Windows, etc -ENDTEXT -MENU LABEL Windows PE (PXE) -COM32 boot/syslinux/linux.c32 -APPEND boot/wimboot gui initrdfile=winpe/x86_64/bootmgr,winpe/x86_64/BCD,winpe/x86_64/boot.sdi,winpe/x86_64/boot.wim diff --git a/setup/linux/profile_base/syslinux/wk_sys.cfg b/setup/linux/profile_base/syslinux/wk_sys.cfg deleted file mode 100644 index f90e4406..00000000 --- a/setup/linux/profile_base/syslinux/wk_sys.cfg +++ /dev/null @@ -1,7 +0,0 @@ -INCLUDE boot/syslinux/wk_head.cfg - -INCLUDE boot/syslinux/wk_sys_linux.cfg -#UFD-WINPE#INCLUDE boot/syslinux/wk_sys_winpe.cfg -#DISABLED_UPSTREAM_BUG#INCLUDE boot/syslinux/wk_hdt.cfg - -INCLUDE boot/syslinux/wk_tail.cfg diff --git a/setup/linux/profile_base/syslinux/wk_sys_winpe.cfg b/setup/linux/profile_base/syslinux/wk_sys_winpe.cfg deleted file mode 100644 index 3c2034d9..00000000 --- a/setup/linux/profile_base/syslinux/wk_sys_winpe.cfg +++ /dev/null @@ -1,8 +0,0 @@ -LABEL wk_winpe -TEXT HELP -A live Windows environment - * Create partition backups, Install Windows, etc -ENDTEXT -MENU LABEL Windows PE -COM32 boot/syslinux/linux.c32 -APPEND boot/wimboot gui initrdfile=../sources/bootmgr,../sources/BCD,../sources/boot.sdi,../sources/boot.wim diff --git a/setup/linux/profile_base/syslinux/wk_tail.cfg b/setup/linux/profile_base/syslinux/wk_tail.cfg deleted file mode 100644 index 29af2d63..00000000 --- a/setup/linux/profile_base/syslinux/wk_tail.cfg +++ /dev/null @@ -1,9 +0,0 @@ -MENU SEPARATOR - -LABEL reboot -MENU LABEL Reboot -COM32 boot/syslinux/reboot.c32 - -LABEL poweroff -MENU LABEL Power Off -COM32 boot/syslinux/poweroff.c32 diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf b/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf index 36ce95bc..895c32ba 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf @@ -48,7 +48,7 @@ conky.config = { draw_outline = false, draw_shades = false, extra_newline = false, - font = 'Inconsolata:bold:size=9', + font = 'Droid Sans:bold:size=9', uppercase = false, use_xft = true, diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/i3/config b/setup/linux/profile_gui/airootfs/etc/skel/.config/i3/config deleted file mode 100644 index 91e754b8..00000000 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/i3/config +++ /dev/null @@ -1,335 +0,0 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see http://i3wm.org/docs/userguide.html for a complete reference! - -set $alt Mod1 -set $ctrl Control -set $mod Mod4 - -# Configure border style -new_window pixel 1 -new_float normal - -# Hide borders -hide_edge_borders none - -# Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ #increase sound volume -bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%- #decrease sound volume -bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle # mute sound - -# alt+tab navi -bindsym $alt+Tab workspace next -bindsym $alt+Shift+Tab workspace prev - -# change borders -bindsym $mod+u border none -bindsym $mod+y border pixel 1 -bindsym $mod+n border normal - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -#font Inconsolata:monospace 8 -font pango:Noto Sans Mono 10, FontAwesome 10 - -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -#font pango:DejaVu Sans Mono 8 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# start a terminal -bindsym $mod+Return exec i3-sensible-terminal - -# kill focused window -bindsym $mod+Shift+q kill -bindsym $mod+q kill -bindsym $alt+F4 kill - -# start dmenu (a program launcher) -#bindsym $mod+Shift+d exec dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -#bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop -bindsym $mod+r exec "rofi -combi-modi window,drun,run -show combi -modi combi" -bindsym $ctrl+$alt+r exec "rofi -combi-modi window,drun,run -show combi -modi combi" - -# misc app shortcuts -bindsym $ctrl+$alt+d exec "urxvt -title 'Hardware Diagnostics' -e hw-diags" -bindsym $ctrl+$alt+f exec "thunar ~" -bindsym $ctrl+$alt+i exec "hardinfo" -bindsym $ctrl+$alt+m exec "urxvt -title 'Mount All Volumes' -e mount-all-volumes gui" -bindsym $ctrl+$alt+s exec "urxvt -title 'Hardware Diagnostics' -e hw-diags --quick" -bindsym $ctrl+$alt+t exec "urxvt" -bindsym $ctrl+$alt+v exec "urxvt -title 'Hardware Sensors' -e hw-sensors" -bindsym $ctrl+$alt+w exec "firefox" -bindsym $mod+d exec "urxvt -title 'Hardware Diagnostics' -e hw-diags" -bindsym $mod+f exec "thunar ~" -bindsym $mod+i exec "hardinfo" -bindsym $mod+m exec "urxvt -title 'Mount All Volumes' -e mount-all-volumes gui" -bindsym $mod+s exec "urxvt -title 'Hardware Diagnostics' -e hw-diags --quick" -bindsym $mod+t exec "urxvt" -bindsym $mod+v exec "urxvt -title 'Hardware Sensors' -e hw-sensors" -bindsym $mod+w exec "firefox" - -focus_follows_mouse no - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# workspace back and forth (with/without active container) -workspace_auto_back_and_forth yes -bindsym $mod+b workspace back_and_forth -bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth - -# split orientation -bindsym $mod+Shift+h split h -bindsym $mod+Shift+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+Shift+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+Shift+s layout stacking -bindsym $mod+Shift+w layout tabbed -bindsym $mod+Shift+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -#bindsym $mod+a focus parent - -# move the currently focused window to the scratchpad -bindsym $mod+Shift+minus move scratchpad - -# Show the next scratchpad window or hide the focused scratchpad window. -# If there are multiple scratchpad windows, this command cycles through them. -bindsym $mod+minus scratchpad show - -# focus the child container -#bindsym $mod+d focus child - -# Workspace names -set $ws1 "一" -set $ws2 "二" -set $ws3 "三" -set $ws4 "四" -set $ws5 "五" -set $ws6 "六" -set $ws7 "七" -set $ws8 "八" -set $ws9 "九" -set $ws10 "十" - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Ctrl+1 move container to workspace $ws1 -bindsym $mod+Ctrl+2 move container to workspace $ws2 -bindsym $mod+Ctrl+3 move container to workspace $ws3 -bindsym $mod+Ctrl+4 move container to workspace $ws4 -bindsym $mod+Ctrl+5 move container to workspace $ws5 -bindsym $mod+Ctrl+6 move container to workspace $ws6 -bindsym $mod+Ctrl+7 move container to workspace $ws7 -bindsym $mod+Ctrl+8 move container to workspace $ws8 -bindsym $mod+Ctrl+9 move container to workspace $ws9 -bindsym $mod+Ctrl+0 move container to workspace $ws10 - -# move focused container to workspace and follow -bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10 - -# Open specific applications in floating mode -for_window [class="Galculator"] floating enable border normal 5 -for_window [class="Nitrogen"] floating enable sticky enable border normal 5 -for_window [class="Thunar"] floating enable border normal 5 -for_window [class="mpv"] floating enable border normal 5 -for_window [title="Event Tester"] floating enable border normal 5 -for_window [title="Firefox"] floating enable border normal 5 -for_window [title="Hardware Diagnostics"] floating enable -for_window [title="Hardware Sensors"] floating enable -for_window [title="Mount All Volumes"] floating enable border normal 5 -for_window [title="Network Connections"] floating enable border normal 5 -for_window [title="Screen Layout Editor"] floating enable border normal 5 -for_window [title="Slack"] floating enable border normal 5 -for_window [title="System Information"] floating enable border normal 5 -for_window [title="Volume Control"] floating enable border normal 5 -for_window [title="Zenmap"] floating enable border normal 5 - -# switch to workspace with urgent window automatically -for_window [urgent=latest] focus - -# reload the configuration file -#bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -#bindsym $mod+Shift+r restart - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+Shift+r mode "resize" - -# "System" menu -bindsym $ctrl+$alt+x mode "$mode_system" -bindsym $mod+x mode "$mode_system" -set $mode_system (l)ock, (e)xit, (r)eboot, (s)hutdown, (c)onfig, (i)3 -mode "$mode_system" { - bindsym l exec --no-startup-id i3lock, mode "default" - bindsym e exit, mode "default" - bindsym r exec reboot, mode "default" - bindsym s exec poweroff, mode "default" - bindsym c reload, mode "default" - bindsym i restart, mode "default" - - # exit system mode: "Enter" or "Escape" - bindsym Return mode "default" - bindsym Escape mode "default" -} - -############################# -### settings for i3-gaps: ### -############################# - -# Set inner/outer gaps -gaps inner 10 -gaps outer 4 - -# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size. -# gaps inner|outer current|all set|plus|minus -# gaps inner all set 10 -# gaps outer all plus 5 - -# Smart gaps (gaps used if only more than one container on the workspace) -smart_gaps on - -# Smart borders (draw borders around container only if it is not the only container on this workspace) -# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0) -smart_borders on - -# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. -set $mode_gaps Gaps: (o) outer, (i) inner -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - bindsym Return mode "default" - bindsym Escape mode "default" -} -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - position bottom - separator_symbol " " - status_command i3status - height 26 -} - -exec urxvt -title "Initializing..." -e /home/tech/.update_x diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/i3status/config b/setup/linux/profile_gui/airootfs/etc/skel/.config/i3status/config deleted file mode 100644 index 605e517c..00000000 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/i3status/config +++ /dev/null @@ -1,76 +0,0 @@ -# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! - -general { - colors = true - interval = 5 -} - -#order += "disk /" -order += "wireless _first_" -order += "ethernet _first_" -order += "cpu_usage" -order += "battery all" -#order += "volume master" -order += "tztime local" -#order += "tztime utc" - -cpu_usage { - format = " %usage" - max_threshold = 90 - #format_above_threshold = " %usage" - degraded_threshold = 75 - #format_above_degraded_threshold = " %usage" -} - -wireless _first_ { - format_up = " (%quality at %essid) %ip" - format_down = " Down" -} - -ethernet _first_ { - # if you use %speed, i3status requires root privileges - format_up = " %ip" - format_down = " Down" -} - -battery all { - integer_battery_capacity = true - format = "%status %percentage" - format_down = "" - status_chr = "" - status_bat = "" - status_unk = "" - status_full = "" - path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = 25 - threshold_type = percentage -} - -volume master { - format = " %volume" - format_muted = " muted" - device = "default" -} - -tztime local { - format = "%F %H:%M" -} - -tztime utc { - format = "%H:%M" - timezone = "UTC" -} - -load { - format = "%1min" -} - -disk "/" { - format = "%avail" -} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml index 2e8fd4a2..2d560235 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml @@ -234,7 +234,7 @@ - wk-exit + oblogout diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml index 28d9e8bd..b78baba7 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml @@ -299,7 +299,7 @@ - urxvt -title "Hardware Diagnostics" -e hw-diags + termite --title "Hardware Diagnostics" -e "resize-and-run hw-diags" @@ -314,7 +314,7 @@ - urxvt -title "Mount all Volumes" -e mount-all-volumes gui + termite --title "Mount all Volumes" -e "resize-and-run mount-all-volumes gui" @@ -324,17 +324,17 @@ - urxvt -title "Hardware Diagnostics" -e hw-diags --quick + termite --title "Hardware Diagnostics" -e "resize-and-run hw-diags --quick" - urxvt + termite -e "resize-and-run /bin/zsh" - urxvt -title "Hardware Sensors" -e hw-sensors + termite --title "Hardware Sensors" -e "resize-and-run hw-sensors" @@ -349,7 +349,7 @@ - urxvt -title "Hardware Diagnostics" -e hw-diags + termite --title "Hardware Diagnostics" -e "resize-and-run hw-diags" @@ -364,7 +364,7 @@ - urxvt -title "Mount all Volumes" -e mount-all-volumes gui + termite --title "Mount all Volumes" -e "resize-and-run mount-all-volumes gui" @@ -374,17 +374,17 @@ - urxvt -title "Hardware Diagnostics" -e hw-diags --quick + termite --title "Hardware Diagnostics" -e "resize-and-run hw-diags --quick" - urxvt + termite -e "resize-and-run /bin/zsh" - urxvt -title "Hardware Sensors" -e hw-sensors + termite --title "Hardware Sensors" -e "resize-and-run hw-sensors" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/termite/config b/setup/linux/profile_gui/airootfs/etc/skel/.config/termite/config new file mode 100644 index 00000000..23757be6 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/termite/config @@ -0,0 +1,90 @@ +[options] +#allow_bold = true +#audible_bell = false +#bold_is_bright = true +#cell_height_scale = 1.0 +#cell_width_scale = 1.0 +clickable_url = true +#dynamic_title = true +font = Hack 9 +#font = IPAGothic 10 +#fullscreen = true +#icon_name = terminal +#mouse_autohide = false +#scroll_on_output = false +#scroll_on_keystroke = true +# Length of the scrollback buffer, 0 disabled the scrollback buffer +# and setting it to a negative value means "infinite scrollback" +scrollback_lines = 10000 +#search_wrap = true +#urgent_on_bell = true +#hyperlinks = false + +# $BROWSER is used by default if set, with xdg-open as a fallback +#browser = xdg-open + +# "system", "on" or "off" +cursor_blink = off + +# "block", "underline" or "ibeam" +#cursor_shape = block + +# Hide links that are no longer valid in url select overlay mode +#filter_unmatched_urls = true + +# Emit escape sequences for extra modified keys +#modify_other_keys = false + +# set size hints for the window +#size_hints = false + +# "off", "left" or "right" +#scrollbar = off + +[colors] +# If both of these are unset, cursor falls back to the foreground color, +# and cursor_foreground falls back to the background color. +cursor = #d0d0d0 +cursor_foreground = #000000 + +foreground = #d0d0d0 +#foreground_bold = #ffffff +background = #000000 + +# 20% background transparency (requires a compositor) +background = rgba(0, 0, 0, 0.85) + +# If unset, will reverse foreground and background +highlight = #2f2f2f + +# Colors from color0 to color254 can be set +color0 = #000000 +color1 = #ff0000 +color2 = #33ff00 +color3 = #ffd000 +color4 = #0066ff +color5 = #cc00ff +color6 = #00ffff +color7 = #d0d0d0 + +color8 = #808080 +color9 = #ff9900 +color10 = #404040 +color11 = #606060 +color12 = #c0c0c0 +color13 = #e0e0e0 +color14 = #3300ff +color15 = #ffffff + +[hints] +font = SourceCodePro 10 +foreground = #d0d0d0 +background = #000000 +#active_foreground = #e68080 +#active_background = #3f3f3f +#padding = 2 +#border = #3f3f3f +#border_width = 0.5 +#roundness = 2.0 + +# vim: ft=dosini cms=#%s diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc b/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc index a0319768..3b6248bc 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc @@ -107,7 +107,7 @@ border_color_pressed = #d64937 100 #------------------------------------- # Panel -panel_items = TSC +panel_items = TESC panel_size = 100% 30 panel_margin = 0 0 panel_padding = 0 0 0 @@ -145,7 +145,7 @@ taskbar_always_show_all_desktop_tasks = 1 taskbar_name_padding = 5 2 taskbar_name_background_id = 1 taskbar_name_active_background_id = 9 -taskbar_name_font = Inconsolata 10 +taskbar_name_font = Hack 10 taskbar_name_font_color = #a9a9a9 100 taskbar_name_active_font_color = #ffffff 100 taskbar_distribute_size = 1 @@ -160,7 +160,7 @@ task_centered = 1 urgent_nb_of_blink = 20 task_maximum_size = 200 30 task_padding = 2 2 2 -task_font = Inconsolata 10 +task_font = Hack 10 task_tooltip = 1 task_font_color = #a8adb5 100 task_active_font_color = #ffffff 100 @@ -206,7 +206,7 @@ launcher_tooltip = 1 #time1_format = %a, %d %B @ %H:%M time1_format = %F %H:%M time2_format = -time1_font = Inconsolata 10 +time1_font = Hack 10 time1_timezone = time2_timezone = clock_font_color = #ffffff 100 @@ -225,8 +225,8 @@ clock_dwheel_command = battery_tooltip = 1 battery_low_status = 20 battery_low_cmd = notify-send "battery low" -bat1_font = Inconsolata 12 -bat2_font = Inconsolata 12 +bat1_font = Hack 12 +bat2_font = Hack 12 battery_font_color = #b5b5b5 100 battery_padding = 2 0 battery_background_id = 0 @@ -246,5 +246,11 @@ tooltip_hide_timeout = 0 tooltip_padding = 2 2 tooltip_background_id = 7 tooltip_font_color = #d8d8d8 100 -tooltip_font = Inconsolata 12 +tooltip_font = Hack 12 +#------------------------------------- +# Sensors +execp = new +execp_command = tint2-sensors +execp_interval = 1 +execp_font_color = #ffffff diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.start_desktop_apps b/setup/linux/profile_gui/airootfs/etc/skel/.start_desktop_apps index d6d2b5ca..49151e56 100755 --- a/setup/linux/profile_gui/airootfs/etc/skel/.start_desktop_apps +++ b/setup/linux/profile_gui/airootfs/etc/skel/.start_desktop_apps @@ -3,21 +3,15 @@ ## Start desktop apps based on WM # Start common apps -picom --backend xrender --xrender-sync --xrender-sync-fence & +#picom --backend xrender --xrender-sync --xrender-sync-fence & +picom --daemon || picom --daemon --no-vsync sleep 1s x0vncserver -display :0 -passwordfile $HOME/.vnc/passwd -AlwaysShared & conky & -nm-applet & volumeicon & # Start WM specific apps -if ! [[ "${I3SOCK:-}" == "" ]]; then - # i3 - i3-msg restart -else - # openbox - openbox --restart - tint2 & - cbatticon --hide-notification & -fi +openbox --restart +tint2 & +cbatticon --hide-notification & diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.update_conky b/setup/linux/profile_gui/airootfs/etc/skel/.update_conky index 914e00d8..0e1445df 100755 --- a/setup/linux/profile_gui/airootfs/etc/skel/.update_conky +++ b/setup/linux/profile_gui/airootfs/etc/skel/.update_conky @@ -24,11 +24,6 @@ for i in "${IF_LIST[@]}"; do done sed -i -r "s/#Network//" "${CONFIG_NEW}" -# Fix under i3 -if ! [[ "${I3SOCK:-}" == "" ]]; then - sed -i -r 's/(own_window_type)(.*)(desktop)/\1\2override/' "${CONFIG_NEW}" -fi - # Replace config if there were changes if ! diff -q "${CONFIG_NEW}" "${CONFIG_REAL}" >/dev/null 2>&1; then rm "${CONFIG_REAL}" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.update_x b/setup/linux/profile_gui/airootfs/etc/skel/.update_x index 0202750e..2f049532 100755 --- a/setup/linux/profile_gui/airootfs/etc/skel/.update_x +++ b/setup/linux/profile_gui/airootfs/etc/skel/.update_x @@ -26,6 +26,10 @@ diag_in="$(echo "sqrt(${width_in}^2 + ${height_in}^2)" | bc)" dpi="$(echo "${diag_px} / ${diag_in}" | bc 2>/dev/null || True)" dpi="${dpi:-0}" +# Save data +echo "width_px=$width_px" > "$HOME/.screen_data" +echo "height_px=$height_px" >> "$HOME/.screen_data" + # Calculate URxvt default window size width_urxvt="$(echo "${width_px} * 112/1280" | bc)" height_urxvt="$(echo "${height_px} * 33/720" | bc)" @@ -50,18 +54,15 @@ if [[ "${dpi}" -ge 192 ]]; then export GDK_SCALE=2 export GDK_DPI_SCALE=0.5 - # i3 - sed -i -r 's/(height\s+) 26/\1 52/' "${HOME}/.config/i3/config" - # Rofi sed -i -r 's/Noto Sans 12/Noto Sans 24/' "${HOME}/.config/rofi/config" # Tint2 sed -i 's/panel_size = 100% 30/panel_size = 100% 60/' \ "${HOME}/.config/tint2/tint2rc" - sed -i 's/Inconsolata 10/Inconsolata 20/g' \ + sed -i 's/Hack 10/Hack 20/g' \ "${HOME}/.config/tint2/tint2rc" - sed -i 's/Inconsolata 12/Inconsolata 24/g' \ + sed -i 's/Hack 12/Hack 24/g' \ "${HOME}/.config/tint2/tint2rc" sed -i 's/systray_icon_size = 24/systray_icon_size = 48/' \ "${HOME}/.config/tint2/tint2rc" @@ -96,8 +97,3 @@ echo -n "Setting wallpaper... " feh --bg-fill "$HOME/.wallpaper" echo "Done" -# Start desktop apps for i3 -if fgrep -q "i3" /proc/cmdline; then - i3-msg exec $HOME/.start_desktop_apps -fi - diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.zlogin b/setup/linux/profile_gui/airootfs/etc/skel/.zlogin index 65a23ed1..6a7dca22 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.zlogin +++ b/setup/linux/profile_gui/airootfs/etc/skel/.zlogin @@ -3,11 +3,6 @@ if [ "$(fgconsole 2>/dev/null)" -eq "1" ]; then # Connect to network and update hostname "${HOME}/.update_network" - # Update settings if using i3 - if fgrep -q "i3" /proc/cmdline; then - sed -i -r 's/openbox-session/i3/' ~/.xinitrc - fi - # Start X or HW-diags if ! fgrep -q "nox" /proc/cmdline; then # Show freeze warning From 1353de44f71b2c01ef66e257050cfa1916a89fa1 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 10 Jan 2021 19:55:19 -0700 Subject: [PATCH 18/20] Merge refactored code NOTE: This was unintentionally squashed so some details were lost * Include max CPU temp in Conky * New tint2 theme --- scripts/{tint2-sensors => max-cpu-temp} | 18 ++++++----- scripts/pacinit | 3 ++ scripts/resize-and-run | 24 ++++++++++++-- scripts/wk-exit | 31 ------------------- setup/build_linux | 3 ++ .../profile_base/airootfs/etc/skel/.aliases | 2 +- .../airootfs/etc/sudoers.d/wheel_nopass | 1 + .../airootfs/root/customize_airootfs.sh | 7 ----- .../airootfs/etc/skel/.config/conky/base.conf | 9 +++--- .../etc/skel/.config/openbox/menu.xml | 2 +- .../airootfs/etc/skel/.config/openbox/rc.xml | 20 ++++++------ .../etc/skel/.config/picom/picom.conf | 26 ++++++++++++++++ .../airootfs/etc/skel/.config/tint2/tint2rc | 9 +----- .../profile_gui/airootfs/etc/skel/.update_x | 25 ++++----------- .../profile_gui/airootfs/etc/skel/.xinitrc | 2 ++ 15 files changed, 90 insertions(+), 92 deletions(-) rename scripts/{tint2-sensors => max-cpu-temp} (79%) delete mode 100755 scripts/wk-exit create mode 100644 setup/linux/profile_base/airootfs/etc/sudoers.d/wheel_nopass create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/picom/picom.conf diff --git a/scripts/tint2-sensors b/scripts/max-cpu-temp similarity index 79% rename from scripts/tint2-sensors rename to scripts/max-cpu-temp index e5e31145..54a4ac3b 100755 --- a/scripts/tint2-sensors +++ b/scripts/max-cpu-temp @@ -38,8 +38,9 @@ def get_data(): return data -def parse_data(data): +def get_max_temp(data): cpu_temps = [] + max_cpu_temp = '??° C' for adapter, sources in data.items(): if not CPU_REGEX.search(adapter): continue @@ -47,15 +48,18 @@ def parse_data(data): for labels in sources.values(): for label, temp in sorted(labels.items()): - if NON_TEMP_REGEX.search(label): + if 'input' not in label or NON_TEMP_REGEX.search(label): continue cpu_temps.append(temp) - cpu_temps = [f'{int(temp)}°' for temp in cpu_temps] - if not cpu_temps: - cpu_temps.append('??°') - return ' | '.join(cpu_temps) + # Format data + if cpu_temps: + max_cpu_temp = int(max(cpu_temps)) + max_cpu_temp = f'{max_cpu_temp:02d}° C' + + # Done + return max_cpu_temp if __name__ == '__main__': sensor_data = get_data() - print(f' {parse_data(sensor_data)}') + print(get_max_temp(sensor_data)) diff --git a/scripts/pacinit b/scripts/pacinit index eda3f960..63797ab9 100755 --- a/scripts/pacinit +++ b/scripts/pacinit @@ -10,6 +10,9 @@ sudo sed -i -r "s/^(Server = )/#\1/" /etc/pacman.conf # Disable signature checks sudo sed -i -r "s/^SigLevel.*/SigLevel = Never/" /etc/pacman.conf +# Init Pacman keyring +sudo systemctl start pacman-init.service + # Refresh package databases sudo pacman -Sy diff --git a/scripts/resize-and-run b/scripts/resize-and-run index a96ba005..08245ee3 100755 --- a/scripts/resize-and-run +++ b/scripts/resize-and-run @@ -6,10 +6,28 @@ ## Height: | 24 | 10 (titlebar) | term_y | 24 | 30 (Tint2) | ## X Offset: 20 - 5 (shadow?) ## Y Offset: 24 - 5 (shadow?) +conky_width=180 +gap_x=20 +gap_y=24 +picom_shadow=5 +tint2_height=30 +titlebar_height=10 source ~/.screen_data -term_width="$(echo "$width_px - 240" | bc)" -term_height="$(echo "$height_px - 88" | bc)" +if [[ "${dpi}" -ge 192 ]]; then + conky_width=360 + gap_x=40 + gap_y=48 + picom_shadow=5 + tint2_height=60 + titlebar_height=20 +fi -wmctrl -r :ACTIVE: -e "0,15,19,$term_width,$term_height" && "$@" +offset_x=$(echo "$gap_x - $picom_shadow" | bc) +offset_y=$(echo "$gap_y - $picom_shadow" | bc) +term_width="$(echo "$width_px - ($gap_x * 3) - $conky_width" | bc)" +term_height="$(echo "$height_px - ($gap_y * 2) - $titlebar_height - $tint2_height" | bc)" + +sleep 0.1s +wmctrl -r :ACTIVE: -e "0,$offset_x,$offset_y,$term_width,$term_height" && "$@" diff --git a/scripts/wk-exit b/scripts/wk-exit deleted file mode 100755 index 3c100bc9..00000000 --- a/scripts/wk-exit +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -# -## WizardKit: GUI exit script -# Inspired by: https://github.com/cramermarius/rofi-menus/blob/master/scripts/powermenu.sh - -actions="Restart\nPoweroff\nLogout" -temp_file="$(mktemp --suffix=.png)" - -# Show blurred background -import -window root "${temp_file}" -convert "${temp_file}" -blur 0x4 "${temp_file}" -feh -F "${temp_file}" & -feh_pid="$!" - -# Show menu -selection="$(echo -e "$actions" | rofi -i -lines 3 -dmenu -p "Power Menu")" - -# Done -kill "${feh_pid}" -case $selection in - Logout) - wk-power-command logout - ;; - Poweroff) - wk-power-command poweroff - ;; - Restart) - wk-power-command reboot - ;; -esac - diff --git a/setup/build_linux b/setup/build_linux index 035b2a43..ab70ac92 100755 --- a/setup/build_linux +++ b/setup/build_linux @@ -192,6 +192,9 @@ function update_live_env() { # SSH mkdir -p "$SKEL_DIR/.ssh" ssh-keygen -b 4096 -C "$username@$hostname" -N "" -f "$SKEL_DIR/.ssh/id_rsa" + if ! grep -qv "^#" "$ROOT_DIR/setup/linux/authorized_keys"; then + echo "WARNING: No authorized SSH keys found." 1>&2 + fi cp "$ROOT_DIR/setup/linux/authorized_keys" "$SKEL_DIR/.ssh/authorized_keys" # Root user diff --git a/setup/linux/profile_base/airootfs/etc/skel/.aliases b/setup/linux/profile_base/airootfs/etc/skel/.aliases index 34bb9b36..da30b470 100644 --- a/setup/linux/profile_base/airootfs/etc/skel/.aliases +++ b/setup/linux/profile_base/airootfs/etc/skel/.aliases @@ -11,7 +11,7 @@ alias du='du -sch --apparent-size' alias fix-perms='find -type d -exec chmod 755 "{}" \; && find -type f -exec chmod 644 "{}" \;' alias hexedit='hexedit --color' alias hw-info='sudo hw-info | less -S' -alias ip='ip -brief -color' +alias ip='ip -br -c' alias less='less -S' alias ls='ls --color=auto' alias mkdir='mkdir -p' diff --git a/setup/linux/profile_base/airootfs/etc/sudoers.d/wheel_nopass b/setup/linux/profile_base/airootfs/etc/sudoers.d/wheel_nopass new file mode 100644 index 00000000..7c499c26 --- /dev/null +++ b/setup/linux/profile_base/airootfs/etc/sudoers.d/wheel_nopass @@ -0,0 +1 @@ +%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/setup/linux/profile_base/airootfs/root/customize_airootfs.sh b/setup/linux/profile_base/airootfs/root/customize_airootfs.sh index 7801ce9b..b562ea91 100755 --- a/setup/linux/profile_base/airootfs/root/customize_airootfs.sh +++ b/setup/linux/profile_base/airootfs/root/customize_airootfs.sh @@ -7,13 +7,6 @@ set -o errtrace set -o nounset set -o pipefail - sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen locale-gen -# Sudo -echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers - -# SSH -#rm /root/.ssh/id* -#rm /root/.zlogin diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf b/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf index 895c32ba..3a562e87 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/conky/base.conf @@ -20,6 +20,7 @@ conky.config = { border_inner_margin = 5, border_outer_margin = 0, border_width = 2, + default_graph_height = 24, draw_borders = false, draw_graph_borders = true, show_graph_range = false, @@ -79,12 +80,10 @@ Date:${alignr}${time %F} Time:${alignr}${time %H:%M} Uptime:${alignr}${uptime_short} -CPU: ${if_match ${cpu cpu0}<10} ${cpu cpu0}\ -${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\ -${else}${cpu cpu0}${endif}${endif}% Used${alignr}${freq_g} GHz -${cpugraph cpu0 ${gap_x},${width} ${color} ${color}} +CPU: ${exec "max-cpu-temp"}${alignr}${freq_g} GHz +${cpugraph cpu0} RAM: ${mem} Used${alignr}${memmax} -${memgraph ${gap_x},${width} ${color} ${color}} +${memgraph} #Network ${alignc}S H O R T C U T K E Y S diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml index 2d560235..7af3b3c9 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/menu.xml @@ -234,7 +234,7 @@ - oblogout + menu_powermenu diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml index b78baba7..bb871df9 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/openbox/rc.xml @@ -59,7 +59,7 @@ yes yes - sans + Hack 8 bold @@ -68,7 +68,7 @@ - sans + Hack 8 bold @@ -77,7 +77,7 @@ - sans + Hack 9 normal @@ -86,7 +86,7 @@ - sans + Hack 9 normal @@ -95,7 +95,7 @@ - sans + Hack 9 bold @@ -104,7 +104,7 @@ - sans + Hack 9 bold @@ -319,7 +319,7 @@ - rofi -combi-modi window,drun,run -show combi -modi combi + launcher_slate @@ -344,7 +344,7 @@ - wk-exit + menu_powermenu @@ -369,7 +369,7 @@ - rofi -combi-modi window,drun,run -show combi -modi combi + launcher_slate @@ -394,7 +394,7 @@ - wk-exit + menu_powermenu diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/picom/picom.conf b/setup/linux/profile_gui/airootfs/etc/skel/.config/picom/picom.conf new file mode 100644 index 00000000..3a07836a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/picom/picom.conf @@ -0,0 +1,26 @@ +# Picom Settings +#shadow = false; +#fading = false +#inactive-opacity = 1; +#frame-opacity = 1; +#backend = "xrender"; +#vsync = true +#mark-wmwin-focused = true; +#mark-ovredir-focused = true; +#detect-rounded-corners = true; +#detect-client-opacity = true; +#refresh-rate = 0 +#detect-transient = true +#detect-client-leader = true +#use-damage = true +#log-level = "warn"; + +# My Stuff +opacity-rule = [ + "95:class_g = 'termite' && !_NET_WM_STATE@:32a", + "0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'" +]; diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc b/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc index 3b6248bc..7f6a69bb 100644 --- a/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/tint2/tint2rc @@ -107,7 +107,7 @@ border_color_pressed = #d64937 100 #------------------------------------- # Panel -panel_items = TESC +panel_items = TSC panel_size = 100% 30 panel_margin = 0 0 panel_padding = 0 0 0 @@ -247,10 +247,3 @@ tooltip_padding = 2 2 tooltip_background_id = 7 tooltip_font_color = #d8d8d8 100 tooltip_font = Hack 12 - -#------------------------------------- -# Sensors -execp = new -execp_command = tint2-sensors -execp_interval = 1 -execp_font_color = #ffffff diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.update_x b/setup/linux/profile_gui/airootfs/etc/skel/.update_x index 2f049532..2cc26c43 100755 --- a/setup/linux/profile_gui/airootfs/etc/skel/.update_x +++ b/setup/linux/profile_gui/airootfs/etc/skel/.update_x @@ -3,7 +3,6 @@ ## Calculate DPI, update settings if necessary, then start desktop apps REGEX_XRANDR='^.* ([0-9]+)x([0-9]+)\+[0-9]+\+[0-9]+.* ([0-9]+)mm x ([0-9]+)mm.*$' -REGEX_URXVT='(URxvt.geometry:\s+).*' echo -n "Getting display details... " @@ -29,11 +28,7 @@ dpi="${dpi:-0}" # Save data echo "width_px=$width_px" > "$HOME/.screen_data" echo "height_px=$height_px" >> "$HOME/.screen_data" - -# Calculate URxvt default window size -width_urxvt="$(echo "${width_px} * 112/1280" | bc)" -height_urxvt="$(echo "${height_px} * 33/720" | bc)" -offset_urxvt="24" +echo "dpi=$dpi" >> "$HOME/.screen_data" echo "Done" @@ -42,10 +37,11 @@ if [[ "${dpi}" -ge 192 ]]; then echo -n "Updating settings for HiDPI... " # Conky - sed -i 's/minimum_size 180 0/minimum_size 360 0/' "${HOME}/.conkyrc_base" - sed -i 's/maximum_width 180/maximum_width 360/' "${HOME}/.conkyrc_base" - sed -i 's/gap_x 20/gap_x 40/' "${HOME}/.conkyrc_base" - sed -i 's/gap_y 24/gap_y 48/' "${HOME}/.conkyrc_base" + sed -i 's/default_graph_height = 24/default_graph_height = 48/' "${HOME}/.config/conky/base.conf" + sed -i 's/gap_x = 20/gap_x = 40/' "${HOME}/.config/conky/base.conf" + sed -i 's/gap_y = 24/gap_y = 48/' "${HOME}/.config/conky/base.conf" + sed -i 's/maximum_width = 180/maximum_width = 360/' "${HOME}/.config/conky/base.conf" + sed -i 's/minimum_width = 180/minimum_width = 360/' "${HOME}/.config/conky/base.conf" # Fonts sed -i 's/!Xft.dpi: 192/Xft.dpi: 192/' "${HOME}/.Xresources" @@ -67,19 +63,10 @@ if [[ "${dpi}" -ge 192 ]]; then sed -i 's/systray_icon_size = 24/systray_icon_size = 48/' \ "${HOME}/.config/tint2/tint2rc" - # URxvt - width_urxvt="$(echo "${width_urxvt} / 2" | bc)" - height_urxvt="$(echo "${height_urxvt} / 2" | bc)" - offset_urxvt="$(echo "${offset_urxvt} * 2" | bc)" - # Done echo "Done" fi -# Update URxvt (Always) -urxvt_geometry="${width_urxvt}x${height_urxvt}+${offset_urxvt}+${offset_urxvt}" -sed -i -r "s/${REGEX_URXVT}/\1${urxvt_geometry}/" "${HOME}/.Xresources" - # Update conky echo -n "Updating conky... " $HOME/.update_conky diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.xinitrc b/setup/linux/profile_gui/airootfs/etc/skel/.xinitrc index 54dc1428..bae960f2 100755 --- a/setup/linux/profile_gui/airootfs/etc/skel/.xinitrc +++ b/setup/linux/profile_gui/airootfs/etc/skel/.xinitrc @@ -1,6 +1,8 @@ #!/bin/sh dbus-update-activation-environment --systemd DISPLAY +export DISPLAY_SESSION="Openbox" +export PATH="$HOME/.config/rofi/bin:$PATH" eval $(ssh-agent) export SSH_AUTH_SOCK xrdb -merge $HOME/.Xresources From 2e5621bf6e57afceef7b37b6ce70076acb94b38d Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 24 Mar 2021 21:31:15 -0600 Subject: [PATCH 19/20] Add new rofi theme --- setup/build_linux | 10 + .../skel/.config/rofi/applets/android/apps.sh | 94 +++++++++ .../.config/rofi/applets/android/backlight.sh | 73 +++++++ .../.config/rofi/applets/android/colors.rasi | 22 +++ .../.config/rofi/applets/android/confirm.rasi | 24 +++ .../.config/rofi/applets/android/five.rasi | 91 +++++++++ .../.config/rofi/applets/android/message.rasi | 24 +++ .../skel/.config/rofi/applets/android/mpd.sh | 76 ++++++++ .../.config/rofi/applets/android/powermenu.sh | 94 +++++++++ .../rofi/applets/android/quicklinks.sh | 60 ++++++ .../rofi/applets/android/screenshot.sh | 48 +++++ .../.config/rofi/applets/android/six.rasi | 91 +++++++++ .../.config/rofi/applets/android/three.rasi | 91 +++++++++ .../.config/rofi/applets/android/volume.sh | 56 ++++++ .../skel/.config/rofi/applets/applets/apps.sh | 95 +++++++++ .../.config/rofi/applets/applets/backlight.sh | 75 ++++++++ .../.config/rofi/applets/applets/battery.sh | 65 +++++++ .../applets/applets/configs/circle/apps.rasi | 127 ++++++++++++ .../applets/configs/circle/backlight.rasi | 127 ++++++++++++ .../applets/configs/circle/battery.rasi | 127 ++++++++++++ .../applets/applets/configs/circle/mpd.rasi | 127 ++++++++++++ .../applets/configs/circle/network.rasi | 127 ++++++++++++ .../applets/configs/circle/powermenu.rasi | 127 ++++++++++++ .../applets/configs/circle/quicklinks.rasi | 127 ++++++++++++ .../applets/configs/circle/screenshot.rasi | 127 ++++++++++++ .../applets/applets/configs/circle/time.rasi | 127 ++++++++++++ .../applets/configs/circle/volume.rasi | 127 ++++++++++++ .../applets/applets/configs/rounded/apps.rasi | 127 ++++++++++++ .../applets/configs/rounded/backlight.rasi | 127 ++++++++++++ .../applets/configs/rounded/battery.rasi | 127 ++++++++++++ .../applets/applets/configs/rounded/mpd.rasi | 127 ++++++++++++ .../applets/configs/rounded/network.rasi | 127 ++++++++++++ .../applets/configs/rounded/powermenu.rasi | 127 ++++++++++++ .../applets/configs/rounded/quicklinks.rasi | 127 ++++++++++++ .../applets/configs/rounded/screenshot.rasi | 127 ++++++++++++ .../applets/applets/configs/rounded/time.rasi | 127 ++++++++++++ .../applets/configs/rounded/volume.rasi | 127 ++++++++++++ .../applets/applets/configs/square/apps.rasi | 126 ++++++++++++ .../applets/configs/square/backlight.rasi | 126 ++++++++++++ .../applets/configs/square/battery.rasi | 126 ++++++++++++ .../applets/applets/configs/square/mpd.rasi | 126 ++++++++++++ .../applets/configs/square/network.rasi | 126 ++++++++++++ .../applets/configs/square/powermenu.rasi | 126 ++++++++++++ .../applets/configs/square/quicklinks.rasi | 126 ++++++++++++ .../applets/configs/square/screenshot.rasi | 126 ++++++++++++ .../applets/applets/configs/square/time.rasi | 126 ++++++++++++ .../applets/configs/square/volume.rasi | 126 ++++++++++++ .../skel/.config/rofi/applets/applets/mpd.sh | 78 ++++++++ .../.config/rofi/applets/applets/network.sh | 68 +++++++ .../.config/rofi/applets/applets/powermenu.sh | 98 ++++++++++ .../rofi/applets/applets/quicklinks.sh | 62 ++++++ .../rofi/applets/applets/screenshot.sh | 50 +++++ .../.config/rofi/applets/applets/style.sh | 15 ++ .../skel/.config/rofi/applets/applets/time.sh | 24 +++ .../.config/rofi/applets/applets/volume.sh | 58 ++++++ .../skel/.config/rofi/applets/menu/apps.sh | 95 +++++++++ .../.config/rofi/applets/menu/backlight.sh | 75 ++++++++ .../skel/.config/rofi/applets/menu/battery.sh | 65 +++++++ .../applets/menu/configs/circle/apps.rasi | 127 ++++++++++++ .../menu/configs/circle/backlight.rasi | 127 ++++++++++++ .../applets/menu/configs/circle/battery.rasi | 127 ++++++++++++ .../rofi/applets/menu/configs/circle/mpd.rasi | 127 ++++++++++++ .../applets/menu/configs/circle/network.rasi | 127 ++++++++++++ .../menu/configs/circle/powermenu.rasi | 127 ++++++++++++ .../menu/configs/circle/quicklinks.rasi | 127 ++++++++++++ .../menu/configs/circle/screenshot.rasi | 127 ++++++++++++ .../applets/menu/configs/circle/time.rasi | 127 ++++++++++++ .../applets/menu/configs/circle/volume.rasi | 127 ++++++++++++ .../applets/menu/configs/rounded/apps.rasi | 127 ++++++++++++ .../menu/configs/rounded/backlight.rasi | 127 ++++++++++++ .../applets/menu/configs/rounded/battery.rasi | 127 ++++++++++++ .../applets/menu/configs/rounded/mpd.rasi | 127 ++++++++++++ .../applets/menu/configs/rounded/network.rasi | 127 ++++++++++++ .../menu/configs/rounded/powermenu.rasi | 127 ++++++++++++ .../menu/configs/rounded/quicklinks.rasi | 127 ++++++++++++ .../menu/configs/rounded/screenshot.rasi | 127 ++++++++++++ .../applets/menu/configs/rounded/time.rasi | 127 ++++++++++++ .../applets/menu/configs/rounded/volume.rasi | 127 ++++++++++++ .../applets/menu/configs/square/apps.rasi | 126 ++++++++++++ .../menu/configs/square/backlight.rasi | 126 ++++++++++++ .../applets/menu/configs/square/battery.rasi | 126 ++++++++++++ .../rofi/applets/menu/configs/square/mpd.rasi | 126 ++++++++++++ .../applets/menu/configs/square/network.rasi | 126 ++++++++++++ .../menu/configs/square/powermenu.rasi | 126 ++++++++++++ .../menu/configs/square/quicklinks.rasi | 126 ++++++++++++ .../menu/configs/square/screenshot.rasi | 126 ++++++++++++ .../applets/menu/configs/square/time.rasi | 126 ++++++++++++ .../applets/menu/configs/square/volume.rasi | 126 ++++++++++++ .../etc/skel/.config/rofi/applets/menu/mpd.sh | 78 ++++++++ .../skel/.config/rofi/applets/menu/network.sh | 68 +++++++ .../.config/rofi/applets/menu/powermenu.sh | 40 ++++ .../.config/rofi/applets/menu/quicklinks.sh | 62 ++++++ .../.config/rofi/applets/menu/screenshot.sh | 50 +++++ .../skel/.config/rofi/applets/menu/style.sh | 15 ++ .../skel/.config/rofi/applets/menu/time.sh | 24 +++ .../skel/.config/rofi/applets/menu/volume.sh | 58 ++++++ .../rofi/applets/styles/adapta-nokto.rasi | 8 + .../.config/rofi/applets/styles/adapta.rasi | 8 + .../.config/rofi/applets/styles/adwaita.rasi | 8 + .../.config/rofi/applets/styles/arc-dark.rasi | 8 + .../skel/.config/rofi/applets/styles/arc.rasi | 8 + .../.config/rofi/applets/styles/armchair.rasi | 8 + .../.config/rofi/applets/styles/colors.rasi | 22 +++ .../.config/rofi/applets/styles/confirm.rasi | 24 +++ .../.config/rofi/applets/styles/dark.rasi | 8 + .../.config/rofi/applets/styles/darkpink.rasi | 8 + .../.config/rofi/applets/styles/fresh.rasi | 8 + .../.config/rofi/applets/styles/gruvbox.rasi | 8 + .../.config/rofi/applets/styles/inside.rasi | 8 + .../applets/styles/material-dark/amber.rasi | 8 + .../applets/styles/material-dark/blue.rasi | 8 + .../styles/material-dark/blue_grey.rasi | 8 + .../applets/styles/material-dark/brown.rasi | 8 + .../applets/styles/material-dark/cyan.rasi | 8 + .../styles/material-dark/deep_orange.rasi | 8 + .../styles/material-dark/deep_purple.rasi | 8 + .../applets/styles/material-dark/green.rasi | 8 + .../applets/styles/material-dark/grey.rasi | 8 + .../applets/styles/material-dark/indigo.rasi | 8 + .../styles/material-dark/light_blue.rasi | 8 + .../styles/material-dark/light_green.rasi | 8 + .../applets/styles/material-dark/lime.rasi | 8 + .../applets/styles/material-dark/orange.rasi | 8 + .../applets/styles/material-dark/pink.rasi | 8 + .../applets/styles/material-dark/purple.rasi | 8 + .../applets/styles/material-dark/red.rasi | 8 + .../applets/styles/material-dark/teal.rasi | 8 + .../applets/styles/material-dark/yellow.rasi | 8 + .../applets/styles/material-light/amber.rasi | 8 + .../applets/styles/material-light/blue.rasi | 8 + .../styles/material-light/blue_grey.rasi | 8 + .../applets/styles/material-light/brown.rasi | 8 + .../applets/styles/material-light/cyan.rasi | 8 + .../styles/material-light/deep_orange.rasi | 8 + .../styles/material-light/deep_purple.rasi | 8 + .../applets/styles/material-light/green.rasi | 8 + .../applets/styles/material-light/grey.rasi | 8 + .../applets/styles/material-light/indigo.rasi | 8 + .../styles/material-light/light_blue.rasi | 8 + .../styles/material-light/light_green.rasi | 8 + .../applets/styles/material-light/lime.rasi | 8 + .../applets/styles/material-light/orange.rasi | 8 + .../applets/styles/material-light/pink.rasi | 8 + .../applets/styles/material-light/purple.rasi | 8 + .../applets/styles/material-light/red.rasi | 8 + .../applets/styles/material-light/teal.rasi | 8 + .../applets/styles/material-light/yellow.rasi | 8 + .../.config/rofi/applets/styles/message.rasi | 24 +++ .../.config/rofi/applets/styles/minimo.rasi | 8 + .../.config/rofi/applets/styles/party.rasi | 8 + .../.config/rofi/applets/styles/sirin.rasi | 8 + .../etc/skel/.config/rofi/bin/android_apps | 1 + .../skel/.config/rofi/bin/android_backlight | 1 + .../etc/skel/.config/rofi/bin/android_mpd | 1 + .../skel/.config/rofi/bin/android_powermenu | 1 + .../skel/.config/rofi/bin/android_quicklinks | 1 + .../skel/.config/rofi/bin/android_screenshot | 1 + .../etc/skel/.config/rofi/bin/android_volume | 1 + .../etc/skel/.config/rofi/bin/applet_apps | 1 + .../skel/.config/rofi/bin/applet_backlight | 1 + .../etc/skel/.config/rofi/bin/applet_battery | 1 + .../etc/skel/.config/rofi/bin/applet_mpd | 1 + .../etc/skel/.config/rofi/bin/applet_network | 1 + .../skel/.config/rofi/bin/applet_powermenu | 1 + .../skel/.config/rofi/bin/applet_quicklinks | 1 + .../skel/.config/rofi/bin/applet_screenshot | 1 + .../etc/skel/.config/rofi/bin/applet_time | 1 + .../etc/skel/.config/rofi/bin/applet_volume | 1 + .../skel/.config/rofi/bin/launcher_colorful | 1 + .../etc/skel/.config/rofi/bin/launcher_misc | 1 + .../etc/skel/.config/rofi/bin/launcher_ribbon | 1 + .../etc/skel/.config/rofi/bin/launcher_slate | 1 + .../etc/skel/.config/rofi/bin/launcher_text | 1 + .../etc/skel/.config/rofi/bin/menu_apps | 1 + .../etc/skel/.config/rofi/bin/menu_backlight | 1 + .../etc/skel/.config/rofi/bin/menu_battery | 1 + .../etc/skel/.config/rofi/bin/menu_mpd | 1 + .../etc/skel/.config/rofi/bin/menu_network | 1 + .../etc/skel/.config/rofi/bin/menu_powermenu | 1 + .../etc/skel/.config/rofi/bin/menu_quicklinks | 1 + .../etc/skel/.config/rofi/bin/menu_screenshot | 1 + .../etc/skel/.config/rofi/bin/menu_time | 1 + .../etc/skel/.config/rofi/bin/menu_volume | 1 + .../etc/skel/.config/rofi/bin/powermenu | 1 + .../etc/skel/.config/rofi/bin/usedcpu | 45 +++++ .../etc/skel/.config/rofi/bin/usedram | 27 +++ .../airootfs/etc/skel/.config/rofi/config | 13 -- .../etc/skel/.config/rofi/config.rasi | 6 + .../airootfs/etc/skel/.config/rofi/credit.txt | 1 + .../rofi/launchers/colorful/colors.rasi | 9 + .../rofi/launchers/colorful/launcher.sh | 51 +++++ .../rofi/launchers/colorful/style_1.rasi | 115 +++++++++++ .../rofi/launchers/colorful/style_10.rasi | 117 +++++++++++ .../rofi/launchers/colorful/style_11.rasi | 125 ++++++++++++ .../rofi/launchers/colorful/style_12.rasi | 128 +++++++++++++ .../rofi/launchers/colorful/style_2.rasi | 115 +++++++++++ .../rofi/launchers/colorful/style_3.rasi | 116 +++++++++++ .../rofi/launchers/colorful/style_4.rasi | 115 +++++++++++ .../rofi/launchers/colorful/style_5.rasi | 115 +++++++++++ .../rofi/launchers/colorful/style_6.rasi | 110 +++++++++++ .../rofi/launchers/colorful/style_7.rasi | 115 +++++++++++ .../rofi/launchers/colorful/style_8.rasi | 121 ++++++++++++ .../rofi/launchers/colorful/style_9.rasi | 122 ++++++++++++ .../rofi/launchers/misc/appdrawer.rasi | 136 +++++++++++++ .../rofi/launchers/misc/appdrawer_alt.rasi | 136 +++++++++++++ .../rofi/launchers/misc/appfolder.rasi | 136 +++++++++++++ .../.config/rofi/launchers/misc/blurry.rasi | 120 ++++++++++++ .../rofi/launchers/misc/blurry_full.rasi | 116 +++++++++++ .../.config/rofi/launchers/misc/column.rasi | 136 +++++++++++++ .../.config/rofi/launchers/misc/gnome_do.rasi | 165 ++++++++++++++++ .../rofi/launchers/misc/kde_krunner.rasi | 143 ++++++++++++++ .../rofi/launchers/misc/kde_simplemenu.rasi | 143 ++++++++++++++ .../.config/rofi/launchers/misc/launcher.sh | 22 +++ .../rofi/launchers/misc/launchpad.rasi | 116 +++++++++++ .../skel/.config/rofi/launchers/misc/row.rasi | 136 +++++++++++++ .../rofi/launchers/misc/row_center.rasi | 136 +++++++++++++ .../.config/rofi/launchers/misc/row_dock.rasi | 136 +++++++++++++ .../rofi/launchers/misc/row_dropdown.rasi | 136 +++++++++++++ .../.config/rofi/launchers/misc/screen.rasi | 132 +++++++++++++ .../rofi/launchers/misc/slingshot.rasi | 132 +++++++++++++ .../rofi/launchers/ribbon/full_bottom.rasi | 133 +++++++++++++ .../rofi/launchers/ribbon/full_left.rasi | 133 +++++++++++++ .../rofi/launchers/ribbon/full_right.rasi | 133 +++++++++++++ .../rofi/launchers/ribbon/full_top.rasi | 133 +++++++++++++ .../.config/rofi/launchers/ribbon/launcher.sh | 28 +++ .../rofi/launchers/ribbon/ribbon_bottom.rasi | 138 +++++++++++++ .../launchers/ribbon/ribbon_bottom_round.rasi | 138 +++++++++++++ .../rofi/launchers/ribbon/ribbon_left.rasi | 138 +++++++++++++ .../launchers/ribbon/ribbon_left_round.rasi | 138 +++++++++++++ .../rofi/launchers/ribbon/ribbon_right.rasi | 138 +++++++++++++ .../launchers/ribbon/ribbon_right_round.rasi | 138 +++++++++++++ .../rofi/launchers/ribbon/ribbon_top.rasi | 138 +++++++++++++ .../launchers/ribbon/ribbon_top_round.rasi | 138 +++++++++++++ .../rofi/launchers/ribbon/styles/berry.rasi | 9 + .../rofi/launchers/ribbon/styles/bluish.rasi | 9 + .../rofi/launchers/ribbon/styles/cocoa.rasi | 9 + .../rofi/launchers/ribbon/styles/colors.rasi | 10 + .../rofi/launchers/ribbon/styles/faded.rasi | 9 + .../rofi/launchers/ribbon/styles/gotham.rasi | 9 + .../rofi/launchers/ribbon/styles/mask.rasi | 9 + .../rofi/launchers/ribbon/styles/nightly.rasi | 9 + .../rofi/launchers/ribbon/styles/nordic.rasi | 9 + .../.config/rofi/launchers/slate/launcher.sh | 27 +++ .../rofi/launchers/slate/slate_bottom.rasi | 138 +++++++++++++ .../rofi/launchers/slate/slate_center.rasi | 138 +++++++++++++ .../rofi/launchers/slate/slate_full.rasi | 133 +++++++++++++ .../rofi/launchers/slate/slate_left.rasi | 138 +++++++++++++ .../rofi/launchers/slate/slate_right.rasi | 138 +++++++++++++ .../rofi/launchers/slate/slate_top.rasi | 138 +++++++++++++ .../rofi/launchers/slate/styles/Amber.rasi | 36 ++++ .../rofi/launchers/slate/styles/Black.rasi | 36 ++++ .../rofi/launchers/slate/styles/Blue.rasi | 36 ++++ .../launchers/slate/styles/Blue_gray.rasi | 36 ++++ .../rofi/launchers/slate/styles/Brown.rasi | 36 ++++ .../rofi/launchers/slate/styles/Cyan.rasi | 36 ++++ .../launchers/slate/styles/Deep_orange.rasi | 36 ++++ .../launchers/slate/styles/Deep_purple.rasi | 36 ++++ .../rofi/launchers/slate/styles/Gray.rasi | 36 ++++ .../rofi/launchers/slate/styles/Green.rasi | 36 ++++ .../rofi/launchers/slate/styles/Indigo.rasi | 36 ++++ .../launchers/slate/styles/Light_blue.rasi | 36 ++++ .../launchers/slate/styles/Light_green.rasi | 36 ++++ .../rofi/launchers/slate/styles/Lime.rasi | 36 ++++ .../rofi/launchers/slate/styles/Orange.rasi | 36 ++++ .../rofi/launchers/slate/styles/Pink.rasi | 36 ++++ .../rofi/launchers/slate/styles/Purple.rasi | 36 ++++ .../rofi/launchers/slate/styles/Red.rasi | 36 ++++ .../rofi/launchers/slate/styles/Teal.rasi | 36 ++++ .../rofi/launchers/slate/styles/Yellow.rasi | 36 ++++ .../rofi/launchers/slate/styles/colors.rasi | 12 ++ .../.config/rofi/launchers/text/launcher.sh | 29 +++ .../.config/rofi/launchers/text/style_1.rasi | 176 +++++++++++++++++ .../.config/rofi/launchers/text/style_2.rasi | 178 +++++++++++++++++ .../.config/rofi/launchers/text/style_3.rasi | 178 +++++++++++++++++ .../.config/rofi/launchers/text/style_4.rasi | 179 +++++++++++++++++ .../.config/rofi/launchers/text/style_5.rasi | 181 ++++++++++++++++++ .../.config/rofi/launchers/text/style_6.rasi | 178 +++++++++++++++++ .../.config/rofi/launchers/text/style_7.rasi | 178 +++++++++++++++++ .../rofi/launchers/text/styles/berry.rasi | 15 ++ .../rofi/launchers/text/styles/black.rasi | 15 ++ .../rofi/launchers/text/styles/bluish.rasi | 15 ++ .../rofi/launchers/text/styles/cocoa.rasi | 15 ++ .../rofi/launchers/text/styles/colors.rasi | 11 ++ .../rofi/launchers/text/styles/faded.rasi | 15 ++ .../rofi/launchers/text/styles/gotham.rasi | 15 ++ .../rofi/launchers/text/styles/mask.rasi | 15 ++ .../rofi/launchers/text/styles/nightly.rasi | 15 ++ .../rofi/launchers/text/styles/nordic.rasi | 15 ++ .../rofi/launchers/text/styles/white.rasi | 15 ++ .../skel/.config/rofi/powermenu/card_alt.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/card_circle.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/card_rounded.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/card_square.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/column_alt.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/column_circle.rasi | 123 ++++++++++++ .../rofi/powermenu/column_rounded.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/column_square.rasi | 123 ++++++++++++ .../skel/.config/rofi/powermenu/confirm.rasi | 24 +++ .../skel/.config/rofi/powermenu/dock_alt.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/dock_circle.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/dock_rounded.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/dock_square.rasi | 123 ++++++++++++ .../skel/.config/rofi/powermenu/drop_alt.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/drop_circle.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/drop_rounded.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/drop_square.rasi | 123 ++++++++++++ .../skel/.config/rofi/powermenu/full_alt.rasi | 118 ++++++++++++ .../.config/rofi/powermenu/full_circle.rasi | 118 ++++++++++++ .../.config/rofi/powermenu/full_rounded.rasi | 118 ++++++++++++ .../.config/rofi/powermenu/full_square.rasi | 118 ++++++++++++ .../skel/.config/rofi/powermenu/message.rasi | 24 +++ .../skel/.config/rofi/powermenu/powermenu.sh | 117 +++++++++++ .../skel/.config/rofi/powermenu/row_alt.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/row_circle.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/row_rounded.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/row_square.rasi | 123 ++++++++++++ .../.config/rofi/powermenu/styles/berry.rasi | 9 + .../.config/rofi/powermenu/styles/bluish.rasi | 9 + .../.config/rofi/powermenu/styles/cocoa.rasi | 9 + .../.config/rofi/powermenu/styles/colors.rasi | 10 + .../.config/rofi/powermenu/styles/faded.rasi | 9 + .../.config/rofi/powermenu/styles/gotham.rasi | 9 + .../.config/rofi/powermenu/styles/mask.rasi | 9 + .../rofi/powermenu/styles/nightly.rasi | 9 + .../.config/rofi/powermenu/styles/nordic.rasi | 9 + 325 files changed, 21966 insertions(+), 13 deletions(-) create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/apps.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/backlight.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/colors.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/confirm.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/five.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/message.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/mpd.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/powermenu.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/quicklinks.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/screenshot.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/six.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/three.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/volume.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/apps.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/backlight.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/battery.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/apps.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/backlight.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/battery.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/mpd.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/network.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/powermenu.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/quicklinks.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/screenshot.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/time.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/volume.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/apps.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/backlight.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/battery.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/mpd.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/network.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/powermenu.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/quicklinks.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/screenshot.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/time.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/volume.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/apps.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/backlight.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/battery.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/mpd.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/network.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/powermenu.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/quicklinks.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/screenshot.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/time.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/volume.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/mpd.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/network.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/powermenu.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/quicklinks.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/screenshot.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/style.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/time.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/volume.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/apps.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/backlight.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/battery.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/apps.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/backlight.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/battery.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/mpd.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/network.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/powermenu.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/quicklinks.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/screenshot.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/time.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/volume.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/apps.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/backlight.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/battery.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/mpd.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/network.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/powermenu.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/quicklinks.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/screenshot.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/time.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/volume.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/apps.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/backlight.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/battery.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/mpd.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/network.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/powermenu.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/quicklinks.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/screenshot.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/time.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/volume.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/mpd.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/network.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/powermenu.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/quicklinks.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/screenshot.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/style.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/time.sh create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/volume.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta-nokto.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adwaita.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc-dark.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/armchair.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/colors.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/confirm.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/dark.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/darkpink.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/fresh.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/gruvbox.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/inside.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/amber.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue_grey.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/brown.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/cyan.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_orange.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_purple.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/green.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/grey.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/indigo.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_blue.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_green.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/lime.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/orange.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/pink.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/purple.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/red.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/teal.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/yellow.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/amber.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue_grey.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/brown.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/cyan.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_orange.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_purple.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/green.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/grey.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/indigo.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_blue.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_green.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/lime.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/orange.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/pink.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/purple.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/red.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/teal.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/yellow.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/message.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/minimo.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/party.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/sirin.rasi create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_apps create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_backlight create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_mpd create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_powermenu create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_quicklinks create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_screenshot create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_volume create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_apps create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_backlight create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_battery create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_mpd create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_network create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_powermenu create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_quicklinks create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_screenshot create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_time create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_volume create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_colorful create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_misc create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_ribbon create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_slate create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_text create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_apps create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_backlight create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_battery create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_mpd create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_network create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_powermenu create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_quicklinks create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_screenshot create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_time create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_volume create mode 120000 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/powermenu create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedcpu create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedram delete mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/config create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/config.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/credit.txt create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/colors.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/launcher.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_1.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_10.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_11.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_12.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_2.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_3.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_4.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_5.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_6.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_7.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_8.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_9.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer_alt.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appfolder.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry_full.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/column.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/gnome_do.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_krunner.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_simplemenu.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launcher.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launchpad.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_center.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dock.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dropdown.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/screen.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/slingshot.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_bottom.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_left.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_right.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_top.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/launcher.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom_round.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left_round.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right_round.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top_round.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/berry.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/bluish.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/cocoa.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/colors.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/faded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/gotham.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/mask.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nightly.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nordic.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/launcher.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_bottom.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_center.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_full.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_left.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_right.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_top.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Amber.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Black.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue_gray.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Brown.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Cyan.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_orange.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_purple.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Gray.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Green.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Indigo.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_blue.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_green.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Lime.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Orange.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Pink.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Purple.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Red.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Teal.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Yellow.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/colors.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/launcher.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_1.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_2.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_3.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_4.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_5.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_6.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_7.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/berry.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/black.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/bluish.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/cocoa.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/colors.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/faded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/gotham.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/mask.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nightly.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nordic.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/white.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_alt.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_circle.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_rounded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_square.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_alt.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_circle.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_rounded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_square.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/confirm.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_alt.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_circle.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_rounded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_square.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_alt.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_circle.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_rounded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_square.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_alt.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_circle.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_rounded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_square.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/message.rasi create mode 100755 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/powermenu.sh create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_alt.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_circle.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_rounded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_square.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/berry.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/bluish.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/cocoa.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/colors.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/faded.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/gotham.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/mask.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nightly.rasi create mode 100644 setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nordic.rasi diff --git a/setup/build_linux b/setup/build_linux index ab70ac92..e1b269f4 100755 --- a/setup/build_linux +++ b/setup/build_linux @@ -187,6 +187,16 @@ function update_live_env() { git clone --depth=1 https://github.com/addy-dclxvi/Openbox-Theme-Collections.git "$TEMP_DIR/ob-themes" mkdir -p "$PROFILE_DIR/airootfs/usr/share/themes" cp -a "$TEMP_DIR/ob-themes/Triste-Orange" "$PROFILE_DIR/airootfs/usr/share/themes/" + + # Rofi + ## Probably don't need the exact commit but it'll be fine + mkdir -p "$PROFILE_DIR/airootfs/usr/share/fonts/" + curl -Lo \ + "$PROFILE_DIR/airootfs/usr/share/fonts/Fantasque-Sans-Mono-Nerd-Font.ttf" \ + "https://github.com/adi1090x/rofi/raw/9c4093c665326bb08d6affc7e16d18d8f25c4452/fonts/Fantasque-Sans-Mono-Nerd-Font.ttf" + curl -Lo \ + "$PROFILE_DIR/airootfs/usr/share/fonts/Feather.ttf" \ + "https://github.com/adi1090x/rofi/raw/9c4093c665326bb08d6affc7e16d18d8f25c4452/fonts/Feather.ttf" fi # SSH diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/apps.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/apps.sh new file mode 100755 index 00000000..466c6298 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/apps.sh @@ -0,0 +1,94 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +dir="$HOME/.config/rofi/applets/android" +rofi_command="rofi -theme $dir/six.rasi" + +# Links +terminal="" +files="" +editor="" +browser="" +music="" +settings="" + +# Error msg +msg() { + rofi -theme "$dir/message.rasi" -e "$1" +} + +# Variable passed to rofi +options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" + +chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" +case $chosen in + $terminal) + if [[ -f /usr/bin/termite ]]; then + termite & + elif [[ -f /usr/bin/urxvt ]]; then + urxvt & + elif [[ -f /usr/bin/kitty ]]; then + kitty & + elif [[ -f /usr/bin/xterm ]]; then + xterm & + elif [[ -f /usr/bin/xfce4-terminal ]]; then + xfce4-terminal & + elif [[ -f /usr/bin/gnome-terminal ]]; then + gnome-terminal & + else + msg "No suitable terminal found!" + fi + ;; + $files) + if [[ -f /usr/bin/thunar ]]; then + thunar & + elif [[ -f /usr/bin/pcmanfm ]]; then + pcmanfm & + else + msg "No suitable file manager found!" + fi + ;; + $editor) + if [[ -f /usr/bin/geany ]]; then + geany & + elif [[ -f /usr/bin/leafpad ]]; then + leafpad & + elif [[ -f /usr/bin/mousepad ]]; then + mousepad & + elif [[ -f /usr/bin/code ]]; then + code & + else + msg "No suitable text editor found!" + fi + ;; + $browser) + if [[ -f /usr/bin/firefox ]]; then + firefox & + elif [[ -f /usr/bin/chromium ]]; then + chromium & + elif [[ -f /usr/bin/midori ]]; then + midori & + else + msg "No suitable web browser found!" + fi + ;; + $music) + if [[ -f /usr/bin/lxmusic ]]; then + lxmusic & + else + msg "No suitable music player found!" + fi + ;; + $settings) + if [[ -f /usr/bin/xfce4-settings-manager ]]; then + xfce4-settings-manager & + else + msg "No suitable settings manager found!" + fi + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/backlight.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/backlight.sh new file mode 100755 index 00000000..141b9aeb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/backlight.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +dir="$HOME/.config/rofi/applets/android" +rofi_command="rofi -theme $dir/three.rasi" + +# Error msg +msg() { + rofi -theme "$dir/message.rasi" -e "$1" +} + +## Get Brightness +if [[ -f /usr/bin/blight ]]; then + DEVICE=$(ls /sys/class/backlight | head -n 1) + BNESS="$(blight -d $DEVICE get brightness)" + PERC="$(($BNESS*100/255))" + BLIGHT=${PERC%.*} +elif [[ -f /usr/bin/xbacklight ]]; then + VAR="$(xbacklight -get)" + BLIGHT="$(printf "%.0f\n" "$VAR")" +else + msg "No suitable backlight utility found!" + exit 1 +fi + +if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then + MSG="Low" +elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then + MSG="Optimal" +elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then + MSG="High" +elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then + MSG="Too Much" +fi + +## Icons +ICON_UP="" +ICON_DOWN="" +ICON_OPT="" + +notify="notify-send -u low -t 1500" +options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)" +case $chosen in + $ICON_UP) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" + fi + ;; + $ICON_DOWN) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" + fi + ;; + $ICON_OPT) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" + fi + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/colors.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/colors.rasi new file mode 100644 index 00000000..5ce46fcf --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/colors.rasi @@ -0,0 +1,22 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * // Dark + * material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange + * material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green + * material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal + * material-dark/yellow + * // Light + * material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange + * material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green + * material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal + * material-light/yellow + * + * // Other + * adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark + * armchair, darkpink, fresh, inside, party, sirin + * + */ + +@import "../styles/arc.rasi" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/confirm.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/confirm.rasi new file mode 100644 index 00000000..970783fc --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/confirm.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Iosevka Nerd Font 12"; +} + +window { + width: 225px; + padding: 25px; + border: 0px; + border-radius: 12px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/five.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/five.rasi new file mode 100644 index 00000000..f28c7a82 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/five.rasi @@ -0,0 +1,91 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + width: 80px; + location: east; + x-offset: -15px; + y-offset: 0px; +} + +listview { + lines: 5; + margin: 5px; + spacing: 5px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ listview ]; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 10px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 10px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/message.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/message.rasi new file mode 100644 index 00000000..f35d3a28 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/message.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Iosevka Nerd Font 12"; +} + +window { + width: 360px; + padding: 25px; + border: 0px; + border-radius: 12px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/mpd.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/mpd.sh new file mode 100755 index 00000000..6f15be0e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/mpd.sh @@ -0,0 +1,76 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +dir="$HOME/.config/rofi/applets/android" +rofi_command="rofi -theme $dir/six.rasi" + +# Gets the current status of mpd (for us to parse it later on) +status="$(mpc status)" +# Defines the Play / Pause option content +if [[ $status == *"[playing]"* ]]; then + play_pause="" +else + play_pause="" +fi +active="" +urgent="" + +# Display if repeat mode is on / off +tog_repeat="" +if [[ $status == *"repeat: on"* ]]; then + active="-a 4" +elif [[ $status == *"repeat: off"* ]]; then + urgent="-u 4" +else + tog_repeat=" Parsing error" +fi + +# Display if random mode is on / off +tog_random="" +if [[ $status == *"random: on"* ]]; then + [ -n "$active" ] && active+=",5" || active="-a 5" +elif [[ $status == *"random: off"* ]]; then + [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" +else + tog_random=" Parsing error" +fi +stop="" +next="" +previous="" + +# Variable passed to rofi +options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" + +# Get the current playing song +current=$(mpc -f %title% current) +# If mpd isn't running it will return an empty string, we don't want to display that +if [[ -z "$current" ]]; then + current="-" +fi + +# Spawn the mpd menu with the "Play / Pause" entry selected by default +chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" +case $chosen in + $previous) + mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" + ;; + $play_pause) + mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" + ;; + $stop) + mpc -q stop + ;; + $next) + mpc -q next && notify-send -u low -t 1800 " $(mpc current)" + ;; + $tog_repeat) + mpc -q repeat + ;; + $tog_random) + mpc -q random + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/powermenu.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/powermenu.sh new file mode 100755 index 00000000..e28c7317 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/powermenu.sh @@ -0,0 +1,94 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +dir="$HOME/.config/rofi/applets/android" +rofi_command="rofi -theme $dir/five.rasi" + +uptime=$(uptime -p | sed -e 's/up //g') + +# Options +shutdown="" +reboot="" +lock="" +suspend="" +logout="" + +# Confirmation +confirm_exit() { + rofi -dmenu\ + -i\ + -no-fixed-num-lines\ + -p "Are You Sure? : "\ + -theme $dir/confirm.rasi +} + +# Message +msg() { + rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" +} + +# Variable passed to rofi +options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" + +chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" +case $chosen in + $shutdown) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + systemctl poweroff + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $reboot) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + systemctl reboot + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $lock) + if [[ -f /usr/bin/i3lock ]]; then + i3lock + elif [[ -f /usr/bin/betterlockscreen ]]; then + betterlockscreen -l + fi + ;; + $suspend) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $logout) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == "i3" ]]; then + i3-msg exit + fi + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/quicklinks.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/quicklinks.sh new file mode 100755 index 00000000..e2ae62f0 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/quicklinks.sh @@ -0,0 +1,60 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +dir="$HOME/.config/rofi/applets/android" +rofi_command="rofi -theme $dir/six.rasi" + +# Error msg +msg() { + rofi -theme "$dir/message.rasi" -e "$1" +} + +# Browser +if [[ -f /usr/bin/firefox ]]; then + app="firefox" +elif [[ -f /usr/bin/chromium ]]; then + app="chromium" +elif [[ -f /usr/bin/midori ]]; then + app="midori" +else + msg "No suitable web browser found!" + exit 1 +fi + +# Links +google="" +facebook="" +twitter="" +github="" +mail="" +youtube="" + +# Variable passed to rofi +options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" + +chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)" +case $chosen in + $google) + $app https://www.google.com & + ;; + $facebook) + $app https://www.facebook.com & + ;; + $twitter) + $app https://www.twitter.com & + ;; + $github) + $app https://www.github.com & + ;; + $mail) + $app https://www.gmail.com & + ;; + $youtube) + $app https://www.youtube.com & + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/screenshot.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/screenshot.sh new file mode 100755 index 00000000..95abe343 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/screenshot.sh @@ -0,0 +1,48 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +dir="$HOME/.config/rofi/applets/android" +rofi_command="rofi -theme $dir/three.rasi" + +# Error msg +msg() { + rofi -theme "$dir/message.rasi" -e "Please install 'scrot' first." +} + +# Options +screen="" +area="" +window="" + +# Variable passed to rofi +options="$screen\n$area\n$window" + +chosen="$(echo -e "$options" | $rofi_command -p '' -dmenu -selected-row 1)" +case $chosen in + $screen) + if [[ -f /usr/bin/scrot ]]; then + sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; + $area) + if [[ -f /usr/bin/scrot ]]; then + scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; + $window) + if [[ -f /usr/bin/scrot ]]; then + sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/six.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/six.rasi new file mode 100644 index 00000000..7d2a805d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/six.rasi @@ -0,0 +1,91 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + width: 80px; + location: east; + x-offset: -15px; + y-offset: 0px; +} + +listview { + lines: 6; + margin: 5px; + spacing: 5px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ listview ]; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 10px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 10px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/three.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/three.rasi new file mode 100644 index 00000000..4485897c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/three.rasi @@ -0,0 +1,91 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + width: 80px; + location: east; + x-offset: -15px; + y-offset: 0px; +} + +listview { + lines: 3; + margin: 5px; + spacing: 5px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ listview ]; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 10px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 10px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/volume.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/volume.sh new file mode 100755 index 00000000..429db8c7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/android/volume.sh @@ -0,0 +1,56 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +dir="$HOME/.config/rofi/applets/android" +rofi_command="rofi -theme $dir/three.rasi" + +## Get Volume +#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') +MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') + +active="" +urgent="" + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"on"* ]]; then + VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" +else + VOLUME="Mu..." +fi + +## Icons +ICON_UP="" +ICON_DOWN="" +ICON_MUTED="" + +options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" +case $chosen in + $ICON_UP) + amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" + ;; + $ICON_DOWN) + amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" + ;; + $ICON_MUTED) + amixer -q set Master toggle + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/apps.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/apps.sh new file mode 100755 index 00000000..f8129ce0 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/apps.sh @@ -0,0 +1,95 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/apps.rasi" + +# Links +terminal="" +files="" +editor="" +browser="" +music="" +settings="" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" +} + +# Variable passed to rofi +options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" + +chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" +case $chosen in + $terminal) + if [[ -f /usr/bin/termite ]]; then + termite & + elif [[ -f /usr/bin/urxvt ]]; then + urxvt & + elif [[ -f /usr/bin/kitty ]]; then + kitty & + elif [[ -f /usr/bin/xterm ]]; then + xterm & + elif [[ -f /usr/bin/xfce4-terminal ]]; then + xfce4-terminal & + elif [[ -f /usr/bin/gnome-terminal ]]; then + gnome-terminal & + else + msg "No suitable terminal found!" + fi + ;; + $files) + if [[ -f /usr/bin/thunar ]]; then + thunar & + elif [[ -f /usr/bin/pcmanfm ]]; then + pcmanfm & + else + msg "No suitable file manager found!" + fi + ;; + $editor) + if [[ -f /usr/bin/geany ]]; then + geany & + elif [[ -f /usr/bin/leafpad ]]; then + leafpad & + elif [[ -f /usr/bin/mousepad ]]; then + mousepad & + elif [[ -f /usr/bin/code ]]; then + code & + else + msg "No suitable text editor found!" + fi + ;; + $browser) + if [[ -f /usr/bin/firefox ]]; then + firefox & + elif [[ -f /usr/bin/chromium ]]; then + chromium & + elif [[ -f /usr/bin/midori ]]; then + midori & + else + msg "No suitable web browser found!" + fi + ;; + $music) + if [[ -f /usr/bin/lxmusic ]]; then + lxmusic & + else + msg "No suitable music player found!" + fi + ;; + $settings) + if [[ -f /usr/bin/xfce4-settings-manager ]]; then + xfce4-settings-manager & + else + msg "No suitable settings manager found!" + fi + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/backlight.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/backlight.sh new file mode 100755 index 00000000..4bc20f0b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/backlight.sh @@ -0,0 +1,75 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/backlight.rasi" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" +} + +## Get Brightness +if [[ -f /usr/bin/blight ]]; then + DEVICE=$(ls /sys/class/backlight | head -n 1) + BNESS="$(blight -d $DEVICE get brightness)" + PERC="$(($BNESS*100/255))" + BLIGHT=${PERC%.*} +elif [[ -f /usr/bin/xbacklight ]]; then + VAR="$(xbacklight -get)" + BLIGHT="$(printf "%.0f\n" "$VAR")" +else + msg "No suitable backlight utility found!" + exit 1 +fi + +if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then + MSG="Low" +elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then + MSG="Optimal" +elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then + MSG="High" +elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then + MSG="Too Much" +fi + +## Icons +ICON_UP="" +ICON_DOWN="" +ICON_OPT="" + +notify="notify-send -u low -t 1500" +options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)" +case $chosen in + $ICON_UP) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" + fi + ;; + $ICON_DOWN) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" + fi + ;; + $ICON_OPT) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" + fi + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/battery.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/battery.sh new file mode 100755 index 00000000..8a38ab4f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/battery.sh @@ -0,0 +1,65 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/battery.rasi" + +## Get data +BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)" +CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)" + +active="" +urgent="" + +if [[ $CHARGE = *"Charging"* ]]; then + active="-a 1" + ICON_CHRG="" + MSG=$CHARGE +elif [[ $CHARGE = *"Full"* ]]; then + active="-u 1" + ICON_CHRG="" + MSG=$CHARGE +else + urgent="-u 1" + ICON_CHRG="" + MSG=$CHARGE +fi + +# Discharging +#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then +# ICON_DISCHRG="" +if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then + ICON_DISCHRG="" +fi + +## Icons +ICON_PMGR="" + +options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$BATTERY%" -dmenu $active $urgent -selected-row 0)" +case $chosen in + $ICON_CHRG) + ;; + $ICON_DISCHRG) + ;; + $ICON_PMGR) + xfce4-power-manager-settings + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/apps.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/apps.rasi new file mode 100644 index 00000000..94159e24 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/apps.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Apps "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/backlight.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/backlight.rasi new file mode 100644 index 00000000..7b1d97cb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/backlight.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Brightness "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/battery.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/battery.rasi new file mode 100644 index 00000000..963ba0d3 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/battery.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 260px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Battery "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "Iosevka Nerd Font 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/mpd.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/mpd.rasi new file mode 100644 index 00000000..34d306cb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/mpd.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " MPD "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/network.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/network.rasi new file mode 100644 index 00000000..76cf9f65 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/network.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 335px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Network "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 4; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/powermenu.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/powermenu.rasi new file mode 100644 index 00000000..9a9688f1 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 420px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " System "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 5; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/quicklinks.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/quicklinks.rasi new file mode 100644 index 00000000..d79822eb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/quicklinks.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Quick Links "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/screenshot.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/screenshot.rasi new file mode 100644 index 00000000..637d792c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/screenshot.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Screenshot "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/time.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/time.rasi new file mode 100644 index 00000000..a8cb67df --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/time.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 450px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Time "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "Hurmit Nerd Font Mono 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 35px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/volume.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/volume.rasi new file mode 100644 index 00000000..31d4b43f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/circle/volume.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 40px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 25px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Volume "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; + border-radius: 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 5px 30px 5px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/apps.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/apps.rasi new file mode 100644 index 00000000..d76bfff9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/apps.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Apps "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/backlight.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/backlight.rasi new file mode 100644 index 00000000..e898df8a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/backlight.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Brightness "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/battery.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/battery.rasi new file mode 100644 index 00000000..8a5f409c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/battery.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Battery "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "Iosevka Nerd Font 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/mpd.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/mpd.rasi new file mode 100644 index 00000000..f6dc27d0 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/mpd.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " MPD "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/network.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/network.rasi new file mode 100644 index 00000000..b083893b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/network.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 335px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Network "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 4; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/powermenu.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/powermenu.rasi new file mode 100644 index 00000000..1842292b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 420px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " System "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 5; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/quicklinks.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/quicklinks.rasi new file mode 100644 index 00000000..95da05d0 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/quicklinks.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Quick Links "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/screenshot.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/screenshot.rasi new file mode 100644 index 00000000..308186d7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/screenshot.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Screenshot "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/time.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/time.rasi new file mode 100644 index 00000000..0ff1db33 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/time.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 450px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Time "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "Hurmit Nerd Font Mono 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 35px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/volume.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/volume.rasi new file mode 100644 index 00000000..658fc15f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/rounded/volume.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 12px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Volume "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 12px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 12px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 12px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @background-light; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/apps.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/apps.rasi new file mode 100644 index 00000000..ca4aaf97 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/apps.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Apps "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/backlight.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/backlight.rasi new file mode 100644 index 00000000..546cda99 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/backlight.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Brightness "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/battery.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/battery.rasi new file mode 100644 index 00000000..0b3017c3 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/battery.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Battery "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "Iosevka Nerd Font 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/mpd.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/mpd.rasi new file mode 100644 index 00000000..66658d79 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/mpd.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " MPD "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/network.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/network.rasi new file mode 100644 index 00000000..d30db77b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/network.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 350px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Network "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 4; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/powermenu.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/powermenu.rasi new file mode 100644 index 00000000..ed1a48f6 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/powermenu.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 420px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " System "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 5; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/quicklinks.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/quicklinks.rasi new file mode 100644 index 00000000..0817a17b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/quicklinks.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 500px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Quick Links "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/screenshot.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/screenshot.rasi new file mode 100644 index 00000000..85d5b4c0 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/screenshot.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Screenshot "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/time.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/time.rasi new file mode 100644 index 00000000..b3d54ba7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/time.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 450px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Time "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "Hurmit Nerd Font Mono 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 35px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/volume.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/volume.rasi new file mode 100644 index 00000000..74eaaf61 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/configs/square/volume.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 12"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: southeast; + width: 250px; + x-offset: -15px; + y-offset: -45px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Volume "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 12px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 12px; + margin: 12px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 5px 10px 30px 10px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/mpd.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/mpd.sh new file mode 100755 index 00000000..d1f3d2b3 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/mpd.sh @@ -0,0 +1,78 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/mpd.rasi" + +# Gets the current status of mpd (for us to parse it later on) +status="$(mpc status)" +# Defines the Play / Pause option content +if [[ $status == *"[playing]"* ]]; then + play_pause="" +else + play_pause="" +fi +active="" +urgent="" + +# Display if repeat mode is on / off +tog_repeat="" +if [[ $status == *"repeat: on"* ]]; then + active="-a 4" +elif [[ $status == *"repeat: off"* ]]; then + urgent="-u 4" +else + tog_repeat=" Parsing error" +fi + +# Display if random mode is on / off +tog_random="" +if [[ $status == *"random: on"* ]]; then + [ -n "$active" ] && active+=",5" || active="-a 5" +elif [[ $status == *"random: off"* ]]; then + [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" +else + tog_random=" Parsing error" +fi +stop="" +next="" +previous="" + +# Variable passed to rofi +options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" + +# Get the current playing song +current=$(mpc -f "%title%" current) +# If mpd isn't running it will return an empty string, we don't want to display that +if [[ -z "$current" ]]; then + current="-" +fi + +# Spawn the mpd menu with the "Play / Pause" entry selected by default +chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" +case $chosen in + $previous) + mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" + ;; + $play_pause) + mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" + ;; + $stop) + mpc -q stop + ;; + $next) + mpc -q next && notify-send -u low -t 1800 " $(mpc current)" + ;; + $tog_repeat) + mpc -q repeat + ;; + $tog_random) + mpc -q random + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/network.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/network.sh new file mode 100755 index 00000000..260eddbc --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/network.sh @@ -0,0 +1,68 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/network.rasi" + +## Get info +IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')" +#SSID="$(iwgetid -r)" +#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')" +#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" +STATUS="$(nmcli radio wifi)" + +active="" +urgent="" + +if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then + if [[ $STATUS == *"enable"* ]]; then + if [[ $IFACE == e* ]]; then + connected="" + else + connected="" + fi + active="-a 0" + SSID="﬉ $(iwgetid -r)" + PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)" + fi +else + urgent="-u 0" + SSID="Disconnected" + PIP="Not Available" + connected="" +fi + +## Icons +bmon="" +launch_cli="" +launch="" + +options="$connected\n$bmon\n$launch_cli\n$launch" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$SSID" -dmenu $active $urgent -selected-row 1)" +case $chosen in + $connected) + if [[ $STATUS == *"enable"* ]]; then + nmcli radio wifi off + else + nmcli radio wifi on + fi + ;; + $bmon) + termite -e bmon + ;; + $launch_cli) + termite -e nmtui + ;; + $launch) + nm-connection-editor + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/powermenu.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/powermenu.sh new file mode 100755 index 00000000..75d58c7b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/powermenu.sh @@ -0,0 +1,98 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/powermenu.rasi" + +uptime=$(uptime -p | sed -e 's/up //g') +cpu=$(sh ~/.config/rofi/bin/usedcpu) +memory=$(sh ~/.config/rofi/bin/usedram) + +# Options +shutdown="" +reboot="" +lock="" +suspend="" +logout="" + +# Confirmation +confirm_exit() { + rofi -dmenu\ + -i\ + -no-fixed-num-lines\ + -p "Are You Sure? : "\ + -theme $HOME/.config/rofi/applets/styles/confirm.rasi +} + +# Message +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n" +} + +# Variable passed to rofi +options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" + +chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" +case $chosen in + $shutdown) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + systemctl poweroff + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $reboot) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + systemctl reboot + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $lock) + if [[ -f /usr/bin/i3lock ]]; then + i3lock + elif [[ -f /usr/bin/betterlockscreen ]]; then + betterlockscreen -l + fi + ;; + $suspend) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $logout) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == "i3" ]]; then + i3-msg exit + fi + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/quicklinks.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/quicklinks.sh new file mode 100755 index 00000000..e736b713 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/quicklinks.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/quicklinks.rasi" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" +} + +# Browser +if [[ -f /usr/bin/firefox ]]; then + app="firefox" +elif [[ -f /usr/bin/chromium ]]; then + app="chromium" +elif [[ -f /usr/bin/midori ]]; then + app="midori" +else + msg "No suitable web browser found!" + exit 1 +fi + +# Links +google="" +facebook="" +twitter="" +github="" +mail="" +youtube="" + +# Variable passed to rofi +options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" + +chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)" +case $chosen in + $google) + $app https://www.google.com & + ;; + $facebook) + $app https://www.facebook.com & + ;; + $twitter) + $app https://www.twitter.com & + ;; + $github) + $app https://www.github.com & + ;; + $mail) + $app https://www.gmail.com & + ;; + $youtube) + $app https://www.youtube.com & + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/screenshot.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/screenshot.sh new file mode 100755 index 00000000..f6145998 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/screenshot.sh @@ -0,0 +1,50 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/screenshot.rasi" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first." +} + +# Options +screen="" +area="" +window="" + +# Variable passed to rofi +options="$screen\n$area\n$window" + +chosen="$(echo -e "$options" | $rofi_command -p 'scrot' -dmenu -selected-row 1)" +case $chosen in + $screen) + if [[ -f /usr/bin/scrot ]]; then + sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; + $area) + if [[ -f /usr/bin/scrot ]]; then + scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; + $window) + if [[ -f /usr/bin/scrot ]]; then + sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/style.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/style.sh new file mode 100755 index 00000000..68b96682 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/style.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# square circle rounded + +style="square" + +# uncomment these lines to enable random style +#styles=('square' 'circle' 'rounded') +#style="${styles[$(( $RANDOM % 3 ))]}" + +# print style name +echo "$style" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/time.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/time.sh new file mode 100755 index 00000000..b8e7e8c5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/time.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/time.rasi" + +## Get time and date +TIME="$(date +"%I:%M %p")" +DN=$(date +"%A") +MN=$(date +"%B") +DAY="$(date +"%d")" +MONTH="$(date +"%m")" +YEAR="$(date +"%Y")" + +options="$DAY\n$MONTH\n$YEAR" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p " $DN, $TIME" -dmenu -selected-row 1)" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/volume.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/volume.sh new file mode 100755 index 00000000..7be32426 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/applets/volume.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/applets/style.sh)" + +dir="$HOME/.config/rofi/applets/applets/configs/$style" +rofi_command="rofi -theme $dir/volume.rasi" + +## Get Volume +#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') +MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') + +active="" +urgent="" + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"on"* ]]; then + VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" +else + VOLUME="Mute" +fi + +## Icons +ICON_UP="" +ICON_DOWN="" +ICON_MUTED="" + +options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" +case $chosen in + $ICON_UP) + amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" + ;; + $ICON_DOWN) + amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" + ;; + $ICON_MUTED) + amixer -q set Master toggle + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/apps.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/apps.sh new file mode 100755 index 00000000..b5dd989c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/apps.sh @@ -0,0 +1,95 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/apps.rasi" + +# Links +terminal="" +files="" +editor="" +browser="" +music="" +settings="" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" +} + +# Variable passed to rofi +options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" + +chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" +case $chosen in + $terminal) + if [[ -f /usr/bin/termite ]]; then + termite & + elif [[ -f /usr/bin/urxvt ]]; then + urxvt & + elif [[ -f /usr/bin/kitty ]]; then + kitty & + elif [[ -f /usr/bin/xterm ]]; then + xterm & + elif [[ -f /usr/bin/xfce4-terminal ]]; then + xfce4-terminal & + elif [[ -f /usr/bin/gnome-terminal ]]; then + gnome-terminal & + else + msg "No suitable terminal found!" + fi + ;; + $files) + if [[ -f /usr/bin/thunar ]]; then + thunar & + elif [[ -f /usr/bin/pcmanfm ]]; then + pcmanfm & + else + msg "No suitable file manager found!" + fi + ;; + $editor) + if [[ -f /usr/bin/geany ]]; then + geany & + elif [[ -f /usr/bin/leafpad ]]; then + leafpad & + elif [[ -f /usr/bin/mousepad ]]; then + mousepad & + elif [[ -f /usr/bin/code ]]; then + code & + else + msg "No suitable text editor found!" + fi + ;; + $browser) + if [[ -f /usr/bin/firefox ]]; then + firefox & + elif [[ -f /usr/bin/chromium ]]; then + chromium & + elif [[ -f /usr/bin/midori ]]; then + midori & + else + msg "No suitable web browser found!" + fi + ;; + $music) + if [[ -f /usr/bin/lxmusic ]]; then + lxmusic & + else + msg "No suitable music player found!" + fi + ;; + $settings) + if [[ -f /usr/bin/xfce4-settings-manager ]]; then + xfce4-settings-manager & + else + msg "No suitable settings manager found!" + fi + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/backlight.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/backlight.sh new file mode 100755 index 00000000..144c76c7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/backlight.sh @@ -0,0 +1,75 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/backlight.rasi" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" +} + +## Get Brightness +if [[ -f /usr/bin/blight ]]; then + DEVICE=$(ls /sys/class/backlight | head -n 1) + BNESS="$(blight -d $DEVICE get brightness)" + PERC="$(($BNESS*100/255))" + BLIGHT=${PERC%.*} +elif [[ -f /usr/bin/xbacklight ]]; then + VAR="$(xbacklight -get)" + BLIGHT="$(printf "%.0f\n" "$VAR")" +else + msg "No suitable backlight utility found!" + exit 1 +fi + +if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then + MSG="Low" +elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then + MSG="Optimal" +elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then + MSG="High" +elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then + MSG="Too Much" +fi + +## Icons +ICON_UP="" +ICON_DOWN="" +ICON_OPT="" + +notify="notify-send -u low -t 1500" +options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT% : $MSG" -dmenu -selected-row 1)" +case $chosen in + $ICON_UP) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" + fi + ;; + $ICON_DOWN) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" + fi + ;; + $ICON_OPT) + if [[ -f /usr/bin/blight ]]; then + blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT" + elif [[ -f /usr/bin/xbacklight ]]; then + xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" + fi + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/battery.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/battery.sh new file mode 100755 index 00000000..c279794e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/battery.sh @@ -0,0 +1,65 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/battery.rasi" + +## Get data +BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)" +CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)" + +active="" +urgent="" + +if [[ $CHARGE = *"Charging"* ]]; then + active="-a 1" + ICON_CHRG="" + MSG=$CHARGE +elif [[ $CHARGE = *"Full"* ]]; then + active="-u 1" + ICON_CHRG="" + MSG=$CHARGE +else + urgent="-u 1" + ICON_CHRG="" + MSG=$CHARGE +fi + +# Discharging +#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then +# ICON_DISCHRG="" +if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then + ICON_DISCHRG="" +elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then + ICON_DISCHRG="" +fi + +## Icons +ICON_PMGR="" + +options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$MSG : $BATTERY%" -dmenu $active $urgent -selected-row 0)" +case $chosen in + $ICON_CHRG) + ;; + $ICON_DISCHRG) + ;; + $ICON_PMGR) + xfce4-power-manager-settings + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/apps.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/apps.rasi new file mode 100644 index 00000000..ba225436 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/apps.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Apps "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/backlight.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/backlight.rasi new file mode 100644 index 00000000..8387b32f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/backlight.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Brightness "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/battery.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/battery.rasi new file mode 100644 index 00000000..8b4a0c26 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/battery.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Battery "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "Iosevka Nerd Font 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/mpd.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/mpd.rasi new file mode 100644 index 00000000..b1c67160 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/mpd.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " MPD "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/network.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/network.rasi new file mode 100644 index 00000000..49263b68 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/network.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 650px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Network "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 4; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/powermenu.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/powermenu.rasi new file mode 100644 index 00000000..029f613c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 800px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " System "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 5; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/quicklinks.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/quicklinks.rasi new file mode 100644 index 00000000..64a58bae --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/quicklinks.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Quick Links "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/screenshot.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/screenshot.rasi new file mode 100644 index 00000000..790e927a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/screenshot.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Screenshot "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/time.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/time.rasi new file mode 100644 index 00000000..5815b7cd --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/time.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 700px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Time "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "Hurmit Nerd Font Mono 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 70px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/volume.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/volume.rasi new file mode 100644 index 00000000..59c9d462 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/circle/volume.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 100%; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Volume "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 100%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/apps.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/apps.rasi new file mode 100644 index 00000000..e8435dee --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/apps.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Apps "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/backlight.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/backlight.rasi new file mode 100644 index 00000000..ef6549fd --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/backlight.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Brightness "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/battery.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/battery.rasi new file mode 100644 index 00000000..85cb2db2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/battery.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Battery "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "Iosevka Nerd Font 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/mpd.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/mpd.rasi new file mode 100644 index 00000000..7a2063b3 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/mpd.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " MPD "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/network.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/network.rasi new file mode 100644 index 00000000..ab1bc022 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/network.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 650px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Network "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 4; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/powermenu.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/powermenu.rasi new file mode 100644 index 00000000..28910f02 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 800px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " System "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 5; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/quicklinks.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/quicklinks.rasi new file mode 100644 index 00000000..e3f65d8b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/quicklinks.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Quick Links "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/screenshot.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/screenshot.rasi new file mode 100644 index 00000000..e8efd033 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/screenshot.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Screenshot "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/time.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/time.rasi new file mode 100644 index 00000000..af4db49e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/time.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 700px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Time "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "Hurmit Nerd Font Mono 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 70px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/volume.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/volume.rasi new file mode 100644 index 00000000..fe1737c9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/rounded/volume.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 20px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background; + text-color: @accent; + border: 0px 2px 0px 2px; + border-radius: 12px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Volume "; + background-color: @accent; + text-color: @background; + padding: 10px 10px 0px 10px; + border-radius: 12px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 15px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 20px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 20px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 20px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/apps.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/apps.rasi new file mode 100644 index 00000000..4561d46f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/apps.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Apps "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/backlight.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/backlight.rasi new file mode 100644 index 00000000..213446d9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/backlight.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Brightness "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/battery.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/battery.rasi new file mode 100644 index 00000000..ddfbc4f7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/battery.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Battery "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "Iosevka Nerd Font 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/mpd.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/mpd.rasi new file mode 100644 index 00000000..bbaa7631 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/mpd.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 4px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " MPD "; + background-color: @accent; + text-color: @background; + padding: 14px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/network.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/network.rasi new file mode 100644 index 00000000..3464a6f3 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/network.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 650px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Network "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 4; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/powermenu.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/powermenu.rasi new file mode 100644 index 00000000..958db5ac --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/powermenu.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 800px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " System "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 5; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/quicklinks.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/quicklinks.rasi new file mode 100644 index 00000000..0da3bff3 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/quicklinks.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 950px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Quick Links "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 6; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/screenshot.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/screenshot.rasi new file mode 100644 index 00000000..a7b46d4e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/screenshot.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Screenshot "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/time.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/time.rasi new file mode 100644 index 00000000..8fd66c95 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/time.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 700px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Time "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "Hurmit Nerd Font Mono 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 30px 0px 70px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/volume.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/volume.rasi new file mode 100644 index 00000000..1f8ab28a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/configs/square/volume.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Comfortaa 14"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "../../../styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; +} + +window { + transparency: "real"; + border-radius: 0px; + location: center; + width: 500px; + x-offset: 0px; + y-offset: 0px; +} + +prompt { + enabled: true; + padding: 10px; + background-color: @background-light; + text-color: @accent; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @accent; +} + +textbox-prompt-colon { + expand: false; + str: " Volume "; + background-color: @accent; + text-color: @background; + padding: 12px 10px 0px 10px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + spacing: 0px; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0px; + border-radius: 0px; + border-color: @accent; + margin: 0px 0px 0px 0px; + padding: 0px; + position: center; +} + +listview { + columns: 3; + lines: 1; + spacing: 15px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 15px; + margin: 40px; +} + +element { + background-color: @background-light; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0; + margin: 25px 0px 65px 0px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @off; + text-color: @background; + border-radius: 0px; +} + +element normal.active, +element alternate.active { + background-color: @on; + text-color: @background; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/mpd.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/mpd.sh new file mode 100755 index 00000000..3eb54981 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/mpd.sh @@ -0,0 +1,78 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/mpd.rasi" + +# Gets the current status of mpd (for us to parse it later on) +status="$(mpc status)" +# Defines the Play / Pause option content +if [[ $status == *"[playing]"* ]]; then + play_pause="" +else + play_pause="" +fi +active="" +urgent="" + +# Display if repeat mode is on / off +tog_repeat="" +if [[ $status == *"repeat: on"* ]]; then + active="-a 4" +elif [[ $status == *"repeat: off"* ]]; then + urgent="-u 4" +else + tog_repeat=" Parsing error" +fi + +# Display if random mode is on / off +tog_random="" +if [[ $status == *"random: on"* ]]; then + [ -n "$active" ] && active+=",5" || active="-a 5" +elif [[ $status == *"random: off"* ]]; then + [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" +else + tog_random=" Parsing error" +fi +stop="" +next="" +previous="" + +# Variable passed to rofi +options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" + +# Get the current playing song +current=$(mpc -f "%artist% - %title%" current) +# If mpd isn't running it will return an empty string, we don't want to display that +if [[ -z "$current" ]]; then + current="-" +fi + +# Spawn the mpd menu with the "Play / Pause" entry selected by default +chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" +case $chosen in + $previous) + mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" + ;; + $play_pause) + mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" + ;; + $stop) + mpc -q stop + ;; + $next) + mpc -q next && notify-send -u low -t 1800 " $(mpc current)" + ;; + $tog_repeat) + mpc -q repeat + ;; + $tog_random) + mpc -q random + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/network.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/network.sh new file mode 100755 index 00000000..6e50332b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/network.sh @@ -0,0 +1,68 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/network.rasi" + +## Get info +IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')" +#SSID="$(iwgetid -r)" +#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')" +#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" +STATUS="$(nmcli radio wifi)" + +active="" +urgent="" + +if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then + if [[ $STATUS == *"enable"* ]]; then + if [[ $IFACE == e* ]]; then + connected="" + else + connected="" + fi + active="-a 0" + SSID="﬉ $(iwgetid -r)" + PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)" + fi +else + urgent="-u 0" + SSID="Disconnected" + PIP="Not Available" + connected="" +fi + +## Icons +bmon="" +launch_cli="" +launch="" + +options="$connected\n$bmon\n$launch_cli\n$launch" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$SSID : $PIP" -dmenu $active $urgent -selected-row 1)" +case $chosen in + $connected) + if [[ $STATUS == *"enable"* ]]; then + nmcli radio wifi off + else + nmcli radio wifi on + fi + ;; + $bmon) + termite -e bmon + ;; + $launch_cli) + termite -e nmtui + ;; + $launch) + nm-connection-editor + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/powermenu.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/powermenu.sh new file mode 100755 index 00000000..283bbed1 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/powermenu.sh @@ -0,0 +1,40 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +DESKTOP_SESSION="Openbox" + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/powermenu.rasi" + +uptime=$(uptime -p | sed -e 's/up //g') +cpu=$(sh ~/.config/rofi/bin/usedcpu) +memory=$(sh ~/.config/rofi/bin/usedram) + +# Options +shutdown="" +reboot="" +lock="" +suspend="" +logout="" + +# Variable passed to rofi +options="$shutdown\n$reboot\n$logout" + +chosen="$(echo -e "$options" | $rofi_command -p " $uptime |  $cpu | ﬙ $memory " -dmenu -selected-row 2)" +case $chosen in + $shutdown) + wk-power-command poweroff + ;; + $reboot) + wk-power-command reboot + ;; + $logout) + wk-power-command logout + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/quicklinks.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/quicklinks.sh new file mode 100755 index 00000000..c2f0495b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/quicklinks.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/quicklinks.rasi" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" +} + +# Browser +if [[ -f /usr/bin/firefox ]]; then + app="firefox" +elif [[ -f /usr/bin/chromium ]]; then + app="chromium" +elif [[ -f /usr/bin/midori ]]; then + app="midori" +else + msg "No suitable web browser found!" + exit 1 +fi + +# Links +google="" +facebook="" +twitter="" +github="" +mail="" +youtube="" + +# Variable passed to rofi +options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" + +chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)" +case $chosen in + $google) + $app https://www.google.com & + ;; + $facebook) + $app https://www.facebook.com & + ;; + $twitter) + $app https://www.twitter.com & + ;; + $github) + $app https://www.github.com & + ;; + $mail) + $app https://www.gmail.com & + ;; + $youtube) + $app https://www.youtube.com & + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/screenshot.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/screenshot.sh new file mode 100755 index 00000000..24c5e1b7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/screenshot.sh @@ -0,0 +1,50 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/screenshot.rasi" + +# Error msg +msg() { + rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first." +} + +# Options +screen="" +area="" +window="" + +# Variable passed to rofi +options="$screen\n$area\n$window" + +chosen="$(echo -e "$options" | $rofi_command -p 'App : scrot' -dmenu -selected-row 1)" +case $chosen in + $screen) + if [[ -f /usr/bin/scrot ]]; then + sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; + $area) + if [[ -f /usr/bin/scrot ]]; then + scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; + $window) + if [[ -f /usr/bin/scrot ]]; then + sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + else + msg + fi + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/style.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/style.sh new file mode 100755 index 00000000..d7fd3a8f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/style.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# square circle rounded + +style="rounded" + +# uncomment these lines to enable random style +#styles=('square' 'circle' 'rounded') +#style="${styles[$(( $RANDOM % 3 ))]}" + +# print style name +echo "$style" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/time.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/time.sh new file mode 100755 index 00000000..4432676e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/time.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/time.rasi" + +## Get time and date +TIME="$(date +"%I:%M %p")" +DN=$(date +"%A") +MN=$(date +"%B") +DAY="$(date +"%d")" +MONTH="$(date +"%m")" +YEAR="$(date +"%Y")" + +options="$DAY\n$MONTH\n$YEAR" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p " at $TIME on $DN in $MN" -dmenu -selected-row 1)" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/volume.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/volume.sh new file mode 100755 index 00000000..7e4a0d8a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/menu/volume.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +style="$($HOME/.config/rofi/applets/menu/style.sh)" + +dir="$HOME/.config/rofi/applets/menu/configs/$style" +rofi_command="rofi -theme $dir/volume.rasi" + +## Get Volume +#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') +MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') + +active="" +urgent="" + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"on"* ]]; then + VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" +else + VOLUME="Mute" +fi + +## Icons +ICON_UP="" +ICON_DOWN="" +ICON_MUTED="" + +options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" +case $chosen in + $ICON_UP) + amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" + ;; + $ICON_DOWN) + amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" + ;; + $ICON_MUTED) + amixer -q set Master toggle + ;; +esac + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta-nokto.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta-nokto.rasi new file mode 100644 index 00000000..3c4ef959 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta-nokto.rasi @@ -0,0 +1,8 @@ +* { + accent: #00BCD4; + background: #263238; + background-light: #293840; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta.rasi new file mode 100644 index 00000000..c1c99995 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adapta.rasi @@ -0,0 +1,8 @@ +* { + accent: #00ADC2; + background: #FFFFFF; + background-light: #E7E7E7; + foreground: #535353; + on: #44ad4d; + off: #e34039; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adwaita.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adwaita.rasi new file mode 100644 index 00000000..81cd4824 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/adwaita.rasi @@ -0,0 +1,8 @@ +* { + accent: #2E6BB6; + background: #2D2D2D; + background-light: #353535; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc-dark.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc-dark.rasi new file mode 100644 index 00000000..41f775f2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc-dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #6BA0DE; + background: #383C4A; + background-light: #404552; + foreground: #E4E4E4; + on: #44ad4d; + off: #e34039; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc.rasi new file mode 100644 index 00000000..a5c211b4 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/arc.rasi @@ -0,0 +1,8 @@ +* { + accent: #5294E2; + background: #FFFFFF; + background-light: #E7E8EB; + foreground: #333333; + on: #44ad4d; + off: #e34039; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/armchair.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/armchair.rasi new file mode 100644 index 00000000..93a9e2f6 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/armchair.rasi @@ -0,0 +1,8 @@ +* { + accent: #E85A50; + background: #EAE8DC; + background-light: #E4D9C8; + foreground: #8E8D89; + on: #66bb6a; + off: #F68887; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/colors.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/colors.rasi new file mode 100644 index 00000000..36846758 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/colors.rasi @@ -0,0 +1,22 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * // Dark + * material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange + * material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green + * material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal + * material-dark/yellow + * // Light + * material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange + * material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green + * material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal + * material-light/yellow + * + * // Other + * adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark + * armchair, darkpink, fresh, inside, party, sirin + * + */ + +@import "material-dark/grey.rasi" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/confirm.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/confirm.rasi new file mode 100644 index 00000000..79a4be2e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/confirm.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Comfortaa 12"; +} + +window { + width: 225px; + padding: 25px; + border: 0px; + border-radius: 0px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/dark.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/dark.rasi new file mode 100644 index 00000000..162207b9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #A9C03F; + background: #141c21; + background-light: #1C252A; + foreground: #93a1a1; + on: #5BB462; + off: #DE635E; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/darkpink.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/darkpink.rasi new file mode 100644 index 00000000..3bae851e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/darkpink.rasi @@ -0,0 +1,8 @@ +* { + accent: #F75176; + background: #414656; + background-light: #4B5060; + foreground: #F2F7E3; + on: #CDF0D9; + off: #FF796A; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/fresh.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/fresh.rasi new file mode 100644 index 00000000..a19ceb10 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/fresh.rasi @@ -0,0 +1,8 @@ +* { + accent: #043968; + background: #5CDB94; + background-light: #59C78A; + foreground: #303030; + on: #2e7d32; + off: #d32f2f; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/gruvbox.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/gruvbox.rasi new file mode 100644 index 00000000..9f686f0c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/gruvbox.rasi @@ -0,0 +1,8 @@ +* { + accent: #83a598; + background: #282828; + background-light: #303030; + foreground: #ebdbb2; + on: #44ad4d; + off: #fb4934; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/inside.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/inside.rasi new file mode 100644 index 00000000..84368943 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/inside.rasi @@ -0,0 +1,8 @@ +* { + accent: #C7493A; + background: #151515; + background-light: #202020; + foreground: #AD8174; + on: #689775; + off: #A33327; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/amber.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/amber.rasi new file mode 100644 index 00000000..14cbfcdd --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffc107; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue.rasi new file mode 100644 index 00000000..821e449a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1e88e5; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue_grey.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue_grey.rasi new file mode 100644 index 00000000..d810c0de --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/blue_grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #607d8b; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/brown.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/brown.rasi new file mode 100644 index 00000000..edf76332 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #8d6e63; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/cyan.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/cyan.rasi new file mode 100644 index 00000000..8de289c4 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #26c6da; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_orange.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_orange.rasi new file mode 100644 index 00000000..6c061b33 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff5722; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_purple.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_purple.rasi new file mode 100644 index 00000000..d30571e2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/deep_purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #7e57c2; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/green.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/green.rasi new file mode 100644 index 00000000..674280be --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #4caf50; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #a5d6a7; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/grey.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/grey.rasi new file mode 100644 index 00000000..6c5e57c8 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #9e9e9e; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/indigo.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/indigo.rasi new file mode 100644 index 00000000..8f897191 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #5c6bc0; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_blue.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_blue.rasi new file mode 100644 index 00000000..d3f4e1bc --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #039be5; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_green.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_green.rasi new file mode 100644 index 00000000..5afdf7a9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/light_green.rasi @@ -0,0 +1,8 @@ +* { + accent: #8bc34a; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #4caf50; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/lime.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/lime.rasi new file mode 100644 index 00000000..c32550e2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #cddc39; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/orange.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/orange.rasi new file mode 100644 index 00000000..2f26952c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff9800; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/pink.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/pink.rasi new file mode 100644 index 00000000..ef7a0afc --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #ec407a; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/purple.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/purple.rasi new file mode 100644 index 00000000..a1dd6d40 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #ab47bc; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/red.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/red.rasi new file mode 100644 index 00000000..f5d38626 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef5350; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef9a9a; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/teal.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/teal.rasi new file mode 100644 index 00000000..e6cdb732 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #009688; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/yellow.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/yellow.rasi new file mode 100644 index 00000000..d2788b02 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-dark/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffeb3b; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/amber.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/amber.rasi new file mode 100644 index 00000000..c02ae2a5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff8f00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue.rasi new file mode 100644 index 00000000..780663ec --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1565c0; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue_grey.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue_grey.rasi new file mode 100644 index 00000000..8e15a538 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/blue_grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #607d8b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/brown.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/brown.rasi new file mode 100644 index 00000000..3f7d39f5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #795548; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/cyan.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/cyan.rasi new file mode 100644 index 00000000..d879af0b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #00acc1; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_orange.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_orange.rasi new file mode 100644 index 00000000..23f5815e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #f4511e; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_purple.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_purple.rasi new file mode 100644 index 00000000..cc5ec7d6 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/deep_purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #5e35b1; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/green.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/green.rasi new file mode 100644 index 00000000..f476e012 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #43a047; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/grey.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/grey.rasi new file mode 100644 index 00000000..69369293 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #555555; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/indigo.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/indigo.rasi new file mode 100644 index 00000000..f0508c37 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #3949ab; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_blue.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_blue.rasi new file mode 100644 index 00000000..a0db87a5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #039be5; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_green.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_green.rasi new file mode 100644 index 00000000..0e33cef1 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/light_green.rasi @@ -0,0 +1,8 @@ +* { + accent: #558b2f; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/lime.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/lime.rasi new file mode 100644 index 00000000..044eb622 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #afb42b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/orange.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/orange.rasi new file mode 100644 index 00000000..072c9e2e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef6c00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/pink.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/pink.rasi new file mode 100644 index 00000000..e17d94d5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #d81b60; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/purple.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/purple.rasi new file mode 100644 index 00000000..fa95bb9b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #8e24aa; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/red.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/red.rasi new file mode 100644 index 00000000..d3ebcc0d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #d32f2f; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/teal.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/teal.rasi new file mode 100644 index 00000000..b137892f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #00796b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/yellow.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/yellow.rasi new file mode 100644 index 00000000..8f68244c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/material-light/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #f9a825; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/message.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/message.rasi new file mode 100644 index 00000000..69d5b07e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/message.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Comfortaa 12"; +} + +window { + width: 360px; + padding: 25px; + border: 0px; + border-radius: 0px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/minimo.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/minimo.rasi new file mode 100644 index 00000000..b6fa2841 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/minimo.rasi @@ -0,0 +1,8 @@ +* { + accent: #656565; + background: #C6C6C4; + background-light: #FFFFFF; + foreground: #909090; + on: #226827; + off: #682226; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/party.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/party.rasi new file mode 100644 index 00000000..d8ea9af5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/party.rasi @@ -0,0 +1,8 @@ +* { + accent: #FFE401; + background: #272727; + background-light: #323232; + foreground: #747474; + on: #13A76B; + off: #FF652F; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/sirin.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/sirin.rasi new file mode 100644 index 00000000..302cbce8 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/applets/styles/sirin.rasi @@ -0,0 +1,8 @@ +* { + accent: #106466; + background: #FFCB9B; + background-light: #D8B08C; + foreground: #2C3532; + on: #43a047; + off: #ef5350; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_apps b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_apps new file mode 120000 index 00000000..7b11b660 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_apps @@ -0,0 +1 @@ +../applets/android/apps.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_backlight b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_backlight new file mode 120000 index 00000000..9de32b8a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_backlight @@ -0,0 +1 @@ +../applets/android/backlight.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_mpd b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_mpd new file mode 120000 index 00000000..1f161262 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_mpd @@ -0,0 +1 @@ +../applets/android/mpd.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_powermenu b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_powermenu new file mode 120000 index 00000000..7d66a765 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_powermenu @@ -0,0 +1 @@ +../applets/android/powermenu.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_quicklinks b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_quicklinks new file mode 120000 index 00000000..7d44c747 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_quicklinks @@ -0,0 +1 @@ +../applets/android/quicklinks.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_screenshot b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_screenshot new file mode 120000 index 00000000..1bd86940 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_screenshot @@ -0,0 +1 @@ +../applets/android/screenshot.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_volume b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_volume new file mode 120000 index 00000000..33bcea28 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/android_volume @@ -0,0 +1 @@ +../applets/android/volume.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_apps b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_apps new file mode 120000 index 00000000..0cbf8f8a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_apps @@ -0,0 +1 @@ +../applets/applets/apps.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_backlight b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_backlight new file mode 120000 index 00000000..0663ec3d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_backlight @@ -0,0 +1 @@ +../applets/applets/backlight.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_battery b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_battery new file mode 120000 index 00000000..4b660cbf --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_battery @@ -0,0 +1 @@ +../applets/applets/battery.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_mpd b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_mpd new file mode 120000 index 00000000..2a55e5f8 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_mpd @@ -0,0 +1 @@ +../applets/applets/mpd.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_network b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_network new file mode 120000 index 00000000..cecf37c6 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_network @@ -0,0 +1 @@ +../applets/applets/network.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_powermenu b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_powermenu new file mode 120000 index 00000000..0a0635d4 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_powermenu @@ -0,0 +1 @@ +../applets/applets/powermenu.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_quicklinks b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_quicklinks new file mode 120000 index 00000000..319e0b28 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_quicklinks @@ -0,0 +1 @@ +../applets/applets/quicklinks.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_screenshot b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_screenshot new file mode 120000 index 00000000..31079019 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_screenshot @@ -0,0 +1 @@ +../applets/applets/screenshot.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_time b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_time new file mode 120000 index 00000000..0565f05e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_time @@ -0,0 +1 @@ +../applets/applets/time.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_volume b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_volume new file mode 120000 index 00000000..493275a7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/applet_volume @@ -0,0 +1 @@ +../applets/applets/volume.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_colorful b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_colorful new file mode 120000 index 00000000..8e48b54c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_colorful @@ -0,0 +1 @@ +../launchers/colorful/launcher.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_misc b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_misc new file mode 120000 index 00000000..ff3f68f5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_misc @@ -0,0 +1 @@ +../launchers/misc/launcher.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_ribbon b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_ribbon new file mode 120000 index 00000000..925a1a8e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_ribbon @@ -0,0 +1 @@ +../launchers/ribbon/launcher.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_slate b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_slate new file mode 120000 index 00000000..d4093004 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_slate @@ -0,0 +1 @@ +../launchers/slate/launcher.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_text b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_text new file mode 120000 index 00000000..65eac286 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/launcher_text @@ -0,0 +1 @@ +../launchers/text/launcher.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_apps b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_apps new file mode 120000 index 00000000..a07c9550 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_apps @@ -0,0 +1 @@ +../applets/menu/apps.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_backlight b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_backlight new file mode 120000 index 00000000..18eea2fa --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_backlight @@ -0,0 +1 @@ +../applets/menu/backlight.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_battery b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_battery new file mode 120000 index 00000000..10f11b5e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_battery @@ -0,0 +1 @@ +../applets/menu/battery.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_mpd b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_mpd new file mode 120000 index 00000000..b3e204b4 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_mpd @@ -0,0 +1 @@ +../applets/menu/mpd.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_network b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_network new file mode 120000 index 00000000..2c4c1d9c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_network @@ -0,0 +1 @@ +../applets/menu/network.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_powermenu b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_powermenu new file mode 120000 index 00000000..da40a0b2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_powermenu @@ -0,0 +1 @@ +../applets/menu/powermenu.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_quicklinks b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_quicklinks new file mode 120000 index 00000000..e8736583 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_quicklinks @@ -0,0 +1 @@ +../applets/menu/quicklinks.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_screenshot b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_screenshot new file mode 120000 index 00000000..8c4b92da --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_screenshot @@ -0,0 +1 @@ +../applets/menu/screenshot.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_time b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_time new file mode 120000 index 00000000..a7d56c12 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_time @@ -0,0 +1 @@ +../applets/menu/time.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_volume b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_volume new file mode 120000 index 00000000..b0f235ac --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/menu_volume @@ -0,0 +1 @@ +../applets/menu/volume.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/powermenu b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/powermenu new file mode 120000 index 00000000..d9f9d950 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/powermenu @@ -0,0 +1 @@ +../powermenu/powermenu.sh \ No newline at end of file diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedcpu b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedcpu new file mode 100755 index 00000000..512933c3 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedcpu @@ -0,0 +1,45 @@ +#!/usr/bin/env bash + +PREV_TOTAL=0 +PREV_IDLE=0 + +cpuFile="/tmp/.cpu" + +if [[ -f "${cpuFile}" ]]; then + fileCont=$(cat "${cpuFile}") + PREV_TOTAL=$(echo "${fileCont}" | head -n 1) + PREV_IDLE=$(echo "${fileCont}" | tail -n 1) +fi + +CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics. +unset CPU[0] # Discard the "cpu" prefix. +IDLE=${CPU[4]} # Get the idle CPU time. + +# Calculate the total CPU time. +TOTAL=0 + +for VALUE in "${CPU[@]:0:4}"; do + let "TOTAL=$TOTAL+$VALUE" +done + +if [[ "${PREV_TOTAL}" != "" ]] && [[ "${PREV_IDLE}" != "" ]]; then + # Calculate the CPU usage since we last checked. + let "DIFF_IDLE=$IDLE-$PREV_IDLE" + let "DIFF_TOTAL=$TOTAL-$PREV_TOTAL" + let "DIFF_USAGE=(1000*($DIFF_TOTAL-$DIFF_IDLE)/$DIFF_TOTAL+5)/10" + if [[ $1 = "-i" ]]; then + echo " ${DIFF_USAGE}%" + else + echo "${DIFF_USAGE}%" + fi +else + if [[ $1 = "-i" ]]; then + echo " ?" + else + echo "?" + fi +fi + +# Remember the total and idle CPU times for the next check. +echo "${TOTAL}" > "${cpuFile}" +echo "${IDLE}" >> "${cpuFile}" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedram b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedram new file mode 100755 index 00000000..e8a6108f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/bin/usedram @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +mem_info=$(> Created and tested on : rofi 1.6.0-1 +# +# style_1 style_2 style_3 style_4 style_5 style_6 +# style_7 style_8 style_9 style_10 style_11 style_12 + +theme="style_1" +dir="$HOME/.config/rofi/launchers/colorful" + +# dark +ALPHA="#00000000" +BG="#000000ff" +FG="#FFFFFFff" +SELECT="#101010ff" + +# light +#ALPHA="#00000000" +#BG="#FFFFFFff" +#FG="#000000ff" +#SELECT="#f3f3f3ff" + +# accent colors +COLORS=('#EC7875' '#61C766' '#FDD835' '#42A5F5' '#BA68C8' '#4DD0E1' '#00B19F' \ + '#FBC02D' '#E57C46' '#AC8476' '#6D8895' '#EC407A' '#B9C244' '#6C77BB') +ACCENT="${COLORS[$(( $RANDOM % 14 ))]}ff" + +# overwrite colors file +cat > $dir/colors.rasi <<- EOF + /* colors */ + + * { + al: $ALPHA; + bg: $BG; + se: $SELECT; + fg: $FG; + ac: $ACCENT; + } +EOF + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="colors.rasi" $dir)) +theme="${themes[$(( $RANDOM % 12 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_1.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_1.rasi new file mode 100644 index 00000000..14db06fd --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_1.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @bg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_10.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_10.rasi new file mode 100644 index 00000000..2ef21bb1 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_10.rasi @@ -0,0 +1,117 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + border-radius: 100%; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 100%; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 20% 15% 20% 15%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 100%; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0.3% 0.2%; + border-radius: 100%; + border-color: @ac; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_11.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_11.rasi new file mode 100644 index 00000000..4a6792f8 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_11.rasi @@ -0,0 +1,125 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 25px; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1.25% 0.75% 1.25% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; + border-radius: 100%; +} + +textbox-prompt-colon { + padding: 1.40% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 1.5% 0.5% 1% 0%; + blink: true; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 3; + lines: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @bg; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 0%; +} + +element-icon { + size: 24px; + border: 1%; + border-color: @ac; + border-radius: 15px; + background-color: @ac; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @ac; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_12.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_12.rasi new file mode 100644 index 00000000..e81cd2b2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_12.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: " Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 50px; + width: 55%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1.25% 0.75% 1.25% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; + border-radius: 100%; +} + +textbox-prompt-colon { + padding: 1.40% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 1.5% 0.5% 1% 0%; + blink: true; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0%; + border-radius: 100%; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 6; + lines: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 10px 0px 10px 0px; + border-radius: 50px; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 2% 2%; +} + +element { + background-color: @bg; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 0%; +} + +element-icon { + size: 49px; + border: 1%; + border-color: @se; + border-radius: 15px; + background-color: @se; + padding: 2% 1% 2% 1%; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.25% 0.5% 0.25%; + padding: 1% 0.5% 1% 0.5%; +} + +element-text selected { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @ac; + text-color: @bg; + border-radius: 100%; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_2.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_2.rasi new file mode 100644 index 00000000..c9a8905e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_2.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 20%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + size: 28px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_3.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_3.rasi new file mode 100644 index 00000000..c8ca859c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_3.rasi @@ -0,0 +1,116 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 20%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_4.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_4.rasi new file mode 100644 index 00000000..d298ea3b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_4.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 20%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px 10px 0px 10px; + columns: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 32px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_5.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_5.rasi new file mode 100644 index 00000000..846129fb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_5.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @fg; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 2; + lines: 10; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @ac; + text-color: @bg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_6.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_6.rasi new file mode 100644 index 00000000..aeb1079f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_6.rasi @@ -0,0 +1,110 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100%; + border-color: @ac; + margin: 0% 54.5% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 10; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2.5%; + padding: 20% 5% 15% 5%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 4% 0% 4% 0%; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0.5% 0%; + border-radius: 25px; + border-color: @ac; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_7.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_7.rasi new file mode 100644 index 00000000..d1f4293f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_7.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @bg; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 0.5% 0.5% 0.5% 0.5%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @ac; + text-color: @bg; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @bg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_8.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_8.rasi new file mode 100644 index 00000000..1ce643e0 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_8.rasi @@ -0,0 +1,121 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0% 0.3%; + border-radius: 0px; + border-color: @ac; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_9.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_9.rasi new file mode 100644 index 00000000..3e9e48ef --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/colorful/style_9.rasi @@ -0,0 +1,122 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 15px; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + border-radius: 10px; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 10px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 12px; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0.3% 0% 0.3%; + border-radius: 12px; + border-color: @ac; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer.rasi new file mode 100644 index 00000000..279cb651 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + height: 100%; + width: 30%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Apps"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 6% 1.5% 0% 1.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer_alt.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer_alt.rasi new file mode 100644 index 00000000..e8d8d1ff --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appdrawer_alt.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 30px; + width: 30%; + location: west; + x-offset: 20px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Apps"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 4; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appfolder.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appfolder.rasi new file mode 100644 index 00000000..f4a73f28 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/appfolder.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 5px; + width: 27%; + location: east; + x-offset: -20px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 4; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.25%; + padding: 1.5% 0.75% 1.5% 0.75%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry.rasi new file mode 100644 index 00000000..49b352e4 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry.rasi @@ -0,0 +1,120 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @background-alt; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 48px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry_full.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry_full.rasi new file mode 100644 index 00000000..e9d272f9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/blurry_full.rasi @@ -0,0 +1,116 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; + margin: 0% 25% 0% 25%; + padding: 1.5%; +} + +listview { + background-color: @background-alt; + columns: 8; + lines: 4; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 8%; + padding: 10% 12.5% 10% 12.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 48px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/column.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/column.rasi new file mode 100644 index 00000000..bd9ea1ac --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/column.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + height: 100%; + width: 9%; + location: east; + x-offset: 0px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.25%; + padding: 5.5% 0.75% 0% 0.75%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.25% 0% 2.25% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/gnome_do.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/gnome_do.rasi new file mode 100644 index 00000000..24ec2bec --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/gnome_do.rasi @@ -0,0 +1,165 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Classical -- */ +* { + background: #27639AFF; + background-alt: #00000000; + background-bar: #f2f2f240; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +/* -- Transparent -- */ +/* +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} +*/ + +/* -- Light -- */ +/* +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #20202040; + foreground: #404040EE; + accent: #3DAEE966; +} +*/ + +/* -- Dark -- */ +/* +* { + background: #252525ff; + background-alt: #00000000; + background-bar: #10101040; + foreground: #e5e5e5EE; + accent: #3DAEE966; +} +*/ + +/* -- Black -- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #101010ff; + foreground: #e5e5e5EE; + accent: #3DAEE966; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 25px; + width: 30%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: false; + padding: 0%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: " Search"; + padding: 0% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 0%; +} + +listview { + background-color: @background-alt; + columns: 2; + lines: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 3.5% 0% 3.5% 0%; +} + +element-icon { + size: 95px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_krunner.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_krunner.rasi new file mode 100644 index 00000000..0d63cfd8 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_krunner.rasi @@ -0,0 +1,143 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Breeze Light-- */ +* { + background: #EFF0F1FF; + background-alt: #00000000; + background-bar: #93CEE999; + foreground: #000000A6; + accent: #3DAEE9FF; +} + +/* -- Breeze Dark-- */ +/* +* { + background: #31363bff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5e6; + accent: #1d99f3ff; +} +*/ + +/* -- Black-- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5b3; + accent: #1d99f3ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 38%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 0.75% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 1; + lines: 7; + spacing: 0.5%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1% 0.5% 1% 0.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; + padding: 1%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0% 0% 0.25%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 1px; + border-radius: 4px; + border-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_simplemenu.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_simplemenu.rasi new file mode 100644 index 00000000..dd649b18 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/kde_simplemenu.rasi @@ -0,0 +1,143 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Breeze Light-- */ +* { + background: #EFF0F1FF; + background-alt: #00000000; + background-bar: #93CEE999; + foreground: #000000A6; + accent: #3DAEE9FF; +} + +/* -- Breeze Dark-- */ +/* +* { + background: #31363bff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5e6; + accent: #1d99f3ff; +} +*/ + +/* -- Black-- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5b3; + accent: #1d99f3ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 42%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 0.75% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 6; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1% 0.5% 1% 0.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 1px; + border-radius: 4px; + border-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launcher.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launcher.sh new file mode 100755 index 00000000..a25dce98 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launcher.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# blurry blurry_full kde_simplemenu kde_krunner launchpad +# gnome_do slingshot appdrawer appdrawer_alt appfolder +# column row row_center screen row_dock row_dropdown + +theme="screen" +dir="$HOME/.config/rofi/launchers/misc" + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" $dir)) +theme="${themes[$(( $RANDOM % 16 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launchpad.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launchpad.rasi new file mode 100644 index 00000000..2871d746 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/launchpad.rasi @@ -0,0 +1,116 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +* { + background: #00000060; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #ffffff66; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 6px; + border-color: @accent; + margin: 0% 30% 0% 30%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 7; + lines: 4; + spacing: 2%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 8%; + padding: 10% 8.5% 10% 8.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 48px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row.rasi new file mode 100644 index 00000000..5aa67f7b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.25% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 73.75% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 10; + lines: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_center.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_center.rasi new file mode 100644 index 00000000..b1fdfc01 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_center.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.25% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.3%; + border-radius: 0% 100% 100% 0%; + border-color: @border; + margin: 0% 73.75% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 10; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.3%; + border-radius: 0px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dock.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dock.rasi new file mode 100644 index 00000000..afe42e62 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dock.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 50px 50px 0px 0px; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search Applications"; + padding: -0.25% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 35% 0% 35%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 10; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dropdown.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dropdown.rasi new file mode 100644 index 00000000..724e8a82 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/row_dropdown.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px 0px 50px 50px; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search Applications"; + padding: -0.25% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 35% 0% 35%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 10; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ listview, inputbar ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/screen.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/screen.rasi new file mode 100644 index 00000000..691d8c26 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/screen.rasi @@ -0,0 +1,132 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0.2%; + border-radius: 10%; + border-color: @border; + margin: 0% 50% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 8; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 20% 10% 10% 10%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 3% 0% 3% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0.2%; + border-radius: 25px; + border-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/slingshot.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/slingshot.rasi new file mode 100644 index 00000000..28be0ca5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/misc/slingshot.rasi @@ -0,0 +1,132 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light-- */ +* { + background: #F5F5F5FF; + background-alt: #00000000; + background-bar: #D7D7D7FF; + foreground: #000000A6; + accent: #80808066; +} + +/* -- Dark -- */ +/* +* { + background: #3E4148FF; + background-alt: #00000000; + background-bar: #363A3FFF; + foreground: #F5F5F5FF; + accent: #00000066; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 4px; + width: 35%; + location: northwest; + x-offset: 10px; + y-offset: 50px; +} + +prompt { + enabled: true; + padding: 0.30% 0.5% 0% 0%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.25% 0% 0% 0.25%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 0.50%; +} + +listview { + background-color: @background-alt; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1.25% 0.65% 1.25% 0.65%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 48px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 1px; + border-radius: 4px; + border-color: @accent; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_bottom.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_bottom.rasi new file mode 100644 index 00000000..e8c15524 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_bottom.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 48.75% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 10% 10% 5% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_left.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_left.rasi new file mode 100644 index 00000000..e7c5b4df --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_left.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 47% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 20% 10% 10% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_right.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_right.rasi new file mode 100644 index 00000000..a0b75ea4 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_right.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 47% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 20% 10% 10% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_top.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_top.rasi new file mode 100644 index 00000000..ece75247 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/full_top.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 48.75% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 10% 10% 5% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/launcher.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/launcher.sh new file mode 100755 index 00000000..7e7c21b2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/launcher.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# ribbon_top ribbon_top_round ribbon_bottom ribbon_bottom_round +# ribbon_left ribbon_left_round ribbon_right ribbon_right_round +# full_bottom full_top full_left full_right + +theme="ribbon_top_round" + +dir="$HOME/.config/rofi/launchers/ribbon" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 8 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 12 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom.rasi new file mode 100644 index 00000000..04a5bfe5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 73.5%; + width: 55%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom_round.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom_round.rasi new file mode 100644 index 00000000..1a824ecb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_bottom_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 25px 25px 50px 50px; + height: 73.5%; + width: 55%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 50px; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left.rasi new file mode 100644 index 00000000..6a49c2d1 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 53.5%; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 17% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 4; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left_round.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left_round.rasi new file mode 100644 index 00000000..455d9cba --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_left_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 2.5%; + height: 53.5%; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0.2%; + border-radius: 1.5% 1.0% 1.5% 1.5%; + border-color: @border-alt; + margin: 0% 17% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 4; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 2.5%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0.2%; + border-radius: 1.5% 1.0% 1.5% 1.5%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right.rasi new file mode 100644 index 00000000..e55018ea --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 39.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 22.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right_round.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right_round.rasi new file mode 100644 index 00000000..d5d2620f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_right_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 1.5% 0% 0%; + height: 39.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 0% 1.5% 1.5% 1.5%; + border-color: @border-alt; + margin: 0% 22.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 1.5% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 1.5% 1.5% 1.5%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top.rasi new file mode 100644 index 00000000..bb4d2902 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 60%; + width: 45%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 5; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top_round.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top_round.rasi new file mode 100644 index 00000000..1b58e85e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/ribbon_top_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 2.5% 0% 0% 0%; + height: 60%; + width: 45%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 0% 1.5% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 5; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 2.5% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 0% 1.5% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/berry.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/berry.rasi new file mode 100644 index 00000000..6621231c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/berry.rasi @@ -0,0 +1,9 @@ +* { + background: #2D142Cff; + background-alt: #2D142Cff; + foreground: #ffffffA6; + border: #EE4540ff; + border-alt: #C92A42ff; + selected: #510A3299; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/bluish.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/bluish.rasi new file mode 100644 index 00000000..c3254eef --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/bluish.rasi @@ -0,0 +1,9 @@ +* { + background: #EFF0F1FF; + background-alt: #EFF0F1FF; + foreground: #000000A6; + border: #000B83FF; + border-alt: #3DAEE9FF; + selected: #93CEE999; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/cocoa.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/cocoa.rasi new file mode 100644 index 00000000..cf852828 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/cocoa.rasi @@ -0,0 +1,9 @@ +* { + background: #413E4Aff; + background-alt: #413E4Aff; + foreground: #F7C7B2ff; + border: #B38184ff; + border-alt: #F3B69Eff; + selected: #B381841a; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/colors.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/colors.rasi new file mode 100644 index 00000000..a3c4a5a0 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/colors.rasi @@ -0,0 +1,10 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * + */ + +@import "nightly.rasi" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/faded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/faded.rasi new file mode 100644 index 00000000..99e929a6 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/faded.rasi @@ -0,0 +1,9 @@ +* { + background: #5E6C91ff; + background-alt: #5E6C91ff; + foreground: #FFFCFFff; + border: #FF83A7ff; + border-alt: #F4BB6Cff; + selected: #A0B5F44c; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/gotham.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/gotham.rasi new file mode 100644 index 00000000..ce71b9c9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/gotham.rasi @@ -0,0 +1,9 @@ +* { + background: #29384Fff; + background-alt: #29384Fff; + foreground: #FEFFF1ff; + border: #345B7Cff; + border-alt: #715979ff; + selected: #C46C851a; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/mask.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/mask.rasi new file mode 100644 index 00000000..4e81074d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/mask.rasi @@ -0,0 +1,9 @@ +* { + background: #434C6Dff; + background-alt: #434C6Dff; + foreground: #FAF7CCff; + border: #CA8CA5ff; + border-alt: #F0B2B3ff; + selected: #EFD4B61a; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nightly.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nightly.rasi new file mode 100644 index 00000000..027ffaba --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nightly.rasi @@ -0,0 +1,9 @@ +* { + background: #2A3950ff; + background-alt: #2A3950ff; + foreground: #FEFFF1ff; + border: #A162F7ff; + border-alt: #45E3FFff; + selected: #6F88FE1a; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nordic.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nordic.rasi new file mode 100644 index 00000000..300ba358 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/ribbon/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #475C7Bff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/launcher.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/launcher.sh new file mode 100755 index 00000000..62d63346 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/launcher.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# slate_full slate_center slate_left +# slate_right slate_top slate_bottom + +theme="slate_center" + +dir="$HOME/.config/rofi/launchers/slate" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 20 ))]}" + +# comment this line to disable random colors +#sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +#themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +#theme="${themes[$(( $RANDOM % 6 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_bottom.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_bottom.rasi new file mode 100644 index 00000000..b91195d5 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_bottom.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 50%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 52.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 7% 5% 0% 5%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 48px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_center.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_center.rasi new file mode 100644 index 00000000..d2297513 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_center.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 20px; + height: 70%; + width: 70%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 38.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 3% 4% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_full.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_full.rasi new file mode 100644 index 00000000..a9013c7e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_full.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 5% 3% 5% 3%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 49.5% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 5% 3% 5% 3%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 15% 10% 10% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_left.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_left.rasi new file mode 100644 index 00000000..a04c864c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_left.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 100%; + width: 30%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 8% 3% 5% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_right.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_right.rasi new file mode 100644 index 00000000..4f6aeae6 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_right.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 100%; + width: 30%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 8% 3% 5% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 49px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_top.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_top.rasi new file mode 100644 index 00000000..5d1f7e17 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/slate_top.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 50%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 52.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 7% 5% 0% 5%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 48px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Amber.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Amber.rasi new file mode 100644 index 00000000..f2efa55a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Amber.rasi @@ -0,0 +1,36 @@ +/* -- Amber -- */ + +* { +shade1: #FF6F00; +shade2: #FF8F00; +shade3: #FFA000; +shade4: #FFB300; +shade5: #FFC107; +shade6: #FFCA28; +shade7: #FFD54F; +shade8: #FFE082; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #404040; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #404040; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Black.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Black.rasi new file mode 100644 index 00000000..ec8c1fbf --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Black.rasi @@ -0,0 +1,36 @@ +/* -- Gray -- */ + +* { +shade1: #000000; +shade2: #050505; +shade3: #101010; +shade4: #151515; +shade5: #202020; +shade6: #252525; +shade7: #303030; +shade8: #353535; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade2; + border-alt: @shade3; + background: @shade4; + background-alt: @shade5; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue.rasi new file mode 100644 index 00000000..5d205fc7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue.rasi @@ -0,0 +1,36 @@ +/* -- Blue -- */ + +* { +shade1: #0D47A1; +shade2: #1565C0; +shade3: #1976D2; +shade4: #1E88E5; +shade5: #2196F3; +shade6: #42A5F5; +shade7: #64B5F6; +shade8: #90CAF9; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue_gray.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue_gray.rasi new file mode 100644 index 00000000..5ff24ddb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Blue_gray.rasi @@ -0,0 +1,36 @@ +/* -- Blue Gray -- */ + +* { +shade1: #263238; +shade2: #37474F; +shade3: #455A64; +shade4: #546E7A; +shade5: #607D8B; +shade6: #78909C; +shade7: #90A4AE; +shade8: #B0BEC5; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Brown.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Brown.rasi new file mode 100644 index 00000000..fd545395 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Brown.rasi @@ -0,0 +1,36 @@ +/* -- Brown -- */ + +* { +shade1: #3E2723; +shade2: #4E342E; +shade3: #5D4037; +shade4: #6D4C41; +shade5: #795548; +shade6: #8D6E63; +shade7: #A1887F; +shade8: #BCAAA4; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Cyan.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Cyan.rasi new file mode 100644 index 00000000..d6db8608 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Cyan.rasi @@ -0,0 +1,36 @@ +/* -- Cyan -- */ + +* { +shade1: #006064; +shade2: #00838F; +shade3: #0097A7; +shade4: #00ACC1; +shade5: #00BCD4; +shade6: #26C6DA; +shade7: #4DD0E1; +shade8: #80DEEA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #303030; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_orange.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_orange.rasi new file mode 100644 index 00000000..4e21a7b8 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_orange.rasi @@ -0,0 +1,36 @@ +/* -- Deep Orange -- */ + +* { +shade1: #BF360C; +shade2: #D84315; +shade3: #E64A19; +shade4: #F4511E; +shade5: #FF5722; +shade6: #FF7043; +shade7: #FF8A65; +shade8: #FFAB91; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_purple.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_purple.rasi new file mode 100644 index 00000000..a15d9a4c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Deep_purple.rasi @@ -0,0 +1,36 @@ +/* -- Deep Purple -- */ + +* { +shade1: #311B92; +shade2: #4527A0; +shade3: #512DA8; +shade4: #5E35B1; +shade5: #673AB7; +shade6: #7E57C2; +shade7: #9575CD; +shade8: #B39DDB; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Gray.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Gray.rasi new file mode 100644 index 00000000..1dcd95bb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Gray.rasi @@ -0,0 +1,36 @@ +/* -- Gray -- */ + +* { +shade1: #212121; +shade2: #424242; +shade3: #616161; +shade4: #757575; +shade5: #9E9E9E; +shade6: #BDBDBD; +shade7: #D4D4D4; +shade8: #EEEEEE; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #303030; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Green.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Green.rasi new file mode 100644 index 00000000..459e254d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Green.rasi @@ -0,0 +1,36 @@ +/* -- Green -- */ + +* { +shade1: #1B5E20; +shade2: #2E7D32; +shade3: #388E3C; +shade4: #43A047; +shade5: #4CAF50; +shade6: #66BB6A; +shade7: #81C784; +shade8: #A5D6A7; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Indigo.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Indigo.rasi new file mode 100644 index 00000000..e403909c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Indigo.rasi @@ -0,0 +1,36 @@ +/* -- Indigo -- */ + +* { +shade1: #1A237E; +shade2: #283593; +shade3: #303F9F; +shade4: #3949AB; +shade5: #3F51B5; +shade6: #5C6BC0; +shade7: #7986CB; +shade8: #9FA8DA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_blue.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_blue.rasi new file mode 100644 index 00000000..df7b9a20 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_blue.rasi @@ -0,0 +1,36 @@ +/* -- Light Blue -- */ + +* { +shade1: #01579B; +shade2: #0277BD; +shade3: #0288D1; +shade4: #039BE5; +shade5: #03A9F4; +shade6: #29B6F6; +shade7: #4FC3F7; +shade8: #81D4FA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_green.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_green.rasi new file mode 100644 index 00000000..39738ea2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Light_green.rasi @@ -0,0 +1,36 @@ +/* -- Light Green -- */ + +* { +shade1: #33691E; +shade2: #558B2F; +shade3: #689F38; +shade4: #7CB342; +shade5: #8BC34A; +shade6: #9CCC65; +shade7: #AED581; +shade8: #C5E1A5; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Lime.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Lime.rasi new file mode 100644 index 00000000..a688a103 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Lime.rasi @@ -0,0 +1,36 @@ +/* -- Lime -- */ + +* { +shade1: #827717; +shade2: #9E9D24; +shade3: #AFB42B; +shade4: #C0CA33; +shade5: #CDDC39; +shade6: #D4E157; +shade7: #DCE775; +shade8: #E6EE9C; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #252525; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #404040; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Orange.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Orange.rasi new file mode 100644 index 00000000..a6cdc355 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Orange.rasi @@ -0,0 +1,36 @@ +/* -- Orange -- */ + +* { +shade1: #E65100; +shade2: #EF6C00; +shade3: #F57C00; +shade4: #FB8C00; +shade5: #FF9800; +shade6: #FFA726; +shade7: #FFB74D; +shade8: #FFCC80; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #202020; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Pink.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Pink.rasi new file mode 100644 index 00000000..a15e5776 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Pink.rasi @@ -0,0 +1,36 @@ +/* -- Pink -- */ + +* { +shade1: #880E4F; +shade2: #AD1457; +shade3: #C2185B; +shade4: #D81B60; +shade5: #E91E63; +shade6: #EC407A; +shade7: #F06292; +shade8: #F48FB1; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Purple.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Purple.rasi new file mode 100644 index 00000000..2268fe59 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Purple.rasi @@ -0,0 +1,36 @@ +/* -- Purple -- */ + +* { +shade1: #4A148C; +shade2: #6A1B9A; +shade3: #7B1FA2; +shade4: #8E24AA; +shade5: #9C27B0; +shade6: #AB47BC; +shade7: #BA68C8; +shade8: #CE93D8; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Red.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Red.rasi new file mode 100644 index 00000000..ea148212 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Red.rasi @@ -0,0 +1,36 @@ +/* -- Red -- */ + +* { +shade1: #B71C1C; +shade2: #C62828; +shade3: #D32F2F; +shade4: #E53935; +shade5: #EE413D; +shade6: #EF5350; +shade7: #E57373; +shade8: #EF9A9A; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Teal.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Teal.rasi new file mode 100644 index 00000000..8ac9c03c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Teal.rasi @@ -0,0 +1,36 @@ +/* -- Teal -- */ + +* { +shade1: #004D40; +shade2: #00695C; +shade3: #00796B; +shade4: #00897B; +shade5: #009688; +shade6: #26A69A; +shade7: #4DB6AC; +shade8: #80CBC4; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Yellow.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Yellow.rasi new file mode 100644 index 00000000..ce28546d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/Yellow.rasi @@ -0,0 +1,36 @@ +/* -- Yellow -- */ + +* { +shade1: #F57F17; +shade2: #F9A825; +shade3: #FBC02D; +shade4: #FDD835; +shade5: #FFEB3B; +shade6: #FFEE58; +shade7: #FFF176; +shade8: #FFF59D; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #353535; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #505050; + urgent: #DA4453; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/colors.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/colors.rasi new file mode 100644 index 00000000..2abd81b1 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/slate/styles/colors.rasi @@ -0,0 +1,12 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * Amber Blue Blue_gray Black Brown Cyan Deep_orange + * Deep_purple Gray Green Indigo Light_blue Light_green Lime + * Orange Pink Purple Red Teal Yellow + * + */ + +@import "Black.rasi" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/launcher.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/launcher.sh new file mode 100755 index 00000000..b5c28a67 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/launcher.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# style_1 style_2 style_3 style_4 style_5 style_6 style_7 + +theme="style_2" + +dir="$HOME/.config/rofi/launchers/text" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 10 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 7 ))]}" + +rofi -no-lazy-grab -show drun \ +-modi run,drun,window \ +-theme $dir/"$theme" + diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_1.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_1.rasi new file mode 100644 index 00000000..2aa6a728 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_1.rasi @@ -0,0 +1,176 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 10; + columns: 2; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 1; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 12px; + padding: 20; + width: 50%; + height: 50%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 4px 0px 0px; +} + +element { + border: 0px; + padding: 1px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @bg; + text-color: @green; +} +element selected.normal { + background-color: @bg; + text-color: @ac; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @bg; + text-color: @ac; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 20px; +} + +button { + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 20px; + border-color: @fg; +} + +button selected { + text-color: @fg; + border: 3px; + border-radius: 20px; + border-color: @ac; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_2.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_2.rasi new file mode 100644 index 00000000..60b2abe2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_2.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 10; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 6px; + padding: 30; + width: 25%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @fg; + margin: 5px; + padding: 5px; + text-color: @bg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_3.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_3.rasi new file mode 100644 index 00000000..69bf092a --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_3.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 4; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 6px; + padding: 15; + width: 20%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @fg; + margin: 5px; + padding: 5px; + text-color: @bg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_4.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_4.rasi new file mode 100644 index 00000000..cd7b4a24 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_4.rasi @@ -0,0 +1,179 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 15; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 1; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 20; + width: 20%; + height: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 15px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @ac; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @ac; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @red; + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @green; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_5.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_5.rasi new file mode 100644 index 00000000..545647c7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_5.rasi @@ -0,0 +1,181 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 5; + columns: 3; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: true; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 150px; + width: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 5px; + scrollbar: false; + padding: 25px 5px -20px 5px; +} + +element { + border: 4px; + border-radius: 4px; + padding: 15px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @bg; + text-color: @fg; + border-color: @green; +} +element selected.normal { + background-color: @bg; + text-color: @fg; + border-color: @fg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @bg; + text-color: @fg; + border-color: @fg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @se; + margin: 5px; + padding: 15px; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @bg; + text-color: @fg; + border: 4px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_6.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_6.rasi new file mode 100644 index 00000000..6e368746 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_6.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 10; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: true; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 22%; + width: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 5px; + scrollbar: false; + padding: 35px 5px 25px 5px; +} + +element { + border: 0px; + border-radius: 100%; + padding: 15px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @fg; + margin: 5px; + padding: 15px; + text-color: @bg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_7.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_7.rasi new file mode 100644 index 00000000..5bff1493 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/style_7.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 8; + columns: 2; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 1; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 20px; + padding: 20; + width: 45%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 100%; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @ac; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @ac; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @red; + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +button selected { + background-color: @green; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/berry.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/berry.rasi new file mode 100644 index 00000000..65ab4f13 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/berry.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #280F28ff; + se: #2D142Cff; + fg: #ffffffA6; + ac: #EE4540ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/black.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/black.rasi new file mode 100644 index 00000000..77366f19 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/black.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #101010ff; + se: #151515ff; + fg: #f5f5f5ff; + ac: #42A5F5ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/bluish.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/bluish.rasi new file mode 100644 index 00000000..ad8b84fa --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/bluish.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #EFF0F1FF; + se: #E3E3E3FF; + fg: #000000A6; + ac: #000B83FF; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/cocoa.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/cocoa.rasi new file mode 100644 index 00000000..3c641a43 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/cocoa.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #3C3945FF; + se: #413E4Aff; + fg: #F7C7B2ff; + ac: #B38184ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/colors.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/colors.rasi new file mode 100644 index 00000000..d091cae9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/colors.rasi @@ -0,0 +1,11 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * black white + * + */ + +@import "mask.rasi" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/faded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/faded.rasi new file mode 100644 index 00000000..c9567e0e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/faded.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #57678CFF; + se: #5E6C91ff; + fg: #FFFCFFff; + ac: #FF83A7ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/gotham.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/gotham.rasi new file mode 100644 index 00000000..4d13693c --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/gotham.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #24334Aff; + se: #29384Fff; + fg: #FEFFF1ff; + ac: #3A6081ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/mask.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/mask.rasi new file mode 100644 index 00000000..afb1cfaa --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/mask.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #3E4667ff; + se: #434C6Dff; + fg: #FAF7CCff; + ac: #CA8CA5ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nightly.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nightly.rasi new file mode 100644 index 00000000..75d3a002 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nightly.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #25344Bff; + se: #2A3950ff; + fg: #FEFFF1ff; + ac: #A162F7ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nordic.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nordic.rasi new file mode 100644 index 00000000..8ff9560e --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/nordic.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #425775ff; + se: #475C7Bff; + fg: #ffffffcc; + ac: #FDBB6Dff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/white.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/white.rasi new file mode 100644 index 00000000..48f1c8cc --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/launchers/text/styles/white.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #ffffffff; + se: #f5f5f5ff; + fg: #000000ff; + ac: #2900D0ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_alt.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_alt.rasi new file mode 100644 index 00000000..11355592 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0%; + height: 30%; + width: 54%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0.2%; + border-radius: 1%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 4%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 8.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0.2%; + border-radius: 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_circle.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_circle.rasi new file mode 100644 index 00000000..061aa7ed --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 30%; + width: 54%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.2% 0%; + border-radius: 0% 100% 100% 100%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 8.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.2% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_rounded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_rounded.rasi new file mode 100644 index 00000000..db9cd908 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 30%; + width: 54%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 12px; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 25px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 8.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_square.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_square.rasi new file mode 100644 index 00000000..0fe689dd --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/card_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 30%; + width: 54%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.2%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 8.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.2%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_alt.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_alt.rasi new file mode 100644 index 00000000..32de7e50 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 1.5%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 1.5%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 5%; +} + +element-text { + font: "feather 22"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @border; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 5%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_circle.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_circle.rasi new file mode 100644 index 00000000..2009675f --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 1.5%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 22"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_rounded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_rounded.rasi new file mode 100644 index 00000000..944ed518 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 1.5%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 25px; +} + +element-text { + font: "feather 22"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_square.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_square.rasi new file mode 100644 index 00000000..6c876387 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/column_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 1.5%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; +} + +element-text { + font: "feather 22"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/confirm.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/confirm.rasi new file mode 100644 index 00000000..9a5bba6b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/confirm.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +window { + width: 225px; + padding: 25px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + y-offset: -2em; +} + +entry { + expand: true; + text-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_alt.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_alt.rasi new file mode 100644 index 00000000..311357bb --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 1% 2% 3% 4%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_circle.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_circle.rasi new file mode 100644 index 00000000..3a958950 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_rounded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_rounded.rasi new file mode 100644 index 00000000..a31bbb91 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 16px; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 35px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 35px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_square.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_square.rasi new file mode 100644 index 00000000..20262a67 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/dock_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.1% 0.1% 0.1% 0.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.1% 0.1% 0.1% 0.5%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_alt.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_alt.rasi new file mode 100644 index 00000000..6d938dff --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; + margin: 0% 27% 0% 18%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 1% 2% 3% 4%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_circle.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_circle.rasi new file mode 100644 index 00000000..db8c2d40 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 27% 0% 18%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_rounded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_rounded.rasi new file mode 100644 index 00000000..7875d55b --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 16px; + border-color: @border; + margin: 0% 27% 0% 18%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 35px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 35px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_square.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_square.rasi new file mode 100644 index 00000000..fe7f8851 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/drop_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 27% 0% 18%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_alt.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_alt.rasi new file mode 100644 index 00000000..2e56ceb7 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_alt.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.2% 0%; + border-radius: 1%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 5%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.2% 0%; + border-radius: 5%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_circle.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_circle.rasi new file mode 100644 index 00000000..76c92a89 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_circle.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0% 0.2%; + border-radius: 0% 100% 100% 0%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_rounded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_rounded.rasi new file mode 100644 index 00000000..43fb0ce9 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_rounded.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0.2%; + border-radius: 15px; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 25px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0.2%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_square.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_square.rasi new file mode 100644 index 00000000..daefd301 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/full_square.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/message.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/message.rasi new file mode 100644 index 00000000..37e035e2 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/message.rasi @@ -0,0 +1,24 @@ +/* Message Dialog */ + +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +window { + width: 360px; + padding: 25px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + y-offset: -2em; +} + +entry { + expand: true; + text-color: @border; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/powermenu.sh b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/powermenu.sh new file mode 100755 index 00000000..9b444f45 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/powermenu.sh @@ -0,0 +1,117 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# column_circle column_square column_rounded column_alt +# card_circle card_square card_rounded card_alt +# dock_circle dock_square dock_rounded dock_alt +# drop_circle drop_square drop_rounded drop_alt +# full_circle full_square full_rounded full_alt +# row_circle row_square row_rounded row_alt + +theme="full_circle" +dir="$HOME/.config/rofi/powermenu" + +# random colors +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 8 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir)) +theme="${themes[$(( $RANDOM % 24 ))]}" + +uptime=$(uptime -p | sed -e 's/up //g') + +rofi_command="rofi -theme $dir/$theme" + +# Options +shutdown="" +reboot="" +lock="" +suspend="" +logout="" + +# Confirmation +confirm_exit() { + rofi -dmenu\ + -i\ + -no-fixed-num-lines\ + -p "Are You Sure? : "\ + -theme $dir/confirm.rasi +} + +# Message +msg() { + rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" +} + +# Variable passed to rofi +options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" + +chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" +case $chosen in + $shutdown) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + systemctl poweroff + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $reboot) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + systemctl reboot + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $lock) + if [[ -f /usr/bin/i3lock ]]; then + i3lock + elif [[ -f /usr/bin/betterlockscreen ]]; then + betterlockscreen -l + fi + ;; + $suspend) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; + $logout) + ans=$(confirm_exit &) + if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then + if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == "i3" ]]; then + i3-msg exit + fi + elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then + exit 0 + else + msg + fi + ;; +esac diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_alt.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_alt.rasi new file mode 100644 index 00000000..b83b685d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.5% 0.3% 0.1%; + border-radius: 1%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 3%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.5% 0.3% 0.1%; + border-radius: 3%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_circle.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_circle.rasi new file mode 100644 index 00000000..acd2f9de --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_rounded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_rounded.rasi new file mode 100644 index 00000000..60f85d89 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.3% 0% 0.3%; + border-radius: 18px; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 50px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.3% 0% 0.3%; + border-radius: 50px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_square.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_square.rasi new file mode 100644 index 00000000..4b469969 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/row_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 46%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 49% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 9%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 16.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.5%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/berry.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/berry.rasi new file mode 100644 index 00000000..025c2310 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/berry.rasi @@ -0,0 +1,9 @@ +* { + background: #280F28ff; + background-alt: #2D142Cff; + foreground: #ffffffA6; + border: #EE4540ff; + border-alt: #C92A42ff; + selected: #510A3299; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/bluish.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/bluish.rasi new file mode 100644 index 00000000..2305bd5d --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/bluish.rasi @@ -0,0 +1,9 @@ +* { + background: #EFF0F1FF; + background-alt: #E3E3E3FF; + foreground: #000000A6; + border: #000B83FF; + border-alt: #3DAEE9FF; + selected: #93CEE9FF; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/cocoa.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/cocoa.rasi new file mode 100644 index 00000000..31f780da --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/cocoa.rasi @@ -0,0 +1,9 @@ +* { + background: #3C3945FF; + background-alt: #413E4Aff; + foreground: #F7C7B2ff; + border: #B38184ff; + border-alt: #F3B69Eff; + selected: #B381841a; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/colors.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/colors.rasi new file mode 100644 index 00000000..57b810db --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/colors.rasi @@ -0,0 +1,10 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * + */ + +@import "mask.rasi" diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/faded.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/faded.rasi new file mode 100644 index 00000000..0eebd643 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/faded.rasi @@ -0,0 +1,9 @@ +* { + background: #57678CFF; + background-alt: #5E6C91ff; + foreground: #FFFCFFff; + border: #FF83A7ff; + border-alt: #F4BB6Cff; + selected: #A0B5F44c; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/gotham.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/gotham.rasi new file mode 100644 index 00000000..2bae3812 --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/gotham.rasi @@ -0,0 +1,9 @@ +* { + background: #24334Aff; + background-alt: #29384Fff; + foreground: #FEFFF1ff; + border: #3A6081ff; + border-alt: #715979ff; + selected: #C46C854C; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/mask.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/mask.rasi new file mode 100644 index 00000000..c63ac9ea --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/mask.rasi @@ -0,0 +1,9 @@ +* { + background: #3E4667ff; + background-alt: #434C6Dff; + foreground: #FAF7CCff; + border: #CA8CA5ff; + border-alt: #F0B2B3ff; + selected: #EFD4B61a; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nightly.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nightly.rasi new file mode 100644 index 00000000..400e6cda --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nightly.rasi @@ -0,0 +1,9 @@ +* { + background: #25344Bff; + background-alt: #2A3950ff; + foreground: #FEFFF1ff; + border: #A162F7ff; + border-alt: #45E3FFff; + selected: #6F88FE1a; + urgent: #DA4453FF; +} diff --git a/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nordic.rasi b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nordic.rasi new file mode 100644 index 00000000..953b52ef --- /dev/null +++ b/setup/linux/profile_gui/airootfs/etc/skel/.config/rofi/powermenu/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #425775ff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +} From 6b9e5cad9fcd7051a5c70d5954b264d41aef2409 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 24 Mar 2021 21:46:04 -0600 Subject: [PATCH 20/20] Update year in LICENSE.txt --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index 4329e378..2a391a1e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2020 Alan Mason +Copyright (c) 2021 Alan Mason Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: