Upload from GitHub
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# my personal dotfiles for Hyprland and others
|
||||
|
||||
Contains the following config files:
|
||||
|
||||
- waybar conifg (including CSS styling)
|
||||
- hyprland config (hyprland.conf)
|
||||
- dunst config
|
||||
- fish config
|
||||
- rofi config
|
||||
- vscodium settings
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
docker pull ghcr.io/open-webui/open-webui:latest
|
||||
docker container rm open-webui
|
||||
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v /home/janis/projects/otherProjects/open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:latest
|
||||
@@ -0,0 +1,24 @@
|
||||
echo "
|
||||
▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄
|
||||
█ █ █ █ █ █ █ █▄█ █ █
|
||||
█ ▄ █ █ █ █ █ ▄ █ █ ▄ █
|
||||
█ █ █ █ █ █ █ █ █▄█ █ █ █▄█ █
|
||||
█ █▄█ █ █▄▄▄█ █▄▄▄█ █ █ █
|
||||
█ █ █ █ ▄ █ ██▄██ █ ▄ █
|
||||
█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█▄█ █▄█▄█ █▄▄█
|
||||
|
||||
==> Starting ollama
|
||||
"
|
||||
|
||||
cmd="ollama serve";
|
||||
eval "${cmd}" &>/dev/null & disown;
|
||||
|
||||
echo "==> Starting docker"
|
||||
systemctl start docker
|
||||
|
||||
echo "==> Starting open-webui."
|
||||
docker start -i open-webui
|
||||
|
||||
echo "==> Done. Visit http://localhost:3000 for a web-ui, http://localhost:11434 to check ollama status"
|
||||
|
||||
read "Press enter to finish"
|
||||
Executable
+52
@@ -0,0 +1,52 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Copy VSCodium settings
|
||||
mkdir -p ./general/configs/VSCodium/User
|
||||
cp ~/.config/VSCodium/product.json ./general/configs/VSCodium/
|
||||
cp -r ~/.config/VSCodium/User/snippets ./general/configs/VSCodium/User/
|
||||
cp -r ~/.config/VSCodium/User/globalStorage ./general/configs/VSCodium/User/
|
||||
cp ~/.config/VSCodium/User/keybindings.json ./general/configs/VSCodium/User/
|
||||
cp ~/.config/VSCodium/User/settings.json ./general/configs/VSCodium/User/
|
||||
cp ~/.config/VSCodium/User/syncLocalSettings.json ./general/configs/VSCodium/User/
|
||||
rm -rf ./general/configs/VSCodium/User/globalStorage
|
||||
|
||||
rm ./pc/installedPackages.txt
|
||||
pacman -Qq > ./pc/installedPackages.txt
|
||||
sudo cat /etc/pacman.conf > ./general/pacman.conf
|
||||
sudo cat /etc/mkinitcpio.conf > ./general/mkinitcpio.conf
|
||||
sudo cat /etc/environment > ./pc/environment
|
||||
sudo cat /etc/default/grub > ./pc/grub
|
||||
mkdir ./general/docker
|
||||
sudo cat /etc/docker/daemon.json > ./general/docker/daemon.json
|
||||
|
||||
cp ~/.bash_history ./general
|
||||
cp ~/.bashrc ./general
|
||||
|
||||
# copy other config files
|
||||
mkdir ./pc/configs/OpenRGB
|
||||
mkdir ./pc/configs/Portmaster
|
||||
cp -r ~/.config/hypr ./pc/configs/
|
||||
cp -r ~/.config/waybar ./pc/configs/
|
||||
cp -r ~/.config/OpenRGB/OpenRGB.json ./pc/configs/OpenRGB/OpenRGB.json
|
||||
cp ~/.config/Portmaster/Preferences ./pc/configs/Portmaster/
|
||||
cp -r ~/.config/mpv ./general/configs
|
||||
cp -r ~/.config/wlogout ./general/configs/
|
||||
cp -r ~/.config/fish ./general/configs/
|
||||
cp -r ~/.config/dunst ./general/configs/
|
||||
cp -r ~/.config/rofi ./general/configs/
|
||||
cp -r ~/.config/kitty ./general/configs/
|
||||
cp -r ~/.config/terminator ./general/configs/
|
||||
cp -r ~/.config/Thunar ./general/configs/
|
||||
cp -r ~/.config/yazi ./general/configs/
|
||||
rm -rf ./pc/configs/hypr/hyprland/
|
||||
cp -r ~/.config/hypr/hyprland/* ./general/hyprland/
|
||||
|
||||
# Get systemd mount jobs
|
||||
sudo cp -r /etc/systemd/system/mnt* ./pc/mnt
|
||||
sudo chmod -R 777 ./pc/mnt
|
||||
|
||||
|
||||
vscodium --list-extensions > ./general/vscode-extensions
|
||||
|
||||
|
||||
echo "Collected. Also consider running nvim-collect!"
|
||||
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Copy VSCodium settings
|
||||
mkdir -p ./general/configs/VSCodium/User
|
||||
cp ~/.config/VSCodium/product.json ./general/configs/VSCodium/
|
||||
cp -r ~/.config/VSCodium/User/snippets ./general/configs/VSCodium/User/
|
||||
cp ~/.config/VSCodium/User/keybindings.json ./general/configs/VSCodium/User/
|
||||
cp ~/.config/VSCodium/User/settings.json ./general/configs/VSCodium/User/
|
||||
cp ~/.config/VSCodium/User/syncLocalSettings.json ./general/configs/VSCodium/User/
|
||||
|
||||
rm ./laptop/installedPackages.txt
|
||||
pacman -Qq > ./laptop/installedPackages.txt
|
||||
|
||||
# copy other config files
|
||||
cp -r ~/.config/hypr ./laptop/configs
|
||||
cp -r ~/.config/waybar ./laptop/configs
|
||||
cp -r ~/.config/wlogout ./general/configs
|
||||
cp -r ~/.config/mpv ./general/configs
|
||||
cp -r ~/.config/dunst ./general/configs
|
||||
cp -r ~/.config/fish ./general/configs
|
||||
cp -r ~/.config/rofi ./general/configs
|
||||
cp -r ~/.config/yazi ./general/configs
|
||||
cp -r ~/.config/kitty ./general/configs
|
||||
rm -rf ./laptop/configs/hypr/hyprland/
|
||||
cp -r ~/.config/hypr/hyprland/* ./general/hyprland/
|
||||
|
||||
echo '=> Collected all laptop config files successfully'
|
||||
|
||||
echo "Also consider running nvim-collect!"
|
||||
@@ -0,0 +1,73 @@
|
||||
import os
|
||||
import re
|
||||
import json
|
||||
import sys
|
||||
|
||||
def clean_json(content):
|
||||
# Step 1: Remove comments (lines starting with //)
|
||||
content = re.sub(r'^//.*\n', '', content, flags=re.MULTILINE)
|
||||
|
||||
# Step 2: Replace single quotes with double quotes for JSON compatibility
|
||||
content = content.replace("'", '"')
|
||||
|
||||
# Step 3: Remove trailing commas in both objects and arrays
|
||||
# Remove trailing commas in arrays
|
||||
content = re.sub(r',\s*([\]}])', r'\1', content)
|
||||
# Remove trailing commas in objects
|
||||
content = re.sub(r',\s*(\n|\})', r'\1', content)
|
||||
|
||||
# Step 4: Escape backslashes in LaTeX snippets
|
||||
content = content.replace("\\", "\\\\") # Double backslashes for JSON
|
||||
|
||||
# Step 5: Parse and re-encode to ensure valid JSON (removes trailing commas)
|
||||
try:
|
||||
data = json.loads(content) # Parse the content into a Python dictionary
|
||||
cleaned_json = json.dumps(data, indent=4) # Re-encode into JSON, pretty-printed
|
||||
except json.JSONDecodeError as e:
|
||||
print(f"Error parsing JSON: {e}")
|
||||
return None
|
||||
|
||||
return cleaned_json
|
||||
|
||||
def process_directory(directory):
|
||||
# Loop through files in the specified directory (non-recursively)
|
||||
for filename in os.listdir(directory):
|
||||
file_path = os.path.join(directory, filename)
|
||||
|
||||
# Only process files that end with .json
|
||||
if os.path.isfile(file_path) and filename.endswith('.json'):
|
||||
print(f"Processing {file_path}")
|
||||
|
||||
# Read the file content
|
||||
with open(file_path, 'r', encoding='utf-8') as file:
|
||||
content = file.read()
|
||||
|
||||
# Clean the JSON content
|
||||
cleaned_content = clean_json(content)
|
||||
|
||||
if cleaned_content is not None:
|
||||
# Write the cleaned content back to the file
|
||||
with open(file_path, 'w', encoding='utf-8') as file:
|
||||
file.write(cleaned_content)
|
||||
print(f"Fixed formatting in {file_path}")
|
||||
else:
|
||||
print(f"Failed to fix {file_path} due to JSON parsing error.")
|
||||
|
||||
def main():
|
||||
# Check if a directory was passed as an argument, otherwise read from stdin
|
||||
if len(sys.argv) > 1:
|
||||
directory = sys.argv[1]
|
||||
else:
|
||||
print("Please provide a directory path as an argument.")
|
||||
sys.exit(1)
|
||||
|
||||
# Check if the directory exists
|
||||
if not os.path.isdir(directory):
|
||||
print(f"The provided path '{directory}' is not a valid directory.")
|
||||
sys.exit(1)
|
||||
|
||||
# Process all .json files in the directory
|
||||
process_directory(directory)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -0,0 +1,500 @@
|
||||
pyinstaller imagevideoupscaler.spec
|
||||
./imagevideoupscaler
|
||||
./imagevideoupscaler
|
||||
pyinstaller imagevideoupscaler.spec
|
||||
./imagevideoupscaler
|
||||
pyinstaller imagevideoupscaler.spec
|
||||
pyinstaller imagevideoupscaler.spec
|
||||
./imagevideoupscaler
|
||||
pyinstaller imagevideoupscaler.spec
|
||||
./imagevideoupscaler
|
||||
pyinstaller imagevideoupscaler-cli.py --onefile --name imagevideoupscaler --hidden-import "bin.engines"
|
||||
./imagevideoupscaler
|
||||
pyinstaller imagevideoupscaler-cli.py --onefile --name imagevideoupscaler
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
|
||||
pyinstaller imagevideoupscaler-cli.py --name imagevideoupscaler
|
||||
cd dist/imagevideoupscaler/
|
||||
./imagevideoupscaler -i
|
||||
cd ../..
|
||||
cd ~/projects/FSRImageVideoUpscalerFrontend_New/
|
||||
ls
|
||||
clear
|
||||
ls
|
||||
clear
|
||||
yay -S rpm-build
|
||||
yay -S rpm-tools
|
||||
yay -S dpkg
|
||||
yay -S fakeroot
|
||||
clear
|
||||
pip3 install py2deb
|
||||
py2deb -r ./
|
||||
py2deb -r ~/projects/FSRImageVideoUpscalerFrontend_New/
|
||||
pip3 install symbol
|
||||
clear
|
||||
yay -S symbol
|
||||
clear
|
||||
pip3 install pyinstaller
|
||||
yay -S python-pip
|
||||
py2deb
|
||||
python3 imagevideoupscaler-cli.py
|
||||
clear
|
||||
pip3 install symbol
|
||||
pip3 install setuptools
|
||||
yay -R python-pip
|
||||
yay -S python-pip
|
||||
pip install --upgrade pip
|
||||
clear
|
||||
pip install setuptools
|
||||
yay -S setuptools
|
||||
sudo pacman -Syu "pacman>=6.0.2-7"
|
||||
pip3
|
||||
yay -S python-pip
|
||||
yay -S python3-pip
|
||||
clear
|
||||
yay -S python-pip
|
||||
pip3 install
|
||||
python -m pip3
|
||||
python -m pip
|
||||
pip
|
||||
pip3
|
||||
clear
|
||||
pip3
|
||||
pip3 install
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -s 2
|
||||
clear
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss -s 2
|
||||
clear
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E fsr -s 2
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E fsr -M c -s 2
|
||||
clear
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E fsr -s 2
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss -s 2
|
||||
python3 imagevideoupscaler-cli.py -i ~/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -E ss -s 2
|
||||
npm run serve
|
||||
npm run serve
|
||||
npm run serve
|
||||
npm i
|
||||
npm run serve
|
||||
clear
|
||||
cd ../../website/
|
||||
cd dist/
|
||||
http-server
|
||||
http-server
|
||||
git pull origin main
|
||||
git checkout origin master
|
||||
git checkout origin main
|
||||
cd frontend/
|
||||
npm run electron:serve
|
||||
npm i -g @vue/cli
|
||||
sudo npm i -g @vue/cli
|
||||
npm audit fix --force
|
||||
npm audit fix --force
|
||||
npm audit fix --force
|
||||
npm i
|
||||
npm i
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm i child_process
|
||||
clear
|
||||
npm run electron:serve
|
||||
npm run serve
|
||||
npm run serve
|
||||
npm run serve
|
||||
cd ..
|
||||
ls
|
||||
clear
|
||||
python3 imagevideoupscaler-cli.py -h
|
||||
python3 imagevideoupscaler-cli.py -p
|
||||
python3 imagevideoupscaler-cli.py -h
|
||||
python3 imagevideoupscaler-cli.py -d ss
|
||||
cd frontend/
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm i --save-dev @electron-forge/cli
|
||||
npm exec --package=@electron-forge/cli -c "electron-forge import"
|
||||
npm run make
|
||||
cd src/
|
||||
npm run make
|
||||
clear
|
||||
cd ..
|
||||
npm run electron:build
|
||||
npm run electron:build -- --linux deb --win nsis
|
||||
clear
|
||||
npm run electron:build -- --linux deb --win nsis
|
||||
npm run electron:build -- --linux deb --win nsis
|
||||
npm run electron:build -- --linux deb --win nsis
|
||||
npm run electron:build -- --linux deb --win nsis
|
||||
npm run electron:build -- --linux deb --win nsis
|
||||
yay -S libcript
|
||||
yay -S libssl
|
||||
clear
|
||||
npm run electron:build -- --linux deb --linux rpm --win nsis
|
||||
npm run electron:build -- --linux deb rpm --win nsis
|
||||
yay -S libxcrypt-compat
|
||||
npm run electron:build -- --linux deb rpm --win nsis
|
||||
npm run electron:build -- --linux deb rpm --win nsis
|
||||
cd ../packaging/
|
||||
ls
|
||||
sudo chmod +x package.sh
|
||||
./package.sh
|
||||
mv --help
|
||||
pip3 install pyinstaller
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
cd packaging/
|
||||
ls
|
||||
sudo chmod +x package.sh
|
||||
sudo chmod +x package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
cd ../dist/imagevideoupscaler/
|
||||
cd ../../frontend/
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
./package.sh
|
||||
clear
|
||||
cd ../frontend/
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
./package.sh
|
||||
cd ../frontend/
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
./package.sh
|
||||
clear
|
||||
cd ../frontend/
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
./imagevideoupscaler
|
||||
./imagevideoupscaler -i /home/janis/Downloads/test.mp4 -o ~/Downloads/test_us.mp4 -s 2 -S 0.25
|
||||
clear
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm i socket.io
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm i socket.io-client
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
sudo chmod +x ./prepareWindowsPackaging.sh
|
||||
./prepareWindowsPackaging.sh
|
||||
wine python -m pip install pyinstaller
|
||||
./package.sh
|
||||
./package.sh
|
||||
wine python -m PyInstaller
|
||||
./package.sh
|
||||
cd ../frontend/dist_electron/
|
||||
wine imagevideoupscaler\ Setup\ 2.0.0-dev1.exe
|
||||
clear
|
||||
cd ../../packaging/
|
||||
clear
|
||||
cd ../frontend/
|
||||
npm run electron:serve
|
||||
cd ..
|
||||
python3 imagevideoupscaler-cli.py -d ss
|
||||
cd frontend/
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
./package.sh
|
||||
sudo chmod +x packageWindows.sh
|
||||
sudo chmod +x packageLinux.sh
|
||||
./packageWindows.sh
|
||||
./packageWindows.sh
|
||||
cd ..
|
||||
python3 imagevideoupscaler-cli.py -h
|
||||
cd frontend/
|
||||
npm run serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
cd ../frontend/
|
||||
cd ../packaging/
|
||||
./packageWindows.sh
|
||||
cd ../frontend/
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm i electron
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
sudo chmod +x startTesting.sh
|
||||
sudo chmod +x stopTesting.sh
|
||||
clear
|
||||
./startTesting.sh
|
||||
cd ../frontend/
|
||||
npm run serve
|
||||
npm run electron:serve
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
./stopTesting.sh
|
||||
./stopTesting.sh
|
||||
./packageWindows.sh
|
||||
cd ..
|
||||
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png
|
||||
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png
|
||||
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png
|
||||
python3 imagevideoupscaler-cli.py -i /home/janis/projects/FSRImageVideoUpscalerFrontend_New/logo.png -s 2
|
||||
cd ../fro
|
||||
cd frontend/
|
||||
npm run serve
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
./package.sh
|
||||
./stopTesting.sh
|
||||
./package.sh
|
||||
./package.sh
|
||||
cd ../frontend/
|
||||
npm run electron:serve
|
||||
cd ../packaging/
|
||||
./packageWindows.sh
|
||||
cd src/webapp/
|
||||
npm run serve
|
||||
./packageWindows.sh
|
||||
cd ../frontend/
|
||||
wine ./smuL-cli.exe
|
||||
cd ../packaging/
|
||||
clear
|
||||
./stopTesting.sh
|
||||
./packageLinux.sh
|
||||
cd ../frontend/
|
||||
./smuL-cli
|
||||
clear
|
||||
cd ../packaging/
|
||||
./stopTesting.sh
|
||||
./packageWindows.sh
|
||||
wine -m pip install importlib
|
||||
clear
|
||||
./stopTesting.sh
|
||||
./prepareWindowsPackaging.sh
|
||||
clear
|
||||
cd ../
|
||||
wine python ./smuL-cli.py
|
||||
wine python ./smuL-cli.py
|
||||
wine python ./smuL-cli.py
|
||||
wine python ./smuL-cli.py
|
||||
wine python ./smuL-cli.py
|
||||
wine python ./smuL-cli.py
|
||||
wine python ./smuL-cli.py
|
||||
cd packaging/
|
||||
./stopTesting.sh
|
||||
./packageWindows.sh
|
||||
cd ../frontend/dist_electron/
|
||||
wine ./SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
|
||||
clear
|
||||
cd ../../packaging/
|
||||
./packageWindows.sh
|
||||
cd ../frontend/
|
||||
wine ./smuL-cli.exe -h
|
||||
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
|
||||
cd ../packaging/
|
||||
./stopTesting.sh
|
||||
./packageWindows.sh
|
||||
cd ../frontend/
|
||||
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
|
||||
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
|
||||
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
|
||||
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
|
||||
cd ../packaging/
|
||||
./stopTesting.sh
|
||||
./packageWindows.sh
|
||||
clear
|
||||
cd ../frontend/
|
||||
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
|
||||
clear
|
||||
cd ../packaging/
|
||||
./stopTesting.sh
|
||||
./packageWindows.sh
|
||||
cd ../frontend/
|
||||
wine ./smuL-cli.exe -i ~/Downloads/test.png -s 2
|
||||
cd ../packaging/
|
||||
./stopTesting.sh
|
||||
./packageWindows.sh
|
||||
cd ../frontend/dist_electron/
|
||||
wine ./SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
|
||||
wine ./SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
|
||||
clear
|
||||
cd ../../packaging/
|
||||
sudo chmod +x packageTesting.sh
|
||||
./packageTesting.sh
|
||||
cd ../frontend/dist_electron/linux-unpacked/
|
||||
ls
|
||||
./simplemediascalerlite
|
||||
cd ../../
|
||||
cd ../packag
|
||||
cd ../packaging/
|
||||
./packageLinux.sh
|
||||
./packageLinux.sh
|
||||
./packageLinux.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageTesting.sh
|
||||
./packageWindows.sh
|
||||
cd ../frontend/dist_electron/
|
||||
wine SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
|
||||
wine SimpleMediaScalerLite\ Setup\ 2.0.0-dev1.exe
|
||||
clear
|
||||
cd ../../packaging/
|
||||
./package.sh
|
||||
cd ..
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.png -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -s 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -S 2
|
||||
python3 smuL-cli.py -i /home/janis/Downloads/test.mp4 -s 2
|
||||
clear
|
||||
cd ./packaging/
|
||||
./packageWindows.sh
|
||||
./packageWindows.sh
|
||||
./packageWindows.sh
|
||||
./packageWindows.sh
|
||||
./package.sh
|
||||
cd packag
|
||||
cd packaging/
|
||||
./packageWindows.sh
|
||||
./packageWindows.sh
|
||||
cd ../../italian/
|
||||
http-server
|
||||
node server.js
|
||||
node server.js
|
||||
node server.js
|
||||
node server.js
|
||||
node server.js
|
||||
node server.js
|
||||
node server.js
|
||||
ls | grep -v jpg$ | while IFS= read -r FILENAME; do convert "${FILENAME}" "${FILENAME%.*}.jpg"; done
|
||||
clear
|
||||
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
|
||||
for i in *.mov; do ffmpeg -i "$i" "${i%.*}.mp4"; done
|
||||
rm ./*.mp4
|
||||
for i in *.mov; do ffmpeg -i "$i" "./Transcoded/${i%.*}.mp4"; done
|
||||
for i in *.mov; do ffmpeg -i "$i" "./Transcoded/${i%.*}.mp4"; done
|
||||
for i in *.mov; do ffmpeg -i "$i" "./Transcoded/${i%.*}.mp4"; done
|
||||
file="/home/janis/dotfiles/config/vscode-extensions"
|
||||
while read line; do vscodium --install-extension "${line}"; done < "${file}"
|
||||
yay -S vscodium
|
||||
clear
|
||||
cp ./dotfiles/config/.bashrc .bashrc
|
||||
clear
|
||||
exit
|
||||
clear
|
||||
sudo plymouth-set-default-theme -R bgrt
|
||||
cd dotfiles/
|
||||
sudo cp ./config/environment /etc/environment
|
||||
sudo cp ./config/mkinitcpio.conf /etc/mkinitcpio.conf
|
||||
sudo cp ./config/pacman.conf /etc/pacman.conf
|
||||
clear
|
||||
yay -Syu
|
||||
clear
|
||||
hugo
|
||||
clear
|
||||
cd /tmp
|
||||
git clone https://github.com/rtlewis1/GTK/tree/Material-Black-Colors-Desktop
|
||||
cd Material-Black-Colors-Desktop/
|
||||
sudo cp ./Material-Black-Blueberry /usr/share/themes
|
||||
ls
|
||||
git clone https://github.com/rtlewis1/GTK
|
||||
cd gtk
|
||||
cd GTK
|
||||
git checkout Material-Black-Colors-Desktop
|
||||
clear
|
||||
ls
|
||||
sudo cp ./Material-Black-Blueberry /usr/share/themes
|
||||
sudo cp -r ./Material-Black-Blueberry /usr/share/themes
|
||||
cd /tmp
|
||||
git clone https://github.com/varlesh/oreo-cursors
|
||||
cd oreo-cursors/generator
|
||||
echo "black = #424242" > ./colours.conf
|
||||
ruby convert.rb
|
||||
cd ..
|
||||
make build
|
||||
sudo make install
|
||||
ls
|
||||
sudo make
|
||||
sudo make build
|
||||
make build
|
||||
clear
|
||||
cat build.sh
|
||||
make build
|
||||
clear
|
||||
yay -S librewolf-bin
|
||||
exit
|
||||
file="/home/janis/dotfiles/config/vscode-extensions"
|
||||
while read line; do vscodium --install-extension "${line}"; done < "${file}"
|
||||
+359
@@ -0,0 +1,359 @@
|
||||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
export PATH="/home/janis/.local/share/gem/ruby/3.0.0/bin: $PATH"
|
||||
export PATH="/home/janis/.local/bin: $PATH"
|
||||
alias editHyprlandConf='nano ~/.config/hypr/hyprland.conf'
|
||||
alias ls='ls -l --color=auto'
|
||||
alias ll='ls -la --color=auto'
|
||||
alias sl='ls --color=auto'
|
||||
alias start-httpd='sudo systemctl start httpd'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
||||
################################################################################
|
||||
## FUNCTIONS ##
|
||||
################################################################################
|
||||
|
||||
##
|
||||
## ARRANGE $PWD AND STORE IT IN $NEW_PWD
|
||||
## * The home directory (HOME) is replaced with a ~
|
||||
## * The last pwdmaxlen characters of the PWD are displayed
|
||||
## * Leading partial directory names are striped off
|
||||
## /home/me/stuff -> ~/stuff (if USER=me)
|
||||
## /usr/share/big_dir_name -> ../share/big_dir_name (if pwdmaxlen=20)
|
||||
##
|
||||
## Original source: WOLFMAN'S color bash promt
|
||||
## https://wiki.chakralinux.org/index.php?title=Color_Bash_Prompt#Wolfman.27s
|
||||
##
|
||||
bash_prompt_command() {
|
||||
# How many characters of the $PWD should be kept
|
||||
local pwdmaxlen=25
|
||||
|
||||
# Indicate that there has been dir truncation
|
||||
local trunc_symbol=".."
|
||||
|
||||
# Store local dir
|
||||
local dir=${PWD##*/}
|
||||
|
||||
# Which length to use
|
||||
pwdmaxlen=$(( ( pwdmaxlen < ${#dir} ) ? ${#dir} : pwdmaxlen ))
|
||||
|
||||
NEW_PWD=${PWD/#$HOME/\~}
|
||||
|
||||
local pwdoffset=$(( ${#NEW_PWD} - pwdmaxlen ))
|
||||
|
||||
# Generate name
|
||||
if [ ${pwdoffset} -gt "0" ]
|
||||
then
|
||||
NEW_PWD=${NEW_PWD:$pwdoffset:$pwdmaxlen}
|
||||
NEW_PWD=${trunc_symbol}/${NEW_PWD#*/}
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
##
|
||||
## GENERATE A FORMAT SEQUENCE
|
||||
##
|
||||
format_font()
|
||||
{
|
||||
## FIRST ARGUMENT TO RETURN FORMAT STRING
|
||||
local output=$1
|
||||
|
||||
|
||||
case $# in
|
||||
2)
|
||||
eval $output="'\[\033[0;${2}m\]'"
|
||||
;;
|
||||
3)
|
||||
eval $output="'\[\033[0;${2};${3}m\]'"
|
||||
;;
|
||||
4)
|
||||
eval $output="'\[\033[0;${2};${3};${4}m\]'"
|
||||
;;
|
||||
*)
|
||||
eval $output="'\[\033[0m\]'"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
|
||||
##
|
||||
## COLORIZE BASH PROMT
|
||||
##
|
||||
bash_prompt() {
|
||||
|
||||
############################################################################
|
||||
## COLOR CODES ##
|
||||
## These can be used in the configuration below ##
|
||||
############################################################################
|
||||
|
||||
## FONT EFFECT
|
||||
local NONE='0'
|
||||
local BOLD='1'
|
||||
local DIM='2'
|
||||
local UNDERLINE='4'
|
||||
local BLINK='5'
|
||||
local INVERT='7'
|
||||
local HIDDEN='8'
|
||||
|
||||
|
||||
## COLORS
|
||||
local DEFAULT='9'
|
||||
local BLACK='0'
|
||||
local RED='1'
|
||||
local GREEN='2'
|
||||
local YELLOW='3'
|
||||
local BLUE='4'
|
||||
local MAGENTA='5'
|
||||
local CYAN='6'
|
||||
local L_GRAY='7'
|
||||
local D_GRAY='60'
|
||||
local L_RED='61'
|
||||
local L_GREEN='62'
|
||||
local L_YELLOW='63'
|
||||
local L_BLUE='64'
|
||||
local L_MAGENTA='65'
|
||||
local L_CYAN='66'
|
||||
local WHITE='67'
|
||||
|
||||
|
||||
## TYPE
|
||||
local RESET='0'
|
||||
local EFFECT='0'
|
||||
local COLOR='30'
|
||||
local BG='40'
|
||||
|
||||
|
||||
## 256 COLOR CODES
|
||||
local NO_FORMAT="\[\033[0m\]"
|
||||
local ORANGE_BOLD="\[\033[1;38;5;208m\]"
|
||||
local TOXIC_GREEN_BOLD="\[\033[1;38;5;118m\]"
|
||||
local RED_BOLD="\[\033[1;38;5;1m\]"
|
||||
local CYAN_BOLD="\[\033[1;38;5;87m\]"
|
||||
local BLACK_BOLD="\[\033[1;38;5;0m\]"
|
||||
local WHITE_BOLD="\[\033[1;38;5;15m\]"
|
||||
local GRAY_BOLD="\[\033[1;90m\]"
|
||||
local BLUE_BOLD="\[\033[1;38;5;74m\]"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
|
||||
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
|
||||
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
|
||||
|
||||
|
||||
|
||||
## CONFIGURE HERE ##
|
||||
|
||||
|
||||
|
||||
############################################################################
|
||||
## CONFIGURATION ##
|
||||
## Choose your color combination here ##
|
||||
############################################################################
|
||||
local FONT_COLOR_1=$WHITE
|
||||
local BACKGROUND_1=$RED
|
||||
local TEXTEFFECT_1=$BOLD
|
||||
|
||||
local FONT_COLOR_2=$WHITE
|
||||
local BACKGROUND_2=$YELLOW
|
||||
local TEXTEFFECT_2=$BOLD
|
||||
|
||||
local FONT_COLOR_3=$D_GRAY
|
||||
local BACKGROUND_3=$WHITE
|
||||
local TEXTEFFECT_3=$BOLD
|
||||
|
||||
local PROMT_FORMAT=$BLUE_BOLD
|
||||
|
||||
|
||||
############################################################################
|
||||
## EXAMPLE CONFIGURATIONS ##
|
||||
## I use them for different hosts. Test them out ;) ##
|
||||
############################################################################
|
||||
|
||||
## CONFIGURATION: BLUE-WHITE
|
||||
if [ "$HOSTNAME" = dell ]; then
|
||||
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLUE; TEXTEFFECT_1=$BOLD
|
||||
FONT_COLOR_2=$WHITE; BACKGROUND_2=$L_BLUE; TEXTEFFECT_2=$BOLD
|
||||
FONT_COLOR_3=$D_GRAY; BACKGROUND_3=$WHITE; TEXTEFFECT_3=$BOLD
|
||||
PROMT_FORMAT=$CYAN_BOLD
|
||||
fi
|
||||
|
||||
## CONFIGURATION: BLACK-RED
|
||||
if [ "$HOSTNAME" = giraff6 ]; then
|
||||
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
|
||||
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
|
||||
FONT_COLOR_3=$WHITE; BACKGROUND_3=$RED; TEXTEFFECT_3=$BOLD
|
||||
PROMT_FORMAT=$RED_BOLD
|
||||
fi
|
||||
|
||||
## CONFIGURATION: RED-BLACK
|
||||
#FONT_COLOR_1=$WHITE; BACKGROUND_1=$RED; TEXTEFFECT_1=$BOLD
|
||||
#FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
|
||||
#FONT_COLOR_3=$WHITE; BACKGROUND_3=$BLACK; TEXTEFFECT_3=$BOLD
|
||||
#PROMT_FORMAT=$RED_BOLD
|
||||
|
||||
## CONFIGURATION: CYAN-BLUE
|
||||
if [ "$HOSTNAME" = sharkoon ]; then
|
||||
FONT_COLOR_1=$BLACK; BACKGROUND_1=$L_CYAN; TEXTEFFECT_1=$BOLD
|
||||
FONT_COLOR_2=$WHITE; BACKGROUND_2=$L_BLUE; TEXTEFFECT_2=$BOLD
|
||||
FONT_COLOR_3=$WHITE; BACKGROUND_3=$BLUE; TEXTEFFECT_3=$BOLD
|
||||
PROMT_FORMAT=$CYAN_BOLD
|
||||
fi
|
||||
|
||||
## CONFIGURATION: GRAY-SCALE
|
||||
if [ "$HOSTNAME" = giraff ]; then
|
||||
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
|
||||
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
|
||||
FONT_COLOR_3=$WHITE; BACKGROUND_3=$L_GRAY; TEXTEFFECT_3=$BOLD
|
||||
PROMT_FORMAT=$BLACK_BOLD
|
||||
fi
|
||||
|
||||
## CONFIGURATION: GRAY-CYAN
|
||||
if [ "$HOSTNAME" = light ]; then
|
||||
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
|
||||
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
|
||||
FONT_COLOR_3=$BLACK; BACKGROUND_3=$L_CYAN; TEXTEFFECT_3=$BOLD
|
||||
PROMT_FORMAT=$CYAN_BOLD
|
||||
fi
|
||||
|
||||
|
||||
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
|
||||
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
|
||||
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
|
||||
|
||||
|
||||
|
||||
|
||||
############################################################################
|
||||
## TEXT FORMATING ##
|
||||
## Generate the text formating according to configuration ##
|
||||
############################################################################
|
||||
|
||||
## CONVERT CODES: add offset
|
||||
FC1=$(($FONT_COLOR_1+$COLOR))
|
||||
BG1=$(($BACKGROUND_1+$BG))
|
||||
FE1=$(($TEXTEFFECT_1+$EFFECT))
|
||||
|
||||
FC2=$(($FONT_COLOR_2+$COLOR))
|
||||
BG2=$(($BACKGROUND_2+$BG))
|
||||
FE2=$(($TEXTEFFECT_2+$EFFECT))
|
||||
|
||||
FC3=$(($FONT_COLOR_3+$COLOR))
|
||||
BG3=$(($BACKGROUND_3+$BG))
|
||||
FE3=$(($TEXTEFFECT_3+$EFFECT))
|
||||
|
||||
FC4=$(($FONT_COLOR_4+$COLOR))
|
||||
BG4=$(($BACKGROUND_4+$BG))
|
||||
FE4=$(($TEXTEFFECT_4+$EFFECT))
|
||||
|
||||
|
||||
## CALL FORMATING HELPER FUNCTION: effect + font color + BG color
|
||||
local TEXT_FORMAT_1
|
||||
local TEXT_FORMAT_2
|
||||
local TEXT_FORMAT_3
|
||||
local TEXT_FORMAT_4
|
||||
format_font TEXT_FORMAT_1 $FE1 $FC1 $BG1
|
||||
format_font TEXT_FORMAT_2 $FE2 $FC2 $BG2
|
||||
format_font TEXT_FORMAT_3 $FC3 $FE3 $BG3
|
||||
format_font TEXT_FORMAT_4 $FC4 $FE4 $BG4
|
||||
|
||||
|
||||
# GENERATE PROMT SECTIONS
|
||||
local PROMT_USER=$"$TEXT_FORMAT_1 \u "
|
||||
local PROMT_HOST=$"$TEXT_FORMAT_2 \h "
|
||||
local PROMT_PWD=$"$TEXT_FORMAT_3 \${NEW_PWD} "
|
||||
local PROMT_INPUT=$"$PROMT_FORMAT "
|
||||
|
||||
|
||||
############################################################################
|
||||
## SEPARATOR FORMATING ##
|
||||
## Generate the separators between sections ##
|
||||
## Uses background colors of the sections ##
|
||||
############################################################################
|
||||
|
||||
## CONVERT CODES
|
||||
TSFC1=$(($BACKGROUND_1+$COLOR))
|
||||
TSBG1=$(($BACKGROUND_2+$BG))
|
||||
|
||||
TSFC2=$(($BACKGROUND_2+$COLOR))
|
||||
TSBG2=$(($BACKGROUND_3+$BG))
|
||||
|
||||
TSFC3=$(($BACKGROUND_3+$COLOR))
|
||||
TSBG3=$(($DEFAULT+$BG))
|
||||
|
||||
|
||||
## CALL FORMATING HELPER FUNCTION: effect + font color + BG color
|
||||
local SEPARATOR_FORMAT_1
|
||||
local SEPARATOR_FORMAT_2
|
||||
local SEPARATOR_FORMAT_3
|
||||
format_font SEPARATOR_FORMAT_1 $TSFC1 $TSBG1
|
||||
format_font SEPARATOR_FORMAT_2 $TSFC2 $TSBG2
|
||||
format_font SEPARATOR_FORMAT_3 $TSFC3 $TSBG3
|
||||
|
||||
|
||||
# GENERATE SEPARATORS WITH FANCY TRIANGLE
|
||||
local TRIANGLE=$'\uE0B0'
|
||||
local SEPARATOR_1=$SEPARATOR_FORMAT_1$TRIANGLE
|
||||
local SEPARATOR_2=$SEPARATOR_FORMAT_2$TRIANGLE
|
||||
local SEPARATOR_3=$SEPARATOR_FORMAT_3$TRIANGLE
|
||||
|
||||
|
||||
|
||||
############################################################################
|
||||
## WINDOW TITLE ##
|
||||
## Prevent messed up terminal-window titles ##
|
||||
############################################################################
|
||||
case $TERM in
|
||||
xterm*|rxvt*)
|
||||
local TITLEBAR='\[\033]0;\u:${NEW_PWD}\007\]'
|
||||
;;
|
||||
*)
|
||||
local TITLEBAR=""
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
############################################################################
|
||||
## BASH PROMT ##
|
||||
## Generate promt and remove format from the rest ##
|
||||
############################################################################
|
||||
PS1="$TITLEBAR\n${PROMT_USER}${SEPARATOR_1}${PROMT_HOST}${SEPARATOR_2}${PROMT_PWD}${SEPARATOR_3}${PROMT_INPUT}"
|
||||
|
||||
|
||||
|
||||
## For terminal line coloring, leaving the rest standard
|
||||
none="$(tput sgr0)"
|
||||
trap 'echo -ne "${none}"' DEBUG
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
## MAIN ##
|
||||
################################################################################
|
||||
|
||||
## Bash provides an environment variable called PROMPT_COMMAND.
|
||||
## The contents of this variable are executed as a regular Bash command
|
||||
## just before Bash displays a prompt.
|
||||
## We want it to call our own command to truncate PWD and store it in NEW_PWD
|
||||
PROMPT_COMMAND=bash_prompt_command
|
||||
|
||||
## Call bash_promnt only once, then unset it (not needed any more)
|
||||
## It will set $PS1 with colors and relative to $NEW_PWD,
|
||||
## which gets updated by $PROMT_COMMAND on behalf of the terminal
|
||||
bash_prompt
|
||||
unset bash_prompt
|
||||
|
||||
### EOF ###
|
||||
Executable
+131
@@ -0,0 +1,131 @@
|
||||
; thunar GtkAccelMap rc-file -*- scheme -*-
|
||||
; this file is an automated accelerator map dump
|
||||
;
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
|
||||
; (gtk_accel_path "<Actions>/Thunarwindow/menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut" "<Primary>x")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/e92146de8ffbb74bfd99784ed40bdeef" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab-alt" "<Primary><Shift>ISO_Left_Tab")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/clear-directory-specific-settings" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-window" "<Primary>q")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size-in-bytes" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab" "<Primary>Page_Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open" "<Primary>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-split-view" "F3")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy-2" "<Primary>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete" "Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-configure-toolbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/7a203ca58c14c76ec1b07d08eaba7e8a" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "<Alt>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out-alt" "<Primary>KP_Subtract")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-menu" "F10")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-highlight" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "<Primary>a")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/execute" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut-2" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-dtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/de6d2099b95ef15820d04f5c3a6dc0f8" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste-2" "<Shift>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab" "<Primary>Page_Down")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-filetype" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-document" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/cancel-search" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt2" "<Primary>equal")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-hidden-count" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "<Primary>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/undo" "<Primary>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/0064c8b8c2b8ae1954479b6f2feab576" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/toggle-sort-order" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-entry" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste" "<Primary>v")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt1" "<Primary>KP_Add")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore-show" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-display-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>minus")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/remove-from-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-with-other" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "<Primary><Shift>i")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt-2" "Reload")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/fb8a2fb8c18b440d557134b69e8bfc79" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy" "<Primary>c")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt-1" "F5")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/forward-alt" "Forward")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/move-to-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-3" "<Shift>KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/bookmarks-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/ab554ce947264f765ed1ba66309937f1" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/unselect-all-files" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-computer" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-image-preview" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-2" "<Shift>Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/search" "<Primary>f")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>0")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents/help-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-tab" "<Primary><Shift>p")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-buttons" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt2" "Back")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/redo" "<Primary><Shift>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-window" "<Primary><Shift>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-location" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete-2" "KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt1" "BackSpace")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-focused-split-view-pane" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/set-default-app" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/search-alt" "Search")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab-alt" "<Primary>Tab")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/sendto-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset-alt" "<Primary>KP_0")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/about" "")
|
||||
Executable
+25
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>utilities-terminal</icon>
|
||||
<name>Open Terminal Here</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1675076590898177-1</unique-id>
|
||||
<command>terminator --working-directory %f</command>
|
||||
<description>Example for a custom action</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<startup-notify/>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>com.github.artemanufrij.findfileconflicts</icon>
|
||||
<name>Fix filenames</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1691249342110327-1</unique-id>
|
||||
<command>/home/janis/scripts/removeSpaces.sh %f</command>
|
||||
<description>A script that fixes the filenames in a directory recursively</description>
|
||||
<range>*</range>
|
||||
<patterns>*</patterns>
|
||||
</action>
|
||||
</actions>
|
||||
+1
@@ -0,0 +1 @@
|
||||
// Empty
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"workbench.colorTheme": "Community Material Theme Darker High Contrast",
|
||||
"workbench.iconTheme": "eq-material-theme-icons-darker",
|
||||
"editor.fontFamily": "Source Code Pro",
|
||||
"python.languageServer": "Jedi",
|
||||
"python.devOptions": ["DEBUG_ON_STARTUP"],
|
||||
"python.analysis.logLevel": "Trace",
|
||||
"git.enableSmartCommit": true,
|
||||
"git.autofetch": true,
|
||||
"ltex.language": "en-GB",
|
||||
"[latex]": {
|
||||
"editor.defaultFormatter": "James-Yu.latex-workshop"
|
||||
},
|
||||
"latex-workshop.latex.tools": [
|
||||
{
|
||||
"name": "latexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"--shell-escape",
|
||||
"-pdf",
|
||||
"%DOC%"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pdflatex",
|
||||
"command": "pdflatex",
|
||||
"args": [
|
||||
"--shell-escape",
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"%DOC%"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "bibtex",
|
||||
"command": "bibtex",
|
||||
"args": [
|
||||
"%DOCFILE%"
|
||||
],
|
||||
"env": {}
|
||||
}
|
||||
],
|
||||
"[vue]": {
|
||||
"editor.defaultFormatter": "Vue.volar"
|
||||
},
|
||||
"redhat.telemetry.enabled": false,
|
||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
||||
"[html]": {
|
||||
"editor.defaultFormatter": "vscode.html-language-features"
|
||||
},
|
||||
"cSpell.userWords": [
|
||||
"fulfillable",
|
||||
"libreǝvent",
|
||||
"unsatisfiable"
|
||||
],
|
||||
"[java]": {
|
||||
"editor.defaultFormatter": "redhat.java"
|
||||
},
|
||||
"[xml]": {
|
||||
"editor.defaultFormatter": "redhat.vscode-xml"
|
||||
},
|
||||
"cSpell.language": "en-GB",
|
||||
"git.openRepositoryInParentFolders": "never",
|
||||
"[lua]": {
|
||||
"editor.defaultFormatter": "yinfei.luahelper"
|
||||
},
|
||||
"diffEditor.ignoreTrimWhitespace": false,
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||||
// Placeholders with the same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "scope": "javascript,typescript",
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"docTitle": {
|
||||
"prefix": "prepareDoc",
|
||||
"body": "$BLOCK_COMMENT_START\n*\t\t\t\t$WORKSPACE_NAME - $TM_FILENAME\n*\n*\tCreated by Janis Hutz $CURRENT_MONTH/$CURRENT_DATE/$CURRENT_YEAR, Licensed under ${1|the GPL V3,the MIT,a proprietary,the BSD,the LGPL V3,the Apache|} License\n*\t\t\thttps://janishutz.com, development@janishutz.com\n*\n*\n$BLOCK_COMMENT_END"
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
{
|
||||
// Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"impress": {
|
||||
"prefix": "impress",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<html>",
|
||||
"\t<head>\n\t\t<title>$1</title>\n\t\t<link rel=\"stylesheet\" href=\"style.css\">\n\t</head>",
|
||||
"\t<body class=\"impress-not-supported\">",
|
||||
"\t\t<div class=\"fallback-message\">\n\t\t\t<p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>\n\t\t\t<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>\n\t\t</div>",
|
||||
"\t\t<div id=\"impress\" data-width=\"1920\" data-height=\"1080\">",
|
||||
"\t\t\t<div id=\"title\" class=\"step\">\n\t\t\t\t<div class=\"content\">",
|
||||
"\t\t\t\t\t<h1>$2</h1>\n\t\t\t\t</div>",
|
||||
"\t\t\t</div>\n\t\t</div>",
|
||||
"\n\t\t<script src=\"https://cdn.jsdelivr.net/gh/impress/impress.js@2.0.0/js/impress.js\">\n\t\t</script><script>impress().init()</script>\n\t</body>",
|
||||
"</html>"
|
||||
]
|
||||
},
|
||||
"impress-step": {
|
||||
"prefix": "impressStep",
|
||||
"body": [
|
||||
"\n<div id=\"$1\" class=\"step\">",
|
||||
"\t<div class=\"content\">",
|
||||
"\t\t<h2>$2</h2>\n\t</div>",
|
||||
"</div>\n"
|
||||
]
|
||||
},
|
||||
"html-basic": {
|
||||
"prefix": "basic",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<html>",
|
||||
"\t<head>\n\t\t<title>$1</title>\n\t\t<link rel=\"stylesheet\" href=\"/css/style.css\">\n\t\t<meta charset=\"utf-8\">\n\t\t<meta name=\"description\" content=\"$2\">\n\t</head>",
|
||||
"\t<body>\n\t\t<h1>$3</h1>",
|
||||
"\t</body>\n</html>"
|
||||
]
|
||||
},
|
||||
"impress-notes": {
|
||||
"prefix": "impressNotes",
|
||||
"body": "<div class=\"notes\">\n\t$1\n</div>"
|
||||
},
|
||||
"impress-substep": {
|
||||
"prefix": "impressSubstep",
|
||||
"body": "<div class=\"substep\">\n\t$1\n</div>"
|
||||
}
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
{
|
||||
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"JS-Class": {
|
||||
"prefix": "jsSetupClass",
|
||||
"body": "class $1 { \n\tconstructor () {} \n\n \t$2 () {\n\t$3\n\t}\n}",
|
||||
"description": "Setup the basic structure of a class in JS"
|
||||
},
|
||||
"ExpressJS": {
|
||||
"prefix": "jsExpressSetup",
|
||||
"body": [
|
||||
"const express = require( 'express' );",
|
||||
"let app = express();",
|
||||
"const path = require( 'path' );",
|
||||
"const expressSession = require( 'express-session' );",
|
||||
"const fs = require( 'fs' );",
|
||||
"const bodyParser = require( 'body-parser' );",
|
||||
"const cookieParser = require( 'cookie-parser' )",
|
||||
"const favicon = require( 'serve-favicon' );",
|
||||
"\napp.use( expressSession ( {\n\tsecret: $1,\n\tresave: true,\n\tsaveUninitialized: true\n} ) );",
|
||||
"app.use( bodyParser.urlencoded( { extended: false } ) );",
|
||||
"app.use( bodyParser.json() );",
|
||||
"app.use( cookieParser() );",
|
||||
"app.use( favicon( path.join( __dirname + '$2' ) ) );\n",
|
||||
"app.use( ( request, response, next ) => {\n\tresponse.sendFile( path.join( __dirname + '$3' ) ) \n} );",
|
||||
"\n\napp.get( '/', ( request, response ) => {\n$4\n} );",
|
||||
"\n\nconst PORT = process.env.PORT || 8080;",
|
||||
"http.createServer( app ).listen( PORT );"
|
||||
]
|
||||
},
|
||||
"ExpressJS-Route": {
|
||||
"prefix": "jsEjsRoute",
|
||||
"body": "\n\napp.get( '$1', ( request, response ) => {\n$4\n} );"
|
||||
},
|
||||
"JSAsync": {
|
||||
"prefix": "jsAsync",
|
||||
"body": "(async () => {\n$1\n} ) ();"
|
||||
},
|
||||
"JSpromiseReturnFunc": {
|
||||
"prefix": "jsPromise",
|
||||
"body": "function $1 () {\n\treturn new Promise( ( resolve, reject ) => {\n\t$2\n\t} );\n}"
|
||||
},
|
||||
"fetch from other url": {
|
||||
"prefix": "remoteURL",
|
||||
"body": [
|
||||
"localStorage.getItem( 'url' ) + '/$1'",
|
||||
],
|
||||
"description": "remote URL fetching (get from base address from local storage)"
|
||||
},
|
||||
"fetch post": {
|
||||
"prefix": "fetchPost",
|
||||
"body": [
|
||||
"const fetchOptions = {",
|
||||
"\tmethod: 'post',",
|
||||
"\tbody: JSON.stringify( $1 ),",
|
||||
"\tcredentials: 'include',",
|
||||
"\theaders: {",
|
||||
"\t\t'Content-Type': 'application/json',",
|
||||
"\t\t'charset': 'utf-8'",
|
||||
"\t}",
|
||||
"};",
|
||||
"fetch( $2, fetchOptions ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"fetch get": {
|
||||
"prefix": "fetchGet",
|
||||
"body": [
|
||||
"fetch( $2, { credentials: 'include' } ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"promise": {
|
||||
"prefix": "promise",
|
||||
"body": [
|
||||
"return new Promise( ( resolve, reject ) => {",
|
||||
"\t",
|
||||
"} );"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,361 @@
|
||||
{
|
||||
// Place your snippets for latex here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
// Place your snippets for tex here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"Formula (old)": {
|
||||
"prefix": "formulaBare",
|
||||
"body": [
|
||||
"\\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,title=Formula: $1]",
|
||||
"\t$2",
|
||||
"\\end{tcolorbox}",
|
||||
],
|
||||
"description": "Red tcolorbox to provide a formula (without the default setup)"
|
||||
},
|
||||
"Prepare Latex doc (old)": {
|
||||
"prefix": "LaTeX-Prepare-Old",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"% Imports %",
|
||||
"\\usepackage{amsmath}",
|
||||
"\\usepackage{graphicx}",
|
||||
"\\usepackage{subcaption}",
|
||||
"\\usepackage[export]{adjustbox}",
|
||||
"\\usepackage{tcolorbox}",
|
||||
"\\usepackage{xcolor}",
|
||||
"\\usepackage{cancel}",
|
||||
"\\usepackage{dsfont}",
|
||||
"\\usepackage{amssymb}",
|
||||
"\\usepackage[a4paper]{geometry}",
|
||||
"\\usepackage{parskip}\n",
|
||||
"% Setup %",
|
||||
"\\title{\\Huge \\textbf{$1}}",
|
||||
"\\author{Janis Hutz}\n",
|
||||
"% Configuring %",
|
||||
"\\addtolength{\\oddsidemargin}{-0.75in}",
|
||||
"\\addtolength{\\textwidth}{1.5in}",
|
||||
"\\addtolength{\\evensidemargin}{-0.75in}",
|
||||
"\\addtolength{\\topmargin}{-1in}",
|
||||
"\\addtolength{\\textheight}{2in}\n",
|
||||
"% Main doc %",
|
||||
"\\begin{document}",
|
||||
"\\maketitle",
|
||||
"$2",
|
||||
"\\end{document}",
|
||||
],
|
||||
"description": "Prepare a LaTeX Document with all relevant imports"
|
||||
},
|
||||
"prepare LaTeX Document (New)": {
|
||||
"prefix": "latex-prepare",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"\\input{~/projects/generalSchool/helpers.tex}\n",
|
||||
"\\setup{$1}\n",
|
||||
"\\begin{document}",
|
||||
"\\maketitle",
|
||||
"\\pagestyle{fancy}",
|
||||
"\\thispagestyle{fancy}\n\n",
|
||||
"$2\n\n",
|
||||
"\\end{document}"
|
||||
],
|
||||
"description": "Prepares a full LaTeX Document for use and compiling"
|
||||
},
|
||||
"Fancy table": {
|
||||
"prefix": "table",
|
||||
"body": [
|
||||
"\\begin{tabular}[h!]{|$1|}",
|
||||
"\t\\hline",
|
||||
"\t\\rowcolor{$2}\\multicolumn{$3}{|c|}{$4}\\",
|
||||
"\t\\hline",
|
||||
"\t$5\\\\\\",
|
||||
"\t\\hline",
|
||||
"\\end{tabular}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a formula (red)"
|
||||
},
|
||||
"Formula (new)": {
|
||||
"prefix": "formula",
|
||||
"body": [
|
||||
"\\begin{formula}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{formula}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a formula (red)"
|
||||
},
|
||||
"Definition (new)": {
|
||||
"prefix": "definition",
|
||||
"body": [
|
||||
"\\begin{definition}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{definition}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a definition (blue)"
|
||||
},
|
||||
"Recall (new)": {
|
||||
"prefix": "recall",
|
||||
"body": [
|
||||
"\\begin{recall}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{recall}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a recall / revision of previous knowledge (yellow)"
|
||||
},
|
||||
"Important Remarks (new)": {
|
||||
"prefix": "remarks",
|
||||
"body": [
|
||||
"\\begin{remarks}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{remarks}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide remarks (green)"
|
||||
},
|
||||
"Guides (new)": {
|
||||
"prefix": "guides",
|
||||
"body": [
|
||||
"\\begin{guides}[]{$1}{${2:Usage}}",
|
||||
"\t$2",
|
||||
"\\end{guides}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide guides / instructions on how to use (purple)"
|
||||
},
|
||||
"Properties (new)": {
|
||||
"prefix": "properties",
|
||||
"body": [
|
||||
"\\begin{properties}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{properties}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about properties / restrictions / limitations"
|
||||
},
|
||||
"Restrictions (new)": {
|
||||
"prefix": "restrictions",
|
||||
"body": [
|
||||
"\\begin{restrictions}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{restrictions}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about restrictions"
|
||||
},
|
||||
"Limitations (new)": {
|
||||
"prefix": "limitations",
|
||||
"body": [
|
||||
"\\begin{limitations}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{limitations}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about limitations"
|
||||
},
|
||||
"Theorem (new)": {
|
||||
"prefix": "theorem",
|
||||
"body": [
|
||||
"\\begin{theorem}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{theorem}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about theorems"
|
||||
},
|
||||
"Lemma (new)": {
|
||||
"prefix": "lemma",
|
||||
"body": [
|
||||
"\\begin{lemma}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{lemma}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about lemmas"
|
||||
},
|
||||
"Corollary (new)": {
|
||||
"prefix": "corollary",
|
||||
"body": [
|
||||
"\\begin{corollary}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{corollary}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about corollaries"
|
||||
},
|
||||
"Terms (new)": {
|
||||
"prefix": "terms",
|
||||
"body": [
|
||||
"\\begin{terms}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{terms}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about terms"
|
||||
},
|
||||
"Proof (new)": {
|
||||
"prefix": "proof",
|
||||
"body": [
|
||||
"\\begin{proof}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{proof}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show a proof"
|
||||
},
|
||||
"Axiom (new)": {
|
||||
"prefix": "axiom",
|
||||
"body": [
|
||||
"\\begin{axiom}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{axiom}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show an axiom"
|
||||
},
|
||||
"Notation (new)": {
|
||||
"prefix": "notation",
|
||||
"body": [
|
||||
"\\begin{notation}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{notation}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show notation"
|
||||
},
|
||||
"Example (new)": {
|
||||
"prefix": "example",
|
||||
"body": [
|
||||
"\\begin{example}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{example}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show example"
|
||||
},
|
||||
"Usage (languages, new)": {
|
||||
"prefix": "usage",
|
||||
"body": [
|
||||
"\\begin{usage}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{usage}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about usage in a language context"
|
||||
},
|
||||
"Conjugation (languages, new)": {
|
||||
"prefix": "conjugation",
|
||||
"body": [
|
||||
"\\begin{conjugation}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{conjugation}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about conjugation"
|
||||
},
|
||||
"Forms (languages, new)": {
|
||||
"prefix": "forms",
|
||||
"body": [
|
||||
"\\begin{forms}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{forms}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about forms of e.g. grammatical structures"
|
||||
},
|
||||
"General-Tcolorbox (new)": {
|
||||
"prefix": "general-tcb",
|
||||
"body": [
|
||||
"\\begin{general}[]{${1:title}}{${2:second title}}{${3|red,green,blue,cyan,magenta,yellow,black,gray,white,darkgray,lightgray,brown,lime,olive,orange,pink,purple,teal,violet|}}",
|
||||
"\t$4",
|
||||
"\\end{general}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox for general purposes. First bracket is title, second one is second title, third one colour"
|
||||
},
|
||||
"Derivative": {
|
||||
"prefix": "derivative",
|
||||
"body": [
|
||||
"\\frac{\\mbox{d}}{\\mbox{d}x}$1"
|
||||
]
|
||||
},
|
||||
"Example (inline)": {
|
||||
"prefix": "example-inline",
|
||||
"body": [
|
||||
"\\inlineex"
|
||||
]
|
||||
},
|
||||
"bold": {
|
||||
"prefix": "#bold",
|
||||
"body": [
|
||||
"\\textbf{$1}"
|
||||
]
|
||||
},
|
||||
"italic": {
|
||||
"prefix": "#i",
|
||||
"body": [
|
||||
"\\textit{$1}"
|
||||
]
|
||||
},
|
||||
"bolditalic": {
|
||||
"prefix": "#bi",
|
||||
"body": [
|
||||
"\\textbf{\\textit{$1}}"
|
||||
]
|
||||
},
|
||||
"underlinie": {
|
||||
"prefix": "#u",
|
||||
"body": [
|
||||
"\\underbar{$1}"
|
||||
]
|
||||
},
|
||||
"algebra": {
|
||||
"prefix": "algebra",
|
||||
"body": [
|
||||
"\\langle $1 \\rangle"
|
||||
]
|
||||
},
|
||||
"fill-width": {
|
||||
"prefix": "#fill",
|
||||
"body": [
|
||||
"\\hspace{\\fill}$1"
|
||||
]
|
||||
},
|
||||
"Latex-Colour": {
|
||||
"prefix": "colour",
|
||||
"body": [
|
||||
"${1|red,green,blue,cyan,magenta,yellow,black,gray,white,darkgray,lightgray,brown,lime,olive,orange,pink,purple,teal,violet|}"
|
||||
]
|
||||
},
|
||||
"Latex-Text-Colour": {
|
||||
"prefix": "colour-text",
|
||||
"body": [
|
||||
"\\color{${1|red,green,blue,cyan,magenta,yellow,black,gray,white,darkgray,lightgray,brown,lime,olive,orange,pink,purple,teal,violet|}}"
|
||||
]
|
||||
},
|
||||
"German doc": {
|
||||
"prefix": "latex-german",
|
||||
"body": [
|
||||
"\\usepackage[ngerman]{babel}",
|
||||
"\\setcounter{lang}{2} % Move below \\begin{document}",
|
||||
]
|
||||
},
|
||||
"Letter": {
|
||||
"prefix": "latex-letter",
|
||||
"body": [
|
||||
"\\documentclass[12pt,a4paper]{scrlttr2}\n",
|
||||
"\\input{~/projects/generalSchool/letter-helpers.tex}\n",
|
||||
"% Subject",
|
||||
"\\setkomavar{subject}{$1}",
|
||||
"\\begin{document}\\raggedright",
|
||||
"\t\\begin{letter}{Company \\\\\\ Name \\\\\\ Address \\\\\\ CH-Place}",
|
||||
"\t\t\\opening{Intro}\n",
|
||||
"\t\t$2\n",
|
||||
"\t\t\\closing{Mit freundlichen Grüssen}",
|
||||
"\t\\end{letter}",
|
||||
"\\end{document}",
|
||||
]
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
// Place your snippets for tex here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"Formula (old)": {
|
||||
"prefix": "formulaBare",
|
||||
"body": [
|
||||
"\\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,title=Formula: $1]",
|
||||
"\t$2",
|
||||
"\\end{tcolorbox}",
|
||||
],
|
||||
"description": "Red tcolorbox to provide a formula (without the default setup)"
|
||||
},
|
||||
"Prepare Latex doc (old)": {
|
||||
"prefix": "LaTeX-Prepare-Old",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"% Imports %",
|
||||
"\\usepackage{amsmath}",
|
||||
"\\usepackage{graphicx}",
|
||||
"\\usepackage{subcaption}",
|
||||
"\\usepackage[export]{adjustbox}",
|
||||
"\\usepackage{tcolorbox}",
|
||||
"\\usepackage{xcolor}",
|
||||
"\\usepackage{cancel}",
|
||||
"\\usepackage{dsfont}",
|
||||
"\\usepackage{amssymb}",
|
||||
"\\usepackage[a4paper]{geometry}",
|
||||
"\\usepackage{parskip}\n",
|
||||
"% Setup %",
|
||||
"\\title{\\Huge \\textbf{$1}}",
|
||||
"\\author{Janis Hutz}\n",
|
||||
"% Configuring %",
|
||||
"\\addtolength{\\oddsidemargin}{-0.75in}",
|
||||
"\\addtolength{\\textwidth}{1.5in}",
|
||||
"\\addtolength{\\evensidemargin}{-0.75in}",
|
||||
"\\addtolength{\\topmargin}{-1in}",
|
||||
"\\addtolength{\\textheight}{2in}\n",
|
||||
"% Main doc %",
|
||||
"\\begin{document}",
|
||||
"\\maketitle",
|
||||
"$2",
|
||||
"\\end{document}"
|
||||
],
|
||||
"description": "Prepare a LaTeX Document with all relevant imports"
|
||||
},
|
||||
"prepare LaTeX Document (New)": {
|
||||
"prefix": "latex-prepare",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"\\input{~/projects/generalSchool/helpers.tex}\n",
|
||||
"\\setup{$1}\n",
|
||||
"\\begin{document}",
|
||||
"\\maketitle\n\n",
|
||||
"$2\n\n",
|
||||
"\\end{document}"
|
||||
],
|
||||
"description": "Prepares a full LaTeX Document for use and compiling"
|
||||
},
|
||||
"Formula (new)": {
|
||||
"prefix": "formula",
|
||||
"body": [
|
||||
"\\begin{formula}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{formula}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a formula (red)"
|
||||
},
|
||||
"Definition (new)": {
|
||||
"prefix": "definition",
|
||||
"body": [
|
||||
"\\begin{definition}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{definition}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a definition (blue)"
|
||||
},
|
||||
"Recall (new)": {
|
||||
"prefix": "recall",
|
||||
"body": [
|
||||
"\\begin{recall}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{recall}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a recall / revision of previous knowledge (yellow)"
|
||||
},
|
||||
"Important Remarks (new)": {
|
||||
"prefix": "remarks",
|
||||
"body": [
|
||||
"\\begin{remarks}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{remarks}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide remarks (green)"
|
||||
},
|
||||
"Guides (new)": {
|
||||
"prefix": "guides",
|
||||
"body": [
|
||||
"\\begin{guides}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{guides}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide guides / instructions on how to use (purple)"
|
||||
},
|
||||
"Properties / Restrictions (new)": {
|
||||
"prefix": "properties",
|
||||
"body": [
|
||||
"\\begin{properties}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{properties}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about properties / restrictions / limitations"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"JS-Class": {
|
||||
"prefix": "jsSetupClass",
|
||||
"body": "class $1 { \n\tconstructor () {} \n\n \t$2 () {\n\t$3\n\t}\n}",
|
||||
"description": "Setup the basic structure of a class in JS"
|
||||
},
|
||||
"ExpressJS": {
|
||||
"prefix": "jsExpressSetup",
|
||||
"body": [
|
||||
"const express = require( 'express' );",
|
||||
"let app = express();",
|
||||
"const path = require( 'path' );",
|
||||
"const expressSession = require( 'express-session' );",
|
||||
"const fs = require( 'fs' );",
|
||||
"const bodyParser = require( 'body-parser' );",
|
||||
"const cookieParser = require( 'cookie-parser' )",
|
||||
"const favicon = require( 'serve-favicon' );",
|
||||
"\napp.use( expressSession ( {\n\tsecret: $1,\n\tresave: true,\n\tsaveUninitialized: true\n} ) );",
|
||||
"app.use( bodyParser.urlencoded( { extended: false } ) );",
|
||||
"app.use( bodyParser.json() );",
|
||||
"app.use( cookieParser() );",
|
||||
"app.use( favicon( path.join( __dirname + '$2' ) ) );\n",
|
||||
"app.use( ( request, response, next ) => {\n\tresponse.sendFile( path.join( __dirname + '$3' ) ) \n} );",
|
||||
"\n\napp.get( '/', ( request, response ) => {\n$4\n} );",
|
||||
"\n\nconst PORT = process.env.PORT || 8080;",
|
||||
"http.createServer( app ).listen( PORT );"
|
||||
]
|
||||
},
|
||||
"ExpressJS-Route": {
|
||||
"prefix": "jsEjsRoute",
|
||||
"body": "\n\napp.get( '$1', ( request: express.Request, response: express.Response ) => {\n$4\n} );"
|
||||
},
|
||||
"JSAsync": {
|
||||
"prefix": "jsAsync",
|
||||
"body": "(async () => {\n$1\n} ) ();"
|
||||
},
|
||||
"JSpromiseReturnFunc": {
|
||||
"prefix": "jsPromise",
|
||||
"body": "function $1 () {\n\treturn new Promise( ( resolve, reject ) => {\n\t$2\n\t} );\n}"
|
||||
},
|
||||
"fetch from other url": {
|
||||
"prefix": "remoteURL",
|
||||
"body": [
|
||||
"localStorage.getItem( 'url' ) + '/$1'",
|
||||
],
|
||||
"description": "remote URL fetching (get from base address from local storage)"
|
||||
},
|
||||
"fetch post": {
|
||||
"prefix": "fetchPost",
|
||||
"body": [
|
||||
"const fetchOptions = {",
|
||||
"\tmethod: 'post',",
|
||||
"\tbody: JSON.stringify( $1 ),",
|
||||
"\tcredentials: 'include',",
|
||||
"\theaders: {",
|
||||
"\t\t'Content-Type': 'application/json',",
|
||||
"\t\t'charset': 'utf-8'",
|
||||
"\t}",
|
||||
"};",
|
||||
"fetch( $2, fetchOptions ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"fetch get": {
|
||||
"prefix": "fetchGet",
|
||||
"body": [
|
||||
"fetch( $2, { credentials: 'include' } ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"promise": {
|
||||
"prefix": "promise",
|
||||
"body": [
|
||||
"return new Promise( ( resolve, reject ) => {",
|
||||
"\t",
|
||||
"} );"
|
||||
]
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
// Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log( '$1' );",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// },
|
||||
"script:setup": {
|
||||
"prefix": "script:setup",
|
||||
"body": [
|
||||
"<script setup lang=\"ts\">",
|
||||
"\t$1",
|
||||
"</script>"
|
||||
],
|
||||
"description": "Setup the basic structure of a class in JS"
|
||||
},
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"ignoreUploadFiles": [
|
||||
"state.*",
|
||||
"syncLocalSettings.json",
|
||||
".DS_Store",
|
||||
"sync.lock",
|
||||
"projects.json",
|
||||
"projects_cache_vscode.json",
|
||||
"projects_cache_git.json",
|
||||
"projects_cache_svn.json",
|
||||
"gpm_projects.json",
|
||||
"gpm-recentItems.json"
|
||||
],
|
||||
"ignoreUploadFolders": [
|
||||
"workspaceStorage"
|
||||
],
|
||||
"ignoreExtensions": [],
|
||||
"gistDescription": "Visual Studio Code Settings Sync Gist",
|
||||
"version": 343,
|
||||
"token": "",
|
||||
"downloadPublicGist": false,
|
||||
"supportedFileExtensions": [
|
||||
"json",
|
||||
"code-snippets"
|
||||
],
|
||||
"openTokenLink": true,
|
||||
"disableUpdateMessage": false,
|
||||
"lastUpload": null,
|
||||
"lastDownload": null,
|
||||
"githubEnterpriseUrl": null,
|
||||
"askGistDescription": false,
|
||||
"customFiles": {},
|
||||
"hostName": null,
|
||||
"universalKeybindings": false,
|
||||
"autoUploadDelay": 20
|
||||
}
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extensionsGallery": {
|
||||
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
|
||||
"itemUrl": "https://marketplace.visualstudio.com/items",
|
||||
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
|
||||
"controlUrl": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
[global]
|
||||
follow = mouse
|
||||
indicate_hidden = yes
|
||||
|
||||
offset = 10x10
|
||||
|
||||
notification_height = 0
|
||||
|
||||
separator_height = 2
|
||||
|
||||
padding = 8
|
||||
horizontal_padding = 8
|
||||
text_icon_padding = 0
|
||||
frame_width = 2
|
||||
|
||||
frame_color = "#a6f7ad"
|
||||
separator_color = frame
|
||||
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
font = monospace 10
|
||||
line_height = 0
|
||||
markup = full
|
||||
alignment = left
|
||||
vertical_alignment = center
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
stack_duplicates = true
|
||||
hide_duplicate_count = false
|
||||
|
||||
show_indicators = yes
|
||||
|
||||
min_icon_size = 0
|
||||
max_icon_size = 64
|
||||
|
||||
icon_path = /usr/share/icons/candy-icons/16x16/status/:/usr/share/icons/candy-icons/16x16/devices/:/usr/share/icons/candy-icons/16x16/actions/:/usr/share/icons/candy-icons/16x16/animations/:/usr/share/icons/candy-icons/16x16/apps/:/usr/share/icons/candy-icons/16x16/categories/:/usr/share/icons/candy-icons/16x16/emblems/:/usr/share/icons/candy-icons/16x16/emotes/:/usr/share/icons/candy-icons/16x16/devices/mimetypes:/usr/share/icons/candy-icons/16x16/panel/:/usr/share/icons/candy-icons/16x16/places/
|
||||
|
||||
dmenu = /usr/bin/wofi -p dunst:
|
||||
browser = /usr/bin/firefox --new-tab
|
||||
|
||||
title = Dunst
|
||||
class = Dunst
|
||||
|
||||
corner_radius = 10
|
||||
timeout = 5
|
||||
|
||||
[urgency_low]
|
||||
background = "#00003a"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_normal]
|
||||
background = "#00003a"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_critical]
|
||||
background = "#00003a"
|
||||
foreground = "#CDD6F4"
|
||||
frame_color = "#6c0000"
|
||||
Executable
+58
@@ -0,0 +1,58 @@
|
||||
[global]
|
||||
follow = mouse
|
||||
indicate_hidden = yes
|
||||
|
||||
offset = 10x10
|
||||
|
||||
notification_height = 0
|
||||
|
||||
separator_height = 2
|
||||
|
||||
padding = 8
|
||||
horizontal_padding = 8
|
||||
text_icon_padding = 0
|
||||
frame_width = 2
|
||||
|
||||
frame_color = "#cc5c00"
|
||||
separator_color = frame
|
||||
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
font = monospace 10
|
||||
line_height = 0
|
||||
markup = full
|
||||
alignment = left
|
||||
vertical_alignment = center
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
stack_duplicates = true
|
||||
hide_duplicate_count = false
|
||||
|
||||
show_indicators = yes
|
||||
|
||||
min_icon_size = 0
|
||||
max_icon_size = 64
|
||||
|
||||
icon_path = /usr/share/icons/candy-icons/16x16/status/:/usr/share/icons/candy-icons/16x16/devices/:/usr/share/icons/candy-icons/16x16/actions/:/usr/share/icons/candy-icons/16x16/animations/:/usr/share/icons/candy-icons/16x16/apps/:/usr/share/icons/candy-icons/16x16/categories/:/usr/share/icons/candy-icons/16x16/emblems/:/usr/share/icons/candy-icons/16x16/emotes/:/usr/share/icons/candy-icons/16x16/devices/mimetypes:/usr/share/icons/candy-icons/16x16/panel/:/usr/share/icons/candy-icons/16x16/places/
|
||||
|
||||
dmenu = /usr/bin/wofi -p dunst:
|
||||
browser = /usr/bin/firefox --new-tab
|
||||
|
||||
title = Dunst
|
||||
class = Dunst
|
||||
|
||||
corner_radius = 10
|
||||
timeout = 5
|
||||
|
||||
[urgency_low]
|
||||
background = "#000000"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_normal]
|
||||
background = "#000000"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_critical]
|
||||
background = "#000000"
|
||||
foreground = "#CDD6F4"
|
||||
frame_color = "#6c0000"
|
||||
Executable
+111
@@ -0,0 +1,111 @@
|
||||
alias ls='ls -l --color'
|
||||
alias ll='ls -la --color'
|
||||
alias v='nvim'
|
||||
alias c='clear'
|
||||
alias bt='bashtop'
|
||||
alias vicfg='cd ~/.config/nvim/ && nvim'
|
||||
alias fm='thunar .'
|
||||
alias gl='git ls-files --others --exclude-standard'
|
||||
alias gm='gti ls-files -m'
|
||||
alias gpu='git push'
|
||||
alias gp='git pull'
|
||||
alias gc='git commit -a -m'
|
||||
alias ga='git add ./*'
|
||||
|
||||
function y
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
builtin cd -- "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
||||
|
||||
[ -f /usr/share/autojump/autojump.fish ]; and source /usr/share/autojump/autojump.fish
|
||||
|
||||
if status is-interactive
|
||||
function fish_prompt
|
||||
|
||||
# Cache exit status
|
||||
set -l last_status $status
|
||||
|
||||
# Set color for variables in prompt
|
||||
set -l normal (set_color normal)
|
||||
set -l white (set_color FFFFFF)
|
||||
set -l turquoise (set_color 5fdfff)
|
||||
set -l orange (set_color df5f00)
|
||||
set -l hotpink (set_color df005f)
|
||||
set -l blue (set_color blue)
|
||||
set -l limegreen (set_color 87ff00)
|
||||
set -l purple (set_color af5fff)
|
||||
set -l red (set_color e70e0e)
|
||||
|
||||
# Configure __fish_git_prompt
|
||||
set -g __fish_git_prompt_char_stateseparator ' '
|
||||
set -g __fish_git_prompt_color 5fdfff
|
||||
set -g __fish_git_prompt_color_flags df5f00
|
||||
set -g __fish_git_prompt_color_prefix white
|
||||
set -g __fish_git_prompt_color_suffix white
|
||||
set -g __fish_git_prompt_showdirtystate true
|
||||
set -g __fish_git_prompt_showuntrackedfiles true
|
||||
set -g __fish_git_prompt_showstashstate true
|
||||
|
||||
set -g __fish_git_prompt_show_informative_status true
|
||||
|
||||
|
||||
# Only calculate once, to save a few CPU cycles when displaying the prompt
|
||||
if not set -q __fish_prompt_hostname
|
||||
# set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
|
||||
set -g __fish_prompt_hostname $orange(prompt_hostname)(set_color normal)
|
||||
end
|
||||
if not set -q __fish_prompt_char
|
||||
if [ (id -u) -eq 0 ]
|
||||
set -g __fish_prompt_char (set_color red)'λ'(set_color normal)
|
||||
else
|
||||
set -g __fish_prompt_char 'λ'
|
||||
end
|
||||
end
|
||||
|
||||
# change `at` to `ssh` when an interactive ssh session is present
|
||||
if [ "$SSH_TTY" = "" ]
|
||||
set -g location at
|
||||
# set -g __fish_prompt_hostname (set_color orange)(hostname|cut -d . -f 1)
|
||||
else # connected via ssh
|
||||
if [ "$TERM" = "xterm-256color-italic" -o "$TERM" = "tmux-256color" ]
|
||||
set -g location (echo -e "\e[3mssh\e[23m")
|
||||
# set -g ssh_hostname (echo -e $blue$__fish_prompt_hostname)
|
||||
set -g __fish_prompt_hostname $blue(prompt_hostname)(set_color normal)
|
||||
else
|
||||
set -g location ssh
|
||||
# set -g ssh_hostname (echo -e $blue$__fish_prompt_hostname)
|
||||
set -g __fish_prompt_hostname $blue(prompt_hostname)(set_color normal)
|
||||
end
|
||||
end
|
||||
|
||||
if [ (id -u) -eq 0 ]
|
||||
# top line > Superuser
|
||||
echo -n $red'╭─'$hotpink$USER $white$location $__fish_prompt_hostname$white' in '$limegreen(pwd)$turquoise
|
||||
__fish_git_prompt " (%s)"
|
||||
echo
|
||||
# bottom line > Superuser
|
||||
echo -n $red'╰'
|
||||
echo -n $red'─'$__fish_prompt_char $normal
|
||||
else # top line > non superuser's
|
||||
echo -n $white'╭─'$hotpink$USER $white$location $__fish_prompt_hostname$white' in '$limegreen(pwd)$turquoise
|
||||
__fish_git_prompt " (%s)"
|
||||
echo
|
||||
# bottom line > non superuser's
|
||||
echo -n $white'╰'
|
||||
echo -n $white'─'$__fish_prompt_char $normal
|
||||
end
|
||||
|
||||
# NOTE: disable `VIRTUAL_ENV_DISABLE_PROMPT` in `config.fish`
|
||||
# see: https://virtualenv.pypa.io/en/latest/reference/#envvar-VIRTUAL_ENV_DISABLE_PROMPT
|
||||
# support for virtual env name
|
||||
if set -q VIRTUAL_ENV
|
||||
echo -n "($turquoise"(basename "$VIRTUAL_ENV")"$white)"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
Executable
+33
@@ -0,0 +1,33 @@
|
||||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:blue
|
||||
SETUVAR fish_color_comment:red
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:green
|
||||
SETUVAR fish_color_error:brred
|
||||
SETUVAR fish_color_escape:brcyan
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:brcyan
|
||||
SETUVAR fish_color_param:cyan
|
||||
SETUVAR fish_color_quote:yellow
|
||||
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:normal
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
|
||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
SETUVAR fish_user_paths:/usr/lib/python3\x2e11/site\x2dpackages\x1e/usr/lib/python3\x2e11\x1e/usr/lib/python3\x2e11/site\x2dpackages/\x1e/home/janis/\x2elocal/lib/python3\x2e11/site\x2dpackages/\x1e/home/janis/\x2elocal/lib/python3\x2e11/
|
||||
@@ -0,0 +1,51 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Adwaita darker
|
||||
## license: MIT
|
||||
## author: Emil Löfquist (https://github.com/ewal)
|
||||
## upstream: https://github.com/ewal/kitty-adwaita/blob/main/adwaita_darker.conf
|
||||
## blurb: Adwaita darker - based on https://github.com/Mofiqul/adwaita.nvim
|
||||
|
||||
background #000000
|
||||
foreground #deddda
|
||||
|
||||
selection_background #1c1c1c
|
||||
selection_foreground #c0bfbc
|
||||
|
||||
url_color #1a5fb4
|
||||
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
cursor #deddda
|
||||
cursor_text_color #000000
|
||||
|
||||
active_border_color #1e1e1e
|
||||
inactive_border_color #282828
|
||||
bell_border_color #ed333b
|
||||
visual_bell_color none
|
||||
|
||||
active_tab_background #101010
|
||||
active_tab_foreground #fcfcfc
|
||||
inactive_tab_background #1c1c1c
|
||||
inactive_tab_foreground #b0afac
|
||||
tab_bar_background none
|
||||
tab_bar_margin_color none
|
||||
|
||||
color0 #000000
|
||||
color1 #ed333b
|
||||
color2 #57e389
|
||||
color3 #ff7800
|
||||
color4 #62a0ea
|
||||
color5 #9141ac
|
||||
color6 #5bc8af
|
||||
color7 #deddda
|
||||
|
||||
color8 #9a9996
|
||||
color9 #f66151
|
||||
color10 #8ff0a4
|
||||
color11 #ffa348
|
||||
color12 #99c1f1
|
||||
color13 #dc8add
|
||||
color14 #93ddc2
|
||||
color15 #f6f5f4
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Executable
+94
@@ -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
|
||||
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
#!/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 /bin/brightnessctl ]]; then
|
||||
BNESS="$(brightnessctl get)"
|
||||
MAX="$(brightnessctl max)"
|
||||
PERC="$((BNESS*100/MAX))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -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
|
||||
|
||||
+22
@@ -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"
|
||||
+24
@@ -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;
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
width: 100px;
|
||||
location: east;
|
||||
x-offset: -15px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 5;
|
||||
margin: 8px;
|
||||
spacing: 8px;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 26px 26px 26px 26px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 10px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground;
|
||||
}
|
||||
+24
@@ -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;
|
||||
}
|
||||
Executable
+76
@@ -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
|
||||
+94
@@ -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
|
||||
+60
@@ -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
|
||||
|
||||
+48
@@ -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
|
||||
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
width: 100px;
|
||||
location: east;
|
||||
x-offset: -15px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 6;
|
||||
margin: 8px;
|
||||
spacing: 8px;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 26px 26px 26px 26px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
width: 100px;
|
||||
location: east;
|
||||
x-offset: -15px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 3;
|
||||
margin: 8px;
|
||||
spacing: 8px;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 26px 26px 26px 26px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
+56
@@ -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
|
||||
|
||||
Executable
+95
@@ -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
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
#!/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 /bin/brightnessctl ]]; then
|
||||
BNESS="$(brightnessctl get)"
|
||||
MAX="$(brightnessctl max)"
|
||||
PERC="$((BNESS*100/MAX))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -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
|
||||
|
||||
+65
@@ -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
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 10px 40px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 30px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 3px 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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 3px 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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 30px 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;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 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;
|
||||
}
|
||||
Executable
+78
@@ -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
|
||||
+68
@@ -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
|
||||
|
||||
+98
@@ -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=$($HOME/.config/rofi/bin/usedcpu)
|
||||
memory=$($HOME/.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
|
||||
+62
@@ -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
|
||||
|
||||
+50
@@ -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
|
||||
|
||||
+15
@@ -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"
|
||||
Executable
+24
@@ -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)"
|
||||
+58
@@ -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
|
||||
|
||||
Executable
+95
@@ -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
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
#!/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 /bin/brightnessctl ]]; then
|
||||
BNESS="$(brightnessctl get)"
|
||||
MAX="$(brightnessctl max)"
|
||||
PERC="$((BNESS*100/MAX))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -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 /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -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
|
||||
|
||||
Executable
+65
@@ -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
|
||||
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 48";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 60px 0px 60px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
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 {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 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;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user