Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
183747bf9c | ||
|
|
fb23b9e42f | ||
|
|
4ef413de4f | ||
|
|
169e2b2fe8 | ||
|
|
835914c49d | ||
|
|
b3377effad |
@@ -1 +0,0 @@
|
|||||||
--theme="Catppuccin Macchiato"
|
|
||||||
@@ -1,248 +0,0 @@
|
|||||||
#? Config file for btop v. 1.3.2
|
|
||||||
|
|
||||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
|
||||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
|
||||||
color_theme = "/home/thomas/.config/btop/themes/catppuccin_macchiato.theme"
|
|
||||||
|
|
||||||
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
|
||||||
theme_background = True
|
|
||||||
|
|
||||||
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
|
||||||
truecolor = True
|
|
||||||
|
|
||||||
#* Set to true to force tty mode regardless if a real tty has been detected or not.
|
|
||||||
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
|
|
||||||
force_tty = False
|
|
||||||
|
|
||||||
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
|
|
||||||
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
|
|
||||||
#* Use whitespace " " as separator between different presets.
|
|
||||||
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
|
|
||||||
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
|
|
||||||
|
|
||||||
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
|
|
||||||
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
|
|
||||||
vim_keys = False
|
|
||||||
|
|
||||||
#* Rounded corners on boxes, is ignored if TTY mode is ON.
|
|
||||||
rounded_corners = True
|
|
||||||
|
|
||||||
#* Default symbols to use for graph creation, "braille", "block" or "tty".
|
|
||||||
#* "braille" offers the highest resolution but might not be included in all fonts.
|
|
||||||
#* "block" has half the resolution of braille but uses more common characters.
|
|
||||||
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
|
|
||||||
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
|
|
||||||
graph_symbol = "braille"
|
|
||||||
|
|
||||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
|
||||||
graph_symbol_cpu = "default"
|
|
||||||
|
|
||||||
# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
|
|
||||||
graph_symbol_gpu = "default"
|
|
||||||
|
|
||||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
|
||||||
graph_symbol_mem = "default"
|
|
||||||
|
|
||||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
|
||||||
graph_symbol_net = "default"
|
|
||||||
|
|
||||||
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
|
||||||
graph_symbol_proc = "default"
|
|
||||||
|
|
||||||
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
|
|
||||||
shown_boxes = "cpu mem net proc"
|
|
||||||
|
|
||||||
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
|
||||||
update_ms = 1000
|
|
||||||
|
|
||||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
|
||||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
|
||||||
proc_sorting = "cpu direct"
|
|
||||||
|
|
||||||
#* Reverse sorting order, True or False.
|
|
||||||
proc_reversed = False
|
|
||||||
|
|
||||||
#* Show processes as a tree.
|
|
||||||
proc_tree = False
|
|
||||||
|
|
||||||
#* Use the cpu graph colors in the process list.
|
|
||||||
proc_colors = True
|
|
||||||
|
|
||||||
#* Use a darkening gradient in the process list.
|
|
||||||
proc_gradient = True
|
|
||||||
|
|
||||||
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
|
|
||||||
proc_per_core = False
|
|
||||||
|
|
||||||
#* Show process memory as bytes instead of percent.
|
|
||||||
proc_mem_bytes = True
|
|
||||||
|
|
||||||
#* Show cpu graph for each process.
|
|
||||||
proc_cpu_graphs = True
|
|
||||||
|
|
||||||
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
|
|
||||||
proc_info_smaps = False
|
|
||||||
|
|
||||||
#* Show proc box on left side of screen instead of right.
|
|
||||||
proc_left = False
|
|
||||||
|
|
||||||
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
|
||||||
proc_filter_kernel = False
|
|
||||||
|
|
||||||
#* In tree-view, always accumulate child process resources in the parent process.
|
|
||||||
proc_aggregate = False
|
|
||||||
|
|
||||||
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
|
|
||||||
#* Select from a list of detected attributes from the options menu.
|
|
||||||
cpu_graph_upper = "Auto"
|
|
||||||
|
|
||||||
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
|
|
||||||
#* Select from a list of detected attributes from the options menu.
|
|
||||||
cpu_graph_lower = "Auto"
|
|
||||||
|
|
||||||
#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
|
|
||||||
show_gpu_info = "Auto"
|
|
||||||
|
|
||||||
#* Toggles if the lower CPU graph should be inverted.
|
|
||||||
cpu_invert_lower = True
|
|
||||||
|
|
||||||
#* Set to True to completely disable the lower CPU graph.
|
|
||||||
cpu_single_graph = False
|
|
||||||
|
|
||||||
#* Show cpu box at bottom of screen instead of top.
|
|
||||||
cpu_bottom = False
|
|
||||||
|
|
||||||
#* Shows the system uptime in the CPU box.
|
|
||||||
show_uptime = True
|
|
||||||
|
|
||||||
#* Show cpu temperature.
|
|
||||||
check_temp = True
|
|
||||||
|
|
||||||
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
|
|
||||||
cpu_sensor = "Auto"
|
|
||||||
|
|
||||||
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
|
|
||||||
show_coretemp = True
|
|
||||||
|
|
||||||
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
|
|
||||||
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
|
|
||||||
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
|
|
||||||
#* Example: "4:0 5:1 6:3"
|
|
||||||
cpu_core_map = ""
|
|
||||||
|
|
||||||
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
|
|
||||||
temp_scale = "celsius"
|
|
||||||
|
|
||||||
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
|
|
||||||
base_10_sizes = False
|
|
||||||
|
|
||||||
#* Show CPU frequency.
|
|
||||||
show_cpu_freq = True
|
|
||||||
|
|
||||||
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
|
|
||||||
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
|
|
||||||
clock_format = "%X"
|
|
||||||
|
|
||||||
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
|
|
||||||
background_update = True
|
|
||||||
|
|
||||||
#* Custom cpu model name, empty string to disable.
|
|
||||||
custom_cpu_name = ""
|
|
||||||
|
|
||||||
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
|
|
||||||
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
|
|
||||||
disks_filter = ""
|
|
||||||
|
|
||||||
#* Show graphs instead of meters for memory values.
|
|
||||||
mem_graphs = True
|
|
||||||
|
|
||||||
#* Show mem box below net box instead of above.
|
|
||||||
mem_below_net = False
|
|
||||||
|
|
||||||
#* Count ZFS ARC in cached and available memory.
|
|
||||||
zfs_arc_cached = True
|
|
||||||
|
|
||||||
#* If swap memory should be shown in memory box.
|
|
||||||
show_swap = True
|
|
||||||
|
|
||||||
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
|
|
||||||
swap_disk = True
|
|
||||||
|
|
||||||
#* If mem box should be split to also show disks info.
|
|
||||||
show_disks = True
|
|
||||||
|
|
||||||
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
|
|
||||||
only_physical = True
|
|
||||||
|
|
||||||
#* Read disks list from /etc/fstab. This also disables only_physical.
|
|
||||||
use_fstab = True
|
|
||||||
|
|
||||||
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
|
|
||||||
zfs_hide_datasets = False
|
|
||||||
|
|
||||||
#* Set to true to show available disk space for privileged users.
|
|
||||||
disk_free_priv = False
|
|
||||||
|
|
||||||
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
|
|
||||||
show_io_stat = True
|
|
||||||
|
|
||||||
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
|
|
||||||
io_mode = False
|
|
||||||
|
|
||||||
#* Set to True to show combined read/write io graphs in io mode.
|
|
||||||
io_graph_combined = False
|
|
||||||
|
|
||||||
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
|
|
||||||
#* Example: "/mnt/media:100 /:20 /boot:1".
|
|
||||||
io_graph_speeds = ""
|
|
||||||
|
|
||||||
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
|
|
||||||
net_download = 100
|
|
||||||
|
|
||||||
net_upload = 100
|
|
||||||
|
|
||||||
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
|
|
||||||
net_auto = False
|
|
||||||
|
|
||||||
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
|
|
||||||
net_sync = True
|
|
||||||
|
|
||||||
#* Starts with the Network Interface specified here.
|
|
||||||
net_iface = ""
|
|
||||||
|
|
||||||
#* Show battery stats in top right if battery is present.
|
|
||||||
show_battery = True
|
|
||||||
|
|
||||||
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
|
||||||
selected_battery = "Auto"
|
|
||||||
|
|
||||||
#* Show power stats of battery next to charge indicator.
|
|
||||||
show_battery_watts = True
|
|
||||||
|
|
||||||
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
|
||||||
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
|
||||||
log_level = "WARNING"
|
|
||||||
|
|
||||||
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
|
|
||||||
nvml_measure_pcie_speeds = True
|
|
||||||
|
|
||||||
#* Horizontally mirror the GPU graph.
|
|
||||||
gpu_mirror_graph = True
|
|
||||||
|
|
||||||
#* Custom gpu0 model name, empty string to disable.
|
|
||||||
custom_gpu_name0 = ""
|
|
||||||
|
|
||||||
#* Custom gpu1 model name, empty string to disable.
|
|
||||||
custom_gpu_name1 = ""
|
|
||||||
|
|
||||||
#* Custom gpu2 model name, empty string to disable.
|
|
||||||
custom_gpu_name2 = ""
|
|
||||||
|
|
||||||
#* Custom gpu3 model name, empty string to disable.
|
|
||||||
custom_gpu_name3 = ""
|
|
||||||
|
|
||||||
#* Custom gpu4 model name, empty string to disable.
|
|
||||||
custom_gpu_name4 = ""
|
|
||||||
|
|
||||||
#* Custom gpu5 model name, empty string to disable.
|
|
||||||
custom_gpu_name5 = ""
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
2024/05/15 (14:39:27) | ===> btop++ v.1.3.2
|
|
||||||
2024/05/15 (14:39:27) | ERROR: Stall in Runner thread, restarting!
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
# Main background, empty for terminal default, need to be empty if you want transparent background
|
|
||||||
theme[main_bg]="#24273A"
|
|
||||||
|
|
||||||
# Main text color
|
|
||||||
theme[main_fg]="#CAD3F5"
|
|
||||||
|
|
||||||
# Title color for boxes
|
|
||||||
theme[title]="#CAD3F5"
|
|
||||||
|
|
||||||
# Highlight color for keyboard shortcuts
|
|
||||||
theme[hi_fg]="#8AADF4"
|
|
||||||
|
|
||||||
# Background color of selected item in processes box
|
|
||||||
theme[selected_bg]="#494D64"
|
|
||||||
|
|
||||||
# Foreground color of selected item in processes box
|
|
||||||
theme[selected_fg]="#8AADF4"
|
|
||||||
|
|
||||||
# Color of inactive/disabled text
|
|
||||||
theme[inactive_fg]="#8087A2"
|
|
||||||
|
|
||||||
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
|
|
||||||
theme[graph_text]="#F4DBD6"
|
|
||||||
|
|
||||||
# Background color of the percentage meters
|
|
||||||
theme[meter_bg]="#494D64"
|
|
||||||
|
|
||||||
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
|
||||||
theme[proc_misc]="#F4DBD6"
|
|
||||||
|
|
||||||
# CPU, Memory, Network, Proc box outline colors
|
|
||||||
theme[cpu_box]="#c6a0f6" #Mauve
|
|
||||||
theme[mem_box]="#a6da95" #Green
|
|
||||||
theme[net_box]="#ee99a0" #Maroon
|
|
||||||
theme[proc_box]="#8aadf4" #Blue
|
|
||||||
|
|
||||||
# Box divider line and small boxes line color
|
|
||||||
theme[div_line]="#6E738D"
|
|
||||||
|
|
||||||
# Temperature graph color (Green -> Yellow -> Red)
|
|
||||||
theme[temp_start]="#a6da95"
|
|
||||||
theme[temp_mid]="#eed49f"
|
|
||||||
theme[temp_end]="#ed8796"
|
|
||||||
|
|
||||||
# CPU graph colors (Teal -> Lavender)
|
|
||||||
theme[cpu_start]="#8bd5ca"
|
|
||||||
theme[cpu_mid]="#7dc4e4"
|
|
||||||
theme[cpu_end]="#b7bdf8"
|
|
||||||
|
|
||||||
# Mem/Disk free meter (Mauve -> Lavender -> Blue)
|
|
||||||
theme[free_start]="#c6a0f6"
|
|
||||||
theme[free_mid]="#b7bdf8"
|
|
||||||
theme[free_end]="#8aadf4"
|
|
||||||
|
|
||||||
# Mem/Disk cached meter (Sapphire -> Lavender)
|
|
||||||
theme[cached_start]="#7dc4e4"
|
|
||||||
theme[cached_mid]="#8aadf4"
|
|
||||||
theme[cached_end]="#b7bdf8"
|
|
||||||
|
|
||||||
# Mem/Disk available meter (Peach -> Red)
|
|
||||||
theme[available_start]="#f5a97f"
|
|
||||||
theme[available_mid]="#ee99a0"
|
|
||||||
theme[available_end]="#ed8796"
|
|
||||||
|
|
||||||
# Mem/Disk used meter (Green -> Sky)
|
|
||||||
theme[used_start]="#a6da95"
|
|
||||||
theme[used_mid]="#8bd5ca"
|
|
||||||
theme[used_end]="#91d7e3"
|
|
||||||
|
|
||||||
# Download graph colors (Peach -> Red)
|
|
||||||
theme[download_start]="#f5a97f"
|
|
||||||
theme[download_mid]="#ee99a0"
|
|
||||||
theme[download_end]="#ed8796"
|
|
||||||
|
|
||||||
# Upload graph colors (Green -> Sky)
|
|
||||||
theme[upload_start]="#a6da95"
|
|
||||||
theme[upload_mid]="#8bd5ca"
|
|
||||||
theme[upload_end]="#91d7e3"
|
|
||||||
|
|
||||||
# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve)
|
|
||||||
theme[process_start]="#7dc4e4"
|
|
||||||
theme[process_mid]="#b7bdf8"
|
|
||||||
theme[process_end]="#c6a0f6"
|
|
||||||
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 278 KiB |
@@ -1,272 +0,0 @@
|
|||||||
|
|
||||||
# #######################################################################################
|
|
||||||
# AUTOGENERATED HYPR CONFIG.
|
|
||||||
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
|
||||||
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
|
||||||
# #######################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# This is an example Hyprland config file.
|
|
||||||
# Refer to the wiki for more information.
|
|
||||||
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
|
||||||
|
|
||||||
# Please note not all available settings / options are set here.
|
|
||||||
# For a full list, see the wiki
|
|
||||||
|
|
||||||
# You can split this configuration into multiple files
|
|
||||||
# Create your files separately and then link them to this file like this:
|
|
||||||
source = ~/.config/hypr/macchiato.conf
|
|
||||||
|
|
||||||
|
|
||||||
################
|
|
||||||
### MONITORS ###
|
|
||||||
################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
|
||||||
monitor=DP-3,3440x1440@144,auto,auto
|
|
||||||
|
|
||||||
###################
|
|
||||||
### MY PROGRAMS ###
|
|
||||||
###################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
|
||||||
|
|
||||||
# Set programs that you use
|
|
||||||
$terminal = kitty
|
|
||||||
$fileManager = nautilus
|
|
||||||
$menu = wofi --show drun
|
|
||||||
|
|
||||||
|
|
||||||
#################
|
|
||||||
### AUTOSTART ###
|
|
||||||
#################
|
|
||||||
|
|
||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
|
||||||
# Or execute your favorite apps at launch like this:
|
|
||||||
|
|
||||||
# exec-once = $terminal
|
|
||||||
# exec-once = nm-applet &
|
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
|
||||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
||||||
exec-once = flatpak run com.core447.StreamController
|
|
||||||
exec-once = ags & discord
|
|
||||||
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
|
||||||
|
|
||||||
|
|
||||||
#############################
|
|
||||||
### ENVIRONMENT VARIABLES ###
|
|
||||||
#############################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
|
||||||
|
|
||||||
# Some default env vars. (required for NVIDIA GPU)
|
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
|
||||||
env = XDG_SESSION_TYPE,wayland
|
|
||||||
env = GDM_BACKEND,nvidia-drm
|
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
|
||||||
|
|
||||||
env = XCURSOR_SIZE,24
|
|
||||||
env = HYPRCURSOR_SIZE,24
|
|
||||||
|
|
||||||
|
|
||||||
#####################
|
|
||||||
### LOOK AND FEEL ###
|
|
||||||
#####################
|
|
||||||
|
|
||||||
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
|
||||||
general {
|
|
||||||
gaps_in = 5
|
|
||||||
gaps_out = 20
|
|
||||||
|
|
||||||
border_size = 2
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
|
||||||
col.active_border = $blue $sky 45deg
|
|
||||||
col.inactive_border = $surface0
|
|
||||||
|
|
||||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
|
||||||
resize_on_border = false
|
|
||||||
|
|
||||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
|
||||||
allow_tearing = false
|
|
||||||
|
|
||||||
layout = dwindle
|
|
||||||
}
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
|
||||||
decoration {
|
|
||||||
rounding = 10
|
|
||||||
|
|
||||||
# Change transparency of focused and unfocused windows
|
|
||||||
active_opacity = 1.0
|
|
||||||
inactive_opacity = 1.0
|
|
||||||
|
|
||||||
drop_shadow = true
|
|
||||||
shadow_range = 4
|
|
||||||
shadow_render_power = 3
|
|
||||||
col.shadow = $crust
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
|
||||||
blur {
|
|
||||||
enabled = true
|
|
||||||
size = 3
|
|
||||||
passes = 1
|
|
||||||
|
|
||||||
vibrancy = 0.1696
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
|
||||||
animations {
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
|
||||||
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
|
||||||
|
|
||||||
animation = windows, 1, 7, myBezier
|
|
||||||
animation = windowsOut, 1, 7, default, popin 80%
|
|
||||||
animation = border, 1, 10, default
|
|
||||||
animation = borderangle, 1, 8, default
|
|
||||||
animation = fade, 1, 7, default
|
|
||||||
animation = workspaces, 1, 6, default
|
|
||||||
}
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
|
||||||
dwindle {
|
|
||||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
||||||
preserve_split = true # You probably want this
|
|
||||||
}
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
|
||||||
master {
|
|
||||||
new_status = master
|
|
||||||
}
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
|
||||||
misc {
|
|
||||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
|
||||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#############
|
|
||||||
### INPUT ###
|
|
||||||
#############
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
|
||||||
input {
|
|
||||||
kb_layout = fr
|
|
||||||
kb_variant =
|
|
||||||
kb_model =
|
|
||||||
kb_options =
|
|
||||||
kb_rules =
|
|
||||||
|
|
||||||
follow_mouse = 1
|
|
||||||
|
|
||||||
sensitivity = -0.4 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
|
|
||||||
touchpad {
|
|
||||||
natural_scroll = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
|
||||||
gestures {
|
|
||||||
workspace_swipe = false
|
|
||||||
}
|
|
||||||
|
|
||||||
# Example per-device config
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
|
||||||
device {
|
|
||||||
name = epic-mouse-v1
|
|
||||||
sensitivity = -0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
####################
|
|
||||||
### KEYBINDINGSS ###
|
|
||||||
####################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
|
||||||
|
|
||||||
source = ~/.config/hypr/keybinds.conf
|
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
||||||
bind = $mainMod, Q, exec, $terminal
|
|
||||||
bind = $mainMod, C, killactive,
|
|
||||||
bind = $mainMod, M, exit,
|
|
||||||
bind = $mainMod, E, exec, $fileManager
|
|
||||||
bind = $mainMod, V, togglefloating,
|
|
||||||
bind = $mainMod, R, exec, $menu
|
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
|
||||||
bind = $mainMod, J, movefocus, l
|
|
||||||
bind = $mainMod, L, movefocus, r
|
|
||||||
bind = $mainMod, I, movefocus, u
|
|
||||||
bind = $mainMod, K, movefocus, d
|
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9] (AZERTY FIX)
|
|
||||||
bind = $mainMod, ampersand, workspace, 1
|
|
||||||
bind = $mainMod, eacute, workspace, 2
|
|
||||||
bind = $mainMod, quotedbl, workspace, 3
|
|
||||||
bind = $mainMod, apostrophe, workspace, 4
|
|
||||||
bind = $mainMod, parenleft, workspace, 5
|
|
||||||
bind = $mainMod, minus, workspace, 6
|
|
||||||
bind = $mainMod, egrave, workspace, 7
|
|
||||||
bind = $mainMod, underscore, workspace, 8
|
|
||||||
bind = $mainMod, ccedilla, workspace, 9
|
|
||||||
bind = $mainMod, agrave, workspace, 10
|
|
||||||
|
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9] (AZERTY FIX)
|
|
||||||
bind = $mainMod SHIFT, ampersand, movetoworkspace, 1
|
|
||||||
bind = $mainMod SHIFT, eacute, movetoworkspace, 2
|
|
||||||
bind = $mainMod SHIFT, quotedbl, movetoworkspace, 3
|
|
||||||
bind = $mainMod SHIFT, apostrophe, movetoworkspace, 4
|
|
||||||
bind = $mainMod SHIFT, parenleft, movetoworkspace, 5
|
|
||||||
bind = $mainMod SHIFT, minus, movetoworkspace, 6
|
|
||||||
bind = $mainMod SHIFT, egrave, movetoworkspace, 7
|
|
||||||
bind = $mainMod SHIFT, underscore, movetoworkspace, 8
|
|
||||||
bind = $mainMod SHIFT, ccedilla, movetoworkspace, 9
|
|
||||||
bind = $mainMod SHIFT, agrave, movetoworkspace, 10
|
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
|
||||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
### WINDOWS AND WORKSPACES ###
|
|
||||||
##############################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
||||||
|
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:(kitty),title:(kitty)
|
|
||||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
|
||||||
|
|
||||||
source = ~/.config/hypr/windowrules.conf
|
|
||||||
|
|
||||||
@@ -1,96 +0,0 @@
|
|||||||
source = $HOME/.config/hypr/macchiato.conf
|
|
||||||
|
|
||||||
$accent = $mauve
|
|
||||||
$accentAlpha = $mauveAlpha
|
|
||||||
$font = JetBrainsMono Nerd Font
|
|
||||||
|
|
||||||
# GENERAL
|
|
||||||
general {
|
|
||||||
hide_cursor = true
|
|
||||||
no_fade_in = false
|
|
||||||
grace = 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# BACKGROUND
|
|
||||||
background {
|
|
||||||
monitor =
|
|
||||||
path = ~/.config/hypr/assets/images/background.png
|
|
||||||
blur_passes = 2
|
|
||||||
contrast = 0.8916
|
|
||||||
brightness = 0.8172
|
|
||||||
vibrancy = 0.1696
|
|
||||||
vibrancy_darkness = 0.0
|
|
||||||
}
|
|
||||||
|
|
||||||
# TIME
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = cmd[update:1000] echo "<span>$(date +"%H:%M")</span>"
|
|
||||||
color = $text
|
|
||||||
font_size = 130
|
|
||||||
#font_family = SF Pro Display Bold
|
|
||||||
font_family = $font
|
|
||||||
position = 0, 240
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
|
||||||
|
|
||||||
# DATE
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = cmd[update:1000] echo -e "$(date +"%A, %d %B")"
|
|
||||||
color = $text
|
|
||||||
font_size = 30
|
|
||||||
font_family = $font
|
|
||||||
position = 0, 105
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
|
||||||
|
|
||||||
# USER AVATAR
|
|
||||||
image {
|
|
||||||
monitor =
|
|
||||||
path = ~/.config/hypr/assets/images/face.png
|
|
||||||
border_color = $accent
|
|
||||||
border_size = 0
|
|
||||||
size = 120
|
|
||||||
rounding = -1
|
|
||||||
rotate = 0
|
|
||||||
reload_time = -1
|
|
||||||
reload_cmd =
|
|
||||||
position = 0, -20
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
|
||||||
|
|
||||||
# INPUT FIELD
|
|
||||||
input-field {
|
|
||||||
monitor =
|
|
||||||
size = 250, 60
|
|
||||||
outline_thickness = 2
|
|
||||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
|
||||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
|
||||||
dots_center = true
|
|
||||||
outer_color = $accent
|
|
||||||
inner_color = $surface0
|
|
||||||
font_color = $text
|
|
||||||
fade_on_empty = false
|
|
||||||
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
|
||||||
hide_input = false
|
|
||||||
capslock_color = $yellow
|
|
||||||
position = 0, -225
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
|
||||||
|
|
||||||
# CURRENT SONG
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = cmd[update:1000] echo "$(~/.config/hypr/scripts/songdetail.sh)"
|
|
||||||
color = $green
|
|
||||||
font_size = 18
|
|
||||||
font_family = font
|
|
||||||
position = 0, 60
|
|
||||||
halign = center
|
|
||||||
valign = bottom
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
bind = CTRL ALT, T, exec, $terminal
|
|
||||||
bind = ALT, TAB, exec, rofi -show window -theme ~/.config/rofi/launchers/type-2/style-15.rasi
|
|
||||||
bind = , XF86Calculator, exec, gnome-calculator
|
|
||||||
bind = SUPER, space, exec, ~/.config/rofi/launchers/type-2/launcher.sh
|
|
||||||
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
binde =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
|
|
||||||
# Screenshots
|
|
||||||
bind = CTRL SHIFT, print, exec, $HOME/.config/hypr/scripts/screenshots/captureAll.sh
|
|
||||||
bind = CTRL, print, exec, $HOME/.config/hypr/scripts/screenshots/captureScreen.sh
|
|
||||||
bind = , print, exec, $HOME/.config/hypr/scripts/screenshots/captureArea.sh
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
|
|
||||||
$rosewater = rgb(f4dbd6)
|
|
||||||
$rosewaterAlpha = f4dbd6
|
|
||||||
|
|
||||||
$flamingo = rgb(f0c6c6)
|
|
||||||
$flamingoAlpha = f0c6c6
|
|
||||||
|
|
||||||
$pink = rgb(f5bde6)
|
|
||||||
$pinkAlpha = f5bde6
|
|
||||||
|
|
||||||
$mauve = rgb(c6a0f6)
|
|
||||||
$mauveAlpha = c6a0f6
|
|
||||||
|
|
||||||
$red = rgb(ed8796)
|
|
||||||
$redAlpha = ed8796
|
|
||||||
|
|
||||||
$maroon = rgb(ee99a0)
|
|
||||||
$maroonAlpha = ee99a0
|
|
||||||
|
|
||||||
$peach = rgb(f5a97f)
|
|
||||||
$peachAlpha = f5a97f
|
|
||||||
|
|
||||||
$yellow = rgb(eed49f)
|
|
||||||
$yellowAlpha = eed49f
|
|
||||||
|
|
||||||
$green = rgb(a6da95)
|
|
||||||
$greenAlpha = a6da95
|
|
||||||
|
|
||||||
$teal = rgb(8bd5ca)
|
|
||||||
$tealAlpha = 8bd5ca
|
|
||||||
|
|
||||||
$sky = rgb(91d7e3)
|
|
||||||
$skyAlpha = 91d7e3
|
|
||||||
|
|
||||||
$sapphire = rgb(7dc4e4)
|
|
||||||
$sapphireAlpha = 7dc4e4
|
|
||||||
|
|
||||||
$blue = rgb(8aadf4)
|
|
||||||
$blueAlpha = 8aadf4
|
|
||||||
|
|
||||||
$lavender = rgb(b7bdf8)
|
|
||||||
$lavenderAlpha = b7bdf8
|
|
||||||
|
|
||||||
$text = rgb(cad3f5)
|
|
||||||
$textAlpha = cad3f5
|
|
||||||
|
|
||||||
$subtext1 = rgb(b8c0e0)
|
|
||||||
$subtext1Alpha = b8c0e0
|
|
||||||
|
|
||||||
$subtext0 = rgb(a5adcb)
|
|
||||||
$subtext0Alpha = a5adcb
|
|
||||||
|
|
||||||
$overlay2 = rgb(939ab7)
|
|
||||||
$overlay2Alpha = 939ab7
|
|
||||||
|
|
||||||
$overlay1 = rgb(8087a2)
|
|
||||||
$overlay1Alpha = 8087a2
|
|
||||||
|
|
||||||
$overlay0 = rgb(6e738d)
|
|
||||||
$overlay0Alpha = 6e738d
|
|
||||||
|
|
||||||
$surface2 = rgb(5b6078)
|
|
||||||
$surface2Alpha = 5b6078
|
|
||||||
|
|
||||||
$surface1 = rgb(494d64)
|
|
||||||
$surface1Alpha = 494d64
|
|
||||||
|
|
||||||
$surface0 = rgb(363a4f)
|
|
||||||
$surface0Alpha = 363a4f
|
|
||||||
|
|
||||||
$base = rgb(24273a)
|
|
||||||
$baseAlpha = 24273a
|
|
||||||
|
|
||||||
$mantle = rgb(1e2030)
|
|
||||||
$mantleAlpha = 1e2030
|
|
||||||
|
|
||||||
$crust = rgb(181926)
|
|
||||||
$crustAlpha = 181926
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
timeout=0
|
|
||||||
handle() {
|
|
||||||
case $1 in
|
|
||||||
windowtitle*)
|
|
||||||
# Extract the window ID from the line
|
|
||||||
window_id=${1#*>>}
|
|
||||||
|
|
||||||
# Fetch the list of windows and parse it using jq to find the window by its decimal ID
|
|
||||||
window_info=$(hyprctl clients -j | jq --arg id "0x$window_id" '.[] | select(.address == ($id))')
|
|
||||||
|
|
||||||
# Extract the title from the window info
|
|
||||||
window_title=$(echo "$window_info" | jq -r '.title')
|
|
||||||
|
|
||||||
# Check if the title matches the characteristics of the Bitwarden popup window
|
|
||||||
if [[ "$window_title" == *"Extension : (Gestionnaire de mots de passe Bitwarden) - Bitwarden — Mozilla Firefox"* || "$window_title" == "Coinbase Wallet" ]]; then
|
|
||||||
|
|
||||||
# in case of double rename only allow once per second
|
|
||||||
#if ((SECONDS < timeout)); then
|
|
||||||
# return
|
|
||||||
#fi
|
|
||||||
#timeout=$((SECONDS + 1))
|
|
||||||
|
|
||||||
# echo "$window_id", "$window_title"
|
|
||||||
hyprctl --batch "dispatch togglefloating address:0x$window_id; dispatch resizewindowpixel exact 14% 54%,address:0x$window_id; dispatch centerwindow"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
# Listen to the Hyprland socket for events and process each line with the handle function
|
|
||||||
socat -U - UNIX-CONNECT:"$XDG_RUNTIME_DIR"/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock | while read -r line; do handle "$line"; done
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
grim $HOME/Images/Captures\ d’écran/$(date +'%s_grim.png')
|
|
||||||
|
|
||||||
play $HOME/.config/hypr/assets/sounds/camera-shutter.ogg
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
grim -g "$(slurp)" $HOME/Images/Captures\ d’écran/$(date +'%s_grim.png')
|
|
||||||
|
|
||||||
play $HOME/.config/hypr/assets/sounds/camera-shutter.ogg
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
grim -g "$(slurp -o)" $HOME/Images/Captures\ d’écran/$(date +'%s_grim.png')
|
|
||||||
|
|
||||||
play $HOME/.config/hypr/assets/sounds/camera-shutter.ogg
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
song_info=$(playerctl metadata --format '{{title}} {{artist}}')
|
|
||||||
|
|
||||||
echo "$song_info"
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
windowrulev2 = float,class:(org.gnome.Nautilus)
|
|
||||||
windowrulev2 = float,class:(org.gnome.Calculator)
|
|
||||||
windowrulev2 = float,class:(Signal)
|
|
||||||
windowrulev2 = pin,class:(Signal)
|
|
||||||
windowrulev2 = size 15% 70%,class:(Signal)
|
|
||||||
windowrulev2 = move 83% 15%,class:(Signal)
|
|
||||||
|
|
||||||
# REAPER
|
|
||||||
#windowrulev2 = tile,class:(REAPER)
|
|
||||||
windowrulev2 = move cursor,class:REAPER,floating:1
|
|
||||||
windowrulev2 = nofocus,class:REAPER,title:^(menu)$
|
|
||||||
windowrulev2 = nofocus,class:REAPER,title:^$
|
|
||||||
|
|
||||||
#windowrulev2 = float,class:(kitty)
|
|
||||||
windowrulev2 = size 30% 30%,class:(kitty)
|
|
||||||
|
|
||||||
exec-once = ~/.config/hypr/scripts/resize-window.sh
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# vim:ft=kitty
|
|
||||||
|
|
||||||
## name: Catppuccin-Macchiato
|
|
||||||
## author: Pocco81 (https://github.com/Pocco81)
|
|
||||||
## license: MIT
|
|
||||||
## upstream: https://github.com/catppuccin/kitty/blob/main/macchiato.conf
|
|
||||||
## blurb: Soothing pastel theme for the high-spirited!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The basic colors
|
|
||||||
foreground #CAD3F5
|
|
||||||
background #24273A
|
|
||||||
selection_foreground #24273A
|
|
||||||
selection_background #F4DBD6
|
|
||||||
|
|
||||||
# Cursor colors
|
|
||||||
cursor #F4DBD6
|
|
||||||
cursor_text_color #24273A
|
|
||||||
|
|
||||||
# URL underline color when hovering with mouse
|
|
||||||
url_color #F4DBD6
|
|
||||||
|
|
||||||
# Kitty window border colors
|
|
||||||
active_border_color #B7BDF8
|
|
||||||
inactive_border_color #6E738D
|
|
||||||
bell_border_color #EED49F
|
|
||||||
|
|
||||||
# OS Window titlebar colors
|
|
||||||
wayland_titlebar_color system
|
|
||||||
macos_titlebar_color system
|
|
||||||
|
|
||||||
# Tab bar colors
|
|
||||||
active_tab_foreground #181926
|
|
||||||
active_tab_background #C6A0F6
|
|
||||||
inactive_tab_foreground #CAD3F5
|
|
||||||
inactive_tab_background #1E2030
|
|
||||||
tab_bar_background #181926
|
|
||||||
|
|
||||||
# Colors for marks (marked text in the terminal)
|
|
||||||
mark1_foreground #24273A
|
|
||||||
mark1_background #B7BDF8
|
|
||||||
mark2_foreground #24273A
|
|
||||||
mark2_background #C6A0F6
|
|
||||||
mark3_foreground #24273A
|
|
||||||
mark3_background #7DC4E4
|
|
||||||
|
|
||||||
# The 16 terminal colors
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 #494D64
|
|
||||||
color8 #5B6078
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #ED8796
|
|
||||||
color9 #ED8796
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #A6DA95
|
|
||||||
color10 #A6DA95
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #EED49F
|
|
||||||
color11 #EED49F
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #8AADF4
|
|
||||||
color12 #8AADF4
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #F5BDE6
|
|
||||||
color13 #F5BDE6
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #8BD5CA
|
|
||||||
color14 #8BD5CA
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 #B8C0E0
|
|
||||||
color15 #A5ADCB
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
# BEGIN_KITTY_THEME
|
|
||||||
# Catppuccin-Macchiato
|
|
||||||
include current-theme.conf
|
|
||||||
# END_KITTY_THEME
|
|
||||||
|
|
||||||
font_family FiraCode Nerd Font
|
|
||||||
bold_font auto
|
|
||||||
italic_font auto
|
|
||||||
bold_italic_font auto
|
|
||||||
font_size 12.0
|
|
||||||
|
|
||||||
window_padding_width 4
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# vim:ft=dircolors
|
|
||||||
# (This is not a dircolors file but it helps to highlight colors and comments)
|
|
||||||
|
|
||||||
# default values from dircolors
|
|
||||||
# (entries with a leading # are not implemented in lf)
|
|
||||||
# #no 00 # NORMAL
|
|
||||||
# fi 00 # FILE
|
|
||||||
# #rs 0 # RESET
|
|
||||||
# di 01;34 # DIR
|
|
||||||
# ln 01;36 # LINK
|
|
||||||
# #mh 00 # MULTIHARDLINK
|
|
||||||
# pi 40;33 # FIFO
|
|
||||||
# so 01;35 # SOCK
|
|
||||||
# #do 01;35 # DOOR
|
|
||||||
# bd 40;33;01 # BLK
|
|
||||||
# cd 40;33;01 # CHR
|
|
||||||
# or 40;31;01 # ORPHAN
|
|
||||||
# #mi 00 # MISSING
|
|
||||||
# su 37;41 # SETUID
|
|
||||||
# sg 30;43 # SETGID
|
|
||||||
# #ca 30;41 # CAPABILITY
|
|
||||||
# tw 30;42 # STICKY_OTHER_WRITABLE
|
|
||||||
# ow 34;42 # OTHER_WRITABLE
|
|
||||||
# st 37;44 # STICKY
|
|
||||||
# ex 01;32 # EXEC
|
|
||||||
|
|
||||||
# default values from lf (with matching order)
|
|
||||||
# ln 01;36 # LINK
|
|
||||||
# or 31;01 # ORPHAN
|
|
||||||
# tw 01;34 # STICKY_OTHER_WRITABLE
|
|
||||||
# ow 01;34 # OTHER_WRITABLE
|
|
||||||
# st 01;34 # STICKY
|
|
||||||
# di 01;34 # DIR
|
|
||||||
# pi 33 # FIFO
|
|
||||||
# so 01;35 # SOCK
|
|
||||||
# bd 33;01 # BLK
|
|
||||||
# cd 33;01 # CHR
|
|
||||||
# su 01;32 # SETUID
|
|
||||||
# sg 01;32 # SETGID
|
|
||||||
# ex 01;32 # EXEC
|
|
||||||
# fi 00 # FILE
|
|
||||||
|
|
||||||
# file types (with matching order)
|
|
||||||
ln 01;36 # LINK
|
|
||||||
or 31;01 # ORPHAN
|
|
||||||
tw 34 # STICKY_OTHER_WRITABLE
|
|
||||||
ow 34 # OTHER_WRITABLE
|
|
||||||
st 01;34 # STICKY
|
|
||||||
di 01;34 # DIR
|
|
||||||
pi 33 # FIFO
|
|
||||||
so 01;35 # SOCK
|
|
||||||
bd 33;01 # BLK
|
|
||||||
cd 33;01 # CHR
|
|
||||||
su 01;32 # SETUID
|
|
||||||
sg 01;32 # SETGID
|
|
||||||
ex 01;32 # EXEC
|
|
||||||
fi 00 # FILE
|
|
||||||
|
|
||||||
# archives or compressed (dircolors defaults)
|
|
||||||
*.tar 01;31
|
|
||||||
*.tgz 01;31
|
|
||||||
*.arc 01;31
|
|
||||||
*.arj 01;31
|
|
||||||
*.taz 01;31
|
|
||||||
*.lha 01;31
|
|
||||||
*.lz4 01;31
|
|
||||||
*.lzh 01;31
|
|
||||||
*.lzma 01;31
|
|
||||||
*.tlz 01;31
|
|
||||||
*.txz 01;31
|
|
||||||
*.tzo 01;31
|
|
||||||
*.t7z 01;31
|
|
||||||
*.zip 01;31
|
|
||||||
*.z 01;31
|
|
||||||
*.dz 01;31
|
|
||||||
*.gz 01;31
|
|
||||||
*.lrz 01;31
|
|
||||||
*.lz 01;31
|
|
||||||
*.lzo 01;31
|
|
||||||
*.xz 01;31
|
|
||||||
*.zst 01;31
|
|
||||||
*.tzst 01;31
|
|
||||||
*.bz2 01;31
|
|
||||||
*.bz 01;31
|
|
||||||
*.tbz 01;31
|
|
||||||
*.tbz2 01;31
|
|
||||||
*.tz 01;31
|
|
||||||
*.deb 01;31
|
|
||||||
*.rpm 01;31
|
|
||||||
*.jar 01;31
|
|
||||||
*.war 01;31
|
|
||||||
*.ear 01;31
|
|
||||||
*.sar 01;31
|
|
||||||
*.rar 01;31
|
|
||||||
*.alz 01;31
|
|
||||||
*.ace 01;31
|
|
||||||
*.zoo 01;31
|
|
||||||
*.cpio 01;31
|
|
||||||
*.7z 01;31
|
|
||||||
*.rz 01;31
|
|
||||||
*.cab 01;31
|
|
||||||
*.wim 01;31
|
|
||||||
*.swm 01;31
|
|
||||||
*.dwm 01;31
|
|
||||||
*.esd 01;31
|
|
||||||
|
|
||||||
# image formats (dircolors defaults)
|
|
||||||
*.jpg 01;35
|
|
||||||
*.jpeg 01;35
|
|
||||||
*.mjpg 01;35
|
|
||||||
*.mjpeg 01;35
|
|
||||||
*.gif 01;35
|
|
||||||
*.bmp 01;35
|
|
||||||
*.pbm 01;35
|
|
||||||
*.pgm 01;35
|
|
||||||
*.ppm 01;35
|
|
||||||
*.tga 01;35
|
|
||||||
*.xbm 01;35
|
|
||||||
*.xpm 01;35
|
|
||||||
*.tif 01;35
|
|
||||||
*.tiff 01;35
|
|
||||||
*.png 01;35
|
|
||||||
*.svg 01;35
|
|
||||||
*.svgz 01;35
|
|
||||||
*.mng 01;35
|
|
||||||
*.pcx 01;35
|
|
||||||
*.mov 01;35
|
|
||||||
*.mpg 01;35
|
|
||||||
*.mpeg 01;35
|
|
||||||
*.m2v 01;35
|
|
||||||
*.mkv 01;35
|
|
||||||
*.webm 01;35
|
|
||||||
*.ogm 01;35
|
|
||||||
*.mp4 01;35
|
|
||||||
*.m4v 01;35
|
|
||||||
*.mp4v 01;35
|
|
||||||
*.vob 01;35
|
|
||||||
*.qt 01;35
|
|
||||||
*.nuv 01;35
|
|
||||||
*.wmv 01;35
|
|
||||||
*.asf 01;35
|
|
||||||
*.rm 01;35
|
|
||||||
*.rmvb 01;35
|
|
||||||
*.flc 01;35
|
|
||||||
*.avi 01;35
|
|
||||||
*.fli 01;35
|
|
||||||
*.flv 01;35
|
|
||||||
*.gl 01;35
|
|
||||||
*.dl 01;35
|
|
||||||
*.xcf 01;35
|
|
||||||
*.xwd 01;35
|
|
||||||
*.yuv 01;35
|
|
||||||
*.cgm 01;35
|
|
||||||
*.emf 01;35
|
|
||||||
*.ogv 01;35
|
|
||||||
*.ogx 01;35
|
|
||||||
|
|
||||||
# audio formats (dircolors defaults)
|
|
||||||
*.aac 00;36
|
|
||||||
*.au 00;36
|
|
||||||
*.flac 00;36
|
|
||||||
*.m4a 00;36
|
|
||||||
*.mid 00;36
|
|
||||||
*.midi 00;36
|
|
||||||
*.mka 00;36
|
|
||||||
*.mp3 00;36
|
|
||||||
*.mpc 00;36
|
|
||||||
*.ogg 00;36
|
|
||||||
*.ra 00;36
|
|
||||||
*.wav 00;36
|
|
||||||
*.oga 00;36
|
|
||||||
*.opus 00;36
|
|
||||||
*.spx 00;36
|
|
||||||
*.xspf 00;36
|
|
||||||
@@ -1,377 +0,0 @@
|
|||||||
# vim:ft=conf
|
|
||||||
|
|
||||||
# These examples require Nerd Fonts or a compatible font to be used.
|
|
||||||
# See https://www.nerdfonts.com for more information.
|
|
||||||
|
|
||||||
# default values from lf (with matching order)
|
|
||||||
# ln l # LINK
|
|
||||||
# or l # ORPHAN
|
|
||||||
# tw t # STICKY_OTHER_WRITABLE
|
|
||||||
# ow d # OTHER_WRITABLE
|
|
||||||
# st t # STICKY
|
|
||||||
# di d # DIR
|
|
||||||
# pi p # FIFO
|
|
||||||
# so s # SOCK
|
|
||||||
# bd b # BLK
|
|
||||||
# cd c # CHR
|
|
||||||
# su u # SETUID
|
|
||||||
# sg g # SETGID
|
|
||||||
# ex x # EXEC
|
|
||||||
# fi - # FILE
|
|
||||||
|
|
||||||
# file types (with matching order)
|
|
||||||
ln # LINK
|
|
||||||
or # ORPHAN
|
|
||||||
tw t # STICKY_OTHER_WRITABLE
|
|
||||||
ow # OTHER_WRITABLE
|
|
||||||
st t # STICKY
|
|
||||||
di # DIR
|
|
||||||
pi p # FIFO
|
|
||||||
so s # SOCK
|
|
||||||
bd b # BLK
|
|
||||||
cd c # CHR
|
|
||||||
su u # SETUID
|
|
||||||
sg g # SETGID
|
|
||||||
ex # EXEC
|
|
||||||
fi # FILE
|
|
||||||
|
|
||||||
# disable some default filetype icons, let them choose icon by filename
|
|
||||||
# ln # LINK
|
|
||||||
# or # ORPHAN
|
|
||||||
# tw # STICKY_OTHER_WRITABLE
|
|
||||||
# ow # OTHER_WRITABLE
|
|
||||||
# st # STICKY
|
|
||||||
# di # DIR
|
|
||||||
# pi # FIFO
|
|
||||||
# so # SOCK
|
|
||||||
# bd # BLK
|
|
||||||
# cd # CHR
|
|
||||||
# su # SETUID
|
|
||||||
# sg # SETGID
|
|
||||||
# ex # EXEC
|
|
||||||
# fi # FILE
|
|
||||||
|
|
||||||
# file extensions (vim-devicons)
|
|
||||||
*.styl
|
|
||||||
*.sass
|
|
||||||
*.scss
|
|
||||||
*.htm
|
|
||||||
*.html
|
|
||||||
*.slim
|
|
||||||
*.haml
|
|
||||||
*.ejs
|
|
||||||
*.css
|
|
||||||
*.less
|
|
||||||
*.md
|
|
||||||
*.mdx
|
|
||||||
*.markdown
|
|
||||||
*.rmd
|
|
||||||
*.json
|
|
||||||
*.webmanifest
|
|
||||||
*.js
|
|
||||||
*.mjs
|
|
||||||
*.jsx
|
|
||||||
*.rb
|
|
||||||
*.gemspec
|
|
||||||
*.rake
|
|
||||||
*.php
|
|
||||||
*.py
|
|
||||||
*.pyc
|
|
||||||
*.pyo
|
|
||||||
*.pyd
|
|
||||||
*.coffee
|
|
||||||
*.mustache
|
|
||||||
*.hbs
|
|
||||||
*.conf
|
|
||||||
*.ini
|
|
||||||
*.yml
|
|
||||||
*.yaml
|
|
||||||
*.toml
|
|
||||||
*.bat
|
|
||||||
*.mk
|
|
||||||
*.jpg
|
|
||||||
*.jpeg
|
|
||||||
*.bmp
|
|
||||||
*.png
|
|
||||||
*.webp
|
|
||||||
*.gif
|
|
||||||
*.ico
|
|
||||||
*.twig
|
|
||||||
*.cpp
|
|
||||||
*.c++
|
|
||||||
*.cxx
|
|
||||||
*.cc
|
|
||||||
*.cp
|
|
||||||
*.c
|
|
||||||
*.cs
|
|
||||||
*.h
|
|
||||||
*.hh
|
|
||||||
*.hpp
|
|
||||||
*.hxx
|
|
||||||
*.hs
|
|
||||||
*.lhs
|
|
||||||
*.nix
|
|
||||||
*.lua
|
|
||||||
*.java
|
|
||||||
*.sh
|
|
||||||
*.fish
|
|
||||||
*.bash
|
|
||||||
*.zsh
|
|
||||||
*.ksh
|
|
||||||
*.csh
|
|
||||||
*.awk
|
|
||||||
*.ps1
|
|
||||||
*.ml λ
|
|
||||||
*.mli λ
|
|
||||||
*.diff
|
|
||||||
*.db
|
|
||||||
*.sql
|
|
||||||
*.dump
|
|
||||||
*.clj
|
|
||||||
*.cljc
|
|
||||||
*.cljs
|
|
||||||
*.edn
|
|
||||||
*.scala
|
|
||||||
*.go
|
|
||||||
*.dart
|
|
||||||
*.xul
|
|
||||||
*.sln
|
|
||||||
*.suo
|
|
||||||
*.pl
|
|
||||||
*.pm
|
|
||||||
*.t
|
|
||||||
*.rss
|
|
||||||
'*.f#'
|
|
||||||
*.fsscript
|
|
||||||
*.fsx
|
|
||||||
*.fs
|
|
||||||
*.fsi
|
|
||||||
*.rs
|
|
||||||
*.rlib
|
|
||||||
*.d
|
|
||||||
*.erl
|
|
||||||
*.hrl
|
|
||||||
*.ex
|
|
||||||
*.exs
|
|
||||||
*.eex
|
|
||||||
*.leex
|
|
||||||
*.heex
|
|
||||||
*.vim
|
|
||||||
*.ai
|
|
||||||
*.psd
|
|
||||||
*.psb
|
|
||||||
*.ts
|
|
||||||
*.tsx
|
|
||||||
*.jl
|
|
||||||
*.pp
|
|
||||||
*.vue
|
|
||||||
*.elm
|
|
||||||
*.swift
|
|
||||||
*.xcplayground
|
|
||||||
*.tex
|
|
||||||
*.r
|
|
||||||
*.rproj
|
|
||||||
*.sol
|
|
||||||
*.pem
|
|
||||||
|
|
||||||
# file names (vim-devicons) (case-insensitive not supported in lf)
|
|
||||||
*gruntfile.coffee
|
|
||||||
*gruntfile.js
|
|
||||||
*gruntfile.ls
|
|
||||||
*gulpfile.coffee
|
|
||||||
*gulpfile.js
|
|
||||||
*gulpfile.ls
|
|
||||||
*mix.lock
|
|
||||||
*dropbox
|
|
||||||
*.ds_store
|
|
||||||
*.gitconfig
|
|
||||||
*.gitignore
|
|
||||||
*.gitattributes
|
|
||||||
*.gitlab-ci.yml
|
|
||||||
*.bashrc
|
|
||||||
*.zshrc
|
|
||||||
*.zshenv
|
|
||||||
*.zprofile
|
|
||||||
*.vimrc
|
|
||||||
*.gvimrc
|
|
||||||
*_vimrc
|
|
||||||
*_gvimrc
|
|
||||||
*.bashprofile
|
|
||||||
*favicon.ico
|
|
||||||
*license
|
|
||||||
*node_modules
|
|
||||||
*react.jsx
|
|
||||||
*procfile
|
|
||||||
*dockerfile
|
|
||||||
*docker-compose.yml
|
|
||||||
*docker-compose.yaml
|
|
||||||
*compose.yml
|
|
||||||
*compose.yaml
|
|
||||||
*rakefile
|
|
||||||
*config.ru
|
|
||||||
*gemfile
|
|
||||||
*makefile
|
|
||||||
*cmakelists.txt
|
|
||||||
*robots.txt
|
|
||||||
|
|
||||||
# file names (case-sensitive adaptations)
|
|
||||||
*Gruntfile.coffee
|
|
||||||
*Gruntfile.js
|
|
||||||
*Gruntfile.ls
|
|
||||||
*Gulpfile.coffee
|
|
||||||
*Gulpfile.js
|
|
||||||
*Gulpfile.ls
|
|
||||||
*Dropbox
|
|
||||||
*.DS_Store
|
|
||||||
*LICENSE
|
|
||||||
*React.jsx
|
|
||||||
*Procfile
|
|
||||||
*Dockerfile
|
|
||||||
*Docker-compose.yml
|
|
||||||
*Docker-compose.yaml
|
|
||||||
*Rakefile
|
|
||||||
*Gemfile
|
|
||||||
*Makefile
|
|
||||||
*CMakeLists.txt
|
|
||||||
|
|
||||||
# file patterns (vim-devicons) (patterns not supported in lf)
|
|
||||||
# .*jquery.*\.js$
|
|
||||||
# .*angular.*\.js$
|
|
||||||
# .*backbone.*\.js$
|
|
||||||
# .*require.*\.js$
|
|
||||||
# .*materialize.*\.js$
|
|
||||||
# .*materialize.*\.css$
|
|
||||||
# .*mootools.*\.js$
|
|
||||||
# .*vimrc.*
|
|
||||||
# Vagrantfile$
|
|
||||||
|
|
||||||
# file patterns (file name adaptations)
|
|
||||||
*jquery.min.js
|
|
||||||
*angular.min.js
|
|
||||||
*backbone.min.js
|
|
||||||
*require.min.js
|
|
||||||
*materialize.min.js
|
|
||||||
*materialize.min.css
|
|
||||||
*mootools.min.js
|
|
||||||
*vimrc
|
|
||||||
Vagrantfile
|
|
||||||
|
|
||||||
# archives or compressed (extensions from dircolors defaults)
|
|
||||||
*.tar
|
|
||||||
*.tgz
|
|
||||||
*.arc
|
|
||||||
*.arj
|
|
||||||
*.taz
|
|
||||||
*.lha
|
|
||||||
*.lz4
|
|
||||||
*.lzh
|
|
||||||
*.lzma
|
|
||||||
*.tlz
|
|
||||||
*.txz
|
|
||||||
*.tzo
|
|
||||||
*.t7z
|
|
||||||
*.zip
|
|
||||||
*.z
|
|
||||||
*.dz
|
|
||||||
*.gz
|
|
||||||
*.lrz
|
|
||||||
*.lz
|
|
||||||
*.lzo
|
|
||||||
*.xz
|
|
||||||
*.zst
|
|
||||||
*.tzst
|
|
||||||
*.bz2
|
|
||||||
*.bz
|
|
||||||
*.tbz
|
|
||||||
*.tbz2
|
|
||||||
*.tz
|
|
||||||
*.deb
|
|
||||||
*.rpm
|
|
||||||
*.jar
|
|
||||||
*.war
|
|
||||||
*.ear
|
|
||||||
*.sar
|
|
||||||
*.rar
|
|
||||||
*.alz
|
|
||||||
*.ace
|
|
||||||
*.zoo
|
|
||||||
*.cpio
|
|
||||||
*.7z
|
|
||||||
*.rz
|
|
||||||
*.cab
|
|
||||||
*.wim
|
|
||||||
*.swm
|
|
||||||
*.dwm
|
|
||||||
*.esd
|
|
||||||
|
|
||||||
# image formats (extensions from dircolors defaults)
|
|
||||||
*.jpg
|
|
||||||
*.jpeg
|
|
||||||
*.mjpg
|
|
||||||
*.mjpeg
|
|
||||||
*.gif
|
|
||||||
*.bmp
|
|
||||||
*.pbm
|
|
||||||
*.pgm
|
|
||||||
*.ppm
|
|
||||||
*.tga
|
|
||||||
*.xbm
|
|
||||||
*.xpm
|
|
||||||
*.tif
|
|
||||||
*.tiff
|
|
||||||
*.png
|
|
||||||
*.svg
|
|
||||||
*.svgz
|
|
||||||
*.mng
|
|
||||||
*.pcx
|
|
||||||
*.mov
|
|
||||||
*.mpg
|
|
||||||
*.mpeg
|
|
||||||
*.m2v
|
|
||||||
*.mkv
|
|
||||||
*.webm
|
|
||||||
*.ogm
|
|
||||||
*.mp4
|
|
||||||
*.m4v
|
|
||||||
*.mp4v
|
|
||||||
*.vob
|
|
||||||
*.qt
|
|
||||||
*.nuv
|
|
||||||
*.wmv
|
|
||||||
*.asf
|
|
||||||
*.rm
|
|
||||||
*.rmvb
|
|
||||||
*.flc
|
|
||||||
*.avi
|
|
||||||
*.fli
|
|
||||||
*.flv
|
|
||||||
*.gl
|
|
||||||
*.dl
|
|
||||||
*.xcf
|
|
||||||
*.xwd
|
|
||||||
*.yuv
|
|
||||||
*.cgm
|
|
||||||
*.emf
|
|
||||||
*.ogv
|
|
||||||
*.ogx
|
|
||||||
|
|
||||||
# audio formats (extensions from dircolors defaults)
|
|
||||||
*.aac
|
|
||||||
*.au
|
|
||||||
*.flac
|
|
||||||
*.m4a
|
|
||||||
*.mid
|
|
||||||
*.midi
|
|
||||||
*.mka
|
|
||||||
*.mp3
|
|
||||||
*.mpc
|
|
||||||
*.ogg
|
|
||||||
*.ra
|
|
||||||
*.wav
|
|
||||||
*.oga
|
|
||||||
*.opus
|
|
||||||
*.spx
|
|
||||||
*.xspf
|
|
||||||
|
|
||||||
# other formats
|
|
||||||
*.pdf
|
|
||||||
@@ -1,112 +0,0 @@
|
|||||||
# interpreter for shell commands
|
|
||||||
set shell zsh
|
|
||||||
|
|
||||||
# set '-eu' options for shell commands
|
|
||||||
# These options are used to have safer shell commands. Option '-e' is used to
|
|
||||||
# exit on error and option '-u' is used to give error for unset variables.
|
|
||||||
# Option '-f' disables pathname expansion which can be useful when $f, $fs, and
|
|
||||||
# $fx variables contain names with '*' or '?' characters. However, this option
|
|
||||||
# is used selectively within individual commands as it can be limiting at
|
|
||||||
# times.
|
|
||||||
set shellopts '-eu'
|
|
||||||
|
|
||||||
# set internal field separator (IFS) to "\n" for shell commands
|
|
||||||
# This is useful to automatically split file names in $fs and $fx properly
|
|
||||||
# since default file separator used in these variables (i.e. 'filesep' option)
|
|
||||||
# is newline. You need to consider the values of these options and create your
|
|
||||||
# commands accordingly.
|
|
||||||
set ifs "\n"
|
|
||||||
|
|
||||||
# leave some space at the top and the bottom of the screen
|
|
||||||
set scrolloff 10
|
|
||||||
|
|
||||||
# Use the `dim` attribute instead of underline for the cursor in the preview pane
|
|
||||||
set cursorpreviewfmt "\033[7;2m"
|
|
||||||
|
|
||||||
# use enter for shell commands
|
|
||||||
map <enter> shell
|
|
||||||
|
|
||||||
# show the result of execution of previous commands
|
|
||||||
map ` !true
|
|
||||||
|
|
||||||
# execute current file (must be executable)
|
|
||||||
map x $$f
|
|
||||||
map X !$f
|
|
||||||
|
|
||||||
# dedicated keys for file opener actions
|
|
||||||
map o &mimeopen $f
|
|
||||||
map O $mimeopen --ask $f
|
|
||||||
|
|
||||||
# define a custom 'open' command
|
|
||||||
# This command is called when current file is not a directory. You may want to
|
|
||||||
# use either file extensions and/or mime types here. Below uses an editor for
|
|
||||||
# text files and a file opener for the rest.
|
|
||||||
cmd open &{{
|
|
||||||
case $(file --mime-type -Lb $f) in
|
|
||||||
text/*) lf -remote "send $id \$$EDITOR \$fx";;
|
|
||||||
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
|
|
||||||
esac
|
|
||||||
}}
|
|
||||||
|
|
||||||
# mkdir command. See wiki if you want it to select created dir
|
|
||||||
map a :push %mkdir<space>
|
|
||||||
|
|
||||||
# define a custom 'rename' command without prompt for overwrite
|
|
||||||
# cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1
|
|
||||||
# map r push :rename<space>
|
|
||||||
|
|
||||||
# make sure trash folder exists
|
|
||||||
# %mkdir -p ~/.trash
|
|
||||||
|
|
||||||
# move current file or selected files to trash folder
|
|
||||||
# (also see 'man mv' for backup/overwrite options)
|
|
||||||
cmd trash %set -f; mv $fx ~/.trash
|
|
||||||
|
|
||||||
# define a custom 'delete' command
|
|
||||||
# cmd delete ${{
|
|
||||||
# set -f
|
|
||||||
# printf "$fx\n"
|
|
||||||
# printf "delete?[y/n]"
|
|
||||||
# read ans
|
|
||||||
# [ "$ans" = "y" ] && rm -rf $fx
|
|
||||||
# }}
|
|
||||||
|
|
||||||
# use '<delete>' key for either 'trash' or 'delete' command
|
|
||||||
# map <delete> trash
|
|
||||||
# map <delete> delete
|
|
||||||
|
|
||||||
# extract the current file with the right command
|
|
||||||
# (xkcd link: https://xkcd.com/1168/)
|
|
||||||
cmd extract ${{
|
|
||||||
set -f
|
|
||||||
case $f in
|
|
||||||
*.tar.bz|*.tar.bz2|*.tbz|*.tbz2) tar xjvf $f;;
|
|
||||||
*.tar.gz|*.tgz) tar xzvf $f;;
|
|
||||||
*.tar.xz|*.txz) tar xJvf $f;;
|
|
||||||
*.zip) unzip $f;;
|
|
||||||
*.rar) unrar x $f;;
|
|
||||||
*.7z) 7z x $f;;
|
|
||||||
esac
|
|
||||||
}}
|
|
||||||
|
|
||||||
# compress current file or selected files with tar and gunzip
|
|
||||||
cmd tar ${{
|
|
||||||
set -f
|
|
||||||
mkdir $1
|
|
||||||
cp -r $fx $1
|
|
||||||
tar czf $1.tar.gz $1
|
|
||||||
rm -rf $1
|
|
||||||
}}
|
|
||||||
|
|
||||||
# compress current file or selected files with zip
|
|
||||||
cmd zip ${{
|
|
||||||
set -f
|
|
||||||
mkdir $1
|
|
||||||
cp -r $fx $1
|
|
||||||
zip -r $1.zip $1
|
|
||||||
rm -rf $1
|
|
||||||
}}
|
|
||||||
|
|
||||||
|
|
||||||
set hidden true
|
|
||||||
set icons true
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"neodev": {
|
|
||||||
"library": {
|
|
||||||
"enabled": true,
|
|
||||||
"plugins": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"neoconf": {
|
|
||||||
"plugins": {
|
|
||||||
"lua_ls": {
|
|
||||||
"enabled": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lspconfig": {
|
|
||||||
"lua_ls": {
|
|
||||||
"Lua.format.enable": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
column_width = 120
|
|
||||||
line_endings = "Unix"
|
|
||||||
indent_type = "Spaces"
|
|
||||||
indent_width = 2
|
|
||||||
quote_style = "AutoPreferDouble"
|
|
||||||
call_parentheses = "None"
|
|
||||||
collapse_simple_statement = "Always"
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
# AstroNvim Template
|
|
||||||
|
|
||||||
**NOTE:** This is for AstroNvim v4+
|
|
||||||
|
|
||||||
A template for getting started with [AstroNvim](https://github.com/AstroNvim/AstroNvim)
|
|
||||||
|
|
||||||
## 🛠️ Installation
|
|
||||||
|
|
||||||
#### Make a backup of your current nvim and shared folder
|
|
||||||
|
|
||||||
```shell
|
|
||||||
mv ~/.config/nvim ~/.config/nvim.bak
|
|
||||||
mv ~/.local/share/nvim ~/.local/share/nvim.bak
|
|
||||||
mv ~/.local/state/nvim ~/.local/state/nvim.bak
|
|
||||||
mv ~/.cache/nvim ~/.cache/nvim.bak
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Create a new user repository from this template
|
|
||||||
|
|
||||||
Press the "Use this template" button above to create a new repository to store your user configuration.
|
|
||||||
|
|
||||||
You can also just clone this repository directly if you do not want to track your user configuration in GitHub.
|
|
||||||
|
|
||||||
#### Clone the repository
|
|
||||||
|
|
||||||
```shell
|
|
||||||
git clone https://github.com/<your_user>/<your_repository> ~/.config/nvim
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Start Neovim
|
|
||||||
|
|
||||||
```shell
|
|
||||||
nvim
|
|
||||||
```
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
-- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution
|
|
||||||
-- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk.
|
|
||||||
local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
|
||||||
if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then
|
|
||||||
-- stylua: ignore
|
|
||||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
|
|
||||||
end
|
|
||||||
vim.opt.rtp:prepend(lazypath)
|
|
||||||
|
|
||||||
-- validate that lazy is available
|
|
||||||
if not pcall(require, "lazy") then
|
|
||||||
-- stylua: ignore
|
|
||||||
vim.api.nvim_echo({ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMsg" } }, true, {})
|
|
||||||
vim.fn.getchar()
|
|
||||||
vim.cmd.quit()
|
|
||||||
end
|
|
||||||
|
|
||||||
require "lazy_setup"
|
|
||||||
require "polish"
|
|
||||||
|
|
||||||
require "user.options"
|
|
||||||
require "user.keymaps"
|
|
||||||
|
|
||||||
require("catppuccin").setup {
|
|
||||||
flavour = "macchiato",
|
|
||||||
}
|
|
||||||
|
|
||||||
-- setup must be called before loading
|
|
||||||
vim.cmd.colorscheme "catppuccin"
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
{
|
|
||||||
"AstroNvim": { "branch": "main", "commit": "73f7231dc303661dd2e45d98b016fdad5ef3d70e" },
|
|
||||||
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
|
||||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
|
||||||
"aerial.nvim": { "branch": "master", "commit": "4d10acbcb760802ea74381ac3ed98cbb6e5f7805" },
|
|
||||||
"alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" },
|
|
||||||
"astrocommunity": { "branch": "main", "commit": "c547c9ea8fa19ab2f1792febb3d20e6ff6851a02" },
|
|
||||||
"astrocore": { "branch": "main", "commit": "409ae29758ae0226b60e486ac80faa703f0b7955" },
|
|
||||||
"astrolsp": { "branch": "main", "commit": "9e4eeb51ff04d9985f195b28553dbd47807e4c49" },
|
|
||||||
"astrotheme": { "branch": "main", "commit": "7e47b7900229365bc0dca2a2eee2acc62dfc9dc3" },
|
|
||||||
"astroui": { "branch": "main", "commit": "b4585cea4fffdfe1f3967fa81cd3e98544fcb831" },
|
|
||||||
"catppuccin": { "branch": "main", "commit": "d97387aea8264f484bb5d5e74f2182a06c83e0d8" },
|
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
|
||||||
"cmp-dap": { "branch": "master", "commit": "ea92773e84c0ad3288c3bc5e452ac91559669087" },
|
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
|
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
|
||||||
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
|
||||||
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
|
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
|
|
||||||
"guess-indent.nvim": { "branch": "main", "commit": "b8ae749fce17aa4c267eec80a6984130b94f80b2" },
|
|
||||||
"heirline.nvim": { "branch": "master", "commit": "03cff30d7e7d3ba6fdc00925f015822f79cef908" },
|
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "98f85638a669fd7f42f59a7283676391ab9b9ca3" },
|
|
||||||
"lazy.nvim": { "branch": "main", "commit": "758bb5de98b805acc5eeed8cdc8ac7f0bc4b0b86" },
|
|
||||||
"lsp_signature.nvim": { "branch": "master", "commit": "aed5d1162b0f07bb3af34bedcc5f70a2b6466ed8" },
|
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
|
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "9ae570e206360e47d30b4c35a4550c165f4ea7b7" },
|
|
||||||
"mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" },
|
|
||||||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "3614a39aae98ccd34124b072939d6283853b3dd2" },
|
|
||||||
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
|
|
||||||
"mini.bufremove": { "branch": "main", "commit": "931a3bb514147d9e812767275c4beba6b779b1d3" },
|
|
||||||
"neo-tree.nvim": { "branch": "main", "commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a" },
|
|
||||||
"neoconf.nvim": { "branch": "main", "commit": "f8947e998dac4213f6c7bb1c7b843cba64db22dd" },
|
|
||||||
"neodev.nvim": { "branch": "main", "commit": "da1562e1e3df0e994ddc52cb4ba22376a5d7f2fc" },
|
|
||||||
"none-ls.nvim": { "branch": "main", "commit": "10c976d633862b9fe16171f5f5f17732bc54e19f" },
|
|
||||||
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
|
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "b0b79e42a28f09719a7da9534c3731fa37319d9b" },
|
|
||||||
"nvim-cmp": { "branch": "main", "commit": "24122371810089d390847d8ba66325c1f1aa64c0" },
|
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
|
||||||
"nvim-dap": { "branch": "master", "commit": "9d81c11fd185a131f81841e64941859305f6c42d" },
|
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "5934302d63d1ede12c0b22b6f23518bb183fc972" },
|
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "cee94b22adc96582d9136f85fb3b076feda8825c" },
|
|
||||||
"nvim-nio": { "branch": "master", "commit": "8765cbc4d0c629c8158a5341e1b4305fd93c3a90" },
|
|
||||||
"nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" },
|
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "8012b55eee65eba1d1ee4df0a186d30e72dcbe65" },
|
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "84cc9ed772f1fee2f47c1e076f518829583d8347" },
|
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
|
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "0bdccb9c67a42a5e2d99384dc9bfa29b1451528f" },
|
|
||||||
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" },
|
|
||||||
"nvim-window-picker": { "branch": "main", "commit": "41cfaa428577c53552200a404ae9b3a0b5719706" },
|
|
||||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
|
||||||
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
|
||||||
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
|
|
||||||
"resession.nvim": { "branch": "master", "commit": "cc819b0489938d03e4f3532a583354f0287c015b" },
|
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "2179ec0d26aacd4f40c766c79f6ebc83b7001e48" },
|
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
|
|
||||||
"telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" },
|
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
|
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "066cccf48a43553a80a210eb3be89a15d789d6e6" },
|
|
||||||
"vim-illuminate": { "branch": "master", "commit": "e522e0dd742a83506db0a72e1ced68c9c130f185" },
|
|
||||||
"which-key.nvim": { "branch": "main", "commit": "ce741eb559c924d72e3a67d2189ad3771a231414" }
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
-- AstroCommunity: import any community modules here
|
|
||||||
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
|
|
||||||
-- This guarantees that the specs are processed before any user plugins.
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
"AstroNvim/astrocommunity",
|
|
||||||
{ import = "astrocommunity.pack.lua" },
|
|
||||||
-- import/override with your plugins folder
|
|
||||||
}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
require("lazy").setup({
|
|
||||||
{
|
|
||||||
"AstroNvim/AstroNvim",
|
|
||||||
version = "^4", -- Remove version tracking to elect for nighly AstroNvim
|
|
||||||
import = "astronvim.plugins",
|
|
||||||
opts = { -- AstroNvim options must be set here with the `import` key
|
|
||||||
mapleader = " ", -- This ensures the leader key must be configured before Lazy is set up
|
|
||||||
maplocalleader = ",", -- This ensures the localleader key must be configured before Lazy is set up
|
|
||||||
icons_enabled = true, -- Set to false to disable icons (if no Nerd Font is available)
|
|
||||||
pin_plugins = nil, -- Default will pin plugins when tracking `version` of AstroNvim, set to true/false to override
|
|
||||||
update_notifications = true, -- Enable/disable notification about running `:Lazy update` twice to update pinned plugins
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{ import = "community" },
|
|
||||||
{ import = "plugins" },
|
|
||||||
} --[[@as LazySpec]], {
|
|
||||||
-- Configure any other `lazy.nvim` configuration options here
|
|
||||||
install = { colorscheme = { "astrodark", "habamax" } },
|
|
||||||
ui = { backdrop = 100 },
|
|
||||||
performance = {
|
|
||||||
rtp = {
|
|
||||||
-- disable some rtp plugins, add more to your liking
|
|
||||||
disabled_plugins = {
|
|
||||||
"gzip",
|
|
||||||
"netrwPlugin",
|
|
||||||
"tarPlugin",
|
|
||||||
"tohtml",
|
|
||||||
"zipPlugin",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
} --[[@as LazyConfig]])
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- AstroCore provides a central place to modify mappings, vim options, autocommands, and more!
|
|
||||||
-- Configuration documentation can be found with `:h astrocore`
|
|
||||||
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
|
||||||
-- as this provides autocomplete and documentation while editing
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
"AstroNvim/astrocore",
|
|
||||||
---@type AstroCoreOpts
|
|
||||||
opts = {
|
|
||||||
-- Configure core features of AstroNvim
|
|
||||||
features = {
|
|
||||||
large_buf = { size = 1024 * 500, lines = 10000 }, -- set global limits for large files for disabling features like treesitter
|
|
||||||
autopairs = true, -- enable autopairs at start
|
|
||||||
cmp = true, -- enable completion at start
|
|
||||||
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
|
|
||||||
highlighturl = true, -- highlight URLs at start
|
|
||||||
notifications = true, -- enable notifications at start
|
|
||||||
},
|
|
||||||
-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
|
|
||||||
diagnostics = {
|
|
||||||
virtual_text = true,
|
|
||||||
underline = true,
|
|
||||||
},
|
|
||||||
-- vim options can be configured here
|
|
||||||
options = {
|
|
||||||
opt = { -- vim.opt.<key>
|
|
||||||
relativenumber = true, -- sets vim.opt.relativenumber
|
|
||||||
number = true, -- sets vim.opt.number
|
|
||||||
spell = false, -- sets vim.opt.spell
|
|
||||||
signcolumn = "auto", -- sets vim.opt.signcolumn to auto
|
|
||||||
wrap = false, -- sets vim.opt.wrap
|
|
||||||
},
|
|
||||||
g = { -- vim.g.<key>
|
|
||||||
-- configure global vim variables (vim.g)
|
|
||||||
-- NOTE: `mapleader` and `maplocalleader` must be set in the AstroNvim opts or before `lazy.setup`
|
|
||||||
-- This can be found in the `lua/lazy_setup.lua` file
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- Mappings can be configured through AstroCore as well.
|
|
||||||
-- NOTE: keycodes follow the casing in the vimdocs. For example, `<Leader>` must be capitalized
|
|
||||||
mappings = {
|
|
||||||
-- first key is the mode
|
|
||||||
n = {
|
|
||||||
-- second key is the lefthand side of the map
|
|
||||||
|
|
||||||
-- navigate buffer tabs with `H` and `L`
|
|
||||||
L = { function() require("astrocore.buffer").nav(vim.v.count1) end, desc = "Next buffer" },
|
|
||||||
H = { function() require("astrocore.buffer").nav(-vim.v.count1) end, desc = "Previous buffer" },
|
|
||||||
|
|
||||||
-- mappings seen under group name "Buffer"
|
|
||||||
["<Leader>bD"] = {
|
|
||||||
function()
|
|
||||||
require("astroui.status.heirline").buffer_picker(
|
|
||||||
function(bufnr) require("astrocore.buffer").close(bufnr) end
|
|
||||||
)
|
|
||||||
end,
|
|
||||||
desc = "Pick to close",
|
|
||||||
},
|
|
||||||
-- tables with just a `desc` key will be registered with which-key if it's installed
|
|
||||||
-- this is useful for naming menus
|
|
||||||
["<Leader>b"] = { desc = "Buffers" },
|
|
||||||
-- quick save
|
|
||||||
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
|
|
||||||
},
|
|
||||||
t = {
|
|
||||||
-- setting a mapping to false will disable it
|
|
||||||
-- ["<esc>"] = false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
-- AstroLSP allows you to customize the features in AstroNvim's LSP configuration engine
|
|
||||||
-- Configuration documentation can be found with `:h astrolsp`
|
|
||||||
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
|
||||||
-- as this provides autocomplete and documentation while editing
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
"AstroNvim/astrolsp",
|
|
||||||
---@type AstroLSPOpts
|
|
||||||
opts = {
|
|
||||||
-- Configuration table of features provided by AstroLSP
|
|
||||||
features = {
|
|
||||||
autoformat = true, -- enable or disable auto formatting on start
|
|
||||||
codelens = true, -- enable/disable codelens refresh on start
|
|
||||||
inlay_hints = false, -- enable/disable inlay hints on start
|
|
||||||
semantic_tokens = true, -- enable/disable semantic token highlighting
|
|
||||||
},
|
|
||||||
-- customize lsp formatting options
|
|
||||||
formatting = {
|
|
||||||
-- control auto formatting on save
|
|
||||||
format_on_save = {
|
|
||||||
enabled = true, -- enable or disable format on save globally
|
|
||||||
allow_filetypes = { -- enable format on save for specified filetypes only
|
|
||||||
-- "go",
|
|
||||||
},
|
|
||||||
ignore_filetypes = { -- disable format on save for specified filetypes
|
|
||||||
-- "python",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
disabled = { -- disable formatting capabilities for the listed language servers
|
|
||||||
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
|
|
||||||
-- "lua_ls",
|
|
||||||
},
|
|
||||||
timeout_ms = 1000, -- default format timeout
|
|
||||||
-- filter = function(client) -- fully override the default formatting function
|
|
||||||
-- return true
|
|
||||||
-- end
|
|
||||||
},
|
|
||||||
-- enable servers that you already have installed without mason
|
|
||||||
servers = {
|
|
||||||
-- "pyright"
|
|
||||||
},
|
|
||||||
-- customize language server configuration options passed to `lspconfig`
|
|
||||||
---@diagnostic disable: missing-fields
|
|
||||||
config = {
|
|
||||||
-- clangd = { capabilities = { offsetEncoding = "utf-8" } },
|
|
||||||
},
|
|
||||||
-- customize how language servers are attached
|
|
||||||
handlers = {
|
|
||||||
-- a function without a key is simply the default handler, functions take two parameters, the server name and the configured options table for that server
|
|
||||||
-- function(server, opts) require("lspconfig")[server].setup(opts) end
|
|
||||||
|
|
||||||
-- the key is the server that is being setup with `lspconfig`
|
|
||||||
-- rust_analyzer = false, -- setting a handler to false will disable the set up of that language server
|
|
||||||
-- pyright = function(_, opts) require("lspconfig").pyright.setup(opts) end -- or a custom handler function can be passed
|
|
||||||
},
|
|
||||||
-- Configure buffer local auto commands to add when attaching a language server
|
|
||||||
autocmds = {
|
|
||||||
-- first key is the `augroup` to add the auto commands to (:h augroup)
|
|
||||||
lsp_document_highlight = {
|
|
||||||
-- Optional condition to create/delete auto command group
|
|
||||||
-- can either be a string of a client capability or a function of `fun(client, bufnr): boolean`
|
|
||||||
-- condition will be resolved for each client on each execution and if it ever fails for all clients,
|
|
||||||
-- the auto commands will be deleted for that buffer
|
|
||||||
cond = "textDocument/documentHighlight",
|
|
||||||
-- cond = function(client, bufnr) return client.name == "lua_ls" end,
|
|
||||||
-- list of auto commands to set
|
|
||||||
{
|
|
||||||
-- events to trigger
|
|
||||||
event = { "CursorHold", "CursorHoldI" },
|
|
||||||
-- the rest of the autocmd options (:h nvim_create_autocmd)
|
|
||||||
desc = "Document Highlighting",
|
|
||||||
callback = function() vim.lsp.buf.document_highlight() end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
event = { "CursorMoved", "CursorMovedI", "BufLeave" },
|
|
||||||
desc = "Document Highlighting Clear",
|
|
||||||
callback = function() vim.lsp.buf.clear_references() end,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- mappings to be set up on attaching of a language server
|
|
||||||
mappings = {
|
|
||||||
n = {
|
|
||||||
gl = { function() vim.diagnostic.open_float() end, desc = "Hover diagnostics" },
|
|
||||||
-- a `cond` key can provided as the string of a server capability to be required to attach, or a function with `client` and `bufnr` parameters from the `on_attach` that returns a boolean
|
|
||||||
-- gD = {
|
|
||||||
-- function() vim.lsp.buf.declaration() end,
|
|
||||||
-- desc = "Declaration of current symbol",
|
|
||||||
-- cond = "textDocument/declaration",
|
|
||||||
-- },
|
|
||||||
-- ["<Leader>uY"] = {
|
|
||||||
-- function() require("astrolsp.toggles").buffer_semantic_tokens() end,
|
|
||||||
-- desc = "Toggle LSP semantic highlight (buffer)",
|
|
||||||
-- cond = function(client) return client.server_capabilities.semanticTokensProvider and vim.lsp.semantic_tokens end,
|
|
||||||
-- },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- A custom `on_attach` function to be run after the default `on_attach` function
|
|
||||||
-- takes two parameters `client` and `bufnr` (`:h lspconfig-setup`)
|
|
||||||
on_attach = function(client, bufnr)
|
|
||||||
-- this would disable semanticTokensProvider for all clients
|
|
||||||
-- client.server_capabilities.semanticTokensProvider = nil
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- AstroUI provides the basis for configuring the AstroNvim User Interface
|
|
||||||
-- Configuration documentation can be found with `:h astroui`
|
|
||||||
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
|
||||||
-- as this provides autocomplete and documentation while editing
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
"AstroNvim/astroui",
|
|
||||||
---@type AstroUIOpts
|
|
||||||
opts = {
|
|
||||||
-- change colorscheme
|
|
||||||
colorscheme = "astrodark",
|
|
||||||
-- AstroUI allows you to easily modify highlight groups easily for any and all colorschemes
|
|
||||||
highlights = {
|
|
||||||
init = { -- this table overrides highlights in all themes
|
|
||||||
-- Normal = { bg = "#000000" },
|
|
||||||
},
|
|
||||||
astrodark = { -- a table of overrides/changes when applying the astrotheme theme
|
|
||||||
-- Normal = { bg = "#000000" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- Icons can be configured throughout the interface
|
|
||||||
icons = {
|
|
||||||
-- configure the loading of the lsp in the status line
|
|
||||||
LSPLoading1 = "⠋",
|
|
||||||
LSPLoading2 = "⠙",
|
|
||||||
LSPLoading3 = "⠹",
|
|
||||||
LSPLoading4 = "⠸",
|
|
||||||
LSPLoading5 = "⠼",
|
|
||||||
LSPLoading6 = "⠴",
|
|
||||||
LSPLoading7 = "⠦",
|
|
||||||
LSPLoading8 = "⠧",
|
|
||||||
LSPLoading9 = "⠇",
|
|
||||||
LSPLoading10 = "⠏",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
return {
|
|
||||||
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 }
|
|
||||||
}
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- Customize Mason plugins
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
-- use mason-lspconfig to configure LSP installations
|
|
||||||
{
|
|
||||||
"williamboman/mason-lspconfig.nvim",
|
|
||||||
-- overrides `require("mason-lspconfig").setup(...)`
|
|
||||||
opts = function(_, opts)
|
|
||||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
|
||||||
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
|
||||||
"lua_ls",
|
|
||||||
-- add more arguments for adding more language servers
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
-- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
|
|
||||||
{
|
|
||||||
"jay-babu/mason-null-ls.nvim",
|
|
||||||
-- overrides `require("mason-null-ls").setup(...)`
|
|
||||||
opts = function(_, opts)
|
|
||||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
|
||||||
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
|
||||||
"prettier",
|
|
||||||
"stylua",
|
|
||||||
-- add more arguments for adding more null-ls sources
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"jay-babu/mason-nvim-dap.nvim",
|
|
||||||
-- overrides `require("mason-nvim-dap").setup(...)`
|
|
||||||
opts = function(_, opts)
|
|
||||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
|
||||||
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
|
||||||
"python",
|
|
||||||
-- add more arguments for adding more debuggers
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- Customize None-ls sources
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
"nvimtools/none-ls.nvim",
|
|
||||||
opts = function(_, config)
|
|
||||||
-- config variable is the default configuration table for the setup function call
|
|
||||||
-- local null_ls = require "null-ls"
|
|
||||||
|
|
||||||
-- Check supported formatters and linters
|
|
||||||
-- https://github.com/nvimtools/none-ls.nvim/tree/main/lua/null-ls/builtins/formatting
|
|
||||||
-- https://github.com/nvimtools/none-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics
|
|
||||||
config.sources = {
|
|
||||||
-- Set a formatter
|
|
||||||
-- null_ls.builtins.formatting.stylua,
|
|
||||||
-- null_ls.builtins.formatting.prettier,
|
|
||||||
}
|
|
||||||
return config -- return final config table
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- Customize Treesitter
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
opts = function(_, opts)
|
|
||||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
|
||||||
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
|
||||||
"lua",
|
|
||||||
"vim",
|
|
||||||
-- add more arguments for adding more treesitter parsers
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
-- You can also add or configure plugins by creating files in this `plugins/` folder
|
|
||||||
-- Here are some examples:
|
|
||||||
|
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
|
|
||||||
-- == Examples of Adding Plugins ==
|
|
||||||
|
|
||||||
"andweeb/presence.nvim",
|
|
||||||
{
|
|
||||||
"ray-x/lsp_signature.nvim",
|
|
||||||
event = "BufRead",
|
|
||||||
config = function() require("lsp_signature").setup() end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- == Examples of Overriding Plugins ==
|
|
||||||
|
|
||||||
-- customize alpha options
|
|
||||||
{
|
|
||||||
"goolord/alpha-nvim",
|
|
||||||
opts = function(_, opts)
|
|
||||||
-- customize the dashboard header
|
|
||||||
opts.section.header.val = {
|
|
||||||
" █████ ███████ ████████ ██████ ██████",
|
|
||||||
"██ ██ ██ ██ ██ ██ ██ ██",
|
|
||||||
"███████ ███████ ██ ██████ ██ ██",
|
|
||||||
"██ ██ ██ ██ ██ ██ ██ ██",
|
|
||||||
"██ ██ ███████ ██ ██ ██ ██████",
|
|
||||||
" ",
|
|
||||||
" ███ ██ ██ ██ ██ ███ ███",
|
|
||||||
" ████ ██ ██ ██ ██ ████ ████",
|
|
||||||
" ██ ██ ██ ██ ██ ██ ██ ████ ██",
|
|
||||||
" ██ ██ ██ ██ ██ ██ ██ ██ ██",
|
|
||||||
" ██ ████ ████ ██ ██ ██",
|
|
||||||
}
|
|
||||||
return opts
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- You can disable default plugins as follows:
|
|
||||||
{ "max397574/better-escape.nvim", enabled = false },
|
|
||||||
|
|
||||||
-- You can also easily customize additional setup of plugins that is outside of the plugin's setup call
|
|
||||||
{
|
|
||||||
"L3MON4D3/LuaSnip",
|
|
||||||
config = function(plugin, opts)
|
|
||||||
require "astronvim.plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call
|
|
||||||
-- add more custom luasnip configuration such as filetype extend or custom snippets
|
|
||||||
local luasnip = require "luasnip"
|
|
||||||
luasnip.filetype_extend("javascript", { "javascriptreact" })
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"windwp/nvim-autopairs",
|
|
||||||
config = function(plugin, opts)
|
|
||||||
require "astronvim.plugins.configs.nvim-autopairs"(plugin, opts) -- include the default astronvim config that calls the setup call
|
|
||||||
-- add more custom autopairs configuration such as custom rules
|
|
||||||
local npairs = require "nvim-autopairs"
|
|
||||||
local Rule = require "nvim-autopairs.rule"
|
|
||||||
local cond = require "nvim-autopairs.conds"
|
|
||||||
npairs.add_rules(
|
|
||||||
{
|
|
||||||
Rule("$", "$", { "tex", "latex" })
|
|
||||||
-- don't add a pair if the next character is %
|
|
||||||
:with_pair(cond.not_after_regex "%%")
|
|
||||||
-- don't add a pair if the previous character is xxx
|
|
||||||
:with_pair(
|
|
||||||
cond.not_before_regex("xxx", 3)
|
|
||||||
)
|
|
||||||
-- don't move right when repeat character
|
|
||||||
:with_move(cond.none())
|
|
||||||
-- don't delete if the next character is xx
|
|
||||||
:with_del(cond.not_after_regex "xx")
|
|
||||||
-- disable adding a newline when you press <cr>
|
|
||||||
:with_cr(cond.none()),
|
|
||||||
},
|
|
||||||
-- disable for .vim files, but it work for another filetypes
|
|
||||||
Rule("a", "a", "-vim")
|
|
||||||
)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
-- This will run last in the setup process and is a good place to configure
|
|
||||||
-- things like custom filetypes. This just pure lua so anything that doesn't
|
|
||||||
-- fit in the normal config locations above can go here
|
|
||||||
|
|
||||||
-- Set NeoTree to open by default
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
vim.keymap.set("n", "<C-n>", "<Cmd>Neotree toggle<CR>")
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
vim.opt.relativenumber = false
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
base: lua51
|
|
||||||
|
|
||||||
globals:
|
|
||||||
vim:
|
|
||||||
any: true
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
std = "neovim"
|
|
||||||
|
|
||||||
[rules]
|
|
||||||
global_usage = "allow"
|
|
||||||
if_same_then_else = "allow"
|
|
||||||
incorrect_standard_library_use = "allow"
|
|
||||||
mixed_table = "allow"
|
|
||||||
multiple_statements = "allow"
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Run Applications as Root
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Applications'
|
|
||||||
mesg='Run Applications as Root'
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Alacritty"
|
|
||||||
option_2=" Thunar"
|
|
||||||
option_3=" Geany"
|
|
||||||
option_4=" Ranger"
|
|
||||||
option_5=" Vim"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
${polkit_cmd} alacritty
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
${polkit_cmd} dbus-run-session thunar
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
${polkit_cmd} geany
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e ranger
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e vim
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,104 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Favorite Applications
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Applications'
|
|
||||||
mesg="Installed Packages : `pacman -Q | wc -l` (pacman)"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# CMDs (add your apps here)
|
|
||||||
term_cmd='alacritty'
|
|
||||||
file_cmd='thunar'
|
|
||||||
text_cmd='geany'
|
|
||||||
web_cmd='firefox'
|
|
||||||
music_cmd='alacritty -e ncmpcpp'
|
|
||||||
setting_cmd='xfce4-settings-manager'
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Terminal <span weight='light' size='small'><i>($term_cmd)</i></span>"
|
|
||||||
option_2=" Files <span weight='light' size='small'><i>($file_cmd)</i></span>"
|
|
||||||
option_3=" Editor <span weight='light' size='small'><i>($text_cmd)</i></span>"
|
|
||||||
option_4=" Browser <span weight='light' size='small'><i>($web_cmd)</i></span>"
|
|
||||||
option_5=" Music <span weight='light' size='small'><i>($music_cmd)</i></span>"
|
|
||||||
option_6=" Settings <span weight='light' size='small'><i>($setting_cmd)</i></span>"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
${term_cmd}
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
${file_cmd}
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
${text_cmd}
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${web_cmd}
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
${music_cmd}
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
${setting_cmd}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,134 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Battery
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Battery Info
|
|
||||||
battery="`acpi -b | cut -d',' -f1 | cut -d':' -f1`"
|
|
||||||
status="`acpi -b | cut -d',' -f1 | cut -d':' -f2 | tr -d ' '`"
|
|
||||||
percentage="`acpi -b | cut -d',' -f2 | tr -d ' ',\%`"
|
|
||||||
time="`acpi -b | cut -d',' -f3`"
|
|
||||||
|
|
||||||
if [[ -z "$time" ]]; then
|
|
||||||
time=' Fully Charged'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="$status"
|
|
||||||
mesg="${battery}: ${percentage}%,${time}"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='500px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='4'
|
|
||||||
list_row='1'
|
|
||||||
win_width='550px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Charging Status
|
|
||||||
active=""
|
|
||||||
urgent=""
|
|
||||||
if [[ $status = *"Charging"* ]]; then
|
|
||||||
active="-a 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
elif [[ $status = *"Full"* ]]; then
|
|
||||||
active="-u 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
else
|
|
||||||
urgent="-u 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Discharging
|
|
||||||
if [[ $percentage -ge 5 ]] && [[ $percentage -le 19 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 20 ]] && [[ $percentage -le 39 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 40 ]] && [[ $percentage -le 59 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 60 ]] && [[ $percentage -le 79 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 80 ]] && [[ $percentage -le 100 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Remaining ${percentage}%"
|
|
||||||
option_2=" $status"
|
|
||||||
option_3=" Power Manager"
|
|
||||||
option_4=" Diagnose"
|
|
||||||
else
|
|
||||||
option_1="$ICON_DISCHRG"
|
|
||||||
option_2="$ICON_CHRG"
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str "textbox-prompt-colon {str: \"$ICON_DISCHRG\";}" \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
notify-send -u low " Remaining : ${percentage}%"
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
notify-send -u low "$ICON_CHRG Status : $status"
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
xfce4-power-manager-settings
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e powertop
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,107 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Brightness
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Brightness Info
|
|
||||||
backlight="$(printf "%.0f\n" `light -G`)"
|
|
||||||
card="`light -L | grep 'backlight' | head -n1 | cut -d'/' -f3`"
|
|
||||||
|
|
||||||
if [[ $backlight -ge 0 ]] && [[ $backlight -le 29 ]]; then
|
|
||||||
level="Low"
|
|
||||||
elif [[ $backlight -ge 30 ]] && [[ $backlight -le 49 ]]; then
|
|
||||||
level="Optimal"
|
|
||||||
elif [[ $backlight -ge 50 ]] && [[ $backlight -le 69 ]]; then
|
|
||||||
level="High"
|
|
||||||
elif [[ $backlight -ge 70 ]] && [[ $backlight -le 100 ]]; then
|
|
||||||
level="Peak"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="${backlight}%"
|
|
||||||
mesg="Device: ${card}, Level: $level"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='425px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='4'
|
|
||||||
list_row='1'
|
|
||||||
win_width='550px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Increase"
|
|
||||||
option_2=" Optimal"
|
|
||||||
option_3=" Decrease"
|
|
||||||
option_4=" Settings"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
light -A 5
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
light -S 25
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
light -U 5
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
xfce4-power-manager-settings
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,131 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : MPD (music)
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
status="`mpc status`"
|
|
||||||
if [[ -z "$status" ]]; then
|
|
||||||
prompt='Offline'
|
|
||||||
mesg="MPD is Offline"
|
|
||||||
else
|
|
||||||
prompt="`mpc -f "%artist%" current`"
|
|
||||||
mesg="`mpc -f "%title%" current` :: `mpc status | grep "#" | awk '{print $3}'`"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
if [[ ${status} == *"[playing]"* ]]; then
|
|
||||||
option_1=" Pause"
|
|
||||||
else
|
|
||||||
option_1=" Play"
|
|
||||||
fi
|
|
||||||
option_2=" Stop"
|
|
||||||
option_3=" Previous"
|
|
||||||
option_4=" Next"
|
|
||||||
option_5=" Repeat"
|
|
||||||
option_6=" Random"
|
|
||||||
else
|
|
||||||
if [[ ${status} == *"[playing]"* ]]; then
|
|
||||||
option_1=""
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
fi
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Toggle Actions
|
|
||||||
active=''
|
|
||||||
urgent=''
|
|
||||||
# Repeat
|
|
||||||
if [[ ${status} == *"repeat: on"* ]]; then
|
|
||||||
active="-a 4"
|
|
||||||
elif [[ ${status} == *"repeat: off"* ]]; then
|
|
||||||
urgent="-u 4"
|
|
||||||
else
|
|
||||||
option_5=" Parsing Error"
|
|
||||||
fi
|
|
||||||
# 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
|
|
||||||
option_6=" Parsing Error"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
mpc -q toggle && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
mpc -q stop
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
mpc -q prev && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
mpc -q next && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
mpc -q repeat
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
mpc -q random
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,129 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Power Menu
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="`hostname`"
|
|
||||||
mesg="Uptime : `uptime -p | sed -e 's/up //g'`"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Lock"
|
|
||||||
option_2=" Logout"
|
|
||||||
option_3=" Suspend"
|
|
||||||
option_4=" Hibernate"
|
|
||||||
option_5=" Reboot"
|
|
||||||
option_6=" Shutdown"
|
|
||||||
yes=' Yes'
|
|
||||||
no=' No'
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
yes=''
|
|
||||||
no=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Confirmation CMD
|
|
||||||
confirm_cmd() {
|
|
||||||
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
|
|
||||||
-theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
|
|
||||||
-theme-str 'listview {columns: 2; lines: 1;}' \
|
|
||||||
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
|
||||||
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
|
||||||
-dmenu \
|
|
||||||
-p 'Confirmation' \
|
|
||||||
-mesg 'Are you Sure?' \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Ask for confirmation
|
|
||||||
confirm_exit() {
|
|
||||||
echo -e "$yes\n$no" | confirm_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Confirm and execute
|
|
||||||
confirm_run () {
|
|
||||||
selected="$(confirm_exit)"
|
|
||||||
if [[ "$selected" == "$yes" ]]; then
|
|
||||||
${1} && ${2} && ${3}
|
|
||||||
else
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
betterlockscreen -l
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
confirm_run 'kill -9 -1'
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend'
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
confirm_run 'systemctl hibernate'
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
confirm_run 'systemctl reboot'
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
confirm_run 'systemctl poweroff'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Quick Links
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Quick Links'
|
|
||||||
mesg="Using '$BROWSER' as web browser"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
efonts="JetBrains Mono Nerd Font 10"
|
|
||||||
else
|
|
||||||
efonts="JetBrains Mono Nerd Font 28"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Google"
|
|
||||||
option_2=" Gmail"
|
|
||||||
option_3=" Youtube"
|
|
||||||
option_4=" Github"
|
|
||||||
option_5=" Reddit"
|
|
||||||
option_6=" Twitter"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-theme-str "element-text {font: \"$efonts\";}" \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
xdg-open 'https://www.google.com/'
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
xdg-open 'https://mail.google.com/'
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
xdg-open 'https://www.youtube.com/'
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
xdg-open 'https://www.github.com/'
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
xdg-open 'https://www.reddit.com/'
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
xdg-open 'https://www.twitter.com/'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Screenshot
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Screenshot'
|
|
||||||
mesg="DIR: `xdg-user-dir PICTURES`/Screenshots"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Capture Desktop"
|
|
||||||
option_2=" Capture Area"
|
|
||||||
option_3=" Capture Window"
|
|
||||||
option_4=" Capture in 5s"
|
|
||||||
option_5=" Capture in 10s"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Screenshot
|
|
||||||
time=`date +%Y-%m-%d-%H-%M-%S`
|
|
||||||
geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'`
|
|
||||||
dir="`xdg-user-dir PICTURES`/Screenshots"
|
|
||||||
file="Screenshot_${time}_${geometry}.png"
|
|
||||||
|
|
||||||
if [[ ! -d "$dir" ]]; then
|
|
||||||
mkdir -p "$dir"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# notify and view screenshot
|
|
||||||
notify_view() {
|
|
||||||
notify_cmd_shot='dunstify -u low --replace=699'
|
|
||||||
${notify_cmd_shot} "Copied to clipboard."
|
|
||||||
viewnior ${dir}/"$file"
|
|
||||||
if [[ -e "$dir/$file" ]]; then
|
|
||||||
${notify_cmd_shot} "Screenshot Saved."
|
|
||||||
else
|
|
||||||
${notify_cmd_shot} "Screenshot Deleted."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Copy screenshot to clipboard
|
|
||||||
copy_shot () {
|
|
||||||
tee "$file" | xclip -selection clipboard -t image/png
|
|
||||||
}
|
|
||||||
|
|
||||||
# countdown
|
|
||||||
countdown () {
|
|
||||||
for sec in `seq $1 -1 1`; do
|
|
||||||
dunstify -t 1000 --replace=699 "Taking shot in : $sec"
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# take shots
|
|
||||||
shotnow () {
|
|
||||||
cd ${dir} && sleep 0.5 && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shot5 () {
|
|
||||||
countdown '5'
|
|
||||||
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shot10 () {
|
|
||||||
countdown '10'
|
|
||||||
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shotwin () {
|
|
||||||
cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shotarea () {
|
|
||||||
cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
shotnow
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
shotarea
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
shotwin
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
shot5
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
shot10
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,134 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Volume
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Volume Info
|
|
||||||
mixer="`pamixer --get-volume`"
|
|
||||||
speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
|
||||||
mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
|
||||||
|
|
||||||
active=""
|
|
||||||
urgent=""
|
|
||||||
|
|
||||||
# Speaker Info
|
|
||||||
pamixer --get-mute | grep 'false' &>/dev/null
|
|
||||||
if [[ "$?" == 0 ]]; then
|
|
||||||
active="-a 1"
|
|
||||||
stext='Unmute'
|
|
||||||
sicon=''
|
|
||||||
else
|
|
||||||
urgent="-u 1"
|
|
||||||
stext='Mute'
|
|
||||||
sicon=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Microphone Info
|
|
||||||
pamixer --source 70 --get-mute | grep 'false' &>/dev/null
|
|
||||||
if [[ "$?" == 0 ]]; then
|
|
||||||
[ -n "$active" ] && active+=",3" || active="-a 3"
|
|
||||||
mtext='Unmute'
|
|
||||||
micon=''
|
|
||||||
else
|
|
||||||
[ -n "$urgent" ] && urgent+=",3" || urgent="-u 3"
|
|
||||||
mtext='Mute'
|
|
||||||
micon=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="S:$stext, M:$mtext"
|
|
||||||
mesg="$mixer - Speaker: $speaker, Mic: $mic"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Increase"
|
|
||||||
option_2="$sicon $stext"
|
|
||||||
option_3=" Decrese"
|
|
||||||
option_4="$micon $mtext"
|
|
||||||
option_5=" Settings"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2="$sicon"
|
|
||||||
option_3=""
|
|
||||||
option_4="$micon"
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
pamixer --increase 5
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
pamixer --toggle-mute
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
pamixer --decrease 5
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
pamixer --source 70 --toggle-mute
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
pavucontrol-qt
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
*
|
|
||||||
* Available Colors Schemes
|
|
||||||
*
|
|
||||||
* adapta catppuccin everforest navy paper
|
|
||||||
* arc cyberpunk gruvbox nord solarized
|
|
||||||
* black dracula lovelace onedark yousai
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
/* Import color-scheme from `colors` directory */
|
|
||||||
|
|
||||||
@import "~/.config/rofi/colors/catppuccin.rasi"
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Fonts
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
## Current Theme
|
|
||||||
|
|
||||||
type="$HOME/.config/rofi/applets/type-3"
|
|
||||||
style='style-3.rasi'
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: north East;
|
|
||||||
anchor: North East;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -150px;
|
|
||||||
y-offset: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 2px;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #11092D;
|
|
||||||
background-alt: #281657;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #DF5296;
|
|
||||||
active: #6E77FF;
|
|
||||||
urgent: #8E3596;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/a.png", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #2D1B14;
|
|
||||||
background-alt: #462D23;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #E25F3E;
|
|
||||||
active: #716251;
|
|
||||||
urgent: #934A1C;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "listview", "message" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/d.png", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #131D1F;
|
|
||||||
background-alt: #183A43;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #649094;
|
|
||||||
active: #E9CC9D;
|
|
||||||
urgent: #FEA861;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 50px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 40px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/i.jpg", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "dummy", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,166 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #231419;
|
|
||||||
background-alt: #2D1E23;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #426647;
|
|
||||||
active: #2E3F34;
|
|
||||||
urgent: #D08261;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/e.jpg", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
@@ -1,167 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #11092D;
|
|
||||||
background-alt: #281657;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #DF5296;
|
|
||||||
active: #6E77FF;
|
|
||||||
urgent: #8E3596;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
border-radius: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/j.jpg", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 15px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 15px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 15px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,176 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #101010;
|
|
||||||
background-alt: #252525;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #505050;
|
|
||||||
active: #909090;
|
|
||||||
urgent: #707070;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/g.png", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @foreground;
|
|
||||||
background-color: @foreground;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 11px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #222D32FF;
|
|
||||||
background-alt: #29353BFF;
|
|
||||||
foreground: #B8C2C6FF;
|
|
||||||
selected: #00BCD4FF;
|
|
||||||
active: #21FF90FF;
|
|
||||||
urgent: #FF4B60FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2F343FFF;
|
|
||||||
background-alt: #383C4AFF;
|
|
||||||
foreground: #BAC5D0FF;
|
|
||||||
selected: #5294E2FF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000000FF;
|
|
||||||
background-alt: #101010FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #62AEEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #24273a;
|
|
||||||
background-alt: #1e2030;
|
|
||||||
foreground: #6c7086;
|
|
||||||
selected: #8aadf4;
|
|
||||||
active: #a6da95;
|
|
||||||
urgent: #ed8796;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000B1EFF;
|
|
||||||
background-alt: #0A1528FF;
|
|
||||||
foreground: #0ABDC6FF;
|
|
||||||
selected: #0ABDC6FF;
|
|
||||||
active: #00FF00FF;
|
|
||||||
urgent: #FF0000FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E1F29FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #BD93F9FF;
|
|
||||||
active: #50FA7BFF;
|
|
||||||
urgent: #FF5555FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #323D43FF;
|
|
||||||
background-alt: #3C474DFF;
|
|
||||||
foreground: #DAD1BEFF;
|
|
||||||
selected: #7FBBB3FF;
|
|
||||||
active: #A7C080FF;
|
|
||||||
urgent: #E67E80FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #282828FF;
|
|
||||||
background-alt: #353535FF;
|
|
||||||
foreground: #EBDBB2FF;
|
|
||||||
selected: #83A598FF;
|
|
||||||
active: #B8BB26FF;
|
|
||||||
urgent: #FB4934FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1D1F28FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FDFDFDFF;
|
|
||||||
selected: #79E6F3FF;
|
|
||||||
active: #5ADECDFF;
|
|
||||||
urgent: #F37F97FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #021B21FF;
|
|
||||||
background-alt: #0C252BFF;
|
|
||||||
foreground: #F2F1B9FF;
|
|
||||||
selected: #44B5B1FF;
|
|
||||||
active: #7CBF9EFF;
|
|
||||||
urgent: #C2454EFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2E3440FF;
|
|
||||||
background-alt: #383E4AFF;
|
|
||||||
foreground: #E5E9F0FF;
|
|
||||||
selected: #81A1C1FF;
|
|
||||||
active: #A3BE8CFF;
|
|
||||||
urgent: #BF616AFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E2127FF;
|
|
||||||
background-alt: #282B31FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #61AFEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06C75FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F1F1F1FF;
|
|
||||||
background-alt: #E0E0E0FF;
|
|
||||||
foreground: #252525FF;
|
|
||||||
selected: #008EC4FF;
|
|
||||||
active: #10A778FF;
|
|
||||||
urgent: #C30771FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #002B36FF;
|
|
||||||
background-alt: #073642FF;
|
|
||||||
foreground: #EEE8D5FF;
|
|
||||||
selected: #268BD2FF;
|
|
||||||
active: #859900FF;
|
|
||||||
urgent: #DC322FFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Levi Lacoss (fishyfishfish55)
|
|
||||||
* Github : @fishyfishfish55
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #15161EFF;
|
|
||||||
background-alt: #1A1B26FF;
|
|
||||||
foreground: #C0CAF5FF;
|
|
||||||
selected: #33467CFF;
|
|
||||||
active: #414868FF;
|
|
||||||
urgent: #F7768EFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F5E7DEFF;
|
|
||||||
background-alt: #EBDCD2FF;
|
|
||||||
foreground: #34302DFF;
|
|
||||||
selected: #D97742FF;
|
|
||||||
active: #BF8F60FF;
|
|
||||||
urgent: #B23636FF;
|
|
||||||
}
|
|
||||||
@@ -1,181 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Configuration For Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
configuration {
|
|
||||||
/*---------- General setting ----------*/
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
case-sensitive: false;
|
|
||||||
cycle: true;
|
|
||||||
filter: "";
|
|
||||||
scroll-method: 0;
|
|
||||||
normalize-match: true;
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
/* cache-dir: ;*/
|
|
||||||
steal-focus: false;
|
|
||||||
/* dpi: -1;*/
|
|
||||||
|
|
||||||
/*---------- Matching setting ----------*/
|
|
||||||
matching: "normal";
|
|
||||||
tokenize: true;
|
|
||||||
|
|
||||||
/*---------- SSH settings ----------*/
|
|
||||||
ssh-client: "ssh";
|
|
||||||
ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";
|
|
||||||
parse-hosts: true;
|
|
||||||
parse-known-hosts: true;
|
|
||||||
|
|
||||||
/*---------- Drun settings ----------*/
|
|
||||||
drun-categories: "";
|
|
||||||
drun-match-fields: "name,generic,exec,categories,keywords";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
drun-show-actions: false;
|
|
||||||
drun-url-launcher: "xdg-open";
|
|
||||||
drun-use-desktop-cache: false;
|
|
||||||
drun-reload-desktop-cache: false;
|
|
||||||
drun {
|
|
||||||
/** Parse user desktop files. */
|
|
||||||
parse-user: true;
|
|
||||||
/** Parse system desktop files. */
|
|
||||||
parse-system: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Run settings ----------*/
|
|
||||||
run-command: "{cmd}";
|
|
||||||
run-list-command: "";
|
|
||||||
run-shell-command: "{terminal} -e {cmd}";
|
|
||||||
|
|
||||||
/*---------- Fallback Icon ----------*/
|
|
||||||
run,drun {
|
|
||||||
fallback-icon: "application-x-addon";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Window switcher settings ----------*/
|
|
||||||
window-match-fields: "title,class,role,name,desktop";
|
|
||||||
window-command: "wmctrl -i -R {window}";
|
|
||||||
window-format: "{w} - {c} - {t:0}";
|
|
||||||
window-thumbnail: false;
|
|
||||||
|
|
||||||
/*---------- Combi settings ----------*/
|
|
||||||
/* combi-modi: "window,run";*/
|
|
||||||
/* combi-hide-mode-prefix: false;*/
|
|
||||||
/* combi-display-format: "{mode} {text}";*/
|
|
||||||
|
|
||||||
/*---------- History and Sorting ----------*/
|
|
||||||
disable-history: false;
|
|
||||||
sorting-method: "normal";
|
|
||||||
max-history-size: 25;
|
|
||||||
|
|
||||||
/*---------- Display setting ----------*/
|
|
||||||
display-window: "Windows";
|
|
||||||
display-windowcd: "Window CD";
|
|
||||||
display-run: "Run";
|
|
||||||
display-ssh: "SSH";
|
|
||||||
display-drun: "Apps";
|
|
||||||
display-combi: "Combi";
|
|
||||||
display-keys: "Keys";
|
|
||||||
display-filebrowser: "Files";
|
|
||||||
|
|
||||||
/*---------- Misc setting ----------*/
|
|
||||||
terminal: "rofi-sensible-terminal";
|
|
||||||
font: "Mono 12";
|
|
||||||
sort: false;
|
|
||||||
threads: 0;
|
|
||||||
click-to-exit: true;
|
|
||||||
/* ignored-prefixes: "";*/
|
|
||||||
/* pid: "/run/user/1000/rofi.pid";*/
|
|
||||||
|
|
||||||
/*---------- File browser settings ----------*/
|
|
||||||
filebrowser {
|
|
||||||
/* directory: "/home";*/
|
|
||||||
directories-first: true;
|
|
||||||
sorting-method: "name";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Other settings ----------*/
|
|
||||||
timeout {
|
|
||||||
action: "kb-cancel";
|
|
||||||
delay: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Keybindings ----------*/
|
|
||||||
/*
|
|
||||||
kb-primary-paste: "Control+V,Shift+Insert";
|
|
||||||
kb-secondary-paste: "Control+v,Insert";
|
|
||||||
kb-clear-line: "Control+w";
|
|
||||||
kb-move-front: "Control+a";
|
|
||||||
kb-move-end: "Control+e";
|
|
||||||
kb-move-word-back: "Alt+b,Control+Left";
|
|
||||||
kb-move-word-forward: "Alt+f,Control+Right";
|
|
||||||
kb-move-char-back: "Left,Control+b";
|
|
||||||
kb-move-char-forward: "Right,Control+f";
|
|
||||||
kb-remove-word-back: "Control+Alt+h,Control+BackSpace";
|
|
||||||
kb-remove-word-forward: "Control+Alt+d";
|
|
||||||
kb-remove-char-forward: "Delete,Control+d";
|
|
||||||
kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";
|
|
||||||
kb-remove-to-eol: "Control+k";
|
|
||||||
kb-remove-to-sol: "Control+u";
|
|
||||||
kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";
|
|
||||||
kb-accept-custom: "Control+Return";
|
|
||||||
kb-accept-custom-alt: "Control+Shift+Return";
|
|
||||||
kb-accept-alt: "Shift+Return";
|
|
||||||
kb-delete-entry: "Shift+Delete";
|
|
||||||
kb-mode-next: "Shift+Right,Control+Tab";
|
|
||||||
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";
|
|
||||||
kb-mode-complete: "Control+l";
|
|
||||||
kb-row-left: "Control+Page_Up";
|
|
||||||
kb-row-right: "Control+Page_Down";
|
|
||||||
kb-row-down: "Down,Control+n";
|
|
||||||
kb-page-prev: "Page_Up";
|
|
||||||
kb-page-next: "Page_Down";
|
|
||||||
kb-row-first: "Home,KP_Home";
|
|
||||||
kb-row-last: "End,KP_End";
|
|
||||||
kb-row-select: "Control+space";
|
|
||||||
kb-screenshot: "Alt+S";
|
|
||||||
kb-ellipsize: "Alt+period";
|
|
||||||
kb-toggle-case-sensitivity: "grave,dead_grave";
|
|
||||||
kb-toggle-sort: "Alt+grave";
|
|
||||||
kb-cancel: "Escape,Control+g,Control+bracketleft";
|
|
||||||
kb-custom-1: "Alt+1";
|
|
||||||
kb-custom-2: "Alt+2";
|
|
||||||
kb-custom-3: "Alt+3";
|
|
||||||
kb-custom-4: "Alt+4";
|
|
||||||
kb-custom-5: "Alt+5";
|
|
||||||
kb-custom-6: "Alt+6";
|
|
||||||
kb-custom-7: "Alt+7";
|
|
||||||
kb-custom-8: "Alt+8";
|
|
||||||
kb-custom-9: "Alt+9";
|
|
||||||
kb-custom-10: "Alt+0";
|
|
||||||
kb-custom-11: "Alt+exclam";
|
|
||||||
kb-custom-12: "Alt+at";
|
|
||||||
kb-custom-13: "Alt+numbersign";
|
|
||||||
kb-custom-14: "Alt+dollar";
|
|
||||||
kb-custom-15: "Alt+percent";
|
|
||||||
kb-custom-16: "Alt+dead_circumflex";
|
|
||||||
kb-custom-17: "Alt+ampersand";
|
|
||||||
kb-custom-18: "Alt+asterisk";
|
|
||||||
kb-custom-19: "Alt+parenleft";
|
|
||||||
kb-select-1: "Super+1";
|
|
||||||
kb-select-2: "Super+2";
|
|
||||||
kb-select-3: "Super+3";
|
|
||||||
kb-select-4: "Super+4";
|
|
||||||
kb-select-5: "Super+5";
|
|
||||||
kb-select-6: "Super+6";
|
|
||||||
kb-select-7: "Super+7";
|
|
||||||
kb-select-8: "Super+8";
|
|
||||||
kb-select-9: "Super+9";
|
|
||||||
kb-select-10: "Super+0";
|
|
||||||
ml-row-left: "ScrollLeft";
|
|
||||||
ml-row-right: "ScrollRight";
|
|
||||||
ml-row-up: "ScrollUp";
|
|
||||||
ml-row-down: "ScrollDown";
|
|
||||||
me-select-entry: "MousePrimary";
|
|
||||||
me-accept-entry: "MouseDPrimary";
|
|
||||||
me-accept-custom: "Control+MouseDPrimary";
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 441 KiB |
|
Before Width: | Height: | Size: 648 KiB |
|
Before Width: | Height: | Size: 339 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 666 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |