Re-initialze to remove the 1GB binary lmstudio
This commit is contained in:
commit
1fab516511
35
Arch/archtop/home/user/.bashrc
Normal file
35
Arch/archtop/home/user/.bashrc
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# /etc/skel/.bashrc
|
||||||
|
#
|
||||||
|
# This file is sourced by all *interactive* bash shells on startup,
|
||||||
|
# including some apparently interactive shells such as scp and rcp
|
||||||
|
# that can't tolerate any output. So make sure this doesn't display
|
||||||
|
# anything or bad things will happen !
|
||||||
|
|
||||||
|
|
||||||
|
# Test for an interactive shell. There is no need to set anything
|
||||||
|
# past this point for scp and rcp, and it's important to refrain from
|
||||||
|
# outputting anything in those cases.
|
||||||
|
if [[ $- != *i* ]] ; then
|
||||||
|
# Shell is non-interactive. Be done now!
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Put your fun stuff here.
|
||||||
|
for f in $(ls $HOME/.config/shellconfig); do
|
||||||
|
source $HOME/.config/shellconfig/$f
|
||||||
|
done
|
||||||
|
|
||||||
|
neofetch
|
||||||
|
#fastfetch
|
||||||
|
fortune -cs | cowsay -f tux | lolcat
|
||||||
|
|
||||||
|
# Declare custom PATH variable
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
export EDITOR=nvim
|
||||||
|
export PS1="\[\e]133;k;start_kitty\a\]\[\e]133;D;$?\a\e]133;A\a\]\[\e]133;k;end_kitty\a\][\u@\h]\n\W \$ \[\e]133;k;start_suffix_kitty\a\]\[\e[5 q\]\[\e]2;\w\a\]\[\e]133;k;end_suffix_kitty\a\]"
|
||||||
|
|
||||||
|
# Turn off RFKILL
|
||||||
|
sudo rfkill unblock all
|
||||||
15
Arch/archtop/home/user/.config/Thunar/uca.xml
Normal file
15
Arch/archtop/home/user/.config/Thunar/uca.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<icon>utilities-terminal</icon>
|
||||||
|
<name>Open Terminal Here</name>
|
||||||
|
<submenu></submenu>
|
||||||
|
<unique-id>1723925391375720-1</unique-id>
|
||||||
|
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
|
||||||
|
<description>Example for a custom action</description>
|
||||||
|
<range></range>
|
||||||
|
<patterns>*</patterns>
|
||||||
|
<startup-notify/>
|
||||||
|
<directories/>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
BIN
Arch/archtop/home/user/.config/dconf/user
Normal file
BIN
Arch/archtop/home/user/.config/dconf/user
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
3
|
||||||
63
Arch/archtop/home/user/.config/htop/htoprc
Normal file
63
Arch/archtop/home/user/.config/htop/htoprc
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
|
# The parser is also very primitive, and not human-friendly.
|
||||||
|
htop_version=3.3.0
|
||||||
|
config_reader_min_version=3
|
||||||
|
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||||
|
hide_kernel_threads=1
|
||||||
|
hide_userland_threads=0
|
||||||
|
hide_running_in_container=0
|
||||||
|
shadow_other_users=0
|
||||||
|
show_thread_names=0
|
||||||
|
show_program_path=1
|
||||||
|
highlight_base_name=0
|
||||||
|
highlight_deleted_exe=1
|
||||||
|
shadow_distribution_path_prefix=0
|
||||||
|
highlight_megabytes=1
|
||||||
|
highlight_threads=1
|
||||||
|
highlight_changes=0
|
||||||
|
highlight_changes_delay_secs=5
|
||||||
|
find_comm_in_cmdline=1
|
||||||
|
strip_exe_from_cmdline=1
|
||||||
|
show_merged_command=0
|
||||||
|
header_margin=1
|
||||||
|
screen_tabs=1
|
||||||
|
detailed_cpu_time=0
|
||||||
|
cpu_count_from_one=0
|
||||||
|
show_cpu_usage=1
|
||||||
|
show_cpu_frequency=0
|
||||||
|
show_cpu_temperature=0
|
||||||
|
degree_fahrenheit=0
|
||||||
|
update_process_names=0
|
||||||
|
account_guest_in_cpu_meter=0
|
||||||
|
color_scheme=0
|
||||||
|
enable_mouse=1
|
||||||
|
delay=15
|
||||||
|
hide_function_bar=0
|
||||||
|
header_layout=two_50_50
|
||||||
|
column_meters_0=LeftCPUs Memory Swap
|
||||||
|
column_meter_modes_0=1 1 1
|
||||||
|
column_meters_1=RightCPUs Tasks LoadAverage Uptime
|
||||||
|
column_meter_modes_1=1 2 2 2
|
||||||
|
tree_view=0
|
||||||
|
sort_key=47
|
||||||
|
tree_sort_key=0
|
||||||
|
sort_direction=-1
|
||||||
|
tree_sort_direction=1
|
||||||
|
tree_view_always_by_pid=0
|
||||||
|
all_branches_collapsed=0
|
||||||
|
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||||
|
.sort_key=PERCENT_MEM
|
||||||
|
.tree_sort_key=PID
|
||||||
|
.tree_view_always_by_pid=0
|
||||||
|
.tree_view=0
|
||||||
|
.sort_direction=-1
|
||||||
|
.tree_sort_direction=1
|
||||||
|
.all_branches_collapsed=0
|
||||||
|
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
|
||||||
|
.sort_key=IO_RATE
|
||||||
|
.tree_sort_key=PID
|
||||||
|
.tree_view_always_by_pid=0
|
||||||
|
.tree_view=0
|
||||||
|
.sort_direction=-1
|
||||||
|
.tree_sort_direction=1
|
||||||
|
.all_branches_collapsed=0
|
||||||
237
Arch/archtop/home/user/.config/hypr/hyprland.conf
Normal file
237
Arch/archtop/home/user/.config/hypr/hyprland.conf
Normal file
@ -0,0 +1,237 @@
|
|||||||
|
#Split-Monitor-Workspaces Setup
|
||||||
|
plugin {
|
||||||
|
split-monitor-workspaces {
|
||||||
|
count = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
monitor=ieDP-1,1600x900@60,0x0,1 #60hz refresh rate on eDP-1 - "hyprctl monitors"
|
||||||
|
#monitor=DP-1,1920x1080@120,0x0,1 #120hz refresh rate on DP-1 - "hyprctl monitors"
|
||||||
|
#monitor=DP-1,highres,0x0,1,vrr,1 #Variable refresh rate
|
||||||
|
|
||||||
|
# monitor=HDMI-A-1, 1920x1080@60, 1920x0, 1 #60hz on HDMI-A-1
|
||||||
|
#monitor=,preferred,auto,1
|
||||||
|
|
||||||
|
general {
|
||||||
|
gaps_in = 6
|
||||||
|
gaps_out = 8
|
||||||
|
border_size = 2
|
||||||
|
col.active_border = rgba(398bc6ff) rgba(576ddbff) rgba(2a9292ff) rgba(955ae7ff) 45deg
|
||||||
|
col.inactive_border = rgba(19171ccc) rgba(26232acc) 45deg
|
||||||
|
layout = dwindle
|
||||||
|
resize_on_border = true
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_options = grp:alt_shift_toggle
|
||||||
|
#kb_options=caps:super
|
||||||
|
follow_mouse = 1
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = false
|
||||||
|
}
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
accel_profile = flat
|
||||||
|
}
|
||||||
|
env = KITTY_ENABLE_WAYLAND, 1
|
||||||
|
env = XDG_CURRENT_DESKTOP, Hyprland
|
||||||
|
env = XDG_SESSION_TYPE, wayland
|
||||||
|
env = XDG_SESSION_DESKTOP, Hyprland
|
||||||
|
env = GDK_BACKEND, wayland
|
||||||
|
env = CLUTTER_BACKEND, wayland
|
||||||
|
env = SDL_VIDEODRIVER, wayland,x11,windows
|
||||||
|
env = QT_QPA_PLATFORM, wayland
|
||||||
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
|
||||||
|
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
|
||||||
|
env = MOZ_ENABLE_WAYLAND, 1
|
||||||
|
env = GTK_THEME, Adwaita-dark
|
||||||
|
env = HYPRCURSOR_THEME, extracted_ComixCursors-Green
|
||||||
|
env = HYPRCURSOR_SIZE, 32
|
||||||
|
env = XCURSOR_THEME, ComixCursors-Green
|
||||||
|
env = XCURSOR_SIZE=32
|
||||||
|
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = true
|
||||||
|
workspace_swipe_fingers = 3
|
||||||
|
}
|
||||||
|
misc {
|
||||||
|
mouse_move_enables_dpms = true
|
||||||
|
key_press_enables_dpms = false
|
||||||
|
}
|
||||||
|
animations {
|
||||||
|
enabled = yes
|
||||||
|
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||||
|
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||||
|
bezier = winOut, 0.3, -0.3, 0, 1
|
||||||
|
bezier = liner, 1, 1, 1, 1
|
||||||
|
animation = windows, 1, 6, wind, slide
|
||||||
|
animation = windowsIn, 1, 6, winIn, slide
|
||||||
|
animation = windowsOut, 1, 5, winOut, slide
|
||||||
|
animation = windowsMove, 1, 5, wind, slide
|
||||||
|
animation = border, 1, 1, liner
|
||||||
|
animation = borderangle, 1, 30, liner, loop
|
||||||
|
|
||||||
|
animation = fade, 1, 10, default
|
||||||
|
animation = workspaces, 1, 5, wind
|
||||||
|
}
|
||||||
|
decoration {
|
||||||
|
rounding = 10
|
||||||
|
# drop_shadow = false
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 5
|
||||||
|
passes = 3
|
||||||
|
new_optimizations = on
|
||||||
|
ignore_opacity = on
|
||||||
|
}
|
||||||
|
}
|
||||||
|
plugin {
|
||||||
|
hyprwinwrap {
|
||||||
|
# class is an EXACT match and NOT a regex!
|
||||||
|
class = kitty-bg
|
||||||
|
}
|
||||||
|
|
||||||
|
hyprtrails {
|
||||||
|
color = rgba(a06e3bff)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exec-once = swww init
|
||||||
|
exec-once = waybar
|
||||||
|
# exec-once = /home/ganome/.local/bin/eww-boot
|
||||||
|
exec-once = swaync-client -swb
|
||||||
|
exec-once = xrdb /home/ganome/.Xresources
|
||||||
|
exec-once = urxvtd --quiet --opendisplay --fork
|
||||||
|
exec-once = wallsetter
|
||||||
|
exec-once = nm-applet --indicator
|
||||||
|
# exec-once = swayidle -w timeout 720 'swaylock -f' timeout 800 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000'
|
||||||
|
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||||
|
exec-once = xwaylandvideobridge
|
||||||
|
exec-once = /home/ganome/.local/bin/reset-hyprpm
|
||||||
|
exec-once = hyprctl dispatch focusmonitor eDP-1
|
||||||
|
exec-once = dbus-update-activation-environment --systemd --all
|
||||||
|
exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
|
#REMOTE DESKTOP
|
||||||
|
exec-once = wayvnc -g -o DP-1 0.0.0.0
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
exec-once = blueman-applet
|
||||||
|
|
||||||
|
#Clipboard history with Super+V
|
||||||
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true
|
||||||
|
preserve_split = true
|
||||||
|
}
|
||||||
|
master {
|
||||||
|
new_status = slave
|
||||||
|
}
|
||||||
|
bind = SUPER,Return,exec,kitty
|
||||||
|
bind = SUPERSHIFT,Return,exec,urxvt
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Bitstream Vera Sans Mono:size=14, xft:Hack Nerd Font Mono:size=12, xft:Font Awesome 6 Free:style=Solid"
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Font Awesome:size=12"
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000
|
||||||
|
bind = SUPER,P,exec,rofi -show drun --with-images
|
||||||
|
bind = SUPERSHIFT,W,exec,web-search
|
||||||
|
bind = SUPER,W,exec,vivaldi
|
||||||
|
|
||||||
|
bind = SUPER,E,exec,emopicker9000
|
||||||
|
bind = SUPER,D,exec,discord
|
||||||
|
bind = SUPERSHIFT,D,exec,vesktop-bin
|
||||||
|
bind = SUPER,M,exec,spotify
|
||||||
|
bind = SUPERCTRL,N,exec, "/usr/bin/swaync-client -op",
|
||||||
|
bind = SUPERSHIFT,Q,killactive,
|
||||||
|
# bind = SUPER,P,pseudo,
|
||||||
|
bind = SUPERSHIFT,I,togglesplit,
|
||||||
|
bind = SUPER,F,fullscreen,
|
||||||
|
bind = SUPERSHIFT,SPACE,togglefloating,
|
||||||
|
bind = SUPERSHIFT,E,exit,
|
||||||
|
|
||||||
|
#Waybar
|
||||||
|
bind = SUPER, B, exec, pkill -10 waybar
|
||||||
|
bind = SUPERSHIFT, B, exec, $HOME/.local/bin/reset-waybar
|
||||||
|
|
||||||
|
#Notification
|
||||||
|
bind = SUPERSHIFT,T, exec, swaync-client -op
|
||||||
|
|
||||||
|
#Screen Shots
|
||||||
|
bind = SUPER,PRINT, exec,grimshot --notify save area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M).png
|
||||||
|
|
||||||
|
# Special Workspaces - like scrathpad, but named
|
||||||
|
bind = SUPERSHIFT,MINUS,movetoworkspace,special
|
||||||
|
bind = SUPER,MINUS,togglespecialworkspace, special
|
||||||
|
|
||||||
|
# Background Selection
|
||||||
|
bind = SUPERSHIFT,N,exec,newbg
|
||||||
|
|
||||||
|
#Navigation
|
||||||
|
bind = SUPER,1,split-workspace,1
|
||||||
|
bind = SUPER,2,split-workspace,2
|
||||||
|
bind = SUPER,3,split-workspace,3
|
||||||
|
bind = SUPER,4,split-workspace,4
|
||||||
|
bind = SUPER,5,split-workspace,5
|
||||||
|
bind = SUPER,6,split-workspace,6
|
||||||
|
bind = SUPER,7,split-workspace,7
|
||||||
|
bind = SUPER,8,split-workspace,8
|
||||||
|
bind = SUPER,9,split-workspace,9
|
||||||
|
bind = SUPER,0,split-workspace,10
|
||||||
|
bind = SUPERSHIFT,1,split-movetoworkspace,1
|
||||||
|
bind = SUPERSHIFT,2,split-movetoworkspace,2
|
||||||
|
bind = SUPERSHIFT,3,split-movetoworkspace,3
|
||||||
|
bind = SUPERSHIFT,4,split-movetoworkspace,4
|
||||||
|
bind = SUPERSHIFT,5,split-movetoworkspace,5
|
||||||
|
bind = SUPERSHIFT,6,split-movetoworkspace,6
|
||||||
|
bind = SUPERSHIFT,7,split-movetoworkspace,7
|
||||||
|
bind = SUPERSHIFT,8,split-movetoworkspace,8
|
||||||
|
bind = SUPERSHIFT,9,split-movetoworkspace,9
|
||||||
|
bind = SUPERSHIFT,0,split-movetoworkspace,10
|
||||||
|
bind = SUPERSHIFT, right, split-changemonitor, next #Move active workspace to other monitor
|
||||||
|
bind = SUPERSHIFT, left, split-changemonitor, prev
|
||||||
|
bind = SUPER, right, focusmonitor, +1 #Switch monitor focus
|
||||||
|
bind = SUPER, left, focusmonitor, -1 #Switch monitor focus
|
||||||
|
bind = SUPER,mouse_down,workspace, e+1
|
||||||
|
bind = SUPER,mouse_up,workspace, e-1
|
||||||
|
bindm = SUPER,mouse:272,movewindow
|
||||||
|
bindm = SUPER,mouse:273,resizewindow
|
||||||
|
bind = ALT,Tab,cyclenext
|
||||||
|
bind = ALT,Tab,bringactivetotop
|
||||||
|
|
||||||
|
#Volume Control
|
||||||
|
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bind = ,XF86AudioPause, exec, playerctl play-pause
|
||||||
|
bind = ,XF86AudioNext, exec, playerctl next
|
||||||
|
bind = ,XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
#Clipboard Shortcuts
|
||||||
|
bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
|
||||||
|
|
||||||
|
#Monitor Brightness
|
||||||
|
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||||||
|
bind = ,XF86MonBrightnessUp,exec,brightnessctl set +5%
|
||||||
|
|
||||||
|
#Keyboard Brightness
|
||||||
|
bind = ,XF86KbdBrightnessUp, exec, brightnessctl -d *::kbd_backlight set +20%
|
||||||
|
bind = ,XF86KbdBrightnessDown, exec, brightnessctl -d *::kbd_backlight set 20%-
|
||||||
|
|
||||||
|
#WINDOW RULES
|
||||||
|
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||||
|
|
||||||
|
#ROFI RULES
|
||||||
|
windowrulev2 = float,class:^(Rofi)$
|
||||||
|
|
||||||
|
#POLKIT RULES
|
||||||
|
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||||
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
|
||||||
|
|
||||||
|
#SHARE PICKER RULES
|
||||||
|
windowrulev2 = size 400 250,float,class:^(hyprland-share-picker)$
|
||||||
237
Arch/archtop/home/user/.config/hypr/hyprland.conf.laptop
Normal file
237
Arch/archtop/home/user/.config/hypr/hyprland.conf.laptop
Normal file
@ -0,0 +1,237 @@
|
|||||||
|
#Split-Monitor-Workspaces Setup
|
||||||
|
plugin {
|
||||||
|
split-monitor-workspaces {
|
||||||
|
count = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
monitor=ieDP-1,1600x900@60,0x0,1 #60hz refresh rate on eDP-1 - "hyprctl monitors"
|
||||||
|
#monitor=DP-1,1920x1080@120,0x0,1 #120hz refresh rate on DP-1 - "hyprctl monitors"
|
||||||
|
#monitor=DP-1,highres,0x0,1,vrr,1 #Variable refresh rate
|
||||||
|
|
||||||
|
# monitor=HDMI-A-1, 1920x1080@60, 1920x0, 1 #60hz on HDMI-A-1
|
||||||
|
#monitor=,preferred,auto,1
|
||||||
|
|
||||||
|
general {
|
||||||
|
gaps_in = 6
|
||||||
|
gaps_out = 8
|
||||||
|
border_size = 2
|
||||||
|
col.active_border = rgba(398bc6ff) rgba(576ddbff) rgba(2a9292ff) rgba(955ae7ff) 45deg
|
||||||
|
col.inactive_border = rgba(19171ccc) rgba(26232acc) 45deg
|
||||||
|
layout = dwindle
|
||||||
|
resize_on_border = true
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_options = grp:alt_shift_toggle
|
||||||
|
#kb_options=caps:super
|
||||||
|
follow_mouse = 1
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = false
|
||||||
|
}
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
accel_profile = flat
|
||||||
|
}
|
||||||
|
env = KITTY_ENABLE_WAYLAND, 1
|
||||||
|
env = XDG_CURRENT_DESKTOP, Hyprland
|
||||||
|
env = XDG_SESSION_TYPE, wayland
|
||||||
|
env = XDG_SESSION_DESKTOP, Hyprland
|
||||||
|
env = GDK_BACKEND, wayland
|
||||||
|
env = CLUTTER_BACKEND, wayland
|
||||||
|
env = SDL_VIDEODRIVER, wayland,x11,windows
|
||||||
|
env = QT_QPA_PLATFORM, wayland
|
||||||
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
|
||||||
|
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
|
||||||
|
env = MOZ_ENABLE_WAYLAND, 1
|
||||||
|
env = GTK_THEME, Adwaita-dark
|
||||||
|
env = HYPRCURSOR_THEME, extracted_ComixCursors-Green
|
||||||
|
env = HYPRCURSOR_SIZE, 32
|
||||||
|
env = XCURSOR_THEME, ComixCursors-Green
|
||||||
|
env = XCURSOR_SIZE=32
|
||||||
|
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = true
|
||||||
|
workspace_swipe_fingers = 3
|
||||||
|
}
|
||||||
|
misc {
|
||||||
|
mouse_move_enables_dpms = true
|
||||||
|
key_press_enables_dpms = false
|
||||||
|
}
|
||||||
|
animations {
|
||||||
|
enabled = yes
|
||||||
|
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||||
|
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||||
|
bezier = winOut, 0.3, -0.3, 0, 1
|
||||||
|
bezier = liner, 1, 1, 1, 1
|
||||||
|
animation = windows, 1, 6, wind, slide
|
||||||
|
animation = windowsIn, 1, 6, winIn, slide
|
||||||
|
animation = windowsOut, 1, 5, winOut, slide
|
||||||
|
animation = windowsMove, 1, 5, wind, slide
|
||||||
|
animation = border, 1, 1, liner
|
||||||
|
animation = borderangle, 1, 30, liner, loop
|
||||||
|
|
||||||
|
animation = fade, 1, 10, default
|
||||||
|
animation = workspaces, 1, 5, wind
|
||||||
|
}
|
||||||
|
decoration {
|
||||||
|
rounding = 10
|
||||||
|
# drop_shadow = false
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 5
|
||||||
|
passes = 3
|
||||||
|
new_optimizations = on
|
||||||
|
ignore_opacity = on
|
||||||
|
}
|
||||||
|
}
|
||||||
|
plugin {
|
||||||
|
hyprwinwrap {
|
||||||
|
# class is an EXACT match and NOT a regex!
|
||||||
|
class = kitty-bg
|
||||||
|
}
|
||||||
|
|
||||||
|
hyprtrails {
|
||||||
|
color = rgba(a06e3bff)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exec-once = swww init
|
||||||
|
exec-once = waybar
|
||||||
|
# exec-once = /home/ganome/.local/bin/eww-boot
|
||||||
|
exec-once = swaync-client -swb
|
||||||
|
exec-once = xrdb /home/ganome/.Xresources
|
||||||
|
exec-once = urxvtd --quiet --opendisplay --fork
|
||||||
|
exec-once = wallsetter
|
||||||
|
exec-once = nm-applet --indicator
|
||||||
|
# exec-once = swayidle -w timeout 720 'swaylock -f' timeout 800 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000'
|
||||||
|
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||||
|
exec-once = xwaylandvideobridge
|
||||||
|
exec-once = /home/ganome/.local/bin/reset-hyprpm
|
||||||
|
exec-once = hyprctl dispatch focusmonitor eDP-1
|
||||||
|
exec-once = dbus-update-activation-environment --systemd --all
|
||||||
|
exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
|
#REMOTE DESKTOP
|
||||||
|
exec-once = wayvnc -g -o DP-1 0.0.0.0
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
exec-once = blueman-applet
|
||||||
|
|
||||||
|
#Clipboard history with Super+V
|
||||||
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true
|
||||||
|
preserve_split = true
|
||||||
|
}
|
||||||
|
master {
|
||||||
|
new_status = slave
|
||||||
|
}
|
||||||
|
bind = SUPER,Return,exec,kitty
|
||||||
|
bind = SUPERSHIFT,Return,exec,urxvt
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Bitstream Vera Sans Mono:size=14, xft:Hack Nerd Font Mono:size=12, xft:Font Awesome 6 Free:style=Solid"
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Font Awesome:size=12"
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000
|
||||||
|
bind = SUPER,P,exec,rofi -show drun --with-images
|
||||||
|
bind = SUPERSHIFT,W,exec,web-search
|
||||||
|
bind = SUPER,W,exec,vivaldi
|
||||||
|
|
||||||
|
bind = SUPER,E,exec,emopicker9000
|
||||||
|
bind = SUPER,D,exec,discord
|
||||||
|
bind = SUPERSHIFT,D,exec,vesktop-bin
|
||||||
|
bind = SUPER,M,exec,spotify
|
||||||
|
bind = SUPERCTRL,N,exec, "/usr/bin/swaync-client -op",
|
||||||
|
bind = SUPERSHIFT,Q,killactive,
|
||||||
|
# bind = SUPER,P,pseudo,
|
||||||
|
bind = SUPERSHIFT,I,togglesplit,
|
||||||
|
bind = SUPER,F,fullscreen,
|
||||||
|
bind = SUPERSHIFT,SPACE,togglefloating,
|
||||||
|
bind = SUPERSHIFT,E,exit,
|
||||||
|
|
||||||
|
#Waybar
|
||||||
|
bind = SUPER, B, exec, pkill -10 waybar
|
||||||
|
bind = SUPERSHIFT, B, exec, $HOME/.local/bin/reset-waybar
|
||||||
|
|
||||||
|
#Notification
|
||||||
|
bind = SUPERSHIFT,T, exec, swaync-client -op
|
||||||
|
|
||||||
|
#Screen Shots
|
||||||
|
bind = SUPER,PRINT, exec,grimshot --notify save area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M).png
|
||||||
|
|
||||||
|
# Special Workspaces - like scrathpad, but named
|
||||||
|
bind = SUPERSHIFT,MINUS,movetoworkspace,special
|
||||||
|
bind = SUPER,MINUS,togglespecialworkspace, special
|
||||||
|
|
||||||
|
# Background Selection
|
||||||
|
bind = SUPERSHIFT,N,exec,newbg
|
||||||
|
|
||||||
|
#Navigation
|
||||||
|
bind = SUPER,1,split-workspace,1
|
||||||
|
bind = SUPER,2,split-workspace,2
|
||||||
|
bind = SUPER,3,split-workspace,3
|
||||||
|
bind = SUPER,4,split-workspace,4
|
||||||
|
bind = SUPER,5,split-workspace,5
|
||||||
|
bind = SUPER,6,split-workspace,6
|
||||||
|
bind = SUPER,7,split-workspace,7
|
||||||
|
bind = SUPER,8,split-workspace,8
|
||||||
|
bind = SUPER,9,split-workspace,9
|
||||||
|
bind = SUPER,0,split-workspace,10
|
||||||
|
bind = SUPERSHIFT,1,split-movetoworkspace,1
|
||||||
|
bind = SUPERSHIFT,2,split-movetoworkspace,2
|
||||||
|
bind = SUPERSHIFT,3,split-movetoworkspace,3
|
||||||
|
bind = SUPERSHIFT,4,split-movetoworkspace,4
|
||||||
|
bind = SUPERSHIFT,5,split-movetoworkspace,5
|
||||||
|
bind = SUPERSHIFT,6,split-movetoworkspace,6
|
||||||
|
bind = SUPERSHIFT,7,split-movetoworkspace,7
|
||||||
|
bind = SUPERSHIFT,8,split-movetoworkspace,8
|
||||||
|
bind = SUPERSHIFT,9,split-movetoworkspace,9
|
||||||
|
bind = SUPERSHIFT,0,split-movetoworkspace,10
|
||||||
|
bind = SUPERSHIFT, right, split-changemonitor, next #Move active workspace to other monitor
|
||||||
|
bind = SUPERSHIFT, left, split-changemonitor, prev
|
||||||
|
bind = SUPER, right, focusmonitor, +1 #Switch monitor focus
|
||||||
|
bind = SUPER, left, focusmonitor, -1 #Switch monitor focus
|
||||||
|
bind = SUPER,mouse_down,workspace, e+1
|
||||||
|
bind = SUPER,mouse_up,workspace, e-1
|
||||||
|
bindm = SUPER,mouse:272,movewindow
|
||||||
|
bindm = SUPER,mouse:273,resizewindow
|
||||||
|
bind = ALT,Tab,cyclenext
|
||||||
|
bind = ALT,Tab,bringactivetotop
|
||||||
|
|
||||||
|
#Volume Control
|
||||||
|
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bind = ,XF86AudioPause, exec, playerctl play-pause
|
||||||
|
bind = ,XF86AudioNext, exec, playerctl next
|
||||||
|
bind = ,XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
#Clipboard Shortcuts
|
||||||
|
bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
|
||||||
|
|
||||||
|
#Monitor Brightness
|
||||||
|
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||||||
|
bind = ,XF86MonBrightnessUp,exec,brightnessctl set +5%
|
||||||
|
|
||||||
|
#Keyboard Brightness
|
||||||
|
bind = ,XF86KbdBrightnessUp, exec, brightnessctl -d *::kbd_backlight set +20%
|
||||||
|
bind = ,XF86KbdBrightnessDown, exec, brightnessctl -d *::kbd_backlight set 20%-
|
||||||
|
|
||||||
|
#WINDOW RULES
|
||||||
|
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||||
|
|
||||||
|
#ROFI RULES
|
||||||
|
windowrulev2 = float,class:^(Rofi)$
|
||||||
|
|
||||||
|
#POLKIT RULES
|
||||||
|
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||||
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
|
||||||
|
|
||||||
|
#SHARE PICKER RULES
|
||||||
|
windowrulev2 = size 400 250,float,class:^(hyprland-share-picker)$
|
||||||
234
Arch/archtop/home/user/.config/hypr/hyprland.conf.nosplit
Normal file
234
Arch/archtop/home/user/.config/hypr/hyprland.conf.nosplit
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
#Split-Monitor-Workspaces Setup
|
||||||
|
plugin {
|
||||||
|
split-monitor-workspaces {
|
||||||
|
count = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
monitor=DP-1,1920x1080@75,0x0,1 #75hz refresh rate on DP-1 - "hyprctl monitors"
|
||||||
|
#monitor=DP-1,1920x1080@120,0x0,1 #120hz refresh rate on DP-1 - "hyprctl monitors"
|
||||||
|
#monitor=DP-1,highres,0x0,1,vrr,1 #Variable refresh rate
|
||||||
|
|
||||||
|
monitor=HDMI-A-1, 1920x1080@60, 1920x0, 1 #60hz on HDMI-A-1
|
||||||
|
#monitor=,preferred,auto,1
|
||||||
|
|
||||||
|
general {
|
||||||
|
gaps_in = 6
|
||||||
|
gaps_out = 8
|
||||||
|
border_size = 2
|
||||||
|
col.active_border = rgba(398bc6ff) rgba(576ddbff) rgba(2a9292ff) rgba(955ae7ff) 45deg
|
||||||
|
col.inactive_border = rgba(19171ccc) rgba(26232acc) 45deg
|
||||||
|
layout = dwindle
|
||||||
|
resize_on_border = true
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_options = grp:alt_shift_toggle
|
||||||
|
#kb_options=caps:super
|
||||||
|
follow_mouse = 1
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = false
|
||||||
|
}
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
accel_profile = flat
|
||||||
|
}
|
||||||
|
env = KITTY_ENABLE_WAYLAND, 1
|
||||||
|
env = XDG_CURRENT_DESKTOP, Hyprland
|
||||||
|
env = XDG_SESSION_TYPE, wayland
|
||||||
|
env = XDG_SESSION_DESKTOP, Hyprland
|
||||||
|
env = GDK_BACKEND, wayland
|
||||||
|
env = CLUTTER_BACKEND, wayland
|
||||||
|
env = SDL_VIDEODRIVER, wayland,x11,windows
|
||||||
|
env = QT_QPA_PLATFORM, wayland
|
||||||
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
|
||||||
|
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
|
||||||
|
env = MOZ_ENABLE_WAYLAND, 1
|
||||||
|
env = GTK_THEME, Adwaita-dark
|
||||||
|
env = HYPRCURSOR_THEME, extracted_ComixCursors-Green
|
||||||
|
env = HYPRCURSOR_SIZE, 32
|
||||||
|
env = XCURSOR_THEME, ComixCursors-Green
|
||||||
|
env = XCURSOR_SIZE=32
|
||||||
|
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = true
|
||||||
|
workspace_swipe_fingers = 3
|
||||||
|
}
|
||||||
|
misc {
|
||||||
|
mouse_move_enables_dpms = true
|
||||||
|
key_press_enables_dpms = false
|
||||||
|
}
|
||||||
|
animations {
|
||||||
|
enabled = yes
|
||||||
|
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||||
|
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||||
|
bezier = winOut, 0.3, -0.3, 0, 1
|
||||||
|
bezier = liner, 1, 1, 1, 1
|
||||||
|
animation = windows, 1, 6, wind, slide
|
||||||
|
animation = windowsIn, 1, 6, winIn, slide
|
||||||
|
animation = windowsOut, 1, 5, winOut, slide
|
||||||
|
animation = windowsMove, 1, 5, wind, slide
|
||||||
|
animation = border, 1, 1, liner
|
||||||
|
animation = borderangle, 1, 30, liner, loop
|
||||||
|
|
||||||
|
animation = fade, 1, 10, default
|
||||||
|
animation = workspaces, 1, 5, wind
|
||||||
|
}
|
||||||
|
decoration {
|
||||||
|
rounding = 10
|
||||||
|
drop_shadow = false
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 5
|
||||||
|
passes = 3
|
||||||
|
new_optimizations = on
|
||||||
|
ignore_opacity = on
|
||||||
|
}
|
||||||
|
}
|
||||||
|
plugin {
|
||||||
|
hyprwinwrap {
|
||||||
|
# class is an EXACT match and NOT a regex!
|
||||||
|
class = kitty-bg
|
||||||
|
}
|
||||||
|
|
||||||
|
hyprtrails {
|
||||||
|
color = rgba(a06e3bff)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# exec-once = dbus-update-activation-environment --systemd --all
|
||||||
|
# exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
exec-once = swww init
|
||||||
|
exec-once = waybar
|
||||||
|
# exec-once = /home/ganome/.local/bin/eww-boot
|
||||||
|
exec-once = swaync
|
||||||
|
exec-once = xrdb /home/ganome/.Xresources
|
||||||
|
exec-once = urxvtd --quiet --opendisplay --fork
|
||||||
|
exec-once = wallsetter
|
||||||
|
exec-once = nm-applet --indicator
|
||||||
|
# exec-once = swayidle -w timeout 720 'swaylock -f' timeout 800 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000'
|
||||||
|
exec-once = /usr/lib64/libexec/polkit-kde-authentication-agent-1
|
||||||
|
exec-once = xwaylandvideobridge
|
||||||
|
exec-once = /home/ganome/.local/bin/reset-hyprpm
|
||||||
|
exec-once = hyprctl dispatch focusmonitor DP-1
|
||||||
|
|
||||||
|
#REMOTE DESKTOP
|
||||||
|
exec-once = wayvnc -g -o DP-1 0.0.0.0
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
exec-once = blueman-applet
|
||||||
|
|
||||||
|
#Clipboard history with Super+V
|
||||||
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true
|
||||||
|
preserve_split = true
|
||||||
|
}
|
||||||
|
master {
|
||||||
|
new_status = slave
|
||||||
|
}
|
||||||
|
bind = SUPER,Return,exec,kitty
|
||||||
|
bind = SUPERSHIFT,Return,exec,urxvt
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Bitstream Vera Sans Mono:size=14, xft:Hack Nerd Font Mono:size=12, xft:Font Awesome 6 Free:style=Solid"
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Font Awesome:size=12"
|
||||||
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000
|
||||||
|
bind = SUPER,P,exec,rofi -show drun --with-images
|
||||||
|
bind = SUPERSHIFT,W,exec,web-search
|
||||||
|
bind = SUPER,W,exec,vivaldi
|
||||||
|
|
||||||
|
bind = SUPER,E,exec,emopicker9000
|
||||||
|
bind = SUPER,D,exec,discord
|
||||||
|
bind = SUPERSHIFT,D,exec,vesktop
|
||||||
|
bind = SUPER,M,exec,spotify
|
||||||
|
bind = SUPERCTRL,N,exec, "/usr/bin/swaync-client -op",
|
||||||
|
bind = SUPERSHIFT,Q,killactive,
|
||||||
|
# bind = SUPER,P,pseudo,
|
||||||
|
bind = SUPERSHIFT,I,togglesplit,
|
||||||
|
bind = SUPER,F,fullscreen,
|
||||||
|
bind = SUPERSHIFT,SPACE,togglefloating,
|
||||||
|
bind = SUPERSHIFT,E,exit,
|
||||||
|
|
||||||
|
#Waybar
|
||||||
|
bind = SUPER, B, exec, pkill -10 waybar
|
||||||
|
bind = SUPERSHIFT, B, exec, $HOME/.local/bin/reset-waybar
|
||||||
|
|
||||||
|
#Notification
|
||||||
|
bind = SUPERSHIFT,T, exec, swaync-client -op
|
||||||
|
|
||||||
|
#Screen Shots
|
||||||
|
bind = SUPER,PRINT, exec,grimshot --notify save area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M).png
|
||||||
|
|
||||||
|
# Special Workspaces - like scrathpad, but named
|
||||||
|
bind = SUPERSHIFT,MINUS,movetoworkspace,special
|
||||||
|
bind = SUPER,MINUS,togglespecialworkspace, special
|
||||||
|
|
||||||
|
# Background Selection
|
||||||
|
bind = SUPERSHIFT,N,exec,newbg
|
||||||
|
|
||||||
|
#Navigation
|
||||||
|
bind = SUPER,1,workspace,1
|
||||||
|
bind = SUPER,2,workspace,2
|
||||||
|
bind = SUPER,3,workspace,3
|
||||||
|
bind = SUPER,4,workspace,4
|
||||||
|
bind = SUPER,5,workspace,5
|
||||||
|
bind = SUPER,6,workspace,6
|
||||||
|
bind = SUPER,7,workspace,7
|
||||||
|
bind = SUPER,8,workspace,8
|
||||||
|
bind = SUPER,9,workspace,9
|
||||||
|
bind = SUPER,0,workspace,10
|
||||||
|
bind = SUPERSHIFT,1,movetoworkspace,1
|
||||||
|
bind = SUPERSHIFT,2,movetoworkspace,2
|
||||||
|
bind = SUPERSHIFT,3,movetoworkspace,3
|
||||||
|
bind = SUPERSHIFT,4,movetoworkspace,4
|
||||||
|
bind = SUPERSHIFT,5,movetoworkspace,5
|
||||||
|
bind = SUPERSHIFT,6,movetoworkspace,6
|
||||||
|
bind = SUPERSHIFT,7,movetoworkspace,7
|
||||||
|
bind = SUPERSHIFT,8,movetoworkspace,8
|
||||||
|
bind = SUPERSHIFT,9,movetoworkspace,9
|
||||||
|
bind = SUPERSHIFT,0,movetoworkspace,10
|
||||||
|
# bind = SUPERSHIFT, right, changemonitor, next #Move active workspace to other monitor
|
||||||
|
# bind = SUPERSHIFT, left, changemonitor, prev
|
||||||
|
bind = SUPER, right, focusmonitor, +1 #Switch monitor focus
|
||||||
|
bind = SUPER, left, focusmonitor, -1 #Switch monitor focus
|
||||||
|
bind = SUPER,mouse_down,workspace, e+1
|
||||||
|
bind = SUPER,mouse_up,workspace, e-1
|
||||||
|
bindm = SUPER,mouse:272,movewindow
|
||||||
|
bindm = SUPER,mouse:273,resizewindow
|
||||||
|
bind = ALT,Tab,cyclenext
|
||||||
|
bind = ALT,Tab,bringactivetotop
|
||||||
|
|
||||||
|
#Volume Control
|
||||||
|
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bind = ,XF86AudioPause, exec, playerctl play-pause
|
||||||
|
bind = ,XF86AudioNext, exec, playerctl next
|
||||||
|
bind = ,XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
#Clipboard Shortcuts
|
||||||
|
bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
|
||||||
|
|
||||||
|
#Monitor Brightness
|
||||||
|
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||||||
|
bind = ,XF86MonBrightnessUp,exec,brightnessctl set +5%
|
||||||
|
|
||||||
|
#Keyboard Brightness
|
||||||
|
bind = ,XF86KbdBrightnessUp, exec, brightnessctl -d *::kbd_backlight set +20%
|
||||||
|
bind = ,XF86KbdBrightnessDown, exec, brightnessctl -d *::kbd_backlight set 20%-
|
||||||
|
|
||||||
|
#WINDOW RULES
|
||||||
|
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||||
|
|
||||||
|
#ROFI RULES
|
||||||
|
windowrulev2 = float,class:^(Rofi)$
|
||||||
|
|
||||||
|
#POLKIT RULES
|
||||||
|
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||||
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
|
||||||
11
Arch/archtop/home/user/.config/kitty/kitty.conf
Normal file
11
Arch/archtop/home/user/.config/kitty/kitty.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
font_family Font Awesome
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
|
font_size 16.0
|
||||||
|
background_opacity 0.35
|
||||||
|
background_blur 32
|
||||||
|
selection_background #cecb00
|
||||||
|
selection_foreground #0d73cc
|
||||||
|
editor nvim
|
||||||
|
|
||||||
907
Arch/archtop/home/user/.config/neofetch/config.conf
Normal file
907
Arch/archtop/home/user/.config/neofetch/config.conf
Normal file
@ -0,0 +1,907 @@
|
|||||||
|
#/github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||||
|
|
||||||
|
# Join The Linux Cast Discord https://discord.gg/bPJ4A3bPbV
|
||||||
|
# Challenge script by TechnoDaft#0647
|
||||||
|
|
||||||
|
# All the Timing information
|
||||||
|
let Minute=60
|
||||||
|
let Hour=3600
|
||||||
|
let Day=86400
|
||||||
|
let Week=604800
|
||||||
|
|
||||||
|
# Year_days=365.25 days # 4 years (1461 days cause leap year) Divided by 4
|
||||||
|
# Month_days=30.4375 days # Year Divided by 12
|
||||||
|
let Month=2629800
|
||||||
|
let Year=31557600
|
||||||
|
|
||||||
|
# Year = 365 days, Month = 30 days.
|
||||||
|
# let Month=2592000
|
||||||
|
# let Year=31536000
|
||||||
|
|
||||||
|
# Calculation of everything needed
|
||||||
|
let current=$(date +%s)
|
||||||
|
let birth_install=$(stat -c %W /) # Comment out if using the custom Epoch
|
||||||
|
# let birth_install=1676698333 # Custom Epoch for Reinstalls
|
||||||
|
let reinstalls=0 # put how many times you've had to reinstall
|
||||||
|
let restarts=0 # put how many times you've restarted
|
||||||
|
let challenge_complete=(birth_install + Month * 12)
|
||||||
|
let diff_left=(challenge_complete - current)
|
||||||
|
let diff_done=(current - birth_install)
|
||||||
|
|
||||||
|
let Years_done=(diff_done / Year)
|
||||||
|
let Months_done=(diff_done % Year / Month)
|
||||||
|
let Weeks_done=(diff_done % Month / Week)
|
||||||
|
let Days_done=(diff_done % Week / Day)
|
||||||
|
let Hours_done=(diff_done % Day / Hour)
|
||||||
|
let Minutes_done=(diff_done % Hour / Minute)
|
||||||
|
let Seconds_done=(diff_done % Minute)
|
||||||
|
|
||||||
|
let Years_left=(diff_left / Year)
|
||||||
|
let Months_left=(diff_left % Year / Month)
|
||||||
|
let Weeks_left=(diff_left % Month / Week)
|
||||||
|
let Days_left=(diff_left % Week / Day)
|
||||||
|
let Hours_left=(diff_left % Day / Hour)
|
||||||
|
let Minutes_left=(diff_left % Hour / Minute)
|
||||||
|
let Seconds_left=(diff_left % Minute)
|
||||||
|
|
||||||
|
print_info() {
|
||||||
|
|
||||||
|
prin "$(color 1)╭──────────────────────────────────────────────────────────────┐"
|
||||||
|
info "│ \n \n \n \n \n \n \n \n \n \n \n \n \n " title
|
||||||
|
prin "$(color 1)╰──────────────────────────────────────────────────────────────┘"
|
||||||
|
|
||||||
|
prin "$(color 1) $(color 2) \n $(color 3) \n $(color 4) \n $(color 5) \n $(color 6) \n $(color 7) \n $(color 8) \n \n \n $(color 9) \n $(color 10) \n $(color 11) \n $(color 12) \n $(color 13) \n $(color 14) \n $(color 15) \n $(color 16) \n "
|
||||||
|
|
||||||
|
prin "$(color 1)╭──────────────────────────────────────────────────────────────┐"
|
||||||
|
|
||||||
|
info "${c2} OS------------>" os
|
||||||
|
info "${c1}│""${c2} ├Distro------->" distro
|
||||||
|
info "${c1}│""${c2} ├Kernel------->" kernel
|
||||||
|
info "${c1}│""${c2} ├Packages----->" packages
|
||||||
|
info "${c1}│""${c2} ╰Shell-------->" shell
|
||||||
|
|
||||||
|
prin "${c1}│"
|
||||||
|
|
||||||
|
info "${c3} DE/WM--------->" de
|
||||||
|
info "${c1}│""${c3} ├Theme-------->" theme
|
||||||
|
info "${c1}│""${c3} ├Icons-------->" icons
|
||||||
|
info "${c1}│""${c3} ╰Terminal----->" term
|
||||||
|
|
||||||
|
prin "${c1}│"
|
||||||
|
|
||||||
|
info "${c4} PC------------>" model
|
||||||
|
info "${c1}│""${c4} ├Processor---->" cpu
|
||||||
|
info "${c1}│""${c4} ├Graphics----->" gpu
|
||||||
|
info "${c1}│""${c4} ├Memory------->" memory
|
||||||
|
info "${c1}│""${c4} ├Uptime------->" uptime
|
||||||
|
info "${c1}│""${c4} ╰Resolution--->" resolution
|
||||||
|
|
||||||
|
prin "${c1}│"
|
||||||
|
|
||||||
|
prin "${c5} Arch Linux---->" "YEAR LONG DISTRO CHALLENGE!!!"
|
||||||
|
prin "${c1}│""${c5} ├Start Time--->" "$(echo $birth_install | awk '{print strftime("%m/%d/%Y, %H:%M:%S",$1)}')"
|
||||||
|
prin "${c1}│""${c5} ├Current Time->" "$(echo $current | awk '{print strftime("%m/%d/%Y, %H:%M:%S",$1)}')"
|
||||||
|
prin "${c1}│""${c5} ├Finish Time-->" "$(echo $challenge_complete | awk '{print strftime("%m/%d/%Y, %H:%M:%S",$1)}')"
|
||||||
|
if [ $reinstalls -gt 1 ]; then prin "${c1}│""${c5} ├Reinstalls--->" $echo "I have Had to reinstall ""$reinstalls"" times";
|
||||||
|
elif [ $reinstalls -gt 0 ]; then prin "${c1}│""${c5} ├Reinstalls--->" $echo "I have Had to reinstall ""$reinstalls"" time"; else quit; fi
|
||||||
|
if [ $restarts -gt 1 ]; then prin "${c1}│""${c5} ├Restarts----->" $echo "I have failed and restarted ""$restarts"" times";
|
||||||
|
elif [ $restarts -gt 0 ]; then prin "${c1}│""${c5} ├Restarts----->" $echo "I have failed and restarted ""$restarts"" time"; else quit; fi
|
||||||
|
prin "${c1}│""${c5} ├Progression-->" "$(if [ $Years_done -gt 0 ]; then echo "$Years_done""y"; else echo ""; fi)
|
||||||
|
$(if [ $Months_done -gt 0 ]; then echo "$Months_done""m"; else echo ""; fi)
|
||||||
|
$(if [ $Weeks_done -gt 0 ]; then echo "$Weeks_done""w"; else echo ""; fi)
|
||||||
|
$(if [ $Days_done -gt 0 ]; then echo "$Days_done""d"; else echo ""; fi)
|
||||||
|
$(if [ $Hours_done -gt 0 ]; then echo "$Hours_done""h"; else echo ""; fi)
|
||||||
|
$(if [ $Minutes_done -gt 0 ]; then echo "$Minutes_done""m"; else echo ""; fi)
|
||||||
|
$(if [ $Seconds_done -gt 0 ]; then echo "$Seconds_done""s"; else echo ""; fi)"
|
||||||
|
prin "${c1}│""${c5} ╰Remaining---->" "$(if [ $diff_left -lt 0 ]; then echo "${c6} WELL DONE! YOU COMPLETED THE CHALLENGE!!!"; else echo ""; fi)
|
||||||
|
$(if [ $Years_left -gt 0 ]; then echo "$Years_left""y"; else echo ""; fi)
|
||||||
|
$(if [ $Months_left -gt 0 ]; then echo "$Months_left""m"; else echo ""; fi)
|
||||||
|
$(if [ $Weeks_left -gt 0 ]; then echo "$Weeks_left""w"; else echo ""; fi)
|
||||||
|
$(if [ $Days_left -gt 0 ]; then echo "$Days_left""d"; else echo ""; fi)
|
||||||
|
$(if [ $Hours_left -gt 0 ]; then echo "$Hours_left""h"; else echo ""; fi)
|
||||||
|
$(if [ $Minutes_left -gt 0 ]; then echo "$Minutes_left""m"; else echo ""; fi)
|
||||||
|
$(if [ $Seconds_left -gt 0 ]; then echo "$Seconds_left""s"; else echo ""; fi)"
|
||||||
|
|
||||||
|
prin "$(color 1)╰──────────────────────────────────────────────────────────────┘"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
##--------- Title
|
||||||
|
|
||||||
|
# Hide/Show Fully qualified domain name.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --title_fqdn
|
||||||
|
title_fqdn="off"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Kernel
|
||||||
|
|
||||||
|
# Shorten the output of the kernel function.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --kernel_shorthand
|
||||||
|
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '4.8.9-1-ARCH'
|
||||||
|
# off: 'Linux 4.8.9-1-ARCH'
|
||||||
|
kernel_shorthand="off"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Distro
|
||||||
|
|
||||||
|
# Shorten the output of the distro function
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'tiny', 'off'
|
||||||
|
# Flag: --distro_shorthand
|
||||||
|
# Supports: Everything except Windows and Haiku
|
||||||
|
distro_shorthand="off"
|
||||||
|
|
||||||
|
# Show/Hide OS Architecture.
|
||||||
|
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --os_arch
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Arch Linux x86_64'
|
||||||
|
# off: 'Arch Linux'
|
||||||
|
os_arch="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Uptime
|
||||||
|
|
||||||
|
# Shorten the output of the uptime function
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'tiny', 'off'
|
||||||
|
# Flag: --uptime_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '2 days, 10 hours, 3 mins'
|
||||||
|
# tiny: '2d 10h 3m'
|
||||||
|
# off: '2 days, 10 hours, 3 minutes'
|
||||||
|
uptime_shorthand="off"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Memory
|
||||||
|
|
||||||
|
# Show memory pecentage in output.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --memory_percent
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '1801MiB / 7881MiB (22%)'
|
||||||
|
# off: '1801MiB / 7881MiB'
|
||||||
|
memory_percent="on"
|
||||||
|
|
||||||
|
# Change memory output unit.
|
||||||
|
#
|
||||||
|
# Default: 'mib'
|
||||||
|
# Values: 'kib', 'mib', 'gib'
|
||||||
|
# Flag: --memory_unit
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# kib '1020928KiB / 7117824KiB'
|
||||||
|
# mib '1042MiB / 6951MiB'
|
||||||
|
# gib: ' 0.98GiB / 6.79GiB'
|
||||||
|
memory_unit="mib"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Packages
|
||||||
|
|
||||||
|
# Show/Hide Package Manager names.
|
||||||
|
#
|
||||||
|
# Default: 'tiny'
|
||||||
|
# Values: 'on', 'tiny' 'off'
|
||||||
|
# Flag: --package_managers
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '998 (pacman), 8 (flatpak), 4 (snap)'
|
||||||
|
# tiny: '908 (pacman, flatpak, snap)'
|
||||||
|
# off: '908'
|
||||||
|
package_managers="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Shell
|
||||||
|
|
||||||
|
# Show the path to $SHELL
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --shell_path
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '/bin/bash'
|
||||||
|
# off: 'bash'
|
||||||
|
shell_path="off"
|
||||||
|
|
||||||
|
# Show $SHELL version
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --shell_version
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'bash 4.4.5'
|
||||||
|
# off: 'bash'
|
||||||
|
shell_version="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- CPU
|
||||||
|
|
||||||
|
# CPU speed type
|
||||||
|
#
|
||||||
|
# Default: 'bios_limit'
|
||||||
|
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
|
||||||
|
# Flag: --speed_type
|
||||||
|
# Supports: Linux with 'cpufreq'
|
||||||
|
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
|
||||||
|
speed_type="bios_limit"
|
||||||
|
|
||||||
|
# CPU speed shorthand
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'.
|
||||||
|
# Flag: --speed_shorthand
|
||||||
|
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'i7-6500U (4) @ 3.1GHz'
|
||||||
|
# off: 'i7-6500U (4) @ 3.100GHz'
|
||||||
|
speed_shorthand="off"
|
||||||
|
|
||||||
|
# Enable/Disable CPU brand in output.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --cpu_brand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Intel i7-6500U'
|
||||||
|
# off: 'i7-6500U (4)'
|
||||||
|
cpu_brand="on"
|
||||||
|
|
||||||
|
# CPU Speed
|
||||||
|
# Hide/Show CPU speed.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --cpu_speed
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||||
|
# off: 'Intel i7-6500U (4)'
|
||||||
|
cpu_speed="on"
|
||||||
|
|
||||||
|
# CPU Cores
|
||||||
|
# Display CPU cores in output
|
||||||
|
#
|
||||||
|
# Default: 'logical'
|
||||||
|
# Values: 'logical', 'physical', 'off'
|
||||||
|
# Flag: --cpu_cores
|
||||||
|
# Support: 'physical' doesn't work on BSD.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
|
||||||
|
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
|
||||||
|
# off: 'Intel i7-6500U @ 3.1GHz'
|
||||||
|
cpu_cores="logical"
|
||||||
|
|
||||||
|
# CPU Temperature
|
||||||
|
# Hide/Show CPU temperature.
|
||||||
|
# Note the temperature is added to the regular CPU function.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'C', 'F', 'off'
|
||||||
|
# Flag: --cpu_temp
|
||||||
|
# Supports: Linux, BSD
|
||||||
|
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
|
||||||
|
# coretemp kernel module. This only supports newer Intel processors.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
||||||
|
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
||||||
|
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||||
|
cpu_temp="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- GPU
|
||||||
|
|
||||||
|
# Enable/Disable GPU Brand
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gpu_brand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'AMD HD 7950'
|
||||||
|
# off: 'HD 7950'
|
||||||
|
gpu_brand="on"
|
||||||
|
|
||||||
|
# Which GPU to display
|
||||||
|
#
|
||||||
|
# Default: 'all'
|
||||||
|
# Values: 'all', 'dedicated', 'integrated'
|
||||||
|
# Flag: --gpu_type
|
||||||
|
# Supports: Linux
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# all:
|
||||||
|
# GPU1: AMD HD 7950
|
||||||
|
# GPU2: Intel Integrated Graphics
|
||||||
|
#
|
||||||
|
# dedicated:
|
||||||
|
# GPU1: AMD HD 7950
|
||||||
|
#
|
||||||
|
# integrated:
|
||||||
|
# GPU1: Intel Integrated Graphics
|
||||||
|
gpu_type="all"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Resolution
|
||||||
|
|
||||||
|
# Display refresh rate next to each monitor
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --refresh_rate
|
||||||
|
# Supports: Doesn't work on Windows.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '1920x1080 @ 60Hz'
|
||||||
|
# off: '1920x1080'
|
||||||
|
refresh_rate="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Gtk Theme / Icons / Font
|
||||||
|
|
||||||
|
# Shorten output of GTK Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix, Adwaita'
|
||||||
|
# off: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
gtk_shorthand="off"
|
||||||
|
|
||||||
|
# Enable/Disable gtk2 Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk2
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
# off: 'Adwaita [GTK3]'
|
||||||
|
gtk2="on"
|
||||||
|
|
||||||
|
# Enable/Disable gtk3 Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk3
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
# off: 'Numix [GTK2]'
|
||||||
|
gtk3="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- IP Address
|
||||||
|
|
||||||
|
# Website to ping for the public IP
|
||||||
|
#
|
||||||
|
# Default: 'http://ident.me'
|
||||||
|
# Values: 'url'
|
||||||
|
# Flag: --ip_host
|
||||||
|
public_ip_host="http://ident.me"
|
||||||
|
|
||||||
|
# Public IP timeout.
|
||||||
|
#
|
||||||
|
# Default: '2'
|
||||||
|
# Values: 'int'
|
||||||
|
# Flag: --ip_timeout
|
||||||
|
public_ip_timeout=2
|
||||||
|
|
||||||
|
# Desktop Environment
|
||||||
|
|
||||||
|
# Show Desktop Environment version
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --de_version
|
||||||
|
de_version="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Disk
|
||||||
|
|
||||||
|
# Which disks to display.
|
||||||
|
# The values can be any /dev/sdXX, mount point or directory.
|
||||||
|
# NOTE: By default we only show the disk info for '/'.
|
||||||
|
#
|
||||||
|
# Default: '/'
|
||||||
|
# Values: '/', '/dev/sdXX', '/path/to/drive'.
|
||||||
|
# Flag: --disk_show
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# disk_show=('/' '/dev/sdb1'):
|
||||||
|
# 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
|
||||||
|
#
|
||||||
|
# disk_show=('/'):
|
||||||
|
# 'Disk (/): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
disk_show=('/')
|
||||||
|
|
||||||
|
# Disk subtitle.
|
||||||
|
# What to append to the Disk subtitle.
|
||||||
|
#
|
||||||
|
# Default: 'mount'
|
||||||
|
# Values: 'mount', 'name', 'dir', 'none'
|
||||||
|
# Flag: --disk_subtitle
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# mount: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# dir: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (Local Disk): 74G / 118G (66%)'
|
||||||
|
# 'Disk (Videos): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# none: 'Disk: 74G / 118G (66%)'
|
||||||
|
# 'Disk: 74G / 118G (66%)'
|
||||||
|
# 'Disk: 74G / 118G (66%)'
|
||||||
|
disk_subtitle="mount"
|
||||||
|
|
||||||
|
# Disk percent.
|
||||||
|
# Show/Hide disk percent.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --disk_percent
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# off: 'Disk (/): 74G / 118G'
|
||||||
|
disk_percent="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Song
|
||||||
|
|
||||||
|
# Manually specify a music player.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'player-name'
|
||||||
|
# Flag: --music_player
|
||||||
|
#
|
||||||
|
# Available values for 'player-name':
|
||||||
|
#
|
||||||
|
# amarok
|
||||||
|
# audacious
|
||||||
|
# banshee
|
||||||
|
# bluemindo
|
||||||
|
# clementine
|
||||||
|
# cmus
|
||||||
|
# deadbeef
|
||||||
|
# deepin-music
|
||||||
|
# dragon
|
||||||
|
# elisa
|
||||||
|
# exaile
|
||||||
|
# gnome-music
|
||||||
|
# gmusicbrowser
|
||||||
|
# gogglesmm
|
||||||
|
# guayadeque
|
||||||
|
# io.elementary.music
|
||||||
|
# iTunes
|
||||||
|
# juk
|
||||||
|
# lollypop
|
||||||
|
# mocp
|
||||||
|
# mopidy
|
||||||
|
# mpd
|
||||||
|
# muine
|
||||||
|
# netease-cloud-music
|
||||||
|
# olivia
|
||||||
|
# playerctl
|
||||||
|
# pogo
|
||||||
|
# pragha
|
||||||
|
# qmmp
|
||||||
|
# quodlibet
|
||||||
|
# rhythmbox
|
||||||
|
# sayonara
|
||||||
|
# smplayer
|
||||||
|
# spotify
|
||||||
|
# strawberry
|
||||||
|
# tauonmb
|
||||||
|
# tomahawk
|
||||||
|
# vlc
|
||||||
|
# xmms2d
|
||||||
|
# xnoise
|
||||||
|
# yarock
|
||||||
|
music_player="auto"
|
||||||
|
|
||||||
|
# Format to display song information.
|
||||||
|
#
|
||||||
|
# Default: '%artist% - %album% - %title%'
|
||||||
|
# Values: '%artist%', '%album%', '%title%'
|
||||||
|
# Flag: --song_format
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# default: 'Song: Jet - Get Born - Sgt Major'
|
||||||
|
song_format="%artist% - %album% - %title%"
|
||||||
|
|
||||||
|
# Print the Artist, Album and Title on separate lines
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --song_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Artist: The Fratellis'
|
||||||
|
# 'Album: Costello Music'
|
||||||
|
# 'Song: Chelsea Dagger'
|
||||||
|
#
|
||||||
|
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
|
||||||
|
song_shorthand="off"
|
||||||
|
|
||||||
|
# 'mpc' arguments (specify a host, password etc).
|
||||||
|
#
|
||||||
|
# Default: ''
|
||||||
|
# Example: mpc_args=(-h HOST -P PASSWORD)
|
||||||
|
mpc_args=()
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Text Colors
|
||||||
|
|
||||||
|
# Text Colors
|
||||||
|
#
|
||||||
|
# Default: 'distro'
|
||||||
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||||
|
# Flag: --colors
|
||||||
|
#
|
||||||
|
# Each number represents a different part of the text in
|
||||||
|
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# colors=(distro) - Text is colored based on Distro colors.
|
||||||
|
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
|
||||||
|
colors=(distro)
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Text Options
|
||||||
|
|
||||||
|
# Toggle bold text
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --bold
|
||||||
|
bold="on"
|
||||||
|
|
||||||
|
# Enable/Disable Underline
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --underline
|
||||||
|
underline_enabled="on"
|
||||||
|
|
||||||
|
# Underline character
|
||||||
|
#
|
||||||
|
# Default: '-'
|
||||||
|
# Values: 'string'
|
||||||
|
# Flag: --underline_char
|
||||||
|
underline_char=""
|
||||||
|
|
||||||
|
# Info Separator
|
||||||
|
# Replace the default separator with the specified string.
|
||||||
|
#
|
||||||
|
# Default: ':'
|
||||||
|
# Flag: --separator
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# separator="->": 'Shell-> bash'
|
||||||
|
# separator=" =": 'WM = dwm'
|
||||||
|
separator=" "
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Color Blocks
|
||||||
|
|
||||||
|
# Color block range
|
||||||
|
# The range of colors to print.
|
||||||
|
#
|
||||||
|
# Default: '0', '15'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_range
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# Display colors 0-7 in the blocks. (8 colors)
|
||||||
|
# neofetch --block_range 0 7
|
||||||
|
#
|
||||||
|
# Display colors 0-15 in the blocks. (16 colors)
|
||||||
|
# neofetch --block_range 0 15
|
||||||
|
block_range=(0 15)
|
||||||
|
|
||||||
|
# Toggle color blocks
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --color_blocks
|
||||||
|
color_blocks="on"
|
||||||
|
|
||||||
|
# Color block width in spaces
|
||||||
|
#
|
||||||
|
# Default: '3'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_width
|
||||||
|
block_width=3
|
||||||
|
|
||||||
|
# Color block height in lines
|
||||||
|
#
|
||||||
|
# Default: '1'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_height
|
||||||
|
block_height=1
|
||||||
|
|
||||||
|
# Color Alignment
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'num'
|
||||||
|
# Flag: --col_offset
|
||||||
|
#
|
||||||
|
# Number specifies how far from the left side of the terminal (in spaces) to
|
||||||
|
# begin printing the columns, in case you want to e.g. center them under your
|
||||||
|
# text.
|
||||||
|
# Example:
|
||||||
|
# col_offset="auto" - Default behavior of neofetch
|
||||||
|
# col_offset=7 - Leave 7 spaces then print the colors
|
||||||
|
col_offset="auto"
|
||||||
|
|
||||||
|
##--------- Progress Bars
|
||||||
|
|
||||||
|
# Bar characters
|
||||||
|
#
|
||||||
|
# Default: '-', '='
|
||||||
|
# Values: 'string', 'string'
|
||||||
|
# Flag: --bar_char
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# neofetch --bar_char 'elapsed' 'total'
|
||||||
|
# neofetch --bar_char '-' '='
|
||||||
|
bar_char_elapsed="-"
|
||||||
|
bar_char_total="="
|
||||||
|
|
||||||
|
# Toggle Bar border
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --bar_border
|
||||||
|
bar_border="on"
|
||||||
|
|
||||||
|
# Progress bar length in spaces
|
||||||
|
# Number of chars long to make the progress bars.
|
||||||
|
#
|
||||||
|
# Default: '15'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --bar_length
|
||||||
|
bar_length=15
|
||||||
|
|
||||||
|
# Progress bar colors
|
||||||
|
# When set to distro, uses your distro's logo colors.
|
||||||
|
#
|
||||||
|
# Default: 'distro', 'distro'
|
||||||
|
# Values: 'distro', 'num'
|
||||||
|
# Flag: --bar_colors
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# neofetch --bar_colors 3 4
|
||||||
|
# neofetch --bar_colors distro 5
|
||||||
|
bar_color_elapsed="distro"
|
||||||
|
bar_color_total="distro"
|
||||||
|
|
||||||
|
# Info display
|
||||||
|
# Display a bar with the info.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'bar', 'infobar', 'barinfo', 'off'
|
||||||
|
# Flags: --cpu_display
|
||||||
|
# --memory_display
|
||||||
|
# --battery_display
|
||||||
|
# --disk_display
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# bar: '[---=======]'
|
||||||
|
# infobar: 'info [---=======]'
|
||||||
|
# barinfo: '[---=======] info'
|
||||||
|
# off: 'info'
|
||||||
|
cpu_display="off"
|
||||||
|
memory_display="off"
|
||||||
|
battery_display="off"
|
||||||
|
disk_display="off"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Backend Settings
|
||||||
|
|
||||||
|
# Image backend.
|
||||||
|
#
|
||||||
|
# Default: 'ascii'
|
||||||
|
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
|
||||||
|
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
|
||||||
|
# Flag: --backend
|
||||||
|
image_backend="ascii"
|
||||||
|
|
||||||
|
# Image Source
|
||||||
|
#
|
||||||
|
# Which image or ascii file to display.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
|
||||||
|
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
|
||||||
|
# Flag: --source
|
||||||
|
#
|
||||||
|
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
|
||||||
|
# In ascii mode, distro ascii art will be used and in an image mode, your
|
||||||
|
# wallpaper will be used.
|
||||||
|
image_source="auto"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Ascii Options
|
||||||
|
|
||||||
|
# Ascii distro
|
||||||
|
# Which distro's ascii art to display.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'distro_name'
|
||||||
|
# Flag: --ascii_distro
|
||||||
|
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS",
|
||||||
|
# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs,
|
||||||
|
# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock,
|
||||||
|
# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
|
||||||
|
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
|
||||||
|
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
|
||||||
|
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
|
||||||
|
# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary,
|
||||||
|
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
|
||||||
|
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo,
|
||||||
|
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
|
||||||
|
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
|
||||||
|
# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
|
||||||
|
# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
|
||||||
|
# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
|
||||||
|
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
|
||||||
|
# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba,
|
||||||
|
# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD,
|
||||||
|
# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint,
|
||||||
|
# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix,
|
||||||
|
# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan,
|
||||||
|
# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific,
|
||||||
|
# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz,
|
||||||
|
# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS,
|
||||||
|
# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails,
|
||||||
|
# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio,
|
||||||
|
# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin,
|
||||||
|
# and IRIX have ascii logos
|
||||||
|
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
|
||||||
|
# Use '{distro name}_old' to use the old logos.
|
||||||
|
# NOTE: Ubuntu has flavor variants.
|
||||||
|
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
|
||||||
|
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
|
||||||
|
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
|
||||||
|
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
|
||||||
|
# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
|
||||||
|
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
|
||||||
|
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
|
||||||
|
# postmarketOS, and Void have a smaller logo variant.
|
||||||
|
# Use '{distro name}_small' to use the small variants.
|
||||||
|
ascii_distro="auto"
|
||||||
|
|
||||||
|
# Ascii Colors
|
||||||
|
#
|
||||||
|
# Default: 'distro'
|
||||||
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||||
|
# Flag: --ascii_colors
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
|
||||||
|
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
|
||||||
|
ascii_colors=(1 2 3 4 5 6 7 8)
|
||||||
|
|
||||||
|
# Bold ascii logo
|
||||||
|
# Whether or not to bold the ascii logo.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --ascii_bold
|
||||||
|
ascii_bold="on"
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Image Options
|
||||||
|
|
||||||
|
# Image loop
|
||||||
|
# Setting this to on will make neofetch redraw the image constantly until
|
||||||
|
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --loop
|
||||||
|
image_loop="off"
|
||||||
|
|
||||||
|
# Thumbnail directory
|
||||||
|
#
|
||||||
|
# Default: '~/.cache/thumbnails/neofetch'
|
||||||
|
# Values: 'dir'
|
||||||
|
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
||||||
|
|
||||||
|
# Crop mode
|
||||||
|
#
|
||||||
|
# Default: 'normal'
|
||||||
|
# Values: 'normal', 'fit', 'fill'
|
||||||
|
# Flag: --crop_mode
|
||||||
|
#
|
||||||
|
# See this wiki page to learn about the fit and fill options.
|
||||||
|
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
|
||||||
|
crop_mode="normal"
|
||||||
|
|
||||||
|
# Crop offset
|
||||||
|
# Note: Only affects 'normal' crop mode.
|
||||||
|
#
|
||||||
|
# Default: 'center'
|
||||||
|
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
|
||||||
|
# 'east', 'southwest', 'south', 'southeast'
|
||||||
|
# Flag: --crop_offset
|
||||||
|
crop_offset="center"
|
||||||
|
|
||||||
|
# Image size
|
||||||
|
# The image is half the terminal width by default.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', '00px', '00%', 'none'
|
||||||
|
# Flags: --image_size
|
||||||
|
# --size
|
||||||
|
image_size="auto"
|
||||||
|
|
||||||
|
# Gap between image and text
|
||||||
|
#
|
||||||
|
# Default: '3'
|
||||||
|
# Values: 'num', '-num'
|
||||||
|
# Flag: --gap
|
||||||
|
gap=2
|
||||||
|
|
||||||
|
# Image offsets
|
||||||
|
# Only works with the w3m backend.
|
||||||
|
#
|
||||||
|
# Default: '0'
|
||||||
|
# Values: 'px'
|
||||||
|
# Flags: --xoffset
|
||||||
|
# --yoffset
|
||||||
|
yoffset=0
|
||||||
|
xoffset=0
|
||||||
|
|
||||||
|
# Image background color
|
||||||
|
# Only works with the w3m backend.
|
||||||
|
#
|
||||||
|
# Default: ''
|
||||||
|
# Values: 'color', 'blue'
|
||||||
|
# Flag: --bg_color
|
||||||
|
background_color=
|
||||||
|
|
||||||
|
|
||||||
|
##--------- Misc Options
|
||||||
|
|
||||||
|
# Stdout mode
|
||||||
|
# Turn off all colors and disables image backend (ASCII/Image).
|
||||||
|
# Useful for piping into another command.
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
stdout="off"
|
||||||
864
Arch/archtop/home/user/.config/neofetch/config.conf.orig
Normal file
864
Arch/archtop/home/user/.config/neofetch/config.conf.orig
Normal file
@ -0,0 +1,864 @@
|
|||||||
|
# See this wiki page for more info:
|
||||||
|
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||||
|
print_info() {
|
||||||
|
info title
|
||||||
|
info underline
|
||||||
|
|
||||||
|
info "OS" distro
|
||||||
|
info "Host" model
|
||||||
|
info "Kernel" kernel
|
||||||
|
info "Uptime" uptime
|
||||||
|
info "Packages" packages
|
||||||
|
info "Shell" shell
|
||||||
|
info "Resolution" resolution
|
||||||
|
info "DE" de
|
||||||
|
info "WM" wm
|
||||||
|
info "WM Theme" wm_theme
|
||||||
|
info "Theme" theme
|
||||||
|
info "Icons" icons
|
||||||
|
info "Terminal" term
|
||||||
|
info "Terminal Font" term_font
|
||||||
|
info "CPU" cpu
|
||||||
|
info "GPU" gpu
|
||||||
|
info "Memory" memory
|
||||||
|
|
||||||
|
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||||
|
# info "CPU Usage" cpu_usage
|
||||||
|
# info "Disk" disk
|
||||||
|
# info "Battery" battery
|
||||||
|
# info "Font" font
|
||||||
|
# info "Song" song
|
||||||
|
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||||
|
# info "Local IP" local_ip
|
||||||
|
# info "Public IP" public_ip
|
||||||
|
# info "Users" users
|
||||||
|
# info "Locale" locale # This only works on glibc systems.
|
||||||
|
|
||||||
|
info cols
|
||||||
|
}
|
||||||
|
|
||||||
|
# Title
|
||||||
|
|
||||||
|
|
||||||
|
# Hide/Show Fully qualified domain name.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --title_fqdn
|
||||||
|
title_fqdn="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Kernel
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten the output of the kernel function.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --kernel_shorthand
|
||||||
|
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '4.8.9-1-ARCH'
|
||||||
|
# off: 'Linux 4.8.9-1-ARCH'
|
||||||
|
kernel_shorthand="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Distro
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten the output of the distro function
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'tiny', 'off'
|
||||||
|
# Flag: --distro_shorthand
|
||||||
|
# Supports: Everything except Windows and Haiku
|
||||||
|
distro_shorthand="off"
|
||||||
|
|
||||||
|
# Show/Hide OS Architecture.
|
||||||
|
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --os_arch
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Arch Linux x86_64'
|
||||||
|
# off: 'Arch Linux'
|
||||||
|
os_arch="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Uptime
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten the output of the uptime function
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'tiny', 'off'
|
||||||
|
# Flag: --uptime_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '2 days, 10 hours, 3 mins'
|
||||||
|
# tiny: '2d 10h 3m'
|
||||||
|
# off: '2 days, 10 hours, 3 minutes'
|
||||||
|
uptime_shorthand="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Memory
|
||||||
|
|
||||||
|
|
||||||
|
# Show memory pecentage in output.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --memory_percent
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '1801MiB / 7881MiB (22%)'
|
||||||
|
# off: '1801MiB / 7881MiB'
|
||||||
|
memory_percent="off"
|
||||||
|
|
||||||
|
# Change memory output unit.
|
||||||
|
#
|
||||||
|
# Default: 'mib'
|
||||||
|
# Values: 'kib', 'mib', 'gib'
|
||||||
|
# Flag: --memory_unit
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# kib '1020928KiB / 7117824KiB'
|
||||||
|
# mib '1042MiB / 6951MiB'
|
||||||
|
# gib: ' 0.98GiB / 6.79GiB'
|
||||||
|
memory_unit="mib"
|
||||||
|
|
||||||
|
|
||||||
|
# Packages
|
||||||
|
|
||||||
|
|
||||||
|
# Show/Hide Package Manager names.
|
||||||
|
#
|
||||||
|
# Default: 'tiny'
|
||||||
|
# Values: 'on', 'tiny' 'off'
|
||||||
|
# Flag: --package_managers
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '998 (pacman), 8 (flatpak), 4 (snap)'
|
||||||
|
# tiny: '908 (pacman, flatpak, snap)'
|
||||||
|
# off: '908'
|
||||||
|
package_managers="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Shell
|
||||||
|
|
||||||
|
|
||||||
|
# Show the path to $SHELL
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --shell_path
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '/bin/bash'
|
||||||
|
# off: 'bash'
|
||||||
|
shell_path="off"
|
||||||
|
|
||||||
|
# Show $SHELL version
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --shell_version
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'bash 4.4.5'
|
||||||
|
# off: 'bash'
|
||||||
|
shell_version="on"
|
||||||
|
|
||||||
|
|
||||||
|
# CPU
|
||||||
|
|
||||||
|
|
||||||
|
# CPU speed type
|
||||||
|
#
|
||||||
|
# Default: 'bios_limit'
|
||||||
|
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
|
||||||
|
# Flag: --speed_type
|
||||||
|
# Supports: Linux with 'cpufreq'
|
||||||
|
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
|
||||||
|
speed_type="bios_limit"
|
||||||
|
|
||||||
|
# CPU speed shorthand
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'.
|
||||||
|
# Flag: --speed_shorthand
|
||||||
|
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'i7-6500U (4) @ 3.1GHz'
|
||||||
|
# off: 'i7-6500U (4) @ 3.100GHz'
|
||||||
|
speed_shorthand="off"
|
||||||
|
|
||||||
|
# Enable/Disable CPU brand in output.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --cpu_brand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Intel i7-6500U'
|
||||||
|
# off: 'i7-6500U (4)'
|
||||||
|
cpu_brand="on"
|
||||||
|
|
||||||
|
# CPU Speed
|
||||||
|
# Hide/Show CPU speed.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --cpu_speed
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||||
|
# off: 'Intel i7-6500U (4)'
|
||||||
|
cpu_speed="on"
|
||||||
|
|
||||||
|
# CPU Cores
|
||||||
|
# Display CPU cores in output
|
||||||
|
#
|
||||||
|
# Default: 'logical'
|
||||||
|
# Values: 'logical', 'physical', 'off'
|
||||||
|
# Flag: --cpu_cores
|
||||||
|
# Support: 'physical' doesn't work on BSD.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
|
||||||
|
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
|
||||||
|
# off: 'Intel i7-6500U @ 3.1GHz'
|
||||||
|
cpu_cores="logical"
|
||||||
|
|
||||||
|
# CPU Temperature
|
||||||
|
# Hide/Show CPU temperature.
|
||||||
|
# Note the temperature is added to the regular CPU function.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'C', 'F', 'off'
|
||||||
|
# Flag: --cpu_temp
|
||||||
|
# Supports: Linux, BSD
|
||||||
|
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
|
||||||
|
# coretemp kernel module. This only supports newer Intel processors.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
||||||
|
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
||||||
|
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||||
|
cpu_temp="off"
|
||||||
|
|
||||||
|
|
||||||
|
# GPU
|
||||||
|
|
||||||
|
|
||||||
|
# Enable/Disable GPU Brand
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gpu_brand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'AMD HD 7950'
|
||||||
|
# off: 'HD 7950'
|
||||||
|
gpu_brand="on"
|
||||||
|
|
||||||
|
# Which GPU to display
|
||||||
|
#
|
||||||
|
# Default: 'all'
|
||||||
|
# Values: 'all', 'dedicated', 'integrated'
|
||||||
|
# Flag: --gpu_type
|
||||||
|
# Supports: Linux
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# all:
|
||||||
|
# GPU1: AMD HD 7950
|
||||||
|
# GPU2: Intel Integrated Graphics
|
||||||
|
#
|
||||||
|
# dedicated:
|
||||||
|
# GPU1: AMD HD 7950
|
||||||
|
#
|
||||||
|
# integrated:
|
||||||
|
# GPU1: Intel Integrated Graphics
|
||||||
|
gpu_type="all"
|
||||||
|
|
||||||
|
|
||||||
|
# Resolution
|
||||||
|
|
||||||
|
|
||||||
|
# Display refresh rate next to each monitor
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --refresh_rate
|
||||||
|
# Supports: Doesn't work on Windows.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '1920x1080 @ 60Hz'
|
||||||
|
# off: '1920x1080'
|
||||||
|
refresh_rate="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Gtk Theme / Icons / Font
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten output of GTK Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix, Adwaita'
|
||||||
|
# off: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
gtk_shorthand="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Enable/Disable gtk2 Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk2
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
# off: 'Adwaita [GTK3]'
|
||||||
|
gtk2="on"
|
||||||
|
|
||||||
|
# Enable/Disable gtk3 Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk3
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
# off: 'Numix [GTK2]'
|
||||||
|
gtk3="on"
|
||||||
|
|
||||||
|
|
||||||
|
# IP Address
|
||||||
|
|
||||||
|
|
||||||
|
# Website to ping for the public IP
|
||||||
|
#
|
||||||
|
# Default: 'http://ident.me'
|
||||||
|
# Values: 'url'
|
||||||
|
# Flag: --ip_host
|
||||||
|
public_ip_host="http://ident.me"
|
||||||
|
|
||||||
|
# Public IP timeout.
|
||||||
|
#
|
||||||
|
# Default: '2'
|
||||||
|
# Values: 'int'
|
||||||
|
# Flag: --ip_timeout
|
||||||
|
public_ip_timeout=2
|
||||||
|
|
||||||
|
|
||||||
|
# Desktop Environment
|
||||||
|
|
||||||
|
|
||||||
|
# Show Desktop Environment version
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --de_version
|
||||||
|
de_version="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Disk
|
||||||
|
|
||||||
|
|
||||||
|
# Which disks to display.
|
||||||
|
# The values can be any /dev/sdXX, mount point or directory.
|
||||||
|
# NOTE: By default we only show the disk info for '/'.
|
||||||
|
#
|
||||||
|
# Default: '/'
|
||||||
|
# Values: '/', '/dev/sdXX', '/path/to/drive'.
|
||||||
|
# Flag: --disk_show
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# disk_show=('/' '/dev/sdb1'):
|
||||||
|
# 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
|
||||||
|
#
|
||||||
|
# disk_show=('/'):
|
||||||
|
# 'Disk (/): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
disk_show=('/')
|
||||||
|
|
||||||
|
# Disk subtitle.
|
||||||
|
# What to append to the Disk subtitle.
|
||||||
|
#
|
||||||
|
# Default: 'mount'
|
||||||
|
# Values: 'mount', 'name', 'dir', 'none'
|
||||||
|
# Flag: --disk_subtitle
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# mount: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# dir: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (Local Disk): 74G / 118G (66%)'
|
||||||
|
# 'Disk (Videos): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# none: 'Disk: 74G / 118G (66%)'
|
||||||
|
# 'Disk: 74G / 118G (66%)'
|
||||||
|
# 'Disk: 74G / 118G (66%)'
|
||||||
|
disk_subtitle="mount"
|
||||||
|
|
||||||
|
# Disk percent.
|
||||||
|
# Show/Hide disk percent.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --disk_percent
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# off: 'Disk (/): 74G / 118G'
|
||||||
|
disk_percent="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Song
|
||||||
|
|
||||||
|
|
||||||
|
# Manually specify a music player.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'player-name'
|
||||||
|
# Flag: --music_player
|
||||||
|
#
|
||||||
|
# Available values for 'player-name':
|
||||||
|
#
|
||||||
|
# amarok
|
||||||
|
# audacious
|
||||||
|
# banshee
|
||||||
|
# bluemindo
|
||||||
|
# clementine
|
||||||
|
# cmus
|
||||||
|
# deadbeef
|
||||||
|
# deepin-music
|
||||||
|
# dragon
|
||||||
|
# elisa
|
||||||
|
# exaile
|
||||||
|
# gnome-music
|
||||||
|
# gmusicbrowser
|
||||||
|
# gogglesmm
|
||||||
|
# guayadeque
|
||||||
|
# io.elementary.music
|
||||||
|
# iTunes
|
||||||
|
# juk
|
||||||
|
# lollypop
|
||||||
|
# mocp
|
||||||
|
# mopidy
|
||||||
|
# mpd
|
||||||
|
# muine
|
||||||
|
# netease-cloud-music
|
||||||
|
# olivia
|
||||||
|
# playerctl
|
||||||
|
# pogo
|
||||||
|
# pragha
|
||||||
|
# qmmp
|
||||||
|
# quodlibet
|
||||||
|
# rhythmbox
|
||||||
|
# sayonara
|
||||||
|
# smplayer
|
||||||
|
# spotify
|
||||||
|
# strawberry
|
||||||
|
# tauonmb
|
||||||
|
# tomahawk
|
||||||
|
# vlc
|
||||||
|
# xmms2d
|
||||||
|
# xnoise
|
||||||
|
# yarock
|
||||||
|
music_player="auto"
|
||||||
|
|
||||||
|
# Format to display song information.
|
||||||
|
#
|
||||||
|
# Default: '%artist% - %album% - %title%'
|
||||||
|
# Values: '%artist%', '%album%', '%title%'
|
||||||
|
# Flag: --song_format
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# default: 'Song: Jet - Get Born - Sgt Major'
|
||||||
|
song_format="%artist% - %album% - %title%"
|
||||||
|
|
||||||
|
# Print the Artist, Album and Title on separate lines
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --song_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Artist: The Fratellis'
|
||||||
|
# 'Album: Costello Music'
|
||||||
|
# 'Song: Chelsea Dagger'
|
||||||
|
#
|
||||||
|
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
|
||||||
|
song_shorthand="off"
|
||||||
|
|
||||||
|
# 'mpc' arguments (specify a host, password etc).
|
||||||
|
#
|
||||||
|
# Default: ''
|
||||||
|
# Example: mpc_args=(-h HOST -P PASSWORD)
|
||||||
|
mpc_args=()
|
||||||
|
|
||||||
|
|
||||||
|
# Text Colors
|
||||||
|
|
||||||
|
|
||||||
|
# Text Colors
|
||||||
|
#
|
||||||
|
# Default: 'distro'
|
||||||
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||||
|
# Flag: --colors
|
||||||
|
#
|
||||||
|
# Each number represents a different part of the text in
|
||||||
|
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# colors=(distro) - Text is colored based on Distro colors.
|
||||||
|
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
|
||||||
|
colors=(distro)
|
||||||
|
|
||||||
|
|
||||||
|
# Text Options
|
||||||
|
|
||||||
|
|
||||||
|
# Toggle bold text
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --bold
|
||||||
|
bold="on"
|
||||||
|
|
||||||
|
# Enable/Disable Underline
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --underline
|
||||||
|
underline_enabled="on"
|
||||||
|
|
||||||
|
# Underline character
|
||||||
|
#
|
||||||
|
# Default: '-'
|
||||||
|
# Values: 'string'
|
||||||
|
# Flag: --underline_char
|
||||||
|
underline_char="-"
|
||||||
|
|
||||||
|
|
||||||
|
# Info Separator
|
||||||
|
# Replace the default separator with the specified string.
|
||||||
|
#
|
||||||
|
# Default: ':'
|
||||||
|
# Flag: --separator
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# separator="->": 'Shell-> bash'
|
||||||
|
# separator=" =": 'WM = dwm'
|
||||||
|
separator=":"
|
||||||
|
|
||||||
|
|
||||||
|
# Color Blocks
|
||||||
|
|
||||||
|
|
||||||
|
# Color block range
|
||||||
|
# The range of colors to print.
|
||||||
|
#
|
||||||
|
# Default: '0', '15'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_range
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# Display colors 0-7 in the blocks. (8 colors)
|
||||||
|
# neofetch --block_range 0 7
|
||||||
|
#
|
||||||
|
# Display colors 0-15 in the blocks. (16 colors)
|
||||||
|
# neofetch --block_range 0 15
|
||||||
|
block_range=(0 15)
|
||||||
|
|
||||||
|
# Toggle color blocks
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --color_blocks
|
||||||
|
color_blocks="on"
|
||||||
|
|
||||||
|
# Color block width in spaces
|
||||||
|
#
|
||||||
|
# Default: '3'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_width
|
||||||
|
block_width=3
|
||||||
|
|
||||||
|
# Color block height in lines
|
||||||
|
#
|
||||||
|
# Default: '1'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_height
|
||||||
|
block_height=1
|
||||||
|
|
||||||
|
# Color Alignment
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'num'
|
||||||
|
# Flag: --col_offset
|
||||||
|
#
|
||||||
|
# Number specifies how far from the left side of the terminal (in spaces) to
|
||||||
|
# begin printing the columns, in case you want to e.g. center them under your
|
||||||
|
# text.
|
||||||
|
# Example:
|
||||||
|
# col_offset="auto" - Default behavior of neofetch
|
||||||
|
# col_offset=7 - Leave 7 spaces then print the colors
|
||||||
|
col_offset="auto"
|
||||||
|
|
||||||
|
# Progress Bars
|
||||||
|
|
||||||
|
|
||||||
|
# Bar characters
|
||||||
|
#
|
||||||
|
# Default: '-', '='
|
||||||
|
# Values: 'string', 'string'
|
||||||
|
# Flag: --bar_char
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# neofetch --bar_char 'elapsed' 'total'
|
||||||
|
# neofetch --bar_char '-' '='
|
||||||
|
bar_char_elapsed="-"
|
||||||
|
bar_char_total="="
|
||||||
|
|
||||||
|
# Toggle Bar border
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --bar_border
|
||||||
|
bar_border="on"
|
||||||
|
|
||||||
|
# Progress bar length in spaces
|
||||||
|
# Number of chars long to make the progress bars.
|
||||||
|
#
|
||||||
|
# Default: '15'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --bar_length
|
||||||
|
bar_length=15
|
||||||
|
|
||||||
|
# Progress bar colors
|
||||||
|
# When set to distro, uses your distro's logo colors.
|
||||||
|
#
|
||||||
|
# Default: 'distro', 'distro'
|
||||||
|
# Values: 'distro', 'num'
|
||||||
|
# Flag: --bar_colors
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# neofetch --bar_colors 3 4
|
||||||
|
# neofetch --bar_colors distro 5
|
||||||
|
bar_color_elapsed="distro"
|
||||||
|
bar_color_total="distro"
|
||||||
|
|
||||||
|
|
||||||
|
# Info display
|
||||||
|
# Display a bar with the info.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'bar', 'infobar', 'barinfo', 'off'
|
||||||
|
# Flags: --cpu_display
|
||||||
|
# --memory_display
|
||||||
|
# --battery_display
|
||||||
|
# --disk_display
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# bar: '[---=======]'
|
||||||
|
# infobar: 'info [---=======]'
|
||||||
|
# barinfo: '[---=======] info'
|
||||||
|
# off: 'info'
|
||||||
|
cpu_display="off"
|
||||||
|
memory_display="off"
|
||||||
|
battery_display="off"
|
||||||
|
disk_display="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Backend Settings
|
||||||
|
|
||||||
|
|
||||||
|
# Image backend.
|
||||||
|
#
|
||||||
|
# Default: 'ascii'
|
||||||
|
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
|
||||||
|
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
|
||||||
|
# Flag: --backend
|
||||||
|
image_backend="ascii"
|
||||||
|
|
||||||
|
# Image Source
|
||||||
|
#
|
||||||
|
# Which image or ascii file to display.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
|
||||||
|
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
|
||||||
|
# Flag: --source
|
||||||
|
#
|
||||||
|
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
|
||||||
|
# In ascii mode, distro ascii art will be used and in an image mode, your
|
||||||
|
# wallpaper will be used.
|
||||||
|
image_source="auto"
|
||||||
|
|
||||||
|
|
||||||
|
# Ascii Options
|
||||||
|
|
||||||
|
|
||||||
|
# Ascii distro
|
||||||
|
# Which distro's ascii art to display.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'distro_name'
|
||||||
|
# Flag: --ascii_distro
|
||||||
|
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS",
|
||||||
|
# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs,
|
||||||
|
# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock,
|
||||||
|
# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
|
||||||
|
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
|
||||||
|
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
|
||||||
|
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
|
||||||
|
# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary,
|
||||||
|
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
|
||||||
|
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo,
|
||||||
|
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
|
||||||
|
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
|
||||||
|
# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
|
||||||
|
# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
|
||||||
|
# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
|
||||||
|
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
|
||||||
|
# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba,
|
||||||
|
# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD,
|
||||||
|
# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint,
|
||||||
|
# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix,
|
||||||
|
# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan,
|
||||||
|
# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific,
|
||||||
|
# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz,
|
||||||
|
# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS,
|
||||||
|
# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails,
|
||||||
|
# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio,
|
||||||
|
# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin,
|
||||||
|
# and IRIX have ascii logos
|
||||||
|
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
|
||||||
|
# Use '{distro name}_old' to use the old logos.
|
||||||
|
# NOTE: Ubuntu has flavor variants.
|
||||||
|
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
|
||||||
|
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
|
||||||
|
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
|
||||||
|
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
|
||||||
|
# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
|
||||||
|
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
|
||||||
|
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
|
||||||
|
# postmarketOS, and Void have a smaller logo variant.
|
||||||
|
# Use '{distro name}_small' to use the small variants.
|
||||||
|
ascii_distro="auto"
|
||||||
|
|
||||||
|
# Ascii Colors
|
||||||
|
#
|
||||||
|
# Default: 'distro'
|
||||||
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||||
|
# Flag: --ascii_colors
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
|
||||||
|
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
|
||||||
|
ascii_colors=(distro)
|
||||||
|
|
||||||
|
# Bold ascii logo
|
||||||
|
# Whether or not to bold the ascii logo.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --ascii_bold
|
||||||
|
ascii_bold="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Image Options
|
||||||
|
|
||||||
|
|
||||||
|
# Image loop
|
||||||
|
# Setting this to on will make neofetch redraw the image constantly until
|
||||||
|
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --loop
|
||||||
|
image_loop="off"
|
||||||
|
|
||||||
|
# Thumbnail directory
|
||||||
|
#
|
||||||
|
# Default: '~/.cache/thumbnails/neofetch'
|
||||||
|
# Values: 'dir'
|
||||||
|
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
||||||
|
|
||||||
|
# Crop mode
|
||||||
|
#
|
||||||
|
# Default: 'normal'
|
||||||
|
# Values: 'normal', 'fit', 'fill'
|
||||||
|
# Flag: --crop_mode
|
||||||
|
#
|
||||||
|
# See this wiki page to learn about the fit and fill options.
|
||||||
|
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
|
||||||
|
crop_mode="normal"
|
||||||
|
|
||||||
|
# Crop offset
|
||||||
|
# Note: Only affects 'normal' crop mode.
|
||||||
|
#
|
||||||
|
# Default: 'center'
|
||||||
|
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
|
||||||
|
# 'east', 'southwest', 'south', 'southeast'
|
||||||
|
# Flag: --crop_offset
|
||||||
|
crop_offset="center"
|
||||||
|
|
||||||
|
# Image size
|
||||||
|
# The image is half the terminal width by default.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', '00px', '00%', 'none'
|
||||||
|
# Flags: --image_size
|
||||||
|
# --size
|
||||||
|
image_size="auto"
|
||||||
|
|
||||||
|
# Gap between image and text
|
||||||
|
#
|
||||||
|
# Default: '3'
|
||||||
|
# Values: 'num', '-num'
|
||||||
|
# Flag: --gap
|
||||||
|
gap=3
|
||||||
|
|
||||||
|
# Image offsets
|
||||||
|
# Only works with the w3m backend.
|
||||||
|
#
|
||||||
|
# Default: '0'
|
||||||
|
# Values: 'px'
|
||||||
|
# Flags: --xoffset
|
||||||
|
# --yoffset
|
||||||
|
yoffset=0
|
||||||
|
xoffset=0
|
||||||
|
|
||||||
|
# Image background color
|
||||||
|
# Only works with the w3m backend.
|
||||||
|
#
|
||||||
|
# Default: ''
|
||||||
|
# Values: 'color', 'blue'
|
||||||
|
# Flag: --bg_color
|
||||||
|
background_color=
|
||||||
|
|
||||||
|
|
||||||
|
# Misc Options
|
||||||
|
|
||||||
|
# Stdout mode
|
||||||
|
# Turn off all colors and disables image backend (ASCII/Image).
|
||||||
|
# Useful for piping into another command.
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
stdout="off"
|
||||||
9
Arch/archtop/home/user/.config/nvim/.luarc.json
Normal file
9
Arch/archtop/home/user/.config/nvim/.luarc.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"diagnostics.globals": [
|
||||||
|
"vim"
|
||||||
|
],
|
||||||
|
"diagnostics.disable": [
|
||||||
|
"different-requires",
|
||||||
|
"missing-fields"
|
||||||
|
]
|
||||||
|
}
|
||||||
1
Arch/archtop/home/user/.config/nvim/init.lua
Normal file
1
Arch/archtop/home/user/.config/nvim/init.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
require("config.lazy")
|
||||||
34
Arch/archtop/home/user/.config/nvim/init.lua.onefilelazy
Normal file
34
Arch/archtop/home/user/.config/nvim/init.lua.onefilelazy
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
-- Bootstrap lazy.nvim
|
||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
|
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||||
|
if vim.v.shell_error ~= 0 then
|
||||||
|
vim.api.nvim_echo({
|
||||||
|
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||||
|
{ out, "WarningMsg" },
|
||||||
|
{ "\nPress any key to exit..." },
|
||||||
|
}, true, {})
|
||||||
|
vim.fn.getchar()
|
||||||
|
os.exit(1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||||
|
-- loading lazy.nvim so that mappings are correct.
|
||||||
|
-- This is also a good place to setup other settings (vim.opt)
|
||||||
|
vim.g.mapleader = " "
|
||||||
|
vim.g.maplocalleader = "\\"
|
||||||
|
|
||||||
|
-- Setup lazy.nvim
|
||||||
|
require("lazy").setup({
|
||||||
|
spec = {
|
||||||
|
-- add your plugins here
|
||||||
|
},
|
||||||
|
-- Configure any other settings here. See the documentation for more details.
|
||||||
|
-- colorscheme that will be used when installing plugins.
|
||||||
|
install = { colorscheme = { "habamax" } },
|
||||||
|
-- automatically check for plugin updates
|
||||||
|
checker = { enabled = true },
|
||||||
|
})
|
||||||
42
Arch/archtop/home/user/.config/nvim/lazy-lock.json
Normal file
42
Arch/archtop/home/user/.config/nvim/lazy-lock.json
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||||
|
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||||
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
|
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
|
||||||
|
"efmls-configs-nvim": { "branch": "main", "commit": "8d7ede48afa7d0344fa62fefb95132c0dad41e97" },
|
||||||
|
"gentoo-syntax": { "branch": "master", "commit": "2bbb23d32d0546e78e7ecc3b310951b86c781780" },
|
||||||
|
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
|
||||||
|
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
|
||||||
|
"lspsaga.nvim": { "branch": "main", "commit": "b0f44305bb316552208e59bebaebbd9b9d8d5dde" },
|
||||||
|
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
||||||
|
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
||||||
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "e942edf5c85b6a2ab74059ea566cac5b3e1514a4" },
|
||||||
|
"mason-tool-installer.nvim": { "branch": "main", "commit": "c5e07b8ff54187716334d585db34282e46fa2932" },
|
||||||
|
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||||
|
"neoconf.nvim": { "branch": "main", "commit": "a4d1d337e23a087847f7a1d2bc4420ce7ad355f4" },
|
||||||
|
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
|
||||||
|
"nightfox.nvim": { "branch": "main", "commit": "595ffb8f291fc4a9bef3201a28b7c0379a41cdee" },
|
||||||
|
"noice.nvim": { "branch": "main", "commit": "eaed6cc9c06aa2013b5255349e4f26a6b17ab70f" },
|
||||||
|
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
|
||||||
|
"nvim-autopairs": { "branch": "master", "commit": "3d02855468f94bf435db41b661b58ec4f48a06b7" },
|
||||||
|
"nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" },
|
||||||
|
"nvim-dap": { "branch": "master", "commit": "1fdfe74661170ce58d37dc46259448987ffe706c" },
|
||||||
|
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "637293ce23c6a965d2f11dfbf92f604bb1978052" },
|
||||||
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
|
"nvim-notify": { "branch": "master", "commit": "22f29093eae7785773ee9d543f8750348b1a195c" },
|
||||||
|
"nvim-transparent": { "branch": "main", "commit": "8a2749a2fa74f97fe6557f61b89ac7fd873f3c21" },
|
||||||
|
"nvim-tree.lua": { "branch": "master", "commit": "d529a99f88e0dff02e0aa275db2f595cd252a2c8" },
|
||||||
|
"nvim-treesitter": { "branch": "master", "commit": "2206739829518c9ea59dbdb9003e0147fdaf2d1c" },
|
||||||
|
"nvim-ts-autotag": { "branch": "main", "commit": "1cca23c9da708047922d3895a71032bc0449c52d" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "1c9136332840edee0c593f2f4f89598c8ed97f5f" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" },
|
||||||
|
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
||||||
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "dae2eac9d91464448b584c7949a31df8faefec56" },
|
||||||
|
"telescope.nvim": { "branch": "master", "commit": "415af52339215926d705cccc08145f3782c4d132" },
|
||||||
|
"vim-highlightedyank": { "branch": "master", "commit": "285a61425e79742997bbde76a91be6189bc988fb" },
|
||||||
|
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
|
||||||
|
"vim-tmux-navigator": { "branch": "master", "commit": "d847ea942a5bb4d4fab6efebc9f30d787fd96e65" },
|
||||||
|
"which-key.nvim": { "branch": "main", "commit": "6cebd86917df559a88de0f806b2989799c6e6423" }
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
local function show_path()
|
||||||
|
local current_path = vim.fn.expand("%:p")
|
||||||
|
print("Current Path: " .. current_path)
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.api.nvim_create_user_command("ShowPath", show_path, { nargs = "?" })
|
||||||
|
|
||||||
4
Arch/archtop/home/user/.config/nvim/lua/config/init.lua
Normal file
4
Arch/archtop/home/user/.config/nvim/lua/config/init.lua
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
return {
|
||||||
|
"folke/neodev.nvim",
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
}
|
||||||
40
Arch/archtop/home/user/.config/nvim/lua/config/keymaps.lua
Normal file
40
Arch/archtop/home/user/.config/nvim/lua/config/keymaps.lua
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
local keymap = vim.keymap
|
||||||
|
|
||||||
|
-- Directory Navigation
|
||||||
|
-- keymap.set("n", "<leader>m", ":NvimTreeFocus<CR>", { noremap = true, silent = true})
|
||||||
|
keymap.set("n", "<leader>t", ":NvimTreeToggle<CR>", { noremap = true, silent = true})
|
||||||
|
|
||||||
|
-- Pane Navigation keys
|
||||||
|
keymap.set("n", "<C-h>", "<C-w>h") -- Navigate Left
|
||||||
|
keymap.set("n", "<C-Left>", "<C-w>h") -- Navigate Left
|
||||||
|
keymap.set("n", "<C-j>", "<C-w>j") -- Navigate Down
|
||||||
|
keymap.set("n", "<C-Down>", "<C-w>j") -- Navigate Down
|
||||||
|
keymap.set("n", "<C-k>", "<C-w>k") -- Navigate Up
|
||||||
|
keymap.set("n", "<C-Up>", "<C-w>k") -- Navigate Up
|
||||||
|
keymap.set("n", "<C-l>", "<C-w>l") -- Navigate Right
|
||||||
|
keymap.set("n", "<C-Right>", "<C-w>l") -- Navigate Right
|
||||||
|
|
||||||
|
-- Pane Management
|
||||||
|
keymap.set("n", "<leader>sv", ":vsplit<CR>") -- Split vertically
|
||||||
|
keymap.set("n", "<leader>sh", ":split<CR>") -- Split Horizontally
|
||||||
|
keymap.set("n", "<leader>sm", ":MaximizerToggle<CR>") -- Toggle Split Maximize
|
||||||
|
|
||||||
|
-- Comments Plugin
|
||||||
|
keymap.set("n", "<C-/>", "gcc", {noremap = true })
|
||||||
|
keymap.set("v", "<C-/>", "gcc", {noremap = false })
|
||||||
|
|
||||||
|
-- Telescope keybinds
|
||||||
|
keymap.set("n", "<leader>/", ":Telescope current_buffer_fuzzy_find<CR>")
|
||||||
|
keymap.set("n", "<leader>fb", ":Telescope buffers<cr>")
|
||||||
|
keymap.set("n", "<leader>fc", ":Telescope git_commits<CR>")
|
||||||
|
keymap.set("n", "<leader>ff", ":Telescope find_files<cr>")
|
||||||
|
keymap.set("n", "<C-p>", ":Telescope git_files<cr>")
|
||||||
|
keymap.set("n", "<leader>fh", ":Telescope help_tags<cr>")
|
||||||
|
keymap.set("n", "<leader>fj", ":Telescope command_history<cr>")
|
||||||
|
keymap.set("n", "<leader>fk", ":Telescope keymaps<cr>")
|
||||||
|
keymap.set("n", "<leader>fl", ":Telescope lsp_references<cr>")
|
||||||
|
keymap.set("n", "<leader>fo", ":Telescope oldfiles<cr>")
|
||||||
|
keymap.set("n", "<leader>fg", ":Telescope live_grep<cr>")
|
||||||
|
keymap.set("n", "<leader>fs", ":Telescope grep_string<cr>")
|
||||||
|
keymap.set("n", "<leader>ft", ":Telescope treesitter<cr>")
|
||||||
|
|
||||||
69
Arch/archtop/home/user/.config/nvim/lua/config/lazy.lua
Normal file
69
Arch/archtop/home/user/.config/nvim/lua/config/lazy.lua
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
-- Bootstrap lazy.nvim
|
||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
|
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||||
|
if vim.v.shell_error ~= 0 then
|
||||||
|
vim.api.nvim_echo({
|
||||||
|
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||||
|
{ out, "WarningMsg" },
|
||||||
|
{ "\nPress any key to exit..." },
|
||||||
|
}, true, {})
|
||||||
|
vim.fn.getchar()
|
||||||
|
os.exit(1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
-- Define some default Lazy options
|
||||||
|
require('config.options')
|
||||||
|
require('config.keymaps')
|
||||||
|
require('config.helpers')
|
||||||
|
require('util.icons')
|
||||||
|
require('util.lsp')
|
||||||
|
require('util.keymapper')
|
||||||
|
|
||||||
|
local opts = {
|
||||||
|
defaults = {
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
install = {
|
||||||
|
colorscheme = { "nightfox" }
|
||||||
|
},
|
||||||
|
rtp = {
|
||||||
|
disabled_plugins = {
|
||||||
|
"gzip",
|
||||||
|
"matchit",
|
||||||
|
"matchparen",
|
||||||
|
"netrwPlugin",
|
||||||
|
"tarPlugin",
|
||||||
|
"tohtml",
|
||||||
|
"tutor",
|
||||||
|
"zipPlugin",
|
||||||
|
},
|
||||||
|
change_detection = {
|
||||||
|
notify = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||||
|
-- loading lazy.nvim so that mappings are correct.
|
||||||
|
-- This is also a good place to setup other settings (vim.opt)
|
||||||
|
-- vim.g.mapleader = "`"
|
||||||
|
-- vim.g.maplocalleader = "\\"
|
||||||
|
-- Tis is taken care of in the options.lua
|
||||||
|
|
||||||
|
-- Setup lazy.nvim
|
||||||
|
require("lazy").setup({
|
||||||
|
spec = {
|
||||||
|
-- import your plugins
|
||||||
|
{ import = "plugins" },
|
||||||
|
},
|
||||||
|
-- Configure any other settings here. See the documentation for more details.
|
||||||
|
-- colorscheme that will be used when installing plugins.
|
||||||
|
opts,
|
||||||
|
-- install = { colorscheme = { "habamax" } },
|
||||||
|
-- automatically check for plugin updates
|
||||||
|
checker = { enabled = true },
|
||||||
|
})
|
||||||
154
Arch/archtop/home/user/.config/nvim/lua/config/options.lua
Normal file
154
Arch/archtop/home/user/.config/nvim/lua/config/options.lua
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
-- This file is automatically loaded by plugins.core
|
||||||
|
vim.g.mapleader = "`"
|
||||||
|
vim.g.maplocalleader = "\\"
|
||||||
|
|
||||||
|
-- LazyVim auto format
|
||||||
|
vim.g.autoformat = true
|
||||||
|
|
||||||
|
-- Snacks animations
|
||||||
|
-- Set to `false` to globally disable all snacks animations
|
||||||
|
vim.g.snacks_animate = false
|
||||||
|
|
||||||
|
-- LazyVim picker to use.
|
||||||
|
-- Can be one of: telescope, fzf
|
||||||
|
-- Leave it to "auto" to automatically use the picker
|
||||||
|
-- enabled with `:LazyExtras`
|
||||||
|
vim.g.lazyvim_picker = "auto"
|
||||||
|
|
||||||
|
-- LazyVim completion engine to use.
|
||||||
|
-- Can be one of: nvim-cmp, blink.cmp
|
||||||
|
-- Leave it to "auto" to automatically use the completion engine
|
||||||
|
-- enabled with `:LazyExtras`
|
||||||
|
vim.g.lazyvim_cmp = "auto"
|
||||||
|
|
||||||
|
-- if the completion engine supports the AI source,
|
||||||
|
-- use that instead of inline suggestions
|
||||||
|
vim.g.ai_cmp = true
|
||||||
|
|
||||||
|
-- LazyVim root dir detection
|
||||||
|
-- Each entry can be:
|
||||||
|
-- * the name of a detector function like `lsp` or `cwd`
|
||||||
|
-- * a pattern or array of patterns like `.git` or `lua`.
|
||||||
|
-- * a function with signature `function(buf) -> string|string[]`
|
||||||
|
vim.g.root_spec = { "lsp", { ".git", "lua" }, "cwd" }
|
||||||
|
|
||||||
|
-- Optionally setup the terminal to use
|
||||||
|
-- This sets `vim.o.shell` and does some additional configuration for:
|
||||||
|
-- * pwsh
|
||||||
|
-- * powershell
|
||||||
|
-- LazyVim.terminal.setup("pwsh")
|
||||||
|
|
||||||
|
-- Set LSP servers to be ignored when used with `util.root.detectors.lsp`
|
||||||
|
-- for detecting the LSP root
|
||||||
|
vim.g.root_lsp_ignore = { "copilot" }
|
||||||
|
|
||||||
|
-- Hide deprecation warnings
|
||||||
|
vim.g.deprecation_warnings = false
|
||||||
|
|
||||||
|
-- Show the current document symbols location from Trouble in lualine
|
||||||
|
-- You can disable this for a buffer by setting `vim.b.trouble_lualine = false`
|
||||||
|
vim.g.trouble_lualine = true
|
||||||
|
|
||||||
|
-- Used for nvim-tree
|
||||||
|
-- disable netrw at the very start of your init.lua
|
||||||
|
vim.g.loaded_netrw = 1
|
||||||
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
|
||||||
|
local opt = vim.opt
|
||||||
|
|
||||||
|
opt.autowrite = true -- Enable auto write
|
||||||
|
-- only set clipboard if not in ssh, to make sure the OSC 52
|
||||||
|
-- integration works automatically. Requires Neovim >= 0.10.0
|
||||||
|
opt.clipboard = vim.env.SSH_TTY and "" or "unnamedplus" -- Sync with system clipboard
|
||||||
|
opt.conceallevel = 2 -- Hide * markup for bold and italic, but not markers with substitutions
|
||||||
|
opt.confirm = true -- Confirm to save changes before exiting modified buffer
|
||||||
|
opt.cursorline = true -- Enable highlighting of the current line
|
||||||
|
opt.expandtab = true -- Use spaces instead of tabs
|
||||||
|
opt.fillchars = {
|
||||||
|
foldopen = "",
|
||||||
|
foldclose = "",
|
||||||
|
fold = " ",
|
||||||
|
foldsep = " ",
|
||||||
|
diff = "╱",
|
||||||
|
eob = " ",
|
||||||
|
}
|
||||||
|
opt.foldlevel = 99
|
||||||
|
opt.formatexpr = "v:lua.require'lazyvim.util'.format.formatexpr()"
|
||||||
|
opt.formatoptions = "jcroqlnt" -- tcqj
|
||||||
|
opt.grepformat = "%f:%l:%c:%m"
|
||||||
|
opt.grepprg = "rg --vimgrep"
|
||||||
|
opt.inccommand = "nosplit" -- preview incremental substitute
|
||||||
|
opt.jumpoptions = "view"
|
||||||
|
opt.laststatus = 3 -- global statusline
|
||||||
|
opt.linebreak = true -- Wrap lines at convenient points
|
||||||
|
opt.list = true -- Show some invisible characters (tabs...
|
||||||
|
opt.mouse = "a" -- Enable mouse mode
|
||||||
|
opt.number = true -- Print line number
|
||||||
|
opt.pumblend = 10 -- Popup blend
|
||||||
|
opt.pumheight = 10 -- Maximum number of entries in a popup
|
||||||
|
opt.relativenumber = true -- Relative line numbers
|
||||||
|
opt.ruler = false -- Disable the default ruler
|
||||||
|
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" }
|
||||||
|
opt.shiftround = true -- Round indent
|
||||||
|
opt.shiftwidth = 2 -- Size of an indent
|
||||||
|
opt.shortmess:append({ W = true, I = true, c = true, C = true })
|
||||||
|
opt.showmode = false -- Dont show mode since we have a statusline
|
||||||
|
opt.sidescrolloff = 8 -- Columns of context
|
||||||
|
opt.smartindent = true -- Insert indents automatically
|
||||||
|
opt.spelllang = { "en" }
|
||||||
|
opt.splitkeep = "screen"
|
||||||
|
-- opt.statuscolumn = [[%!v:lua.require'snacks.statuscolumn'.get()]]
|
||||||
|
opt.tabstop = 2 -- Number of spaces tabs count for
|
||||||
|
opt.termguicolors = true -- True color support
|
||||||
|
opt.timeoutlen = vim.g.vscode and 1000 or 300 -- Lower than default (1000) to quickly trigger which-key
|
||||||
|
opt.undofile = true
|
||||||
|
opt.undolevels = 10000
|
||||||
|
opt.updatetime = 200 -- Save swap file and trigger CursorHold
|
||||||
|
opt.virtualedit = "block" -- Allow cursor to move where there is no text in visual block mode
|
||||||
|
opt.wildmode = "longest:full,full" -- Command-line completion mode
|
||||||
|
opt.winminwidth = 5 -- Minimum window width
|
||||||
|
opt.wrap = false -- Disable line wrap
|
||||||
|
|
||||||
|
if vim.fn.has("nvim-0.10") == 1 then
|
||||||
|
opt.smoothscroll = true
|
||||||
|
opt.foldexpr = "v:lua.require'lazyvim.util'.ui.foldexpr()"
|
||||||
|
opt.foldmethod = "expr"
|
||||||
|
opt.foldtext = ""
|
||||||
|
else
|
||||||
|
opt.foldmethod = "indent"
|
||||||
|
opt.foldtext = "v:lua.require'lazyvim.util'.ui.foldtext()"
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Search Functions
|
||||||
|
opt.incsearch = true
|
||||||
|
opt.ignorecase = true -- Ignore case by default when searching
|
||||||
|
opt.smartcase = true -- Don't ignore case with capitals
|
||||||
|
opt.hlsearch = true -- Highlight results from search
|
||||||
|
|
||||||
|
-- Appearance Settings
|
||||||
|
opt.colorcolumn = '100'
|
||||||
|
opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
|
||||||
|
opt.cmdheight = 1
|
||||||
|
opt.scrolloff = 10 -- Lines of context
|
||||||
|
opt.completeopt = "menu,menuone,noinsert,noselect"
|
||||||
|
|
||||||
|
-- Behavior
|
||||||
|
opt.hidden = true
|
||||||
|
opt.errorbells = false
|
||||||
|
opt.swapfile = false
|
||||||
|
opt.backup = false
|
||||||
|
opt.undodir = vim.fn.expand("~/.vim/undodir")
|
||||||
|
opt.undofile = true
|
||||||
|
opt.backspace = "indent,eol,start"
|
||||||
|
opt.splitright = true
|
||||||
|
opt.splitbelow = true
|
||||||
|
opt.autochdir = false
|
||||||
|
opt.iskeyword:append("-")
|
||||||
|
opt.mouse:append('a')
|
||||||
|
-- opt.clipboard:append("unnamedplus")
|
||||||
|
opt.modifiable = true
|
||||||
|
opt.encoding = "UTF-8"
|
||||||
|
|
||||||
|
-- Fix markdown indentation settings
|
||||||
|
vim.g.markdown_recommended_style = 0
|
||||||
|
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
return {
|
||||||
|
'numToStr/Comment.nvim',
|
||||||
|
lazy = false,
|
||||||
|
opts = {
|
||||||
|
-- add any options here
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"https://github.com/gentoo/gentoo-syntax",
|
||||||
|
},
|
||||||
|
}
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
return {
|
||||||
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
|
main = "ibl",
|
||||||
|
-- @module "ibl"
|
||||||
|
-- @type ibl.config
|
||||||
|
opts = {},
|
||||||
|
lazy = false,
|
||||||
|
}
|
||||||
4
Arch/archtop/home/user/.config/nvim/lua/plugins/init.lua
Normal file
4
Arch/archtop/home/user/.config/nvim/lua/plugins/init.lua
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
return {
|
||||||
|
"folke/neodev.nvim",
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
}
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
return {
|
||||||
|
"glepnir/lspsaga.nvim",
|
||||||
|
lazy = false,
|
||||||
|
config = function()
|
||||||
|
require("lspsaga").setup({
|
||||||
|
-- keybinds for navigation in lspsaga window
|
||||||
|
move_in_saga = { prev = "<C-k>", next = "<C-j>" },
|
||||||
|
-- use enter to open file with finder
|
||||||
|
finder_action_keys = {
|
||||||
|
open = "<CR>",
|
||||||
|
},
|
||||||
|
-- use enter to open file with definition preview
|
||||||
|
definition_action_keys = {
|
||||||
|
edit = "<CR>",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
29
Arch/archtop/home/user/.config/nvim/lua/plugins/lualine.lua
Normal file
29
Arch/archtop/home/user/.config/nvim/lua/plugins/lualine.lua
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
local config = function()
|
||||||
|
local palette = require("nightfox.palette").load("carbonfox")
|
||||||
|
local custom_nightfox = require("lualine.themes.nightfox")
|
||||||
|
custom_nightfox.normal.b.bg = palette.bg0
|
||||||
|
|
||||||
|
require("lualine").setup({
|
||||||
|
options = {
|
||||||
|
theme = custom_nightfox,
|
||||||
|
globalstatus = true,
|
||||||
|
component_separators = { left = "|", right = "|" },
|
||||||
|
section_separators = { left = "", right = "" },
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = { "mode" },
|
||||||
|
lualine_b = { "buffers" },
|
||||||
|
lualine_x = { "encoding", "fileformat", "filetype", "progress" },
|
||||||
|
lualine_y = { "" },
|
||||||
|
lualine_z = { "location" },
|
||||||
|
},
|
||||||
|
tabline = { },
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
lazy = false,
|
||||||
|
config = config,
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
return {
|
||||||
|
-- Install markdown preview, use npx if available.
|
||||||
|
"iamcco/markdown-preview.nvim",
|
||||||
|
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||||
|
ft = { "markdown" },
|
||||||
|
build = function(plugin)
|
||||||
|
if vim.fn.executable "npx" then
|
||||||
|
vim.cmd("!cd " .. plugin.dir .. " && cd app && npx --yes yarn install")
|
||||||
|
else
|
||||||
|
vim.cmd [[Lazy load markdown-preview.nvim]]
|
||||||
|
vim.fn["mkdp#util#install"]()
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
init = function()
|
||||||
|
if vim.fn.executable "npx" then vim.g.mkdp_filetypes = { "markdown" } end
|
||||||
|
end,
|
||||||
|
}
|
||||||
@ -0,0 +1,59 @@
|
|||||||
|
local mason = {
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
cmd = "Mason",
|
||||||
|
event = "BufReadPre",
|
||||||
|
opts = {
|
||||||
|
ui = {
|
||||||
|
icons = {
|
||||||
|
package_installed = "✓",
|
||||||
|
package_pending = "➜",
|
||||||
|
package_uninstalled = "✗",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
local mason_lspconfig = {
|
||||||
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"solidity_ls",
|
||||||
|
"efm",
|
||||||
|
"bashls",
|
||||||
|
"ts_ls",
|
||||||
|
"tailwindcss",
|
||||||
|
"pyright",
|
||||||
|
"lua_ls",
|
||||||
|
"emmet_ls",
|
||||||
|
"jsonls",
|
||||||
|
"clangd",
|
||||||
|
"dockerls",
|
||||||
|
"zls",
|
||||||
|
},
|
||||||
|
automatic_installation = true,
|
||||||
|
},
|
||||||
|
event = "BufReadPre",
|
||||||
|
dependencies = "williamboman/mason.nvim",
|
||||||
|
}
|
||||||
|
|
||||||
|
local mason_tool_installer = {
|
||||||
|
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"prettier", -- prettier formatter
|
||||||
|
"prettierd", -- prettier on steroids?
|
||||||
|
"stylua", -- lua formatter
|
||||||
|
"isort", -- python formatter
|
||||||
|
"black", -- python formatter
|
||||||
|
"pylint",
|
||||||
|
"eslint_d",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
mason,
|
||||||
|
mason_lspconfig,
|
||||||
|
mason_tool_installer,
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
return {
|
||||||
|
{ "folke/neoconf.nvim", cmd = "Neoconf" },
|
||||||
|
}
|
||||||
16
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/.yarn-integrity
generated
vendored
Normal file
16
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/.yarn-integrity
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"systemParams": "linux-x64-127",
|
||||||
|
"modulesFolders": [
|
||||||
|
"node_modules"
|
||||||
|
],
|
||||||
|
"flags": [],
|
||||||
|
"linkedModules": [],
|
||||||
|
"topLevelPatterns": [
|
||||||
|
"tslib@^2.8.1"
|
||||||
|
],
|
||||||
|
"lockfileEntries": {
|
||||||
|
"tslib@^2.8.1": "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
|
||||||
|
},
|
||||||
|
"files": [],
|
||||||
|
"artifacts": {}
|
||||||
|
}
|
||||||
15
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/CopyrightNotice.txt
generated
vendored
Normal file
15
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/CopyrightNotice.txt
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
12
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/LICENSE.txt
generated
vendored
Normal file
12
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/LICENSE.txt
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
164
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/README.md
generated
vendored
Normal file
164
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/README.md
generated
vendored
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
# tslib
|
||||||
|
|
||||||
|
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
|
||||||
|
|
||||||
|
This library is primarily used by the `--importHelpers` flag in TypeScript.
|
||||||
|
When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
var __assign = (this && this.__assign) || Object.assign || function(t) {
|
||||||
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||||
|
s = arguments[i];
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
||||||
|
t[p] = s[p];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
};
|
||||||
|
exports.x = {};
|
||||||
|
exports.y = __assign({}, exports.x);
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
will instead be emitted as something like the following:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
var tslib_1 = require("tslib");
|
||||||
|
exports.x = {};
|
||||||
|
exports.y = tslib_1.__assign({}, exports.x);
|
||||||
|
```
|
||||||
|
|
||||||
|
Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead.
|
||||||
|
For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`.
|
||||||
|
|
||||||
|
# Installing
|
||||||
|
|
||||||
|
For the latest stable version, run:
|
||||||
|
|
||||||
|
## npm
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# TypeScript 3.9.2 or later
|
||||||
|
npm install tslib
|
||||||
|
|
||||||
|
# TypeScript 3.8.4 or earlier
|
||||||
|
npm install tslib@^1
|
||||||
|
|
||||||
|
# TypeScript 2.3.2 or earlier
|
||||||
|
npm install tslib@1.6.1
|
||||||
|
```
|
||||||
|
|
||||||
|
## yarn
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# TypeScript 3.9.2 or later
|
||||||
|
yarn add tslib
|
||||||
|
|
||||||
|
# TypeScript 3.8.4 or earlier
|
||||||
|
yarn add tslib@^1
|
||||||
|
|
||||||
|
# TypeScript 2.3.2 or earlier
|
||||||
|
yarn add tslib@1.6.1
|
||||||
|
```
|
||||||
|
|
||||||
|
## bower
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# TypeScript 3.9.2 or later
|
||||||
|
bower install tslib
|
||||||
|
|
||||||
|
# TypeScript 3.8.4 or earlier
|
||||||
|
bower install tslib@^1
|
||||||
|
|
||||||
|
# TypeScript 2.3.2 or earlier
|
||||||
|
bower install tslib@1.6.1
|
||||||
|
```
|
||||||
|
|
||||||
|
## JSPM
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# TypeScript 3.9.2 or later
|
||||||
|
jspm install tslib
|
||||||
|
|
||||||
|
# TypeScript 3.8.4 or earlier
|
||||||
|
jspm install tslib@^1
|
||||||
|
|
||||||
|
# TypeScript 2.3.2 or earlier
|
||||||
|
jspm install tslib@1.6.1
|
||||||
|
```
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
Set the `importHelpers` compiler option on the command line:
|
||||||
|
|
||||||
|
```
|
||||||
|
tsc --importHelpers file.ts
|
||||||
|
```
|
||||||
|
|
||||||
|
or in your tsconfig.json:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"importHelpers": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
#### For bower and JSPM users
|
||||||
|
|
||||||
|
You will need to add a `paths` mapping for `tslib`, e.g. For Bower users:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "amd",
|
||||||
|
"importHelpers": true,
|
||||||
|
"baseUrl": "./",
|
||||||
|
"paths": {
|
||||||
|
"tslib" : ["bower_components/tslib/tslib.d.ts"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
For JSPM users:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "system",
|
||||||
|
"importHelpers": true,
|
||||||
|
"baseUrl": "./",
|
||||||
|
"paths": {
|
||||||
|
"tslib" : ["jspm_packages/npm/tslib@2.x.y/tslib.d.ts"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
- Choose your new version number
|
||||||
|
- Set it in `package.json` and `bower.json`
|
||||||
|
- Create a tag: `git tag [version]`
|
||||||
|
- Push the tag: `git push --tags`
|
||||||
|
- Create a [release in GitHub](https://github.com/microsoft/tslib/releases)
|
||||||
|
- Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow
|
||||||
|
|
||||||
|
Done.
|
||||||
|
|
||||||
|
# Contribute
|
||||||
|
|
||||||
|
There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript.
|
||||||
|
|
||||||
|
* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
|
||||||
|
* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls).
|
||||||
|
* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript).
|
||||||
|
* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter.
|
||||||
|
* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md).
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
|
||||||
|
* [Quick tutorial](http://www.typescriptlang.org/Tutorial)
|
||||||
|
* [Programming handbook](http://www.typescriptlang.org/Handbook)
|
||||||
|
* [Homepage](http://www.typescriptlang.org/)
|
||||||
41
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/SECURITY.md
generated
vendored
Normal file
41
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/SECURITY.md
generated
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.7 BLOCK -->
|
||||||
|
|
||||||
|
## Security
|
||||||
|
|
||||||
|
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
|
||||||
|
|
||||||
|
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
|
||||||
|
|
||||||
|
## Reporting Security Issues
|
||||||
|
|
||||||
|
**Please do not report security vulnerabilities through public GitHub issues.**
|
||||||
|
|
||||||
|
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
|
||||||
|
|
||||||
|
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
|
||||||
|
|
||||||
|
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
|
||||||
|
|
||||||
|
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
||||||
|
|
||||||
|
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
||||||
|
* Full paths of source file(s) related to the manifestation of the issue
|
||||||
|
* The location of the affected source code (tag/branch/commit or direct URL)
|
||||||
|
* Any special configuration required to reproduce the issue
|
||||||
|
* Step-by-step instructions to reproduce the issue
|
||||||
|
* Proof-of-concept or exploit code (if possible)
|
||||||
|
* Impact of the issue, including how an attacker might exploit the issue
|
||||||
|
|
||||||
|
This information will help us triage your report more quickly.
|
||||||
|
|
||||||
|
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
|
||||||
|
|
||||||
|
## Preferred Languages
|
||||||
|
|
||||||
|
We prefer all communications to be in English.
|
||||||
|
|
||||||
|
## Policy
|
||||||
|
|
||||||
|
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
|
||||||
|
|
||||||
|
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
||||||
38
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/modules/index.d.ts
generated
vendored
Normal file
38
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/modules/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
// Note: named reexports are used instead of `export *` because
|
||||||
|
// TypeScript itself doesn't resolve the `export *` when checking
|
||||||
|
// if a particular helper exists.
|
||||||
|
export {
|
||||||
|
__extends,
|
||||||
|
__assign,
|
||||||
|
__rest,
|
||||||
|
__decorate,
|
||||||
|
__param,
|
||||||
|
__esDecorate,
|
||||||
|
__runInitializers,
|
||||||
|
__propKey,
|
||||||
|
__setFunctionName,
|
||||||
|
__metadata,
|
||||||
|
__awaiter,
|
||||||
|
__generator,
|
||||||
|
__exportStar,
|
||||||
|
__values,
|
||||||
|
__read,
|
||||||
|
__spread,
|
||||||
|
__spreadArrays,
|
||||||
|
__spreadArray,
|
||||||
|
__await,
|
||||||
|
__asyncGenerator,
|
||||||
|
__asyncDelegator,
|
||||||
|
__asyncValues,
|
||||||
|
__makeTemplateObject,
|
||||||
|
__importStar,
|
||||||
|
__importDefault,
|
||||||
|
__classPrivateFieldGet,
|
||||||
|
__classPrivateFieldSet,
|
||||||
|
__classPrivateFieldIn,
|
||||||
|
__createBinding,
|
||||||
|
__addDisposableResource,
|
||||||
|
__disposeResources,
|
||||||
|
__rewriteRelativeImportExtension,
|
||||||
|
} from '../tslib.js';
|
||||||
|
export * as default from '../tslib.js';
|
||||||
70
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/modules/index.js
generated
vendored
Normal file
70
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/modules/index.js
generated
vendored
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
import tslib from '../tslib.js';
|
||||||
|
const {
|
||||||
|
__extends,
|
||||||
|
__assign,
|
||||||
|
__rest,
|
||||||
|
__decorate,
|
||||||
|
__param,
|
||||||
|
__esDecorate,
|
||||||
|
__runInitializers,
|
||||||
|
__propKey,
|
||||||
|
__setFunctionName,
|
||||||
|
__metadata,
|
||||||
|
__awaiter,
|
||||||
|
__generator,
|
||||||
|
__exportStar,
|
||||||
|
__createBinding,
|
||||||
|
__values,
|
||||||
|
__read,
|
||||||
|
__spread,
|
||||||
|
__spreadArrays,
|
||||||
|
__spreadArray,
|
||||||
|
__await,
|
||||||
|
__asyncGenerator,
|
||||||
|
__asyncDelegator,
|
||||||
|
__asyncValues,
|
||||||
|
__makeTemplateObject,
|
||||||
|
__importStar,
|
||||||
|
__importDefault,
|
||||||
|
__classPrivateFieldGet,
|
||||||
|
__classPrivateFieldSet,
|
||||||
|
__classPrivateFieldIn,
|
||||||
|
__addDisposableResource,
|
||||||
|
__disposeResources,
|
||||||
|
__rewriteRelativeImportExtension,
|
||||||
|
} = tslib;
|
||||||
|
export {
|
||||||
|
__extends,
|
||||||
|
__assign,
|
||||||
|
__rest,
|
||||||
|
__decorate,
|
||||||
|
__param,
|
||||||
|
__esDecorate,
|
||||||
|
__runInitializers,
|
||||||
|
__propKey,
|
||||||
|
__setFunctionName,
|
||||||
|
__metadata,
|
||||||
|
__awaiter,
|
||||||
|
__generator,
|
||||||
|
__exportStar,
|
||||||
|
__createBinding,
|
||||||
|
__values,
|
||||||
|
__read,
|
||||||
|
__spread,
|
||||||
|
__spreadArrays,
|
||||||
|
__spreadArray,
|
||||||
|
__await,
|
||||||
|
__asyncGenerator,
|
||||||
|
__asyncDelegator,
|
||||||
|
__asyncValues,
|
||||||
|
__makeTemplateObject,
|
||||||
|
__importStar,
|
||||||
|
__importDefault,
|
||||||
|
__classPrivateFieldGet,
|
||||||
|
__classPrivateFieldSet,
|
||||||
|
__classPrivateFieldIn,
|
||||||
|
__addDisposableResource,
|
||||||
|
__disposeResources,
|
||||||
|
__rewriteRelativeImportExtension,
|
||||||
|
};
|
||||||
|
export default tslib;
|
||||||
3
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/modules/package.json
generated
vendored
Normal file
3
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/modules/package.json
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"type": "module"
|
||||||
|
}
|
||||||
47
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/package.json
generated
vendored
Normal file
47
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/package.json
generated
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"name": "tslib",
|
||||||
|
"author": "Microsoft Corp.",
|
||||||
|
"homepage": "https://www.typescriptlang.org/",
|
||||||
|
"version": "2.8.1",
|
||||||
|
"license": "0BSD",
|
||||||
|
"description": "Runtime library for TypeScript helper functions",
|
||||||
|
"keywords": [
|
||||||
|
"TypeScript",
|
||||||
|
"Microsoft",
|
||||||
|
"compiler",
|
||||||
|
"language",
|
||||||
|
"javascript",
|
||||||
|
"tslib",
|
||||||
|
"runtime"
|
||||||
|
],
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/Microsoft/TypeScript/issues"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Microsoft/tslib.git"
|
||||||
|
},
|
||||||
|
"main": "tslib.js",
|
||||||
|
"module": "tslib.es6.js",
|
||||||
|
"jsnext:main": "tslib.es6.js",
|
||||||
|
"typings": "tslib.d.ts",
|
||||||
|
"sideEffects": false,
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"module": {
|
||||||
|
"types": "./modules/index.d.ts",
|
||||||
|
"default": "./tslib.es6.mjs"
|
||||||
|
},
|
||||||
|
"import": {
|
||||||
|
"node": "./modules/index.js",
|
||||||
|
"default": {
|
||||||
|
"types": "./modules/index.d.ts",
|
||||||
|
"default": "./tslib.es6.mjs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"default": "./tslib.js"
|
||||||
|
},
|
||||||
|
"./*": "./*",
|
||||||
|
"./": "./"
|
||||||
|
}
|
||||||
|
}
|
||||||
460
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.d.ts
generated
vendored
Normal file
460
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.d.ts
generated
vendored
Normal file
@ -0,0 +1,460 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
***************************************************************************** */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Used to shim class extends.
|
||||||
|
*
|
||||||
|
* @param d The derived class.
|
||||||
|
* @param b The base class.
|
||||||
|
*/
|
||||||
|
export declare function __extends(d: Function, b: Function): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copy the values of all of the enumerable own properties from one or more source objects to a
|
||||||
|
* target object. Returns the target object.
|
||||||
|
*
|
||||||
|
* @param t The target object to copy to.
|
||||||
|
* @param sources One or more source objects from which to copy properties
|
||||||
|
*/
|
||||||
|
export declare function __assign(t: any, ...sources: any[]): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Performs a rest spread on an object.
|
||||||
|
*
|
||||||
|
* @param t The source value.
|
||||||
|
* @param propertyNames The property names excluded from the rest spread.
|
||||||
|
*/
|
||||||
|
export declare function __rest(t: any, propertyNames: (string | symbol)[]): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Applies decorators to a target object
|
||||||
|
*
|
||||||
|
* @param decorators The set of decorators to apply.
|
||||||
|
* @param target The target object.
|
||||||
|
* @param key If specified, the own property to apply the decorators to.
|
||||||
|
* @param desc The property descriptor, defaults to fetching the descriptor from the target object.
|
||||||
|
* @experimental
|
||||||
|
*/
|
||||||
|
export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an observing function decorator from a parameter decorator.
|
||||||
|
*
|
||||||
|
* @param paramIndex The parameter index to apply the decorator to.
|
||||||
|
* @param decorator The parameter decorator to apply. Note that the return value is ignored.
|
||||||
|
* @experimental
|
||||||
|
*/
|
||||||
|
export declare function __param(paramIndex: number, decorator: Function): Function;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Applies decorators to a class or class member, following the native ECMAScript decorator specification.
|
||||||
|
* @param ctor For non-field class members, the class constructor. Otherwise, `null`.
|
||||||
|
* @param descriptorIn The `PropertyDescriptor` to use when unable to look up the property from `ctor`.
|
||||||
|
* @param decorators The decorators to apply
|
||||||
|
* @param contextIn The `DecoratorContext` to clone for each decorator application.
|
||||||
|
* @param initializers An array of field initializer mutation functions into which new initializers are written.
|
||||||
|
* @param extraInitializers An array of extra initializer functions into which new initializers are written.
|
||||||
|
*/
|
||||||
|
export declare function __esDecorate(ctor: Function | null, descriptorIn: object | null, decorators: Function[], contextIn: object, initializers: Function[] | null, extraInitializers: Function[]): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Runs field initializers or extra initializers generated by `__esDecorate`.
|
||||||
|
* @param thisArg The `this` argument to use.
|
||||||
|
* @param initializers The array of initializers to evaluate.
|
||||||
|
* @param value The initial value to pass to the initializers.
|
||||||
|
*/
|
||||||
|
export declare function __runInitializers(thisArg: unknown, initializers: Function[], value?: any): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Converts a computed property name into a `string` or `symbol` value.
|
||||||
|
*/
|
||||||
|
export declare function __propKey(x: any): string | symbol;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Assigns the name of a function derived from the left-hand side of an assignment.
|
||||||
|
* @param f The function to rename.
|
||||||
|
* @param name The new name for the function.
|
||||||
|
* @param prefix A prefix (such as `"get"` or `"set"`) to insert before the name.
|
||||||
|
*/
|
||||||
|
export declare function __setFunctionName(f: Function, name: string | symbol, prefix?: string): Function;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a decorator that sets metadata.
|
||||||
|
*
|
||||||
|
* @param metadataKey The metadata key
|
||||||
|
* @param metadataValue The metadata value
|
||||||
|
* @experimental
|
||||||
|
*/
|
||||||
|
export declare function __metadata(metadataKey: any, metadataValue: any): Function;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Converts a generator function into a pseudo-async function, by treating each `yield` as an `await`.
|
||||||
|
*
|
||||||
|
* @param thisArg The reference to use as the `this` value in the generator function
|
||||||
|
* @param _arguments The optional arguments array
|
||||||
|
* @param P The optional promise constructor argument, defaults to the `Promise` property of the global object.
|
||||||
|
* @param generator The generator function
|
||||||
|
*/
|
||||||
|
export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an Iterator object using the body as the implementation.
|
||||||
|
*
|
||||||
|
* @param thisArg The reference to use as the `this` value in the function
|
||||||
|
* @param body The generator state-machine based implementation.
|
||||||
|
*
|
||||||
|
* @see [./docs/generator.md]
|
||||||
|
*/
|
||||||
|
export declare function __generator(thisArg: any, body: Function): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates bindings for all enumerable properties of `m` on `exports`
|
||||||
|
*
|
||||||
|
* @param m The source object
|
||||||
|
* @param o The `exports` object.
|
||||||
|
*/
|
||||||
|
export declare function __exportStar(m: any, o: any): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a value iterator from an `Iterable` or `ArrayLike` object.
|
||||||
|
*
|
||||||
|
* @param o The object.
|
||||||
|
* @throws {TypeError} If `o` is neither `Iterable`, nor an `ArrayLike`.
|
||||||
|
*/
|
||||||
|
export declare function __values(o: any): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reads values from an `Iterable` or `ArrayLike` object and returns the resulting array.
|
||||||
|
*
|
||||||
|
* @param o The object to read from.
|
||||||
|
* @param n The maximum number of arguments to read, defaults to `Infinity`.
|
||||||
|
*/
|
||||||
|
export declare function __read(o: any, n?: number): any[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an array from iterable spread.
|
||||||
|
*
|
||||||
|
* @param args The Iterable objects to spread.
|
||||||
|
* @deprecated since TypeScript 4.2 - Use `__spreadArray`
|
||||||
|
*/
|
||||||
|
export declare function __spread(...args: any[][]): any[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an array from array spread.
|
||||||
|
*
|
||||||
|
* @param args The ArrayLikes to spread into the resulting array.
|
||||||
|
* @deprecated since TypeScript 4.2 - Use `__spreadArray`
|
||||||
|
*/
|
||||||
|
export declare function __spreadArrays(...args: any[][]): any[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Spreads the `from` array into the `to` array.
|
||||||
|
*
|
||||||
|
* @param pack Replace empty elements with `undefined`.
|
||||||
|
*/
|
||||||
|
export declare function __spreadArray(to: any[], from: any[], pack?: boolean): any[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an object that signals to `__asyncGenerator` that it shouldn't be yielded,
|
||||||
|
* and instead should be awaited and the resulting value passed back to the generator.
|
||||||
|
*
|
||||||
|
* @param v The value to await.
|
||||||
|
*/
|
||||||
|
export declare function __await(v: any): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Converts a generator function into an async generator function, by using `yield __await`
|
||||||
|
* in place of normal `await`.
|
||||||
|
*
|
||||||
|
* @param thisArg The reference to use as the `this` value in the generator function
|
||||||
|
* @param _arguments The optional arguments array
|
||||||
|
* @param generator The generator function
|
||||||
|
*/
|
||||||
|
export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Used to wrap a potentially async iterator in such a way so that it wraps the result
|
||||||
|
* of calling iterator methods of `o` in `__await` instances, and then yields the awaited values.
|
||||||
|
*
|
||||||
|
* @param o The potentially async iterator.
|
||||||
|
* @returns A synchronous iterator yielding `__await` instances on every odd invocation
|
||||||
|
* and returning the awaited `IteratorResult` passed to `next` every even invocation.
|
||||||
|
*/
|
||||||
|
export declare function __asyncDelegator(o: any): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a value async iterator from an `AsyncIterable`, `Iterable` or `ArrayLike` object.
|
||||||
|
*
|
||||||
|
* @param o The object.
|
||||||
|
* @throws {TypeError} If `o` is neither `AsyncIterable`, `Iterable`, nor an `ArrayLike`.
|
||||||
|
*/
|
||||||
|
export declare function __asyncValues(o: any): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a `TemplateStringsArray` frozen object from the `cooked` and `raw` arrays.
|
||||||
|
*
|
||||||
|
* @param cooked The cooked possibly-sparse array.
|
||||||
|
* @param raw The raw string content.
|
||||||
|
*/
|
||||||
|
export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Used to shim default and named imports in ECMAScript Modules transpiled to CommonJS.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import Default, { Named, Other } from "mod";
|
||||||
|
* // or
|
||||||
|
* import { default as Default, Named, Other } from "mod";
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* @param mod The CommonJS module exports object.
|
||||||
|
*/
|
||||||
|
export declare function __importStar<T>(mod: T): T;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Used to shim default imports in ECMAScript Modules transpiled to CommonJS.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import Default from "mod";
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* @param mod The CommonJS module exports object.
|
||||||
|
*/
|
||||||
|
export declare function __importDefault<T>(mod: T): T | { default: T };
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates reading a private instance field.
|
||||||
|
*
|
||||||
|
* @param receiver The instance from which to read the private field.
|
||||||
|
* @param state A WeakMap containing the private field value for an instance.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldGet<T extends object, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: { has(o: T): boolean, get(o: T): V | undefined },
|
||||||
|
kind?: "f"
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates reading a private static field.
|
||||||
|
*
|
||||||
|
* @param receiver The object from which to read the private static field.
|
||||||
|
* @param state The class constructor containing the definition of the static field.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The descriptor that holds the static field value.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `receiver` is not `state`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: T,
|
||||||
|
kind: "f",
|
||||||
|
f: { value: V }
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates evaluating a private instance "get" accessor.
|
||||||
|
*
|
||||||
|
* @param receiver The instance on which to evaluate the private "get" accessor.
|
||||||
|
* @param state A WeakSet used to verify an instance supports the private "get" accessor.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The "get" accessor function to evaluate.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldGet<T extends object, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: { has(o: T): boolean },
|
||||||
|
kind: "a",
|
||||||
|
f: () => V
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates evaluating a private static "get" accessor.
|
||||||
|
*
|
||||||
|
* @param receiver The object on which to evaluate the private static "get" accessor.
|
||||||
|
* @param state The class constructor containing the definition of the static "get" accessor.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The "get" accessor function to evaluate.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `receiver` is not `state`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: T,
|
||||||
|
kind: "a",
|
||||||
|
f: () => V
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates reading a private instance method.
|
||||||
|
*
|
||||||
|
* @param receiver The instance from which to read a private method.
|
||||||
|
* @param state A WeakSet used to verify an instance supports the private method.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The function to return as the private instance method.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldGet<T extends object, V extends (...args: any[]) => unknown>(
|
||||||
|
receiver: T,
|
||||||
|
state: { has(o: T): boolean },
|
||||||
|
kind: "m",
|
||||||
|
f: V
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates reading a private static method.
|
||||||
|
*
|
||||||
|
* @param receiver The object from which to read the private static method.
|
||||||
|
* @param state The class constructor containing the definition of the static method.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The function to return as the private static method.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `receiver` is not `state`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V extends (...args: any[]) => unknown>(
|
||||||
|
receiver: T,
|
||||||
|
state: T,
|
||||||
|
kind: "m",
|
||||||
|
f: V
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates writing to a private instance field.
|
||||||
|
*
|
||||||
|
* @param receiver The instance on which to set a private field value.
|
||||||
|
* @param state A WeakMap used to store the private field value for an instance.
|
||||||
|
* @param value The value to store in the private field.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldSet<T extends object, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: { has(o: T): boolean, set(o: T, value: V): unknown },
|
||||||
|
value: V,
|
||||||
|
kind?: "f"
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates writing to a private static field.
|
||||||
|
*
|
||||||
|
* @param receiver The object on which to set the private static field.
|
||||||
|
* @param state The class constructor containing the definition of the private static field.
|
||||||
|
* @param value The value to store in the private field.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The descriptor that holds the static field value.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `receiver` is not `state`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: T,
|
||||||
|
value: V,
|
||||||
|
kind: "f",
|
||||||
|
f: { value: V }
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates writing to a private instance "set" accessor.
|
||||||
|
*
|
||||||
|
* @param receiver The instance on which to evaluate the private instance "set" accessor.
|
||||||
|
* @param state A WeakSet used to verify an instance supports the private "set" accessor.
|
||||||
|
* @param value The value to store in the private accessor.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The "set" accessor function to evaluate.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldSet<T extends object, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: { has(o: T): boolean },
|
||||||
|
value: V,
|
||||||
|
kind: "a",
|
||||||
|
f: (v: V) => void
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Emulates writing to a private static "set" accessor.
|
||||||
|
*
|
||||||
|
* @param receiver The object on which to evaluate the private static "set" accessor.
|
||||||
|
* @param state The class constructor containing the definition of the static "set" accessor.
|
||||||
|
* @param value The value to store in the private field.
|
||||||
|
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
||||||
|
* @param f The "set" accessor function to evaluate.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If `receiver` is not `state`.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
|
||||||
|
receiver: T,
|
||||||
|
state: T,
|
||||||
|
value: V,
|
||||||
|
kind: "a",
|
||||||
|
f: (v: V) => void
|
||||||
|
): V;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks for the existence of a private field/method/accessor.
|
||||||
|
*
|
||||||
|
* @param state The class constructor containing the static member, or the WeakMap or WeakSet associated with a private instance member.
|
||||||
|
* @param receiver The object for which to test the presence of the private member.
|
||||||
|
*/
|
||||||
|
export declare function __classPrivateFieldIn(
|
||||||
|
state: (new (...args: any[]) => unknown) | { has(o: any): boolean },
|
||||||
|
receiver: unknown,
|
||||||
|
): boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a re-export binding on `object` with key `objectKey` that references `target[key]`.
|
||||||
|
*
|
||||||
|
* @param object The local `exports` object.
|
||||||
|
* @param target The object to re-export from.
|
||||||
|
* @param key The property key of `target` to re-export.
|
||||||
|
* @param objectKey The property key to re-export as. Defaults to `key`.
|
||||||
|
*/
|
||||||
|
export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a disposable resource to a resource-tracking environment object.
|
||||||
|
* @param env A resource-tracking environment object.
|
||||||
|
* @param value Either a Disposable or AsyncDisposable object, `null`, or `undefined`.
|
||||||
|
* @param async When `true`, `AsyncDisposable` resources can be added. When `false`, `AsyncDisposable` resources cannot be added.
|
||||||
|
* @returns The {@link value} argument.
|
||||||
|
*
|
||||||
|
* @throws {TypeError} If {@link value} is not an object, or if either `Symbol.dispose` or `Symbol.asyncDispose` are not
|
||||||
|
* defined, or if {@link value} does not have an appropriate `Symbol.dispose` or `Symbol.asyncDispose` method.
|
||||||
|
*/
|
||||||
|
export declare function __addDisposableResource<T>(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }, value: T, async: boolean): T;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disposes all resources in a resource-tracking environment object.
|
||||||
|
* @param env A resource-tracking environment object.
|
||||||
|
* @returns A {@link Promise} if any resources in the environment were marked as `async` when added; otherwise, `void`.
|
||||||
|
*
|
||||||
|
* @throws {SuppressedError} if an error thrown during disposal would have suppressed a prior error from disposal or the
|
||||||
|
* error recorded in the resource-tracking environment object.
|
||||||
|
* @seealso {@link __addDisposableResource}
|
||||||
|
*/
|
||||||
|
export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Transforms a relative import specifier ending in a non-declaration TypeScript file extension to its JavaScript file extension counterpart.
|
||||||
|
* @param path The import specifier.
|
||||||
|
* @param preserveJsx Causes '*.tsx' to transform to '*.jsx' instead of '*.js'. Should be true when `--jsx` is set to `preserve`.
|
||||||
|
*/
|
||||||
|
export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string;
|
||||||
1
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.es6.html
generated
vendored
Normal file
1
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.es6.html
generated
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
<script src="tslib.es6.js"></script>
|
||||||
402
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.es6.js
generated
vendored
Normal file
402
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.es6.js
generated
vendored
Normal file
@ -0,0 +1,402 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
***************************************************************************** */
|
||||||
|
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
||||||
|
|
||||||
|
var extendStatics = function(d, b) {
|
||||||
|
extendStatics = Object.setPrototypeOf ||
|
||||||
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||||
|
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||||
|
return extendStatics(d, b);
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __extends(d, b) {
|
||||||
|
if (typeof b !== "function" && b !== null)
|
||||||
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||||
|
extendStatics(d, b);
|
||||||
|
function __() { this.constructor = d; }
|
||||||
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||||
|
}
|
||||||
|
|
||||||
|
export var __assign = function() {
|
||||||
|
__assign = Object.assign || function __assign(t) {
|
||||||
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||||
|
s = arguments[i];
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
}
|
||||||
|
return __assign.apply(this, arguments);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __rest(s, e) {
|
||||||
|
var t = {};
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
||||||
|
t[p] = s[p];
|
||||||
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
||||||
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
||||||
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
||||||
|
t[p[i]] = s[p[i]];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __decorate(decorators, target, key, desc) {
|
||||||
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||||
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||||
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||||
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __param(paramIndex, decorator) {
|
||||||
|
return function (target, key) { decorator(target, key, paramIndex); }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
||||||
|
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
||||||
|
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
||||||
|
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
||||||
|
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
||||||
|
var _, done = false;
|
||||||
|
for (var i = decorators.length - 1; i >= 0; i--) {
|
||||||
|
var context = {};
|
||||||
|
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
||||||
|
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
||||||
|
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
||||||
|
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
||||||
|
if (kind === "accessor") {
|
||||||
|
if (result === void 0) continue;
|
||||||
|
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
||||||
|
if (_ = accept(result.get)) descriptor.get = _;
|
||||||
|
if (_ = accept(result.set)) descriptor.set = _;
|
||||||
|
if (_ = accept(result.init)) initializers.unshift(_);
|
||||||
|
}
|
||||||
|
else if (_ = accept(result)) {
|
||||||
|
if (kind === "field") initializers.unshift(_);
|
||||||
|
else descriptor[key] = _;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
||||||
|
done = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __runInitializers(thisArg, initializers, value) {
|
||||||
|
var useValue = arguments.length > 2;
|
||||||
|
for (var i = 0; i < initializers.length; i++) {
|
||||||
|
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
||||||
|
}
|
||||||
|
return useValue ? value : void 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __propKey(x) {
|
||||||
|
return typeof x === "symbol" ? x : "".concat(x);
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __setFunctionName(f, name, prefix) {
|
||||||
|
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
||||||
|
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __metadata(metadataKey, metadataValue) {
|
||||||
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __awaiter(thisArg, _arguments, P, generator) {
|
||||||
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||||
|
return new (P || (P = Promise))(function (resolve, reject) {
|
||||||
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||||
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||||
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
||||||
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __generator(thisArg, body) {
|
||||||
|
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
||||||
|
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
||||||
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
||||||
|
function step(op) {
|
||||||
|
if (f) throw new TypeError("Generator is already executing.");
|
||||||
|
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
||||||
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
||||||
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
||||||
|
switch (op[0]) {
|
||||||
|
case 0: case 1: t = op; break;
|
||||||
|
case 4: _.label++; return { value: op[1], done: false };
|
||||||
|
case 5: _.label++; y = op[1]; op = [0]; continue;
|
||||||
|
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
||||||
|
default:
|
||||||
|
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
||||||
|
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
||||||
|
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
||||||
|
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
||||||
|
if (t[2]) _.ops.pop();
|
||||||
|
_.trys.pop(); continue;
|
||||||
|
}
|
||||||
|
op = body.call(thisArg, _);
|
||||||
|
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
||||||
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export var __createBinding = Object.create ? (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||||
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||||
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||||
|
}
|
||||||
|
Object.defineProperty(o, k2, desc);
|
||||||
|
}) : (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
o[k2] = m[k];
|
||||||
|
});
|
||||||
|
|
||||||
|
export function __exportStar(m, o) {
|
||||||
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __values(o) {
|
||||||
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||||
|
if (m) return m.call(o);
|
||||||
|
if (o && typeof o.length === "number") return {
|
||||||
|
next: function () {
|
||||||
|
if (o && i >= o.length) o = void 0;
|
||||||
|
return { value: o && o[i++], done: !o };
|
||||||
|
}
|
||||||
|
};
|
||||||
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __read(o, n) {
|
||||||
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||||
|
if (!m) return o;
|
||||||
|
var i = m.call(o), r, ar = [], e;
|
||||||
|
try {
|
||||||
|
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||||
|
}
|
||||||
|
catch (error) { e = { error: error }; }
|
||||||
|
finally {
|
||||||
|
try {
|
||||||
|
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||||
|
}
|
||||||
|
finally { if (e) throw e.error; }
|
||||||
|
}
|
||||||
|
return ar;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
|
export function __spread() {
|
||||||
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
||||||
|
ar = ar.concat(__read(arguments[i]));
|
||||||
|
return ar;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
|
export function __spreadArrays() {
|
||||||
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
||||||
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
||||||
|
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
||||||
|
r[k] = a[j];
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __spreadArray(to, from, pack) {
|
||||||
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
||||||
|
if (ar || !(i in from)) {
|
||||||
|
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
||||||
|
ar[i] = from[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return to.concat(ar || Array.prototype.slice.call(from));
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __await(v) {
|
||||||
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __asyncGenerator(thisArg, _arguments, generator) {
|
||||||
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||||
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
||||||
|
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
||||||
|
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
||||||
|
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
||||||
|
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
||||||
|
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
||||||
|
function fulfill(value) { resume("next", value); }
|
||||||
|
function reject(value) { resume("throw", value); }
|
||||||
|
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __asyncDelegator(o) {
|
||||||
|
var i, p;
|
||||||
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
||||||
|
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __asyncValues(o) {
|
||||||
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||||
|
var m = o[Symbol.asyncIterator], i;
|
||||||
|
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
||||||
|
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
||||||
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __makeTemplateObject(cooked, raw) {
|
||||||
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
||||||
|
return cooked;
|
||||||
|
};
|
||||||
|
|
||||||
|
var __setModuleDefault = Object.create ? (function(o, v) {
|
||||||
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||||
|
}) : function(o, v) {
|
||||||
|
o["default"] = v;
|
||||||
|
};
|
||||||
|
|
||||||
|
var ownKeys = function(o) {
|
||||||
|
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||||
|
var ar = [];
|
||||||
|
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||||
|
return ar;
|
||||||
|
};
|
||||||
|
return ownKeys(o);
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __importStar(mod) {
|
||||||
|
if (mod && mod.__esModule) return mod;
|
||||||
|
var result = {};
|
||||||
|
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||||
|
__setModuleDefault(result, mod);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __importDefault(mod) {
|
||||||
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __classPrivateFieldGet(receiver, state, kind, f) {
|
||||||
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
||||||
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
||||||
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
||||||
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
||||||
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
||||||
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
||||||
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __classPrivateFieldIn(state, receiver) {
|
||||||
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
||||||
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __addDisposableResource(env, value, async) {
|
||||||
|
if (value !== null && value !== void 0) {
|
||||||
|
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
||||||
|
var dispose, inner;
|
||||||
|
if (async) {
|
||||||
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
||||||
|
dispose = value[Symbol.asyncDispose];
|
||||||
|
}
|
||||||
|
if (dispose === void 0) {
|
||||||
|
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
||||||
|
dispose = value[Symbol.dispose];
|
||||||
|
if (async) inner = dispose;
|
||||||
|
}
|
||||||
|
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
||||||
|
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
||||||
|
env.stack.push({ value: value, dispose: dispose, async: async });
|
||||||
|
}
|
||||||
|
else if (async) {
|
||||||
|
env.stack.push({ async: true });
|
||||||
|
}
|
||||||
|
return value;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
||||||
|
var e = new Error(message);
|
||||||
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __disposeResources(env) {
|
||||||
|
function fail(e) {
|
||||||
|
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
||||||
|
env.hasError = true;
|
||||||
|
}
|
||||||
|
var r, s = 0;
|
||||||
|
function next() {
|
||||||
|
while (r = env.stack.pop()) {
|
||||||
|
try {
|
||||||
|
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
||||||
|
if (r.dispose) {
|
||||||
|
var result = r.dispose.call(r.value);
|
||||||
|
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
||||||
|
}
|
||||||
|
else s |= 1;
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
fail(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
||||||
|
if (env.hasError) throw env.error;
|
||||||
|
}
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __rewriteRelativeImportExtension(path, preserveJsx) {
|
||||||
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
||||||
|
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
||||||
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default {
|
||||||
|
__extends: __extends,
|
||||||
|
__assign: __assign,
|
||||||
|
__rest: __rest,
|
||||||
|
__decorate: __decorate,
|
||||||
|
__param: __param,
|
||||||
|
__esDecorate: __esDecorate,
|
||||||
|
__runInitializers: __runInitializers,
|
||||||
|
__propKey: __propKey,
|
||||||
|
__setFunctionName: __setFunctionName,
|
||||||
|
__metadata: __metadata,
|
||||||
|
__awaiter: __awaiter,
|
||||||
|
__generator: __generator,
|
||||||
|
__createBinding: __createBinding,
|
||||||
|
__exportStar: __exportStar,
|
||||||
|
__values: __values,
|
||||||
|
__read: __read,
|
||||||
|
__spread: __spread,
|
||||||
|
__spreadArrays: __spreadArrays,
|
||||||
|
__spreadArray: __spreadArray,
|
||||||
|
__await: __await,
|
||||||
|
__asyncGenerator: __asyncGenerator,
|
||||||
|
__asyncDelegator: __asyncDelegator,
|
||||||
|
__asyncValues: __asyncValues,
|
||||||
|
__makeTemplateObject: __makeTemplateObject,
|
||||||
|
__importStar: __importStar,
|
||||||
|
__importDefault: __importDefault,
|
||||||
|
__classPrivateFieldGet: __classPrivateFieldGet,
|
||||||
|
__classPrivateFieldSet: __classPrivateFieldSet,
|
||||||
|
__classPrivateFieldIn: __classPrivateFieldIn,
|
||||||
|
__addDisposableResource: __addDisposableResource,
|
||||||
|
__disposeResources: __disposeResources,
|
||||||
|
__rewriteRelativeImportExtension: __rewriteRelativeImportExtension,
|
||||||
|
};
|
||||||
401
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.es6.mjs
generated
vendored
Normal file
401
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.es6.mjs
generated
vendored
Normal file
@ -0,0 +1,401 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
***************************************************************************** */
|
||||||
|
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
||||||
|
|
||||||
|
var extendStatics = function(d, b) {
|
||||||
|
extendStatics = Object.setPrototypeOf ||
|
||||||
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||||
|
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||||
|
return extendStatics(d, b);
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __extends(d, b) {
|
||||||
|
if (typeof b !== "function" && b !== null)
|
||||||
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||||
|
extendStatics(d, b);
|
||||||
|
function __() { this.constructor = d; }
|
||||||
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||||
|
}
|
||||||
|
|
||||||
|
export var __assign = function() {
|
||||||
|
__assign = Object.assign || function __assign(t) {
|
||||||
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||||
|
s = arguments[i];
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
}
|
||||||
|
return __assign.apply(this, arguments);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __rest(s, e) {
|
||||||
|
var t = {};
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
||||||
|
t[p] = s[p];
|
||||||
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
||||||
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
||||||
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
||||||
|
t[p[i]] = s[p[i]];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __decorate(decorators, target, key, desc) {
|
||||||
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||||
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||||
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||||
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __param(paramIndex, decorator) {
|
||||||
|
return function (target, key) { decorator(target, key, paramIndex); }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
||||||
|
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
||||||
|
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
||||||
|
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
||||||
|
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
||||||
|
var _, done = false;
|
||||||
|
for (var i = decorators.length - 1; i >= 0; i--) {
|
||||||
|
var context = {};
|
||||||
|
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
||||||
|
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
||||||
|
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
||||||
|
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
||||||
|
if (kind === "accessor") {
|
||||||
|
if (result === void 0) continue;
|
||||||
|
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
||||||
|
if (_ = accept(result.get)) descriptor.get = _;
|
||||||
|
if (_ = accept(result.set)) descriptor.set = _;
|
||||||
|
if (_ = accept(result.init)) initializers.unshift(_);
|
||||||
|
}
|
||||||
|
else if (_ = accept(result)) {
|
||||||
|
if (kind === "field") initializers.unshift(_);
|
||||||
|
else descriptor[key] = _;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
||||||
|
done = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __runInitializers(thisArg, initializers, value) {
|
||||||
|
var useValue = arguments.length > 2;
|
||||||
|
for (var i = 0; i < initializers.length; i++) {
|
||||||
|
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
||||||
|
}
|
||||||
|
return useValue ? value : void 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __propKey(x) {
|
||||||
|
return typeof x === "symbol" ? x : "".concat(x);
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __setFunctionName(f, name, prefix) {
|
||||||
|
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
||||||
|
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __metadata(metadataKey, metadataValue) {
|
||||||
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __awaiter(thisArg, _arguments, P, generator) {
|
||||||
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||||
|
return new (P || (P = Promise))(function (resolve, reject) {
|
||||||
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||||
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||||
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
||||||
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __generator(thisArg, body) {
|
||||||
|
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
||||||
|
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
||||||
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
||||||
|
function step(op) {
|
||||||
|
if (f) throw new TypeError("Generator is already executing.");
|
||||||
|
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
||||||
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
||||||
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
||||||
|
switch (op[0]) {
|
||||||
|
case 0: case 1: t = op; break;
|
||||||
|
case 4: _.label++; return { value: op[1], done: false };
|
||||||
|
case 5: _.label++; y = op[1]; op = [0]; continue;
|
||||||
|
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
||||||
|
default:
|
||||||
|
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
||||||
|
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
||||||
|
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
||||||
|
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
||||||
|
if (t[2]) _.ops.pop();
|
||||||
|
_.trys.pop(); continue;
|
||||||
|
}
|
||||||
|
op = body.call(thisArg, _);
|
||||||
|
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
||||||
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export var __createBinding = Object.create ? (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||||
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||||
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||||
|
}
|
||||||
|
Object.defineProperty(o, k2, desc);
|
||||||
|
}) : (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
o[k2] = m[k];
|
||||||
|
});
|
||||||
|
|
||||||
|
export function __exportStar(m, o) {
|
||||||
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __values(o) {
|
||||||
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||||
|
if (m) return m.call(o);
|
||||||
|
if (o && typeof o.length === "number") return {
|
||||||
|
next: function () {
|
||||||
|
if (o && i >= o.length) o = void 0;
|
||||||
|
return { value: o && o[i++], done: !o };
|
||||||
|
}
|
||||||
|
};
|
||||||
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __read(o, n) {
|
||||||
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||||
|
if (!m) return o;
|
||||||
|
var i = m.call(o), r, ar = [], e;
|
||||||
|
try {
|
||||||
|
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||||
|
}
|
||||||
|
catch (error) { e = { error: error }; }
|
||||||
|
finally {
|
||||||
|
try {
|
||||||
|
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||||
|
}
|
||||||
|
finally { if (e) throw e.error; }
|
||||||
|
}
|
||||||
|
return ar;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
|
export function __spread() {
|
||||||
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
||||||
|
ar = ar.concat(__read(arguments[i]));
|
||||||
|
return ar;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
|
export function __spreadArrays() {
|
||||||
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
||||||
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
||||||
|
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
||||||
|
r[k] = a[j];
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __spreadArray(to, from, pack) {
|
||||||
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
||||||
|
if (ar || !(i in from)) {
|
||||||
|
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
||||||
|
ar[i] = from[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return to.concat(ar || Array.prototype.slice.call(from));
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __await(v) {
|
||||||
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __asyncGenerator(thisArg, _arguments, generator) {
|
||||||
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||||
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
||||||
|
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
||||||
|
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
||||||
|
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
||||||
|
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
||||||
|
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
||||||
|
function fulfill(value) { resume("next", value); }
|
||||||
|
function reject(value) { resume("throw", value); }
|
||||||
|
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __asyncDelegator(o) {
|
||||||
|
var i, p;
|
||||||
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
||||||
|
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __asyncValues(o) {
|
||||||
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||||
|
var m = o[Symbol.asyncIterator], i;
|
||||||
|
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
||||||
|
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
||||||
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __makeTemplateObject(cooked, raw) {
|
||||||
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
||||||
|
return cooked;
|
||||||
|
};
|
||||||
|
|
||||||
|
var __setModuleDefault = Object.create ? (function(o, v) {
|
||||||
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||||
|
}) : function(o, v) {
|
||||||
|
o["default"] = v;
|
||||||
|
};
|
||||||
|
|
||||||
|
var ownKeys = function(o) {
|
||||||
|
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||||
|
var ar = [];
|
||||||
|
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||||
|
return ar;
|
||||||
|
};
|
||||||
|
return ownKeys(o);
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __importStar(mod) {
|
||||||
|
if (mod && mod.__esModule) return mod;
|
||||||
|
var result = {};
|
||||||
|
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||||
|
__setModuleDefault(result, mod);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __importDefault(mod) {
|
||||||
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __classPrivateFieldGet(receiver, state, kind, f) {
|
||||||
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
||||||
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
||||||
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
||||||
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
||||||
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
||||||
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
||||||
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __classPrivateFieldIn(state, receiver) {
|
||||||
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
||||||
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __addDisposableResource(env, value, async) {
|
||||||
|
if (value !== null && value !== void 0) {
|
||||||
|
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
||||||
|
var dispose, inner;
|
||||||
|
if (async) {
|
||||||
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
||||||
|
dispose = value[Symbol.asyncDispose];
|
||||||
|
}
|
||||||
|
if (dispose === void 0) {
|
||||||
|
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
||||||
|
dispose = value[Symbol.dispose];
|
||||||
|
if (async) inner = dispose;
|
||||||
|
}
|
||||||
|
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
||||||
|
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
||||||
|
env.stack.push({ value: value, dispose: dispose, async: async });
|
||||||
|
}
|
||||||
|
else if (async) {
|
||||||
|
env.stack.push({ async: true });
|
||||||
|
}
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
||||||
|
var e = new Error(message);
|
||||||
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function __disposeResources(env) {
|
||||||
|
function fail(e) {
|
||||||
|
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
||||||
|
env.hasError = true;
|
||||||
|
}
|
||||||
|
var r, s = 0;
|
||||||
|
function next() {
|
||||||
|
while (r = env.stack.pop()) {
|
||||||
|
try {
|
||||||
|
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
||||||
|
if (r.dispose) {
|
||||||
|
var result = r.dispose.call(r.value);
|
||||||
|
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
||||||
|
}
|
||||||
|
else s |= 1;
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
fail(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
||||||
|
if (env.hasError) throw env.error;
|
||||||
|
}
|
||||||
|
return next();
|
||||||
|
}
|
||||||
|
|
||||||
|
export function __rewriteRelativeImportExtension(path, preserveJsx) {
|
||||||
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
||||||
|
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
||||||
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default {
|
||||||
|
__extends,
|
||||||
|
__assign,
|
||||||
|
__rest,
|
||||||
|
__decorate,
|
||||||
|
__param,
|
||||||
|
__esDecorate,
|
||||||
|
__runInitializers,
|
||||||
|
__propKey,
|
||||||
|
__setFunctionName,
|
||||||
|
__metadata,
|
||||||
|
__awaiter,
|
||||||
|
__generator,
|
||||||
|
__createBinding,
|
||||||
|
__exportStar,
|
||||||
|
__values,
|
||||||
|
__read,
|
||||||
|
__spread,
|
||||||
|
__spreadArrays,
|
||||||
|
__spreadArray,
|
||||||
|
__await,
|
||||||
|
__asyncGenerator,
|
||||||
|
__asyncDelegator,
|
||||||
|
__asyncValues,
|
||||||
|
__makeTemplateObject,
|
||||||
|
__importStar,
|
||||||
|
__importDefault,
|
||||||
|
__classPrivateFieldGet,
|
||||||
|
__classPrivateFieldSet,
|
||||||
|
__classPrivateFieldIn,
|
||||||
|
__addDisposableResource,
|
||||||
|
__disposeResources,
|
||||||
|
__rewriteRelativeImportExtension,
|
||||||
|
};
|
||||||
1
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.html
generated
vendored
Normal file
1
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.html
generated
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
<script src="tslib.js"></script>
|
||||||
484
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.js
generated
vendored
Normal file
484
Arch/archtop/home/user/.config/nvim/lua/plugins/node_modules/tslib/tslib.js
generated
vendored
Normal file
@ -0,0 +1,484 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
Copyright (c) Microsoft Corporation.
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
***************************************************************************** */
|
||||||
|
/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */
|
||||||
|
var __extends;
|
||||||
|
var __assign;
|
||||||
|
var __rest;
|
||||||
|
var __decorate;
|
||||||
|
var __param;
|
||||||
|
var __esDecorate;
|
||||||
|
var __runInitializers;
|
||||||
|
var __propKey;
|
||||||
|
var __setFunctionName;
|
||||||
|
var __metadata;
|
||||||
|
var __awaiter;
|
||||||
|
var __generator;
|
||||||
|
var __exportStar;
|
||||||
|
var __values;
|
||||||
|
var __read;
|
||||||
|
var __spread;
|
||||||
|
var __spreadArrays;
|
||||||
|
var __spreadArray;
|
||||||
|
var __await;
|
||||||
|
var __asyncGenerator;
|
||||||
|
var __asyncDelegator;
|
||||||
|
var __asyncValues;
|
||||||
|
var __makeTemplateObject;
|
||||||
|
var __importStar;
|
||||||
|
var __importDefault;
|
||||||
|
var __classPrivateFieldGet;
|
||||||
|
var __classPrivateFieldSet;
|
||||||
|
var __classPrivateFieldIn;
|
||||||
|
var __createBinding;
|
||||||
|
var __addDisposableResource;
|
||||||
|
var __disposeResources;
|
||||||
|
var __rewriteRelativeImportExtension;
|
||||||
|
(function (factory) {
|
||||||
|
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
||||||
|
if (typeof define === "function" && define.amd) {
|
||||||
|
define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); });
|
||||||
|
}
|
||||||
|
else if (typeof module === "object" && typeof module.exports === "object") {
|
||||||
|
factory(createExporter(root, createExporter(module.exports)));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
factory(createExporter(root));
|
||||||
|
}
|
||||||
|
function createExporter(exports, previous) {
|
||||||
|
if (exports !== root) {
|
||||||
|
if (typeof Object.create === "function") {
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
exports.__esModule = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
|
||||||
|
}
|
||||||
|
})
|
||||||
|
(function (exporter) {
|
||||||
|
var extendStatics = Object.setPrototypeOf ||
|
||||||
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||||
|
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||||
|
|
||||||
|
__extends = function (d, b) {
|
||||||
|
if (typeof b !== "function" && b !== null)
|
||||||
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||||
|
extendStatics(d, b);
|
||||||
|
function __() { this.constructor = d; }
|
||||||
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||||
|
};
|
||||||
|
|
||||||
|
__assign = Object.assign || function (t) {
|
||||||
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||||
|
s = arguments[i];
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
};
|
||||||
|
|
||||||
|
__rest = function (s, e) {
|
||||||
|
var t = {};
|
||||||
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
||||||
|
t[p] = s[p];
|
||||||
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
||||||
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
||||||
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
||||||
|
t[p[i]] = s[p[i]];
|
||||||
|
}
|
||||||
|
return t;
|
||||||
|
};
|
||||||
|
|
||||||
|
__decorate = function (decorators, target, key, desc) {
|
||||||
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||||
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||||
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||||
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||||
|
};
|
||||||
|
|
||||||
|
__param = function (paramIndex, decorator) {
|
||||||
|
return function (target, key) { decorator(target, key, paramIndex); }
|
||||||
|
};
|
||||||
|
|
||||||
|
__esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
||||||
|
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
||||||
|
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
||||||
|
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
||||||
|
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
||||||
|
var _, done = false;
|
||||||
|
for (var i = decorators.length - 1; i >= 0; i--) {
|
||||||
|
var context = {};
|
||||||
|
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
||||||
|
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
||||||
|
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
||||||
|
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
||||||
|
if (kind === "accessor") {
|
||||||
|
if (result === void 0) continue;
|
||||||
|
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
||||||
|
if (_ = accept(result.get)) descriptor.get = _;
|
||||||
|
if (_ = accept(result.set)) descriptor.set = _;
|
||||||
|
if (_ = accept(result.init)) initializers.unshift(_);
|
||||||
|
}
|
||||||
|
else if (_ = accept(result)) {
|
||||||
|
if (kind === "field") initializers.unshift(_);
|
||||||
|
else descriptor[key] = _;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
||||||
|
done = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
__runInitializers = function (thisArg, initializers, value) {
|
||||||
|
var useValue = arguments.length > 2;
|
||||||
|
for (var i = 0; i < initializers.length; i++) {
|
||||||
|
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
||||||
|
}
|
||||||
|
return useValue ? value : void 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
__propKey = function (x) {
|
||||||
|
return typeof x === "symbol" ? x : "".concat(x);
|
||||||
|
};
|
||||||
|
|
||||||
|
__setFunctionName = function (f, name, prefix) {
|
||||||
|
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
||||||
|
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
||||||
|
};
|
||||||
|
|
||||||
|
__metadata = function (metadataKey, metadataValue) {
|
||||||
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
||||||
|
};
|
||||||
|
|
||||||
|
__awaiter = function (thisArg, _arguments, P, generator) {
|
||||||
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||||
|
return new (P || (P = Promise))(function (resolve, reject) {
|
||||||
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||||
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||||
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
||||||
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
__generator = function (thisArg, body) {
|
||||||
|
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
||||||
|
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
||||||
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
||||||
|
function step(op) {
|
||||||
|
if (f) throw new TypeError("Generator is already executing.");
|
||||||
|
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
||||||
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
||||||
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
||||||
|
switch (op[0]) {
|
||||||
|
case 0: case 1: t = op; break;
|
||||||
|
case 4: _.label++; return { value: op[1], done: false };
|
||||||
|
case 5: _.label++; y = op[1]; op = [0]; continue;
|
||||||
|
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
||||||
|
default:
|
||||||
|
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
||||||
|
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
||||||
|
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
||||||
|
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
||||||
|
if (t[2]) _.ops.pop();
|
||||||
|
_.trys.pop(); continue;
|
||||||
|
}
|
||||||
|
op = body.call(thisArg, _);
|
||||||
|
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
||||||
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
__exportStar = function(m, o) {
|
||||||
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
||||||
|
};
|
||||||
|
|
||||||
|
__createBinding = Object.create ? (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||||
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||||
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||||
|
}
|
||||||
|
Object.defineProperty(o, k2, desc);
|
||||||
|
}) : (function(o, m, k, k2) {
|
||||||
|
if (k2 === undefined) k2 = k;
|
||||||
|
o[k2] = m[k];
|
||||||
|
});
|
||||||
|
|
||||||
|
__values = function (o) {
|
||||||
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||||
|
if (m) return m.call(o);
|
||||||
|
if (o && typeof o.length === "number") return {
|
||||||
|
next: function () {
|
||||||
|
if (o && i >= o.length) o = void 0;
|
||||||
|
return { value: o && o[i++], done: !o };
|
||||||
|
}
|
||||||
|
};
|
||||||
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||||
|
};
|
||||||
|
|
||||||
|
__read = function (o, n) {
|
||||||
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||||
|
if (!m) return o;
|
||||||
|
var i = m.call(o), r, ar = [], e;
|
||||||
|
try {
|
||||||
|
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||||
|
}
|
||||||
|
catch (error) { e = { error: error }; }
|
||||||
|
finally {
|
||||||
|
try {
|
||||||
|
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||||
|
}
|
||||||
|
finally { if (e) throw e.error; }
|
||||||
|
}
|
||||||
|
return ar;
|
||||||
|
};
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
|
__spread = function () {
|
||||||
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
||||||
|
ar = ar.concat(__read(arguments[i]));
|
||||||
|
return ar;
|
||||||
|
};
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
|
__spreadArrays = function () {
|
||||||
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
||||||
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
||||||
|
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
||||||
|
r[k] = a[j];
|
||||||
|
return r;
|
||||||
|
};
|
||||||
|
|
||||||
|
__spreadArray = function (to, from, pack) {
|
||||||
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
||||||
|
if (ar || !(i in from)) {
|
||||||
|
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
||||||
|
ar[i] = from[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return to.concat(ar || Array.prototype.slice.call(from));
|
||||||
|
};
|
||||||
|
|
||||||
|
__await = function (v) {
|
||||||
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
||||||
|
};
|
||||||
|
|
||||||
|
__asyncGenerator = function (thisArg, _arguments, generator) {
|
||||||
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||||
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
||||||
|
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
||||||
|
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
||||||
|
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
||||||
|
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
||||||
|
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
||||||
|
function fulfill(value) { resume("next", value); }
|
||||||
|
function reject(value) { resume("throw", value); }
|
||||||
|
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
||||||
|
};
|
||||||
|
|
||||||
|
__asyncDelegator = function (o) {
|
||||||
|
var i, p;
|
||||||
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
||||||
|
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
||||||
|
};
|
||||||
|
|
||||||
|
__asyncValues = function (o) {
|
||||||
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||||
|
var m = o[Symbol.asyncIterator], i;
|
||||||
|
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
||||||
|
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
||||||
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
||||||
|
};
|
||||||
|
|
||||||
|
__makeTemplateObject = function (cooked, raw) {
|
||||||
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
||||||
|
return cooked;
|
||||||
|
};
|
||||||
|
|
||||||
|
var __setModuleDefault = Object.create ? (function(o, v) {
|
||||||
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||||
|
}) : function(o, v) {
|
||||||
|
o["default"] = v;
|
||||||
|
};
|
||||||
|
|
||||||
|
var ownKeys = function(o) {
|
||||||
|
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||||
|
var ar = [];
|
||||||
|
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||||
|
return ar;
|
||||||
|
};
|
||||||
|
return ownKeys(o);
|
||||||
|
};
|
||||||
|
|
||||||
|
__importStar = function (mod) {
|
||||||
|
if (mod && mod.__esModule) return mod;
|
||||||
|
var result = {};
|
||||||
|
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||||
|
__setModuleDefault(result, mod);
|
||||||
|
return result;
|
||||||
|
};
|
||||||
|
|
||||||
|
__importDefault = function (mod) {
|
||||||
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
|
};
|
||||||
|
|
||||||
|
__classPrivateFieldGet = function (receiver, state, kind, f) {
|
||||||
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
||||||
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
||||||
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
||||||
|
};
|
||||||
|
|
||||||
|
__classPrivateFieldSet = function (receiver, state, value, kind, f) {
|
||||||
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
||||||
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
||||||
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
||||||
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
||||||
|
};
|
||||||
|
|
||||||
|
__classPrivateFieldIn = function (state, receiver) {
|
||||||
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
||||||
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
||||||
|
};
|
||||||
|
|
||||||
|
__addDisposableResource = function (env, value, async) {
|
||||||
|
if (value !== null && value !== void 0) {
|
||||||
|
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
||||||
|
var dispose, inner;
|
||||||
|
if (async) {
|
||||||
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
||||||
|
dispose = value[Symbol.asyncDispose];
|
||||||
|
}
|
||||||
|
if (dispose === void 0) {
|
||||||
|
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
||||||
|
dispose = value[Symbol.dispose];
|
||||||
|
if (async) inner = dispose;
|
||||||
|
}
|
||||||
|
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
||||||
|
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
||||||
|
env.stack.push({ value: value, dispose: dispose, async: async });
|
||||||
|
}
|
||||||
|
else if (async) {
|
||||||
|
env.stack.push({ async: true });
|
||||||
|
}
|
||||||
|
return value;
|
||||||
|
};
|
||||||
|
|
||||||
|
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
||||||
|
var e = new Error(message);
|
||||||
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
||||||
|
};
|
||||||
|
|
||||||
|
__disposeResources = function (env) {
|
||||||
|
function fail(e) {
|
||||||
|
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
||||||
|
env.hasError = true;
|
||||||
|
}
|
||||||
|
var r, s = 0;
|
||||||
|
function next() {
|
||||||
|
while (r = env.stack.pop()) {
|
||||||
|
try {
|
||||||
|
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
||||||
|
if (r.dispose) {
|
||||||
|
var result = r.dispose.call(r.value);
|
||||||
|
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
||||||
|
}
|
||||||
|
else s |= 1;
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
fail(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
||||||
|
if (env.hasError) throw env.error;
|
||||||
|
}
|
||||||
|
return next();
|
||||||
|
};
|
||||||
|
|
||||||
|
__rewriteRelativeImportExtension = function (path, preserveJsx) {
|
||||||
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
||||||
|
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
||||||
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return path;
|
||||||
|
};
|
||||||
|
|
||||||
|
exporter("__extends", __extends);
|
||||||
|
exporter("__assign", __assign);
|
||||||
|
exporter("__rest", __rest);
|
||||||
|
exporter("__decorate", __decorate);
|
||||||
|
exporter("__param", __param);
|
||||||
|
exporter("__esDecorate", __esDecorate);
|
||||||
|
exporter("__runInitializers", __runInitializers);
|
||||||
|
exporter("__propKey", __propKey);
|
||||||
|
exporter("__setFunctionName", __setFunctionName);
|
||||||
|
exporter("__metadata", __metadata);
|
||||||
|
exporter("__awaiter", __awaiter);
|
||||||
|
exporter("__generator", __generator);
|
||||||
|
exporter("__exportStar", __exportStar);
|
||||||
|
exporter("__createBinding", __createBinding);
|
||||||
|
exporter("__values", __values);
|
||||||
|
exporter("__read", __read);
|
||||||
|
exporter("__spread", __spread);
|
||||||
|
exporter("__spreadArrays", __spreadArrays);
|
||||||
|
exporter("__spreadArray", __spreadArray);
|
||||||
|
exporter("__await", __await);
|
||||||
|
exporter("__asyncGenerator", __asyncGenerator);
|
||||||
|
exporter("__asyncDelegator", __asyncDelegator);
|
||||||
|
exporter("__asyncValues", __asyncValues);
|
||||||
|
exporter("__makeTemplateObject", __makeTemplateObject);
|
||||||
|
exporter("__importStar", __importStar);
|
||||||
|
exporter("__importDefault", __importDefault);
|
||||||
|
exporter("__classPrivateFieldGet", __classPrivateFieldGet);
|
||||||
|
exporter("__classPrivateFieldSet", __classPrivateFieldSet);
|
||||||
|
exporter("__classPrivateFieldIn", __classPrivateFieldIn);
|
||||||
|
exporter("__addDisposableResource", __addDisposableResource);
|
||||||
|
exporter("__disposeResources", __disposeResources);
|
||||||
|
exporter("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension);
|
||||||
|
});
|
||||||
|
|
||||||
|
0 && (module.exports = {
|
||||||
|
__extends: __extends,
|
||||||
|
__assign: __assign,
|
||||||
|
__rest: __rest,
|
||||||
|
__decorate: __decorate,
|
||||||
|
__param: __param,
|
||||||
|
__esDecorate: __esDecorate,
|
||||||
|
__runInitializers: __runInitializers,
|
||||||
|
__propKey: __propKey,
|
||||||
|
__setFunctionName: __setFunctionName,
|
||||||
|
__metadata: __metadata,
|
||||||
|
__awaiter: __awaiter,
|
||||||
|
__generator: __generator,
|
||||||
|
__exportStar: __exportStar,
|
||||||
|
__createBinding: __createBinding,
|
||||||
|
__values: __values,
|
||||||
|
__read: __read,
|
||||||
|
__spread: __spread,
|
||||||
|
__spreadArrays: __spreadArrays,
|
||||||
|
__spreadArray: __spreadArray,
|
||||||
|
__await: __await,
|
||||||
|
__asyncGenerator: __asyncGenerator,
|
||||||
|
__asyncDelegator: __asyncDelegator,
|
||||||
|
__asyncValues: __asyncValues,
|
||||||
|
__makeTemplateObject: __makeTemplateObject,
|
||||||
|
__importStar: __importStar,
|
||||||
|
__importDefault: __importDefault,
|
||||||
|
__classPrivateFieldGet: __classPrivateFieldGet,
|
||||||
|
__classPrivateFieldSet: __classPrivateFieldSet,
|
||||||
|
__classPrivateFieldIn: __classPrivateFieldIn,
|
||||||
|
__addDisposableResource: __addDisposableResource,
|
||||||
|
__disposeResources: __disposeResources,
|
||||||
|
__rewriteRelativeImportExtension: __rewriteRelativeImportExtension,
|
||||||
|
});
|
||||||
46
Arch/archtop/home/user/.config/nvim/lua/plugins/noice.lua
Normal file
46
Arch/archtop/home/user/.config/nvim/lua/plugins/noice.lua
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
return {
|
||||||
|
"folke/noice.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {
|
||||||
|
routes = {
|
||||||
|
{
|
||||||
|
view = "notify",
|
||||||
|
filter = { event = "msg_showmode" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
lsp = {
|
||||||
|
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||||
|
override = {
|
||||||
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
|
["vim.lsp.util.stylize_markdown"] = true,
|
||||||
|
["cmp.entry.get_documentation"] = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- you can enable a preset for easier configuration
|
||||||
|
presets = {
|
||||||
|
bottom_search = false, -- use a classic bottom cmdline for search
|
||||||
|
command_palette = true, -- position the cmdline and popupmenu together
|
||||||
|
long_message_to_split = true, -- long messages will be sent to a split
|
||||||
|
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||||
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||||
|
},
|
||||||
|
},
|
||||||
|
dependencies = {
|
||||||
|
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
-- OPTIONAL:
|
||||||
|
-- `nvim-notify` is only needed, if you want to use the notification view.
|
||||||
|
-- If not available, we use `mini` as the fallback
|
||||||
|
{
|
||||||
|
"rcarriga/nvim-notify",
|
||||||
|
opts = {
|
||||||
|
timeout = 3000,
|
||||||
|
render = "compact",
|
||||||
|
top_down = false,
|
||||||
|
background_colour = "#000000",
|
||||||
|
fade_in_slide_out = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
57
Arch/archtop/home/user/.config/nvim/lua/plugins/nvim-cmp.lua
Normal file
57
Arch/archtop/home/user/.config/nvim/lua/plugins/nvim-cmp.lua
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
return {
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
-- commit = b356f2c80cb6c5bae2a65d7f9c82dd5c3fdd6038,
|
||||||
|
-- commit = b356f2c80cb6c5bae2a65d7f9c82dd5c3fdd6038,
|
||||||
|
config = function()
|
||||||
|
local cmp = require("cmp")
|
||||||
|
local luasnip = require("luasnip")
|
||||||
|
local lspkind = require("lspkind")
|
||||||
|
|
||||||
|
require("luasnip/loaders/from_vscode").lazy_load()
|
||||||
|
|
||||||
|
vim.opt.completeopt = "menu,menuone,noselect"
|
||||||
|
|
||||||
|
cmp.setup({
|
||||||
|
snippet = {
|
||||||
|
expand = function(args)
|
||||||
|
luasnip.lsp_expand(args.body)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
mapping = cmp.mapping.preset.insert({
|
||||||
|
["<C-k>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
||||||
|
["<C-j>"] = cmp.mapping.select_next_item(), -- next suggestion
|
||||||
|
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||||
|
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||||
|
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
||||||
|
["<C-e>"] = cmp.mapping.abort(), -- close completion window
|
||||||
|
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||||
|
}),
|
||||||
|
-- sources for autocompletion
|
||||||
|
sources = cmp.config.sources({
|
||||||
|
{ name = "nvim_lsp" }, -- lsp
|
||||||
|
{ name = "luasnip" }, -- snippets
|
||||||
|
{ name = "buffer" }, -- text within current buffer
|
||||||
|
{ name = "path" }, -- file system paths
|
||||||
|
}),
|
||||||
|
-- configure lspkind for vs-code like icons
|
||||||
|
formatting = {
|
||||||
|
format = lspkind.cmp_format({
|
||||||
|
maxwidth = 50,
|
||||||
|
ellipsis_char = "...",
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
dependencies = {
|
||||||
|
"onsails/lspkind.nvim",
|
||||||
|
{
|
||||||
|
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
-- follow latest release.
|
||||||
|
version = "2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
|
||||||
|
-- install jsregexp (optional!).
|
||||||
|
build = "make install_jsregexp",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
40
Arch/archtop/home/user/.config/nvim/lua/plugins/nvim-dap.lua
Normal file
40
Arch/archtop/home/user/.config/nvim/lua/plugins/nvim-dap.lua
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
local debugging_signs = require("util.icons").debugging_signs
|
||||||
|
|
||||||
|
return {
|
||||||
|
"mfussenegger/nvim-dap",
|
||||||
|
config = function()
|
||||||
|
local dap = require("dap")
|
||||||
|
local dapui = require("dapui")
|
||||||
|
|
||||||
|
-- set custom icons
|
||||||
|
for name, sign in pairs(debugging_signs) do
|
||||||
|
sign = type(sign) == "table" and sign or { sign }
|
||||||
|
vim.fn.sign_define(
|
||||||
|
"Dap" .. name,
|
||||||
|
{ text = sign[1], texthl = sign[2] or "DiagnosticInfo", linehl = sign[3], numhl = sign[3] }
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- setup dap
|
||||||
|
dapui.setup()
|
||||||
|
|
||||||
|
-- add event listeners
|
||||||
|
dap.listeners.after.event_initialized["dapui_config"] = function()
|
||||||
|
dapui.open()
|
||||||
|
vim.cmd("Hardtime disable")
|
||||||
|
vim.cmd("NvimTreeClose")
|
||||||
|
end
|
||||||
|
|
||||||
|
dap.listeners.before.event_terminated["dapui_config"] = function()
|
||||||
|
dapui.close()
|
||||||
|
vim.cmd("Hardtime enable")
|
||||||
|
end
|
||||||
|
|
||||||
|
dap.listeners.before.event_exited["dapui_config"] = function()
|
||||||
|
dapui.close()
|
||||||
|
vim.cmd("Hardtime enable")
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
dependencies = "rcarriga/nvim-dap-ui",
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,279 @@
|
|||||||
|
local on_attach = require("util.lsp").on_attach
|
||||||
|
local diagnostic_signs = require("util.icons").diagnostic_signs
|
||||||
|
local typescript_organise_imports = require("util.lsp").typescript_organise_imports
|
||||||
|
|
||||||
|
local config = function()
|
||||||
|
require("neoconf").setup({})
|
||||||
|
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
||||||
|
local lspconfig = require("lspconfig")
|
||||||
|
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||||
|
|
||||||
|
-- solidity
|
||||||
|
lspconfig.solidity_ls.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
filetypes = { "solidity" },
|
||||||
|
root_dir = lspconfig.util.root_pattern("hardhat.config.*", 'foundry.toml', 'remappings.txt', ".git"),
|
||||||
|
settings = {
|
||||||
|
solidity = {
|
||||||
|
includePath = '',
|
||||||
|
remappings = {
|
||||||
|
["@openzeppelin/"] = "lib/openzeppelin-contracts/",
|
||||||
|
["account-abstraction/"] = "lib/account-abstraction/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- lua
|
||||||
|
lspconfig.lua_ls.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
settings = { -- custom settings for lua
|
||||||
|
Lua = {
|
||||||
|
-- make the language server recognize "vim" global
|
||||||
|
diagnostics = {
|
||||||
|
globals = { "vim" },
|
||||||
|
},
|
||||||
|
workspace = {
|
||||||
|
library = {
|
||||||
|
vim.fn.expand("$VIMRUNTIME/lua"),
|
||||||
|
vim.fn.expand("$XDG_CONFIG_HOME") .. "/nvim/lua",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- json
|
||||||
|
lspconfig.jsonls.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
filetypes = { "json", "jsonc" },
|
||||||
|
})
|
||||||
|
|
||||||
|
-- python
|
||||||
|
lspconfig.pyright.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
settings = {
|
||||||
|
pyright = {
|
||||||
|
disableOrganizeImports = false,
|
||||||
|
analysis = {
|
||||||
|
useLibraryCodeForTypes = true,
|
||||||
|
autoSearchPaths = true,
|
||||||
|
diagnosticMode = "workspace",
|
||||||
|
autoImportCompletions = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- typescript
|
||||||
|
lspconfig.ts_ls.setup({
|
||||||
|
on_attach = on_attach,
|
||||||
|
capabilities = capabilities,
|
||||||
|
filetypes = {
|
||||||
|
"typescript",
|
||||||
|
"javascript",
|
||||||
|
"typescriptreact",
|
||||||
|
"javascriptreact",
|
||||||
|
},
|
||||||
|
commands = {
|
||||||
|
TypeScriptOrganizeImports = typescript_organise_imports,
|
||||||
|
},
|
||||||
|
settings = {
|
||||||
|
typescript = {
|
||||||
|
indentStyle = "space",
|
||||||
|
indentSize = 2,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- bash
|
||||||
|
lspconfig.bashls.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
filetypes = { "sh", "aliasrc" },
|
||||||
|
})
|
||||||
|
|
||||||
|
-- markdown
|
||||||
|
lspconfig.markdown_oxide.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
filetypes = { "markdown" },
|
||||||
|
})
|
||||||
|
|
||||||
|
-- typescriptreact, javascriptreact, css, sass, scss, less, svelte, vue
|
||||||
|
lspconfig.emmet_ls.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
filetypes = {
|
||||||
|
"typescriptreact",
|
||||||
|
"javascriptreact",
|
||||||
|
"javascript",
|
||||||
|
"css",
|
||||||
|
"sass",
|
||||||
|
"scss",
|
||||||
|
"less",
|
||||||
|
"svelte",
|
||||||
|
"vue",
|
||||||
|
"html",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- docker
|
||||||
|
lspconfig.dockerls.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- C/C++
|
||||||
|
lspconfig.clangd.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
cmd = {
|
||||||
|
"clangd",
|
||||||
|
"--offset-encoding=utf-16",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- SQL
|
||||||
|
require'lspconfig'.sqlls.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach,
|
||||||
|
cmd = {
|
||||||
|
"sql-language-server",
|
||||||
|
"up",
|
||||||
|
"--method", "stdio"
|
||||||
|
},
|
||||||
|
-- root_dir = "",
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Zig
|
||||||
|
require 'lspconfig'.zls.setup({
|
||||||
|
filetype = { "zig", "zir" },
|
||||||
|
on_attach = on_attach,
|
||||||
|
cmd = { "zls", },
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd('BufWritePre',{
|
||||||
|
pattern = {"*.zig", "*.zon"},
|
||||||
|
callback = function()
|
||||||
|
vim.lsp.buf.format()
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
for type, icon in pairs(diagnostic_signs) do
|
||||||
|
local hl = "DiagnosticSign" .. type
|
||||||
|
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
|
||||||
|
end
|
||||||
|
|
||||||
|
-- local solhint = require("efmls-configs.linters.solhint")
|
||||||
|
local prettier_d = require("efmls-configs.formatters.prettier_d")
|
||||||
|
local luacheck = require("efmls-configs.linters.luacheck")
|
||||||
|
local stylua = require("efmls-configs.formatters.stylua")
|
||||||
|
-- local flake8 = require("efmls-configs.linters.flake8")
|
||||||
|
local black = require("efmls-configs.formatters.black")
|
||||||
|
local eslint = require("efmls-configs.linters.eslint")
|
||||||
|
local fixjson = require("efmls-configs.formatters.fixjson")
|
||||||
|
local shellcheck = require("efmls-configs.linters.shellcheck")
|
||||||
|
local shfmt = require("efmls-configs.formatters.shfmt")
|
||||||
|
-- local hadolint = require("efmls-configs.linters.hadolint")
|
||||||
|
local cpplint = require("efmls-configs.linters.cpplint")
|
||||||
|
local clangformat = require("efmls-configs.formatters.clang_format")
|
||||||
|
local markdownlint = require("efmls-configs.linters.markdownlint")
|
||||||
|
local sqlfluff = require("efmls-configs.linters.sqlfluff")
|
||||||
|
local sqlformatter = require("efmls-configs.formatters.sql-formatter")
|
||||||
|
|
||||||
|
-- configure efm server
|
||||||
|
lspconfig.efm.setup({
|
||||||
|
filetypes = {
|
||||||
|
"solidity",
|
||||||
|
"lua",
|
||||||
|
"python",
|
||||||
|
"json",
|
||||||
|
"jsonc",
|
||||||
|
"sh",
|
||||||
|
"javascript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescript",
|
||||||
|
"typescriptreact",
|
||||||
|
"svelte",
|
||||||
|
"vue",
|
||||||
|
"markdown",
|
||||||
|
"docker",
|
||||||
|
"html",
|
||||||
|
"css",
|
||||||
|
"c",
|
||||||
|
"cpp",
|
||||||
|
"zig",
|
||||||
|
"sql",
|
||||||
|
},
|
||||||
|
init_options = {
|
||||||
|
documentFormatting = true,
|
||||||
|
documentRangeFormatting = true,
|
||||||
|
hover = true,
|
||||||
|
documentSymbol = true,
|
||||||
|
codeAction = true,
|
||||||
|
completion = true,
|
||||||
|
},
|
||||||
|
settings = {
|
||||||
|
version = "*",
|
||||||
|
languages = {
|
||||||
|
-- solidity = { solhint, prettier_d },
|
||||||
|
lua = { luacheck, stylua },
|
||||||
|
python = { black },
|
||||||
|
typescript = { eslint, prettier_d },
|
||||||
|
json = { eslint, fixjson },
|
||||||
|
jsonc = { eslint, fixjson },
|
||||||
|
sh = { shellcheck, shfmt },
|
||||||
|
javascript = { eslint, prettier_d },
|
||||||
|
javascriptreact = { eslint, prettier_d },
|
||||||
|
typescriptreact = { eslint, prettier_d },
|
||||||
|
svelte = { eslint, prettier_d },
|
||||||
|
vue = { eslint, prettier_d },
|
||||||
|
markdown = { prettier_d, markdownlint },
|
||||||
|
docker = { prettier_d },
|
||||||
|
html = { prettier_d },
|
||||||
|
css = { prettier_d },
|
||||||
|
c = { clangformat, cpplint },
|
||||||
|
cpp = { clangformat, cpplint },
|
||||||
|
sql = { sqlfluff, sqlformatter },
|
||||||
|
-- zig = { zls },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
-- auto-format on save - BROKEN
|
||||||
|
--[[ local lsp_fmt_group = vim.api.nvim_create_augroup("LspFormattingGroup", {})
|
||||||
|
-- vim.api.nvim_create_autocmd({ "BufWritePre", "BufEnter", "BufWritePost", "InsertLeave" }, {
|
||||||
|
-- vim.api.nvim_create_autocmd({ "BufWritePre" }, {
|
||||||
|
-- group = lsp_fmt_group,
|
||||||
|
-- callback = function()
|
||||||
|
-- local efm = vim.lsp.get_clients({ name = "efm", "zls" })
|
||||||
|
|
||||||
|
-- if vim.tbl_isempty(efm) then
|
||||||
|
-- return
|
||||||
|
-- end
|
||||||
|
|
||||||
|
-- vim.lsp.buf.format({ name = "efm", async = true })
|
||||||
|
-- end,
|
||||||
|
-- })
|
||||||
|
--]]
|
||||||
|
|
||||||
|
return {
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
config = config,
|
||||||
|
lazy = false,
|
||||||
|
dependencies = {
|
||||||
|
"windwp/nvim-autopairs",
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
"creativenull/efmls-configs-nvim",
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
"hrsh7th/cmp-buffer",
|
||||||
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-neotest/nvim-nio",
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
return {
|
||||||
|
"nvim-tree/nvim-tree.lua",
|
||||||
|
version = "*",
|
||||||
|
lazy = false,
|
||||||
|
dependencies = {
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("nvim-tree").setup {
|
||||||
|
filters = {
|
||||||
|
dot
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
}
|
||||||
@ -0,0 +1,58 @@
|
|||||||
|
local config = function()
|
||||||
|
require("nvim-treesitter.configs").setup({
|
||||||
|
build = ":TSUpdate",
|
||||||
|
indent = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
autotag = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
event = {
|
||||||
|
"BufReadPre",
|
||||||
|
"BufNewFile",
|
||||||
|
},
|
||||||
|
ensure_installed = {
|
||||||
|
"vim",
|
||||||
|
"regex",
|
||||||
|
"rust",
|
||||||
|
"markdown",
|
||||||
|
"json",
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"yaml",
|
||||||
|
"html",
|
||||||
|
"css",
|
||||||
|
"markdown",
|
||||||
|
"bash",
|
||||||
|
"lua",
|
||||||
|
"dockerfile",
|
||||||
|
"solidity",
|
||||||
|
"gitignore",
|
||||||
|
"python",
|
||||||
|
"vue",
|
||||||
|
"svelte",
|
||||||
|
"toml",
|
||||||
|
},
|
||||||
|
auto_install = true,
|
||||||
|
highlight = {
|
||||||
|
enable = true,
|
||||||
|
additional_vim_regex_highlighting = true,
|
||||||
|
},
|
||||||
|
incremental_selection = {
|
||||||
|
enable = true,
|
||||||
|
keymaps = {
|
||||||
|
init_selection = "<C-s>",
|
||||||
|
node_incremental = "<C-s>",
|
||||||
|
scope_incremental = false,
|
||||||
|
node_decremental = "<BS>",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
lazy = false,
|
||||||
|
config = config,
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
"windwp/nvim-ts-autotag",
|
||||||
|
lazy = false,
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
return {
|
||||||
|
'nvim-tree/nvim-web-devicons'
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": "^2.8.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
33
Arch/archtop/home/user/.config/nvim/lua/plugins/presence.lua
Normal file
33
Arch/archtop/home/user/.config/nvim/lua/plugins/presence.lua
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
local config = function()
|
||||||
|
require("presence").setup({
|
||||||
|
-- General options
|
||||||
|
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
|
||||||
|
neovim_image_text = "The One True Text Editor", -- Text displayed when hovered over the Neovim image
|
||||||
|
main_image = "neovim", -- Main image display (either "neovim" or "file")
|
||||||
|
client_id = "793271441293967371", -- Use your own Discord application client id (not recommended)
|
||||||
|
log_level = debug, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
|
||||||
|
debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)
|
||||||
|
enable_line_number = false, -- Displays the current line number instead of the current project
|
||||||
|
blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
|
||||||
|
buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table)
|
||||||
|
file_assets = {}, -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference)
|
||||||
|
show_time = true, -- Show the timer
|
||||||
|
|
||||||
|
-- Rich Presence text options
|
||||||
|
editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
|
||||||
|
file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string)
|
||||||
|
git_commit_text = "Committing changes", -- Format string rendered when committing changes in git (either string or function(filename: string): string)
|
||||||
|
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string)
|
||||||
|
reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
|
||||||
|
workspace_text = "Working on %s", -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
|
||||||
|
line_number_text = "Line %s out of %s", -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"andweeb/presence.nvim",
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,66 @@
|
|||||||
|
local keys = {
|
||||||
|
{ "<leader>/", "<cmd>Telescope current_buffer_fuzzy_find<cr>", desc = "Buffer search" },
|
||||||
|
{ "<leader>fb", "<cmd>Telescope buffers<cr>", desc = "Buffers" },
|
||||||
|
{ "<leader>fc", "<cmd>Telescope git_commits<cr>", desc = "Commits" },
|
||||||
|
{ "<leader>ff", "<cmd>Telescope find_files<cr>", desc = "Find All Files" },
|
||||||
|
{ "<C-p>", "<cmd>Telescope git_files<cr>", desc = "Git files" },
|
||||||
|
{ "<leader>fh", "<cmd>Telescope help_tags<cr>", desc = "Help" },
|
||||||
|
{ "<leader>fj", "<cmd>Telescope command_history<cr>", desc = "History" },
|
||||||
|
{ "<leader>fk", "<cmd>Telescope keymaps<cr>", desc = "Keymaps" },
|
||||||
|
{ "<leader>fl", "<cmd>Telescope lsp_references<cr>", desc = "Lsp References" },
|
||||||
|
{ "<leader>fo", "<cmd>Telescope oldfiles<cr>", desc = "Old files" },
|
||||||
|
{ "<leader>fg", "<cmd>Telescope live_grep<cr>", desc = "Ripgrep" },
|
||||||
|
{ "<leader>fs", "<cmd>Telescope grep_string<cr>", desc = "Grep String" },
|
||||||
|
{ "<leader>ft", "<cmd>Telescope treesitter<cr>", desc = "Treesitter" },
|
||||||
|
}
|
||||||
|
|
||||||
|
local config = function()
|
||||||
|
local telescope = require("telescope")
|
||||||
|
telescope.setup({
|
||||||
|
defaults = {
|
||||||
|
mappings = {
|
||||||
|
i = {
|
||||||
|
["<C-j>"] = "move_selection_next",
|
||||||
|
["<C-k>"] = "move_selection_previous",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
pickers = {
|
||||||
|
live_grep = {
|
||||||
|
file_ignore_patterns = { "node_modules", ".venv" },
|
||||||
|
additional_args = function(_)
|
||||||
|
return { "--hidden", "--no-ignore-vcs" }
|
||||||
|
end,
|
||||||
|
hidden = true,
|
||||||
|
no_ignore = true,
|
||||||
|
},
|
||||||
|
find_files = {
|
||||||
|
file_ignore_patterns = { "node_modules", ".venv" },
|
||||||
|
additional_args = function(_)
|
||||||
|
return { "--hidden", "--no-ignore-vcs" }
|
||||||
|
end,
|
||||||
|
no_ignore = true,
|
||||||
|
hidden = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
extensions = {
|
||||||
|
"fzf",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
telescope.load_extension("fzf")
|
||||||
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
"nvim-telescope/telescope-fzf-native.nvim",
|
||||||
|
lazy = false,
|
||||||
|
dependencies = {
|
||||||
|
{ "nvim-lua/plenary.nvim" },
|
||||||
|
{
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
build = "make",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
keys = keys,
|
||||||
|
config = config,
|
||||||
|
}
|
||||||
|
|
||||||
28
Arch/archtop/home/user/.config/nvim/lua/plugins/theme.lua
Normal file
28
Arch/archtop/home/user/.config/nvim/lua/plugins/theme.lua
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"xiyaowong/nvim-transparent",
|
||||||
|
lazy = false,
|
||||||
|
priority = 999,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"EdenEast/nightfox.nvim",
|
||||||
|
lazy = false,
|
||||||
|
priority = 1000,
|
||||||
|
config = function()
|
||||||
|
local palette = require("nightfox.palette").load("nightfox")
|
||||||
|
require("nightfox").setup({
|
||||||
|
options = { transparent = true },
|
||||||
|
groups = {
|
||||||
|
all = {
|
||||||
|
TelescopeBorder = { fg = palette.fg3 },
|
||||||
|
},
|
||||||
|
nightfox = {
|
||||||
|
Visual = { bg = palette.bg1 },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
vim.cmd.colorscheme("nightfox")
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
"christoomey/vim-tmux-navigator",
|
||||||
|
lazy = false,
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
return { "machakann/vim-highlightedyank", lazy = false }
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
return {
|
||||||
|
"RRethy/vim-illuminate",
|
||||||
|
lazy = false,
|
||||||
|
config = function()
|
||||||
|
require("illuminate").configure({})
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
tslib@^2.8.1:
|
||||||
|
version "2.8.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
|
||||||
|
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
|
||||||
19
Arch/archtop/home/user/.config/nvim/lua/util/icons.lua
Normal file
19
Arch/archtop/home/user/.config/nvim/lua/util/icons.lua
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
local M = {}
|
||||||
|
|
||||||
|
M.debugging_signs = {
|
||||||
|
Stopped = { " ", "DiagnosticWarn", "DapStoppedLine" },
|
||||||
|
Breakpoint = " ",
|
||||||
|
BreakpointCondition = " ",
|
||||||
|
BreakpointRejected = { " ", "DiagnosticError" },
|
||||||
|
LogPoint = ".>",
|
||||||
|
}
|
||||||
|
|
||||||
|
M.diagnostic_signs = {
|
||||||
|
Error = " ",
|
||||||
|
Warn = " ",
|
||||||
|
Hint = "",
|
||||||
|
Info = "",
|
||||||
|
}
|
||||||
|
|
||||||
|
return M
|
||||||
|
|
||||||
70
Arch/archtop/home/user/.config/nvim/lua/util/keymapper.lua
Normal file
70
Arch/archtop/home/user/.config/nvim/lua/util/keymapper.lua
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
local vim_modes = {
|
||||||
|
n = "n",
|
||||||
|
i = "i",
|
||||||
|
v = "v",
|
||||||
|
}
|
||||||
|
|
||||||
|
local default_opts = {
|
||||||
|
noremap = true,
|
||||||
|
silent = true,
|
||||||
|
}
|
||||||
|
|
||||||
|
--- @param opts (table|nil)
|
||||||
|
--- @return table
|
||||||
|
local get_opts = function(opts)
|
||||||
|
local all_opts = opts
|
||||||
|
if all_opts == nil then
|
||||||
|
all_opts = {}
|
||||||
|
end
|
||||||
|
for k, v in pairs(default_opts) do
|
||||||
|
all_opts[k] = all_opts[k] or v
|
||||||
|
end
|
||||||
|
return all_opts
|
||||||
|
end
|
||||||
|
|
||||||
|
--- @param vimmode (string|nil)
|
||||||
|
--- @return string
|
||||||
|
local get_mode = function(vimmode)
|
||||||
|
local modeString = vim_modes[vimmode]
|
||||||
|
if modeString == nil then
|
||||||
|
return "n"
|
||||||
|
else
|
||||||
|
return modeString
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
--- @param command (string)
|
||||||
|
--- @return string
|
||||||
|
local get_cmd_string = function(command)
|
||||||
|
return [[<cmd>]] .. command .. [[<CR>]]
|
||||||
|
end
|
||||||
|
|
||||||
|
--- @param keymaps string
|
||||||
|
--- @param command string
|
||||||
|
--- @param vimmode (string|nil)
|
||||||
|
--- @param options (table|nil)
|
||||||
|
--- @return nil
|
||||||
|
local mapvimkey = function(keymaps, command, vimmode, options)
|
||||||
|
local mode = get_mode(vimmode)
|
||||||
|
local lhs = keymaps
|
||||||
|
local rhs = get_cmd_string(command)
|
||||||
|
local opts = get_opts(options)
|
||||||
|
vim.keymap.set(mode, lhs, rhs, opts)
|
||||||
|
end
|
||||||
|
|
||||||
|
--- @param keymaps string
|
||||||
|
--- @param cmd (function|string)
|
||||||
|
--- @param desc (string|nil)
|
||||||
|
--- @return table
|
||||||
|
local maplazykey = function(keymaps, cmd, desc)
|
||||||
|
if type(cmd) ~= "function" then
|
||||||
|
cmd = get_cmd_string(cmd)
|
||||||
|
end
|
||||||
|
return { keymaps, cmd, desc = desc }
|
||||||
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
mapvimkey = mapvimkey,
|
||||||
|
maplazykey = maplazykey,
|
||||||
|
}
|
||||||
|
|
||||||
44
Arch/archtop/home/user/.config/nvim/lua/util/lsp.lua
Normal file
44
Arch/archtop/home/user/.config/nvim/lua/util/lsp.lua
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
local mapkey = require("util.keymapper").mapvimkey
|
||||||
|
|
||||||
|
local M = {}
|
||||||
|
|
||||||
|
M.on_attach = function(client, bufnr)
|
||||||
|
local opts = { noremap = true, silent = true, buffer = bufnr }
|
||||||
|
|
||||||
|
mapkey("<leader>fd", "Lspsaga finder", "n", opts) -- go to definition
|
||||||
|
mapkey("<leader>gS", "vsplit | Lspsaga goto_definition", "n", opts) -- go to definition
|
||||||
|
mapkey("<leader>ca", "Lspsaga code_action", "n", opts) -- see available code actions
|
||||||
|
mapkey("<leader>rn", "Lspsaga rename", "n", opts) -- smart rename
|
||||||
|
mapkey("<leader>D", "Lspsaga show_line_diagnostics", "n", opts) -- show diagnostics for line
|
||||||
|
mapkey("<leader>d", "Lspsaga show_cursor_diagnostics", "n", opts) -- show diagnostics for cursor
|
||||||
|
mapkey("<leader>pd", "Lspsaga diagnostic_jump_prev", "n", opts) -- jump to prev diagnostic in buffer
|
||||||
|
mapkey("<leader>nd", "Lspsaga diagnostic_jump_next", "n", opts) -- jump to next diagnostic in buffer
|
||||||
|
mapkey("<leader>nt", "Lspsaga term_toggle", "n", opts) -- jump to next diagnostic in buffer
|
||||||
|
mapkey("K", "Lspsaga hover_doc", "n", opts) -- show documentation for what is under cursor
|
||||||
|
|
||||||
|
if client.name == "pyright" then
|
||||||
|
mapkey("<leader>oi", "PyrightOrganizeImports", "n", opts) -- organise imports
|
||||||
|
mapkey("<leader>db", "DapToggleBreakpoint", "n", opts) -- toggle breakpoint
|
||||||
|
mapkey("<leader>dr", "DapContinue", "n", opts) -- continue/invoke debugger
|
||||||
|
mapkey("<leader>dt", "lua require('dap-python').test_method()", "n", opts) -- run tests
|
||||||
|
end
|
||||||
|
|
||||||
|
if client.name == "ts_ls" then
|
||||||
|
mapkey("<leader>oi", "TypeScriptOrganizeImports", "n", opts) -- organise imports
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
M.typescript_organise_imports = {
|
||||||
|
description = "Organise Imports",
|
||||||
|
function()
|
||||||
|
local params = {
|
||||||
|
command = "_typescript.organizeImports",
|
||||||
|
arguments = { vim.fn.expand("%:p") },
|
||||||
|
}
|
||||||
|
-- reorganise imports
|
||||||
|
vim.lsp.buf.execute_command(params)
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
|
return M
|
||||||
|
|
||||||
8
Arch/archtop/home/user/.config/pavucontrol.ini
Normal file
8
Arch/archtop/home/user/.config/pavucontrol.ini
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[window]
|
||||||
|
width=500
|
||||||
|
height=400
|
||||||
|
sinkInputType=1
|
||||||
|
sourceOutputType=1
|
||||||
|
sinkType=0
|
||||||
|
sourceType=1
|
||||||
|
showVolumeMeters=1
|
||||||
2
Arch/archtop/home/user/.config/pulse/cookie
Normal file
2
Arch/archtop/home/user/.config/pulse/cookie
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
╬рj&-(@ssм7Dв┬FЪ│╧ЩlШ5·вгпдrх6■тXч╤BUOжL~3BKН В█#_yД╩)JИ╤'лъe#xy╚xн╤й~<Pё╧'HпY"Л
═7░⌡█■╤Гу*q^≈Щ▌рAч)▓u░QOaр{²иJ■√у╨8й╞2;╡?Z┘©g│фYч┤oEDУKР2█П╥Вш?|°▓FXRf^тМO┘тW┤{╪>&И√
|
||||||
|
#?bёС╬фЯ┤f2sъD╙┼─≥з╚╜[_ДЪэд┤xRtЁ╤4=4╬J4_rzd0гi1╪ы`┘ц▒b}ЖЖ$
|
||||||
124
Arch/archtop/home/user/.config/rofi/config.rasi
Normal file
124
Arch/archtop/home/user/.config/rofi/config.rasi
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
@theme "/dev/null"
|
||||||
|
|
||||||
|
* {
|
||||||
|
bg: black;
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
configuration {
|
||||||
|
modi: "drun,run,filebrowser,ssh";
|
||||||
|
show-icons: true;
|
||||||
|
// icon-theme: "Papirus";
|
||||||
|
icon-theme: "Qogir";
|
||||||
|
location: 0;
|
||||||
|
font: "JetBrains Nerd Font 16";
|
||||||
|
drun-display-format: "{icon} {name}";
|
||||||
|
display-drun: " Apps ";
|
||||||
|
display-run: " Run ";
|
||||||
|
display-filebrowser: " File ";
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
width: 45%;
|
||||||
|
transparency: "real";
|
||||||
|
orientation: vertical;
|
||||||
|
border: 2px ;
|
||||||
|
border-color: green;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
children: [ inputbar, listview, mode-switcher ];
|
||||||
|
}
|
||||||
|
|
||||||
|
// ELEMENT
|
||||||
|
// -----------------------------------
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 8 14;
|
||||||
|
text-color: blue;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected {
|
||||||
|
text-color: green;
|
||||||
|
background-color: brown;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-icon {
|
||||||
|
size: 32 px;
|
||||||
|
background-color: inherit;
|
||||||
|
padding: 0 6 0 0;
|
||||||
|
alignment: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
columns: 2;
|
||||||
|
lines: 6;
|
||||||
|
padding: 8 0;
|
||||||
|
fixed-height: true;
|
||||||
|
fixed-columns: true;
|
||||||
|
fixed-lines: true;
|
||||||
|
border: 0 10 6 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
// INPUT BAR
|
||||||
|
//------------------------------------------------
|
||||||
|
|
||||||
|
entry {
|
||||||
|
text-color: green;
|
||||||
|
padding: 10 10 0 0;
|
||||||
|
margin: 0 -2 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
background-image: url("~/.config/rofi/mushroom.jpg", width);
|
||||||
|
padding: 180 0 0;
|
||||||
|
margin: 0 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
text-color: beige;
|
||||||
|
padding: 10 6 0 10;
|
||||||
|
margin: 0 -2 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mode Switcher
|
||||||
|
//------------------------------------------------
|
||||||
|
|
||||||
|
mode-switcher {
|
||||||
|
border-color: blue;
|
||||||
|
spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 10px;
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: gray;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
button selected {
|
||||||
|
background-color: blue;
|
||||||
|
text-color: yellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
message {
|
||||||
|
background-color: @bg;
|
||||||
|
margin: 2px;
|
||||||
|
padding: 2px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox {
|
||||||
|
padding: 6px;
|
||||||
|
margin: 20px 0px 0px 20px;
|
||||||
|
text-color: white;
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
BIN
Arch/archtop/home/user/.config/rofi/mushroom.jpg
Normal file
BIN
Arch/archtop/home/user/.config/rofi/mushroom.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1017 KiB |
BIN
Arch/archtop/home/user/.config/rofi/rofi.jpg
Normal file
BIN
Arch/archtop/home/user/.config/rofi/rofi.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
125
Arch/archtop/home/user/.config/rofi/sidebar-v2.rasi
Normal file
125
Arch/archtop/home/user/.config/rofi/sidebar-v2.rasi
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
/**
|
||||||
|
* ROFI Color theme
|
||||||
|
* User: Qball
|
||||||
|
* Copyright: Dave Davenport
|
||||||
|
*/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background-color: transparent;
|
||||||
|
// Bold, Italic, Underline
|
||||||
|
highlight: bold #ffffff;
|
||||||
|
}
|
||||||
|
window {
|
||||||
|
background-color: black / 80%;
|
||||||
|
border-color: white;
|
||||||
|
border-radius: 0 15mm 15mm 0;
|
||||||
|
|
||||||
|
padding: 10mm;
|
||||||
|
|
||||||
|
height: 100%;
|
||||||
|
width: 150mm;
|
||||||
|
border: 1mm 1mm 1mm 0px;
|
||||||
|
text-color: white;
|
||||||
|
|
||||||
|
|
||||||
|
location: west;
|
||||||
|
anchor: west;
|
||||||
|
}
|
||||||
|
inputbar {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: black;
|
||||||
|
children: [prompt, entry, textbox-end];
|
||||||
|
spacing: 1mm;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
border-radius: 5mm 0mm 0mm 5mm;
|
||||||
|
width: 15mm;
|
||||||
|
}
|
||||||
|
textbox-end {
|
||||||
|
border-radius: 0mm 5mm 5mm 0mm;
|
||||||
|
width: 15mm;
|
||||||
|
expand: false;
|
||||||
|
}
|
||||||
|
entry {
|
||||||
|
background-color: grey;
|
||||||
|
}
|
||||||
|
prompt, entry, textbox-end, num-filtered-rows {
|
||||||
|
background-color: white;
|
||||||
|
text-color: inherit;
|
||||||
|
padding: 2mm;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
}
|
||||||
|
element {
|
||||||
|
border-radius: 5mm;
|
||||||
|
children: [element-icon];
|
||||||
|
}
|
||||||
|
textbox-current-entry {
|
||||||
|
border-radius: 5mm;
|
||||||
|
background-color: lightgreen;
|
||||||
|
text-color: black;
|
||||||
|
placeholder: "n/a";
|
||||||
|
padding: 2mm;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
element-icon {
|
||||||
|
expand: true;
|
||||||
|
size: 10mm;
|
||||||
|
vertial-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
padding: 2mm;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
expand: true;
|
||||||
|
background-color: transparent;
|
||||||
|
spacing: 5mm;
|
||||||
|
children: [
|
||||||
|
inputbar,
|
||||||
|
listview,
|
||||||
|
icon-current-entry,
|
||||||
|
textbox-current-entry
|
||||||
|
];
|
||||||
|
}
|
||||||
|
icon-current-entry {
|
||||||
|
size: 100mm;
|
||||||
|
}
|
||||||
|
listview {
|
||||||
|
padding: 0em;
|
||||||
|
dynamic: false;
|
||||||
|
lines: 0;
|
||||||
|
columns: 8;
|
||||||
|
flow: horizontal;
|
||||||
|
}
|
||||||
|
element selected normal {
|
||||||
|
background-color: MediumSlateBlue;
|
||||||
|
}
|
||||||
|
element normal active {
|
||||||
|
text-color: MediumTurquoise;
|
||||||
|
}
|
||||||
|
element normal urgent {
|
||||||
|
text-color: red;
|
||||||
|
}
|
||||||
|
element alternate normal {
|
||||||
|
}
|
||||||
|
element alternate active {
|
||||||
|
text-color: MediumTurquoise;
|
||||||
|
}
|
||||||
|
element alternate urgent {
|
||||||
|
text-color: MediumVioletRed;
|
||||||
|
}
|
||||||
|
element selected active {
|
||||||
|
background-color: MediumTurquoise;
|
||||||
|
text-color: black;
|
||||||
|
}
|
||||||
|
element selected urgent {
|
||||||
|
background-color: MediumVioletRed;
|
||||||
|
text-color: black;
|
||||||
|
}
|
||||||
|
error-message {
|
||||||
|
expand: true;
|
||||||
|
background-color: red;
|
||||||
|
border-color: darkred;
|
||||||
|
border: 2px;
|
||||||
|
padding: 1em;
|
||||||
|
}
|
||||||
30
Arch/archtop/home/user/.config/shellconfig/DOT-Files
Executable file
30
Arch/archtop/home/user/.config/shellconfig/DOT-Files
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#Collection of funtions and aliases to automate the redundant tasks.
|
||||||
|
|
||||||
|
#First let's declare a few variables
|
||||||
|
export company="SCAR-719"
|
||||||
|
|
||||||
|
update-DOTFiles() { #This command takes the local copies and puts them into the git repo for updating
|
||||||
|
|
||||||
|
|
||||||
|
rsync -rhHAX --exclude="heroic" --exclude="quassel-irc.org" --exclude="google-chrome" --exclude="PCSX2" --exclude="transmission" --exclude="legendary" --exclude="Element" \
|
||||||
|
--exclude="balena-etcher-electron" --exclude="discord" --exclude="discord.bak" --exclude="heroic" --exclude="Slack" --exclude="Code" --exclude="Epic" --exclude="obs-studio" --exclude="BraveSoftware" --exclude="vivaldi" \
|
||||||
|
--exclude="microsoft-edge" --exclude="vesktop" \
|
||||||
|
$HOME/.config/* $HOME/Projects/$company/repos/DOT-Files/$(awk -F"=" '{print $2}' /etc/lsb-release | sed 's/"//g' | head -n1)/$HOSTNAME/home/user/.config/. ;
|
||||||
|
|
||||||
|
rsync -rhHAX $HOME/.*rc $HOME/Projects/$company/repos/DOT-Files/$(awk -F"=" '{print $2}' /etc/lsb-release | sed 's/"//g' | head -n1)/$HOSTNAME/home/user/. ;
|
||||||
|
|
||||||
|
cd /home/ganome/Projects/$company/repos/DOT-Files ;
|
||||||
|
git pull ;
|
||||||
|
git add .;
|
||||||
|
git commit -am "Automated updated process of shell scripts and DOT Files ($HOSTNAME)" ;
|
||||||
|
git push;
|
||||||
|
cd - ;
|
||||||
|
}
|
||||||
|
|
||||||
|
#replace-DOTFile() { #This command takes the git repo configs and moves them onto the local machine - in case remote edits were done and local machine needs updating
|
||||||
|
# rsync -rhHAX /home/ganome/Projects/$company/repos/DOT-Files/gentoo/gentooamd/home/user/.bashrc /home/ganome/. ;
|
||||||
|
# rsync -rhHAX /home/ganome/Projects/$company/repos/DOT-Files/gentoo/gentooamd/home/user/.config/shellconfig/* /home/ganome/.config/shellconfig/. ;
|
||||||
|
# }
|
||||||
|
|
||||||
30
Arch/archtop/home/user/.config/shellconfig/aliases
Executable file
30
Arch/archtop/home/user/.config/shellconfig/aliases
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
# Copy output of last command
|
||||||
|
alias ll='ls -alhg'
|
||||||
|
alias l='ls -alh'
|
||||||
|
alias sshbeefy='ssh -p25317 beefypi'
|
||||||
|
|
||||||
|
#Neovim aliases
|
||||||
|
alias v='nvim $1'
|
||||||
|
alias nv='nvim $1'
|
||||||
|
alias sv='sudo nvim $1'
|
||||||
|
|
||||||
|
#List dtach sockets
|
||||||
|
alias dtach-list='lsof -U |grep dtach'
|
||||||
|
|
||||||
|
####ROOT ALIASES
|
||||||
|
kernelver=$(uname -r)
|
||||||
|
alias updatesystem='dtach -n emerge sudo emerge -vuDN @world'
|
||||||
|
|
||||||
|
alias fix-grub='grub-mkconfig -o /boot/grub/grub.cfg'
|
||||||
|
|
||||||
|
#Package config files for github
|
||||||
|
#alias packkernel='cp /boot/config-$(uname -r) ~/Projects/configs/gentoo/gentooamd/kernel/'
|
||||||
|
#alias packport='tar czf /home/ganome/Projects/configs/gentoo/amd/portage.tar.gz /etc/portage /etc/conf.d'
|
||||||
|
#alias packconfig='tar --exclude="google-chrome" --exclude="PCSX2" --exclude="transmission" --exclude="legendary" --exclude="Element" --exclude="balena-etcher-electron" --exclude="discord" --exclude="discord.bak" --exclude="heroic" --exclude="Slack" --exclude="Code" -czf ~/Projects/configs/gentoo/amd/home.config.tar.gz ~/.config'
|
||||||
|
#alias packDOT='tar czf ~/Projects/configs/gentoo/amd/DOTfiles.tar.gz ~/.xinitrc ~/.mrxvtrc ~/.bashrc ~/.conkyrc'
|
||||||
|
#alias packAll='packport && packkernel && packconfig && packDOT'
|
||||||
|
|
||||||
|
#CRYPTO
|
||||||
|
#alias minecpu='cd ~ && dtach -A xmrig sudo xmrig -c /home/ganome/.xmrig.json'
|
||||||
|
#alias minegpu='cd /junk/Ether-mining/trex && dtach -A trex sudo ./BTC-unmineable.sh'
|
||||||
|
#alias minecpu='xmrig -c /etc/xmrig/config.json'
|
||||||
13
Arch/archtop/home/user/.config/shellconfig/equery.alias
Executable file
13
Arch/archtop/home/user/.config/shellconfig/equery.alias
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
alias eqb='equery b $1'
|
||||||
|
alias eqk='equery k $1'
|
||||||
|
alias eqd='equery d $1'
|
||||||
|
alias eqg='equery g $1'
|
||||||
|
alias eqf='equery f $1'
|
||||||
|
alias eqa='equery a $1'
|
||||||
|
alias eqh='equery h $1'
|
||||||
|
alias eqy='equery y $1'
|
||||||
|
alias eql='equery l $1'
|
||||||
|
alias eqm='equery m $1'
|
||||||
|
alias eqs='equery s $1'
|
||||||
|
alias equ='equery u $1'
|
||||||
|
alias eqw='equery w $1'
|
||||||
6
Arch/archtop/home/user/.config/shellconfig/shopt
Executable file
6
Arch/archtop/home/user/.config/shellconfig/shopt
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
shopt -s autocd
|
||||||
|
shopt -s cdspell
|
||||||
|
shopt -s dirspell
|
||||||
|
shopt -s histappend
|
||||||
|
#shopt -s
|
||||||
|
#shopt -s
|
||||||
15
Arch/archtop/home/user/.config/user-dirs.dirs
Normal file
15
Arch/archtop/home/user/.config/user-dirs.dirs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# This file is written by xdg-user-dirs-update
|
||||||
|
# If you want to change or add directories, just edit the line you're
|
||||||
|
# interested in. All local changes will be retained on the next run.
|
||||||
|
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
||||||
|
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
||||||
|
# absolute path. No other format is supported.
|
||||||
|
#
|
||||||
|
XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||||
|
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||||
|
XDG_TEMPLATES_DIR="$HOME/Templates"
|
||||||
|
XDG_PUBLICSHARE_DIR="$HOME/Public"
|
||||||
|
XDG_DOCUMENTS_DIR="$HOME/Documents"
|
||||||
|
XDG_MUSIC_DIR="$HOME/Music"
|
||||||
|
XDG_PICTURES_DIR="$HOME/Pictures"
|
||||||
|
XDG_VIDEOS_DIR="$HOME/Videos"
|
||||||
1
Arch/archtop/home/user/.config/user-dirs.locale
Normal file
1
Arch/archtop/home/user/.config/user-dirs.locale
Normal file
@ -0,0 +1 @@
|
|||||||
|
en_US
|
||||||
198
Arch/archtop/home/user/.config/waybar/config
Normal file
198
Arch/archtop/home/user/.config/waybar/config
Normal file
@ -0,0 +1,198 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"battery": {
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"format-plugged": " {capacity}%",
|
||||||
|
"on-click": "",
|
||||||
|
"states": {
|
||||||
|
"critical": 15,
|
||||||
|
"warning": 30
|
||||||
|
},
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"format": " {:L%I:%M %p}",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "<big>{:%A, %d.%B %Y }</big><tt><small>{calendar}</small></tt>"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": " {usage:2}%",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"custom/exit": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "sleep 0.1 && wlogout",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/hyprbindings": {
|
||||||
|
"format": " Bindings",
|
||||||
|
"on-click": "sleep 0.1 && list-hypr-bindings",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/notification": {
|
||||||
|
"exec-if": "which swaync-client",
|
||||||
|
"exec": "swaync-client -swb",
|
||||||
|
"format": "{icon} {}",
|
||||||
|
"format-icons": {
|
||||||
|
"dnd-inhibited-none": "",
|
||||||
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"dnd-none": "",
|
||||||
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"inhibited-none": "",
|
||||||
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"none": "",
|
||||||
|
"notification": "<span foreground='red'><sup></sup></span>"
|
||||||
|
},
|
||||||
|
"on-click": "task-waybar",
|
||||||
|
"return-type": "json",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/startmenu": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "sleep 0.1 && rofi -show drun",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/themeselector": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "sleep 0.1 && theme-selector",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"disk": {
|
||||||
|
"format": " {free}",
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"mpd": {
|
||||||
|
"format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
||||||
|
"format-disconnected": "Disconnected ",
|
||||||
|
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
||||||
|
"unknown-tag": "N/A",
|
||||||
|
"interval": 5,
|
||||||
|
"consume-icons": {
|
||||||
|
"on": " "
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"hyprland/window": {
|
||||||
|
"max-length": 25,
|
||||||
|
"rewrite": {
|
||||||
|
"": " 🙈 No Windows? "
|
||||||
|
},
|
||||||
|
"separate-outputs": false
|
||||||
|
},
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"1": "",
|
||||||
|
"10": "",
|
||||||
|
"11": "",
|
||||||
|
"12": "",
|
||||||
|
"13": "",
|
||||||
|
"14": "",
|
||||||
|
"15": "",
|
||||||
|
"16": "",
|
||||||
|
"17": "",
|
||||||
|
"18": "8",
|
||||||
|
"19": "",
|
||||||
|
"2": "",
|
||||||
|
"20": "",
|
||||||
|
"3": "",
|
||||||
|
"4": "",
|
||||||
|
"5": "",
|
||||||
|
"6": "",
|
||||||
|
"7": "",
|
||||||
|
"8": "8",
|
||||||
|
"9": "",
|
||||||
|
"default": "<U+F111>",
|
||||||
|
"focused": "<U+F192>",
|
||||||
|
"urgent": "<U+F06A>"
|
||||||
|
},
|
||||||
|
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||||
|
"on-scroll-up": "hyprctl dispatch workspace e+1"
|
||||||
|
},
|
||||||
|
"idle_inhibitor": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
},
|
||||||
|
"tooltip": "true"
|
||||||
|
},
|
||||||
|
"layer": "top",
|
||||||
|
"memory": {
|
||||||
|
"format": " {}%",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"modules-center": [
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
"modules-left": [
|
||||||
|
"custom/startmenu",
|
||||||
|
"battery",
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"hyprland/window",
|
||||||
|
"pulseaudio",
|
||||||
|
"cpu",
|
||||||
|
"memory"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"mpd",
|
||||||
|
"custom/hyprbindings",
|
||||||
|
"idle_inhibitor",
|
||||||
|
"custom/notification",
|
||||||
|
"tray"
|
||||||
|
],
|
||||||
|
"network": {
|
||||||
|
"format-disconnected": "",
|
||||||
|
"format-ethernet": " {bandwidthDownOctets}",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"format-wifi": "{icon} {signalStrength}%",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"position": "top",
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}% {format_source}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
|
"format-icons": {
|
||||||
|
"car": "",
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"hands-free": "",
|
||||||
|
"headphone": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": ""
|
||||||
|
},
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"format-source": " {volume}%",
|
||||||
|
"format-source-muted": "",
|
||||||
|
"on-click": "sleep 0.1 && pavucontrol"
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"spacing": 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
198
Arch/archtop/home/user/.config/waybar/config.bak
Normal file
198
Arch/archtop/home/user/.config/waybar/config.bak
Normal file
@ -0,0 +1,198 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"battery": {
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"format-plugged": " {capacity}%",
|
||||||
|
"on-click": "",
|
||||||
|
"states": {
|
||||||
|
"critical": 15,
|
||||||
|
"warning": 30
|
||||||
|
},
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"format": " {:L%I:%M %p}",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "<big>{:%A, %d.%B %Y }</big><tt><small>{calendar}</small></tt>"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": " {usage:2}%",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"custom/exit": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "sleep 0.1 && wlogout",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/hyprbindings": {
|
||||||
|
"format": " Bindings",
|
||||||
|
"on-click": "sleep 0.1 && list-hypr-bindings",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/notification": {
|
||||||
|
"exec-if": "which swaync-client",
|
||||||
|
"exec": "swaync-client -swb",
|
||||||
|
"format": "{icon} {}",
|
||||||
|
"format-icons": {
|
||||||
|
"dnd-inhibited-none": "",
|
||||||
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"dnd-none": "",
|
||||||
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"inhibited-none": "",
|
||||||
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"none": "",
|
||||||
|
"notification": "<span foreground='red'><sup></sup></span>"
|
||||||
|
},
|
||||||
|
"on-click": "sleep 0.1 && task-waybar",
|
||||||
|
"return-type": "json",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/startmenu": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "sleep 0.1 && rofi -show drun",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/themeselector": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "sleep 0.1 && theme-selector",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"disk": {
|
||||||
|
"format": " {free}",
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"mpd": {
|
||||||
|
"format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
||||||
|
"format-disconnected": "Disconnected ",
|
||||||
|
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
||||||
|
"unknown-tag": "N/A",
|
||||||
|
"interval": 5,
|
||||||
|
"consume-icons": {
|
||||||
|
"on": " "
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"hyprland/window": {
|
||||||
|
"max-length": 25,
|
||||||
|
"rewrite": {
|
||||||
|
"": " 🙈 No Windows? "
|
||||||
|
},
|
||||||
|
"separate-outputs": false
|
||||||
|
},
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"1": "",
|
||||||
|
"10": "",
|
||||||
|
"11": "",
|
||||||
|
"12": "",
|
||||||
|
"13": "",
|
||||||
|
"14": "",
|
||||||
|
"15": "",
|
||||||
|
"16": "",
|
||||||
|
"17": "",
|
||||||
|
"18": "8",
|
||||||
|
"19": "",
|
||||||
|
"2": "",
|
||||||
|
"20": "",
|
||||||
|
"3": "",
|
||||||
|
"4": "",
|
||||||
|
"5": "",
|
||||||
|
"6": "",
|
||||||
|
"7": "",
|
||||||
|
"8": "8",
|
||||||
|
"9": "",
|
||||||
|
"default": "<U+F111>",
|
||||||
|
"focused": "<U+F192>",
|
||||||
|
"urgent": "<U+F06A>"
|
||||||
|
},
|
||||||
|
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||||
|
"on-scroll-up": "hyprctl dispatch workspace e+1"
|
||||||
|
},
|
||||||
|
"idle_inhibitor": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
},
|
||||||
|
"tooltip": "true"
|
||||||
|
},
|
||||||
|
"layer": "top",
|
||||||
|
"memory": {
|
||||||
|
"format": " {}%",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"modules-center": [
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
"modules-left": [
|
||||||
|
"custom/startmenu",
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"hyprland/window",
|
||||||
|
"pulseaudio",
|
||||||
|
"cpu",
|
||||||
|
"memory"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"mpd",
|
||||||
|
"custom/hyprbindings",
|
||||||
|
"custom/exit",
|
||||||
|
"idle_inhibitor",
|
||||||
|
"custom/notification",
|
||||||
|
"tray"
|
||||||
|
],
|
||||||
|
"network": {
|
||||||
|
"format-disconnected": "",
|
||||||
|
"format-ethernet": " {bandwidthDownOctets}",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"format-wifi": "{icon} {signalStrength}%",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"position": "top",
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}% {format_source}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
|
"format-icons": {
|
||||||
|
"car": "",
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"hands-free": "",
|
||||||
|
"headphone": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": ""
|
||||||
|
},
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"format-source": " {volume}%",
|
||||||
|
"format-source-muted": "",
|
||||||
|
"on-click": "sleep 0.1 && pavucontrol"
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"spacing": 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
195
Arch/archtop/home/user/.config/waybar/style.css
Normal file
195
Arch/archtop/home/user/.config/waybar/style.css
Normal file
@ -0,0 +1,195 @@
|
|||||||
|
* {
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: NotoSansM Nerd Font, JetBrainsMono Nerd Font, sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
window#waybar {
|
||||||
|
background-color: #19171c;
|
||||||
|
border-bottom: 1px solid rgba(26,27,38,0);
|
||||||
|
border-radius: 0px;
|
||||||
|
color: #0066ff;
|
||||||
|
}
|
||||||
|
#workspaces {
|
||||||
|
background: #26232a;
|
||||||
|
margin: 2px;
|
||||||
|
padding: 0px 1px;
|
||||||
|
border-radius: 15px;
|
||||||
|
border: 0px;
|
||||||
|
font-style: normal;
|
||||||
|
color: #19171c;
|
||||||
|
}
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0px 5px;
|
||||||
|
margin: 4px 3px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 0px;
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #e6ffe6, #80ff80, #8533ff, #a366ff);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
opacity: 0.5;
|
||||||
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
|
}
|
||||||
|
#workspaces button.active {
|
||||||
|
padding: 0px 5px;
|
||||||
|
margin: 4px 3px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 0px;
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #e6ffe6, #80ff80, #8533ff, #a366ff);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
|
opacity: 1.0;
|
||||||
|
min-width: 40px;
|
||||||
|
}
|
||||||
|
#workspaces button:hover {
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #955ae7, #bf40bf, #576ddb, #aa573c);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
opacity: 0.8;
|
||||||
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
|
}
|
||||||
|
@keyframes gradient_horizontal {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
background-position: 100% 50%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes swiping {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 200%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 200% 200%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tooltip {
|
||||||
|
background: #19171c;
|
||||||
|
border: 1px solid #955ae7;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
tooltip label {
|
||||||
|
color: #efecf4;
|
||||||
|
}
|
||||||
|
#window {
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
color: #00ffff;
|
||||||
|
background: #26232a;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#memory {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#clock {
|
||||||
|
color: #0066ff;
|
||||||
|
background: linear-gradient(45deg, #e6ffe6, #80ff80, #8533ff, #a366ff);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#cpu {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#disk {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#battery {
|
||||||
|
color: #be4678;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#network {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#custom-hyprbindings {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#tray {
|
||||||
|
color: #8b8792;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#pulseaudio {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#custom-notification {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#custom-themeselector {
|
||||||
|
color: #576ddb;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px 0px;
|
||||||
|
padding: 2px 10px 2px 5px;
|
||||||
|
border-radius: 0px 10px 10px 0px;
|
||||||
|
}
|
||||||
|
#custom-startmenu {
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #e6ffe6, #80ff80, #8533ff, #a366ff);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#idle_inhibitor {
|
||||||
|
color: #0066ff;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px 0px;
|
||||||
|
padding: 2px 14px;
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
#custom-exit {
|
||||||
|
color: #ff0000;
|
||||||
|
background: #26232a;
|
||||||
|
border-radius: 10px 0px 0px 10px;
|
||||||
|
margin: 4px 0px;
|
||||||
|
padding: 2px 5px 2px 15px;
|
||||||
|
}
|
||||||
195
Arch/archtop/home/user/.config/waybar/style.css.bak
Normal file
195
Arch/archtop/home/user/.config/waybar/style.css.bak
Normal file
@ -0,0 +1,195 @@
|
|||||||
|
* {
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: NotoSansM Nerd Font, JetBrainsMono Nerd Font, sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
window#waybar {
|
||||||
|
background-color: #19171c;
|
||||||
|
border-bottom: 1px solid rgba(26,27,38,0);
|
||||||
|
border-radius: 0px;
|
||||||
|
color: #bf40bf;
|
||||||
|
}
|
||||||
|
#workspaces {
|
||||||
|
background: #26232a;
|
||||||
|
margin: 2px;
|
||||||
|
padding: 0px 1px;
|
||||||
|
border-radius: 15px;
|
||||||
|
border: 0px;
|
||||||
|
font-style: normal;
|
||||||
|
color: #19171c;
|
||||||
|
}
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0px 5px;
|
||||||
|
margin: 4px 3px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 0px;
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #955ae7, #bf40bf, #576ddb, #aa573c);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
opacity: 0.5;
|
||||||
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
|
}
|
||||||
|
#workspaces button.active {
|
||||||
|
padding: 0px 5px;
|
||||||
|
margin: 4px 3px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 0px;
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #955ae7, #bf40bf, #576ddb, #aa573c);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
|
opacity: 1.0;
|
||||||
|
min-width: 40px;
|
||||||
|
}
|
||||||
|
#workspaces button:hover {
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #955ae7, #bf40bf, #576ddb, #aa573c);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
opacity: 0.8;
|
||||||
|
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||||
|
}
|
||||||
|
@keyframes gradient_horizontal {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
background-position: 100% 50%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes swiping {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 200%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 200% 200%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tooltip {
|
||||||
|
background: #19171c;
|
||||||
|
border: 1px solid #955ae7;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
tooltip label {
|
||||||
|
color: #efecf4;
|
||||||
|
}
|
||||||
|
#window {
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
color: #8b8792;
|
||||||
|
background: #26232a;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#memory {
|
||||||
|
color: #bf40bf;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#clock {
|
||||||
|
color: #26232a;
|
||||||
|
background: linear-gradient(45deg, #398bc6, #bf40bf, #2a9292, #be4678);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#cpu {
|
||||||
|
color: #efecf4;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#disk {
|
||||||
|
color: #655f6d;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#battery {
|
||||||
|
color: #be4678;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#network {
|
||||||
|
color: #aa573c;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#custom-hyprbindings {
|
||||||
|
color: #955ae7;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#tray {
|
||||||
|
color: #8b8792;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#pulseaudio {
|
||||||
|
color: #576ddb;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#custom-notification {
|
||||||
|
color: #398bc6;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#custom-themeselector {
|
||||||
|
color: #576ddb;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px 0px;
|
||||||
|
padding: 2px 10px 2px 5px;
|
||||||
|
border-radius: 0px 10px 10px 0px;
|
||||||
|
}
|
||||||
|
#custom-startmenu {
|
||||||
|
color: #19171c;
|
||||||
|
background: linear-gradient(45deg, #aa573c, #655f6d, #398bc6, #efecf4);
|
||||||
|
background-size: 300% 300%;
|
||||||
|
animation: gradient_horizontal 15s ease infinite;
|
||||||
|
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#idle_inhibitor {
|
||||||
|
color: #aa573c;
|
||||||
|
background: #26232a;
|
||||||
|
margin: 4px 0px;
|
||||||
|
padding: 2px 14px;
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
#custom-exit {
|
||||||
|
color: #955ae7;
|
||||||
|
background: #26232a;
|
||||||
|
border-radius: 10px 0px 0px 10px;
|
||||||
|
margin: 4px 0px;
|
||||||
|
padding: 2px 5px 2px 15px;
|
||||||
|
}
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="thunar" version="1.0">
|
||||||
|
<property name="last-view" type="string" value="ThunarIconView"/>
|
||||||
|
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/>
|
||||||
|
<property name="last-window-maximized" type="bool" value="true"/>
|
||||||
|
<property name="last-separator-position" type="int" value="170"/>
|
||||||
|
</channel>
|
||||||
BIN
Arch/ganome-arch/kernel/config.gz
Normal file
BIN
Arch/ganome-arch/kernel/config.gz
Normal file
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
# These settings were set by the catalyst build script that automatically
|
||||||
|
# built this stage.
|
||||||
|
# Please consider using a local mirror.
|
||||||
|
|
||||||
|
#[gentoobinhost]
|
||||||
|
#priority = 1
|
||||||
|
#sync-uri = https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
|
||||||
43
Gentoo/gentooamd/etc/portage/make.conf
Normal file
43
Gentoo/gentooamd/etc/portage/make.conf
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Please consult /usr/share/portage/config/make.conf.example for a more
|
||||||
|
# detailed example.
|
||||||
|
|
||||||
|
# For troubleshooting build issues
|
||||||
|
#COMMON_FLAGS="-march=native -O2 -pipe"
|
||||||
|
|
||||||
|
COMMON_FLAGS="-march=znver4 -O2 -pipe"
|
||||||
|
CFLAGS="${COMMON_FLAGS}"
|
||||||
|
CXXFLAGS="${COMMON_FLAGS}"
|
||||||
|
FCFLAGS="${COMMON_FLAGS}"
|
||||||
|
FFLAGS="${COMMON_FLAGS}"
|
||||||
|
MAKEOPTS="-j15"
|
||||||
|
VIDEO_CARDS="amdgpu radeonsi"
|
||||||
|
ACCEPT_LICENSE="*"
|
||||||
|
|
||||||
|
# Force IPv4 connectivity when syncing
|
||||||
|
#PORTAGE_RSYNC_EXTRA_OPTS="-4"
|
||||||
|
|
||||||
|
USE="bluetooth pipewire pulseaudio v4l vulkan gstreamer opencl vdpau vaapi wayland \
|
||||||
|
lto screencast appindicator cups bash-completion lm-sensors secureboot modules-sign"
|
||||||
|
|
||||||
|
# This sets the language of build output to English.
|
||||||
|
# Please keep this setting intact when reporting bugs.
|
||||||
|
LC_MESSAGES=C.utf8
|
||||||
|
|
||||||
|
GENTOO_MIRRORS="#http://www.gtlib.gatech.edu/pub/gentoo \
|
||||||
|
#rsync://rsync.gtlib.gatech.edu/gentoo \
|
||||||
|
https://mirrors.mit.edu/gentoo-distfiles/ \
|
||||||
|
#rsync://mirrors.mit.edu/gentoo-distfiles/ \
|
||||||
|
ftp://mirrors.rit.edu/gentoo/"
|
||||||
|
#rsync://mirrors.rit.edu/gentoo/"
|
||||||
|
|
||||||
|
L10N="en-US"
|
||||||
|
|
||||||
|
MODULES_SIGN_KEY="/etc/efikeys/custom_config/db.key"
|
||||||
|
MODULES_SIGN_CERT="/etc/efikeys/custom_config/db.crt"
|
||||||
|
|
||||||
|
SECUREBOOT_SIGN_KEY="/etc/efikeys/custom_config/db.key"
|
||||||
|
SECUREBOOT_SIGN_CERT="/etc/efikeys/custom_config/db.crt"
|
||||||
|
|
||||||
|
# This is needed because signed grub images read grub.cfg from current working directory "/boot/EFI/gentoo/"
|
||||||
|
# ONLY USE THIS IF BOOTING WITH sys-boot/shim
|
||||||
|
#GRUB_CFG=/boot/EFI/gentoo/grub.cfg
|
||||||
1
Gentoo/gentooamd/etc/portage/make.profile
Symbolic link
1
Gentoo/gentooamd/etc/portage/make.profile
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../var/db/repos/gentoo/profiles/default/linux/amd64/23.0/desktop/plasma/systemd
|
||||||
3
Gentoo/gentooamd/etc/portage/package.accept_keywords/0ad
Normal file
3
Gentoo/gentooamd/etc/portage/package.accept_keywords/0ad
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
games-strategy/0ad ~amd64
|
||||||
|
net-libs/gloox ~amd64
|
||||||
|
dev-util/premake ~amd64
|
||||||
@ -0,0 +1 @@
|
|||||||
|
app-arch/7zip ~amd64
|
||||||
@ -0,0 +1 @@
|
|||||||
|
app-emulation/genymotion-bin ~amd64
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
>=games-misc/asciiquarium-1.1_p20120823 ~amd64
|
||||||
|
>=dev-perl/Term-Animation-2.6 ~amd64
|
||||||
@ -0,0 +1 @@
|
|||||||
|
=dev-libs/libpthread-stubs-0.5 **
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
# required by games-action/prismlauncher-8.2-r1::gentoo
|
||||||
|
# required by @selected
|
||||||
|
# required by @world (argument)
|
||||||
|
=virtual/jre-21 ~amd64
|
||||||
|
# required by virtual/jre-21::gentoo
|
||||||
|
# required by net-proxy/burpsuite-2024.5.3::pentoo
|
||||||
|
# required by burpsuite (argument)
|
||||||
|
=virtual/jdk-21 ~amd64
|
||||||
|
# required by virtual/jdk-21::gentoo
|
||||||
|
# required by virtual/jre-21::gentoo
|
||||||
|
# required by net-proxy/burpsuite-2024.5.3::pentoo
|
||||||
|
# required by burpsuite (argument)
|
||||||
|
=dev-java/openjdk-bin-21.0.3_p9 ~amd64
|
||||||
@ -0,0 +1 @@
|
|||||||
|
=dev-util/clinfo-9999 **
|
||||||
@ -0,0 +1 @@
|
|||||||
|
app-misc/cliphist ~amd64
|
||||||
@ -0,0 +1 @@
|
|||||||
|
=app-containers/containerd-1.7.8 ~amd64
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
sys-apps/cpu-x ~amd64
|
||||||
|
dev-libs/libcpuid ~amd64
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
#>=media-video/davinci-resolve-studio-19.0_beta1 ~amd64
|
||||||
|
>=dev-libs/openssl-1.1.1w ~amd64
|
||||||
|
# required by davinci-resolve-studio (argument)
|
||||||
|
=media-video/davinci-resolve-studio-18.6.6 ~amd64
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
net-im/vesktop-bin ~amd64
|
||||||
|
games-util/arrpc ~amd64
|
||||||
2
Gentoo/gentooamd/etc/portage/package.accept_keywords/dwl
Normal file
2
Gentoo/gentooamd/etc/portage/package.accept_keywords/dwl
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
=gui-wm/dwl-9999 **
|
||||||
|
=gui-libs/wlroots-9999 **
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user