diff --git a/README.md b/README.md new file mode 100644 index 0000000..a1607af --- /dev/null +++ b/README.md @@ -0,0 +1,52 @@ +# Gragaldia + +Minimal,Productive & Aesthetic linux rice + +Bar - Eww +Compositor - Hyprland +App launcher - Fuzzel +Terminal - Foot +Editor - Neovim +Theme - Oxoblack(Inspired by IBM carbon & oxocarbon) + +Version 0.1.0 + +Still in the beta version. + +This project is me just cooking up for a bigger project coming up in the future. + +## Dev log + +Design Goals ++ Aesthetic,minimal,productive + +Done: ++ Configured nvim ++ Systemwide oxocarbon theme(Slightly modified version of oxocarbon) ++ Basic foot config ++ hyprpaper ++ fixed nvims lsp ++ eww main bar and theming ++ Got the eww factor ++ fuzzel + +Bins Installed: ++ yay,nvim,foot,hyprland,hyprpaper,hack nerd font,eww,jq,socat,node,npm,alsa-utils,sof-firmware,pulseaudio,brightnessctl,google-chrome,fuzzel + unzip,docker,wget,burpsuite,python-pip,wl-clipboard,otf-daddytimemono-git + +To Do: +- Git Repo, Code Name. + +To fix: +- time :done +- polling rate of sound widget :done +- unstable hexpand of eww :done + + +Later : +- Power management +- Hybernation +- Cpu frequency adjustments +- Systemwide cleaner +- Backup system +- System monitoring and health check diff --git a/eww/assets/winters.png b/eww/assets/winters.png new file mode 100644 index 0000000..6fb2f4c Binary files /dev/null and b/eww/assets/winters.png differ diff --git a/eww/eww.scss b/eww/eww.scss new file mode 100644 index 0000000..ef7b4c1 --- /dev/null +++ b/eww/eww.scss @@ -0,0 +1,226 @@ +$carbon: #161616; +$black: #000000; +$white: #ffffff; +$bright_pink: #ee5396; +$green: #42be65; +$dark_grey: #262626; +$cyan: #3ddbd9; +$blue: #33b1ff; +$light_grey: #525252; +$yellow: #ffe97b; +$magenta: #ff7eb6; + +* { + all: unset; +} + +.bar{ + background-color: $black; + border-radius: 16px; +} + +.bar_ { + font-family:"DaddyTimeMono"; + font-size: 15px; + color: $white; + border-radius: 16px; + background-color: $black; + border: 3px; + border-style: solid; + border-color: $bright_pink; +} + +.workspace-entry { + font-size: 20px; + padding-left: 10px; +} + +.workspace-entry.current { + color: $blue; +} + +.time { + padding-right: 10px; + padding-left: 10px; +} + +.bat { + padding-right: 10px; + color: $green; +} +.volume { + padding-right: 10px; + padding-left: 10px; + color: $white; +} + +.volbar trough highlight { + border-radius: 10px; + background-color: $cyan; + +} + +scale trough { + all: unset; + background-color: #22242b; + border-radius: 16px; + min-height: 10px; + min-width: 70px; + margin-left: 10px; +} + +.volume_icon{ + font-size: 25px; +} + +.brightbar trough highlight { + border-radius: 10px; + background-color: $yellow; +} + +.bright_icon { + font-size: 25px; + } + +.backlight { + padding-right: 10px; + padding-left: 10px; +} + +.wifi { + padding-left: 10px; + padding-right: 10px; +} + +.wifi_btn{ + font-size: 25px; +} + +.clock_time_class, .clock_minute_class { + font-size: 23; +} + +.clock_time_sep { + font-size: 20; +} + +// Calendar +.cal { + background-color: $black; + font-size: 18px; + font-weight: normal; + border-radius: 16px; + +.cal-in { + padding: 0px 10px 0px 10px; + color: $white; + border: 3px; + border-color: $bright_pink; + border-style: solid; + border-radius: 16px; + +.cal { + &.highlight { + padding: 20px; + } + + padding: 5px 5px 5px 5px; + margin-left: 10px; + } + } +} + +calender { + color: $bright_pink; + +} +calendar:selected { + color: $bright_pink; +} + +calendar.header { +color: $white; +font-weight: bold; +} + +calendar.button { +color: $white; +} + +calendar.highlight { +color: $white; +font-weight: bold; +} + +calendar:indeterminate { +color: $white; +} + +.batbar { + color: $green; + background-color: $dark_grey; + border-radius: 10px; +} + +.bat { + border-radius: 16px; + margin: 0px 10px 0px 10px; + } + +.iconbat{ + font-size: 25px; + color: $black; + margin: 5px; +} + + +tooltip.background { + background-color: $black; + font-size: 18; + border-radius: 10px; + color: $white; + border: 3px; + border-radius: 16px; + border-color: $bright_pink; + border-style: solid; +} + +tooltip label { + margin: 6px; +} + +.membar { + color: $yellow; + background-color: $dark_grey; + border-radius: 10px; +} + +.mem { + border-radius: 16px; + margin: 0px 10px 0px 10px; + } + +.iconmem{ + font-size: 25px; + color: $black; + margin: 5px; +} + +.separ { + color: $light_grey; + font-weight: bold; + font-size: 22px; + margin: 0px 8px 0px 8px; +} + +.title { + font-size: 18px; +} + +.ws-box { + color: $white; +} + +.ws-icons{ + padding: 5px; +} diff --git a/eww/eww.yuck b/eww/eww.yuck new file mode 100644 index 0000000..66207d6 --- /dev/null +++ b/eww/eww.yuck @@ -0,0 +1,2 @@ +(include "yuck/bar.yuck") +(include "yuck/menu.yuck") diff --git a/eww/scripts/active-workspaces.sh b/eww/scripts/active-workspaces.sh new file mode 100755 index 0000000..7bb8fe3 --- /dev/null +++ b/eww/scripts/active-workspaces.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id' + +socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | + stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}' diff --git a/eww/scripts/change-active-workspace.sh b/eww/scripts/change-active-workspace.sh new file mode 100755 index 0000000..73f454e --- /dev/null +++ b/eww/scripts/change-active-workspace.sh @@ -0,0 +1,22 @@ +#! /bin/bash +function clamp { + min=$1 + max=$2 + val=$3 + python -c "print(max($min, min($val, $max)))" +} + +direction=$1 +current=$2 +if test "$direction" = "down" +then + target=$(clamp 1 10 $(($current+1))) + echo "jumping to $target" + hyprctl dispatch workspace $target +elif test "$direction" = "up" +then + target=$(clamp 1 10 $(($current-1))) + echo "jumping to $target" + hyprctl dispatch workspace $target +fi + diff --git a/eww/scripts/get-title.sh b/eww/scripts/get-title.sh new file mode 100755 index 0000000..cdbce71 --- /dev/null +++ b/eww/scripts/get-title.sh @@ -0,0 +1,4 @@ +#! /bin/bash + +hyprctl activewindow -j | jq --raw-output .title +socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 awk -F '>>|,' '/^activewindow>>/{print $3}' diff --git a/eww/scripts/get-workspaces.sh b/eww/scripts/get-workspaces.sh new file mode 100755 index 0000000..570ff6e --- /dev/null +++ b/eww/scripts/get-workspaces.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +spaces (){ + WORKSPACE_WINDOWS=$(hyprctl workspaces -j | jq 'map({key: .id | tostring, value: .windows}) | from_entries') + seq 1 10 | jq --argjson windows "${WORKSPACE_WINDOWS}" --slurp -Mc 'map(tostring) | map({id: ., windows: ($windows[.]//0)})' +} + +spaces +socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do + spaces +done diff --git a/eww/scripts/wifi.sh b/eww/scripts/wifi.sh new file mode 100755 index 0000000..eb4f831 --- /dev/null +++ b/eww/scripts/wifi.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +status=$(nmcli g | grep -oE "disconnected") +essid=$(nmcli c | grep wlp1s0 | awk '{print ($1)}') + +if [ $status ] ; then + icon="󰖪" + text="" + col="#575268" + +else + icon="󰖩" + text="${essid}" + col="#ffffff" +fi + +if [[ "$1" == "--COL" ]]; then + echo $col +elif [[ "$1" == "--ESSID" ]]; then + echo $text +elif [[ "$1" == "--ICON" ]]; then + echo $icon +fi diff --git a/eww/yuck/bar.yuck b/eww/yuck/bar.yuck new file mode 100644 index 0000000..bff3cc5 --- /dev/null +++ b/eww/yuck/bar.yuck @@ -0,0 +1,80 @@ +;includes +(include "yuck/widgets/time.yuck") +(include "yuck/widgets/workspace.yuck") +(include "yuck/widgets/title.yuck") +(include "yuck/widgets/volume.yuck") +(include "yuck/widgets/battery.yuck") +(include "yuck/widgets/winters.yuck") +(include "yuck/widgets/backlight.yuck") +(include "yuck/widgets/wifi.yuck") +(include "yuck/widgets/clock.yuck") +(include "yuck/widgets/calendar.yuck") +(include "yuck/widgets/memory.yuck") +(include "yuck/widgets/sep.yuck") + + + +(defwidget left[] + (box :orientation "h" + :space-evenly false + :halign "start" + :class "left_widgets" + (winters) + (workspaces))) + +; center widget +(defwidget center[] + (box :orientation "h" + :space-evenly false + :halign "center" + :class "center_widgets" + (title))) + +; right widget +(defwidget right[] + (box :orientation "h" + :space-evenly false + :halign "end" + :class "right_widgets" + (mem) + (bat) + (sep) + (bright) + (wifi) + (volume) + (sep) + (clock) + )) + +; main bar +(defwidget bar_ [] + (box :class "bar_" + :orientation "h" + (left) + (center) + (right))) + + +; main window +(defwindow bar + :exclusive true + :monitor 0 + :geometry (geometry :x "0%" + :y "9px" + :width "99%" + :height "50px" + :anchor "top center") + :stacking "fg" + :windowtype "dock" + :class "bar" + (bar_)) + +; calendar +(defwindow calendar + :monitor 0 + :geometry (geometry :x "10px" + :y "1%" + :anchor "top right" + :width "270px" + :height "60px") +(cal)) diff --git a/eww/yuck/menu.yuck b/eww/yuck/menu.yuck new file mode 100644 index 0000000..fce0b9d --- /dev/null +++ b/eww/yuck/menu.yuck @@ -0,0 +1,21 @@ +(defwidget power_options [] + (box :orientation "v" + :space-evenly false + :valign "top" + :class "power_options")) + + +(defwidget menu_ [] + (box :orientation "v" + :class "menu_" + (power_options))) + +(defwindow menu + :monitor 0 + :stacking "fg" + :geometry (geometry :x "25px" + :y "5px" + :width "100px" + :height "100px" + :anchor "top left") + (menu_)) diff --git a/eww/yuck/widgets/backlight.yuck b/eww/yuck/widgets/backlight.yuck new file mode 100644 index 0000000..702a2fd --- /dev/null +++ b/eww/yuck/widgets/backlight.yuck @@ -0,0 +1,17 @@ +(defpoll brightness_percent :interval "1s" "brightnessctl -m -d intel_backlight | awk -F, '{print substr($4, 0, length($4)-1)}' | tr -d '%'") +(defvar br_reveal false) + +(defwidget bright [] + (eventbox :onhover "${EWW_CMD} update br_reveal=true" :onhoverlost "${EWW_CMD} update br_reveal=false" + (box :class "backlight" :space-evenly "false" :orientation "h" :spacing "3" + (label :text "󰃠" :class "bright_icon" :tooltip "brightness") + (revealer :transition "slideleft" + :reveal br_reveal + :duration "350ms" + (scale :class "brightbar" + :value brightness_percent + :orientation "h" + :tooltip "${brightness_percent}%" + :max 100 + :min 0 + :onchange "brightnessctl set {}%" ))))) diff --git a/eww/yuck/widgets/battery.yuck b/eww/yuck/widgets/battery.yuck new file mode 100644 index 0000000..7752a2b --- /dev/null +++ b/eww/yuck/widgets/battery.yuck @@ -0,0 +1,8 @@ +(defwidget bat [] + (box :class "bat" :vexpand "false" :hexpand "false" + (circular-progress :value {EWW_BATTERY.BAT0.capacity} + :class "batbar" + :thickness 5 + :tooltip "battery on ${EWW_BATTERY.BAT0.capacity}%" + (label :text "" :class "iconbat")))) + diff --git a/eww/yuck/widgets/calendar.yuck b/eww/yuck/widgets/calendar.yuck new file mode 100644 index 0000000..457369c --- /dev/null +++ b/eww/yuck/widgets/calendar.yuck @@ -0,0 +1,9 @@ +(defpoll calendar_day :interval "20s" "date '+%d'") +(defpoll calendar_year :interval "20s" "date '+%Y'") + +(defwidget cal [] + (box :class "cal" :orientation "v" + (box :class "cal-in" + (calendar :class "cal" + :day calendar_day + :year calendar_year)))) diff --git a/eww/yuck/widgets/clock.yuck b/eww/yuck/widgets/clock.yuck new file mode 100644 index 0000000..b23e9d4 --- /dev/null +++ b/eww/yuck/widgets/clock.yuck @@ -0,0 +1,11 @@ +(defpoll clock_time :interval "5m" "date +\%I") +(defpoll clock_minute :interval "5s" "date +\%M") +(defpoll clock_date :interval "10h" "date '+%d/%m'") + + +(defwidget clock [] + (eventbox :onclick "${EWW_CMD} open calendar --toggle" + (box :class "clock" :space-evenly "false" :orientation "h" :spacing "3" + (label :text clock_time :class "clock_time_class" ) + (label :text "󰇙" :class "clock_time_sep" ) + (label :text clock_minute :class "clock_minute_class")))) diff --git a/eww/yuck/widgets/memory.yuck b/eww/yuck/widgets/memory.yuck new file mode 100644 index 0000000..d4da7b0 --- /dev/null +++ b/eww/yuck/widgets/memory.yuck @@ -0,0 +1,8 @@ +(defwidget mem [] + (box :class "mem" :vexpand "false" :hexpand "false" + (circular-progress :value {EWW_RAM.used_mem_perc} + :class "membar" + :thickness 5 + :tooltip "used ram ${EWW_RAM.used_mem_perc}%" + (label :text "" :class "iconmem")))) + diff --git a/eww/yuck/widgets/sep.yuck b/eww/yuck/widgets/sep.yuck new file mode 100644 index 0000000..efcdbb7 --- /dev/null +++ b/eww/yuck/widgets/sep.yuck @@ -0,0 +1,3 @@ +(defwidget sep [] + (box :class "sep" :vexpand "false" :hexpand "false" + (label :class "separ" :text "|"))) diff --git a/eww/yuck/widgets/time.yuck b/eww/yuck/widgets/time.yuck new file mode 100644 index 0000000..8d984ed --- /dev/null +++ b/eww/yuck/widgets/time.yuck @@ -0,0 +1,10 @@ +(defwidget time [] + (box :orientation "h" :space-evenly "false" :class "time" + (label :text " ${hour}" :class "hour" :limit-width 20) + (label :text ":" :class "separator" :limit-width 20) + (label :text {minute} :class "hour" :limit-width 20) +)) + +(defpoll hour :interval "30s" "date '+%H'") +(defpoll minute :interval "30s" "date '+%M'") + diff --git a/eww/yuck/widgets/title.yuck b/eww/yuck/widgets/title.yuck new file mode 100644 index 0000000..060f403 --- /dev/null +++ b/eww/yuck/widgets/title.yuck @@ -0,0 +1,8 @@ +(deflisten window :initial "..." "bash ~/.config/eww/scripts/get-title.sh") + +(defwidget title [] + (box + (label :class "title" :text {"${window}" == "" ? "Winters" : "${window}"} :limit-width 50 + ) + ) +) diff --git a/eww/yuck/widgets/volume.yuck b/eww/yuck/widgets/volume.yuck new file mode 100644 index 0000000..3002d5e --- /dev/null +++ b/eww/yuck/widgets/volume.yuck @@ -0,0 +1,18 @@ +(defpoll volume :interval "0.1s" `pamixer --get-volume`) +(defvar vol_reveal false) + + +(defwidget volume [] + (eventbox :onhover "${EWW_CMD} update vol_reveal=true" + :onhoverlost "${EWW_CMD} update vol_reveal=false" + (box :class "volume " :space-evenly false :orientation "h" :spacing "3" + (label :text "󰕾" :class "volume_icon") + (revealer :transition "slideleft" + :reveal vol_reveal + :duration "350ms" + (scale :class "volbar" + :value volume + :orientation "h" + :max 100 + :min 0 + :onchange "pamixer --set-volume {}"))))) diff --git a/eww/yuck/widgets/wifi.yuck b/eww/yuck/widgets/wifi.yuck new file mode 100644 index 0000000..5fbbf04 --- /dev/null +++ b/eww/yuck/widgets/wifi.yuck @@ -0,0 +1,18 @@ +(defvar wifi_rev false) +(defpoll COL_WLAN :interval "1s" "bash ~/.config/eww/scripts/wifi.sh --COL") +(defpoll ESSID_WLAN :interval "1s" "bash ~/.config/eww/scripts/wifi.sh --ESSID") +(defpoll WLAN_ICON :interval "1s" "bash ~/.config/eww/scripts/wifi.sh --ICON") + +(defwidget wifi [] + (eventbox :onhover "${EWW_CMD} update wifi_rev=true" + :onhoverlost "${EWW_CMD} update wifi_rev=false" + (box :space-evenly "false" :spacing "10" :class "wifi" + (button :class "wifi_btn" :onclick "foot nmtui" :wrap "false" :limit-width 12 :style "color: ${COL_WLAN};" WLAN_ICON) + (revealer :transition "slideright" + :reveal wifi_rev + :duration "350ms" + (label :class "essid" + :text ESSID_WLAN + :orientation "h" + ))))) + diff --git a/eww/yuck/widgets/winters.yuck b/eww/yuck/widgets/winters.yuck new file mode 100644 index 0000000..c3bb68c --- /dev/null +++ b/eww/yuck/widgets/winters.yuck @@ -0,0 +1,2 @@ +(defwidget winters [] + (image :path "assets/winters.png" :image-width 50 :image-height 50)) diff --git a/eww/yuck/widgets/workspace.yuck b/eww/yuck/widgets/workspace.yuck new file mode 100644 index 0000000..b463984 --- /dev/null +++ b/eww/yuck/widgets/workspace.yuck @@ -0,0 +1,17 @@ +(deflisten workspaces :initial "[]" "bash ~/.config/eww/scripts/get-workspaces.sh") +(deflisten current_workspace :initial "1" "bash ~/.config/eww/scripts/active-workspaces.sh") + +(defwidget workspaces [] + (eventbox :onscroll "bash ~/.config/eww/scripts/change-active-workspace.sh {} ${current_workspace}" :class "workspaces-widget" + (box :space-evenly true :class "ws-box" + (label :text "${workspaces}${current_workspace}" :visible false) + (for workspace in workspaces + (eventbox :onclick "hyprctl dispatch workspace ${workspace.id}" + (box :class "workspace-entry ${workspace.id == current_workspace ? "current" : ""} ${workspace.windows > 0 ? "occupied" : "empty"}" + (label :class "ws-icons" :text {workspace.id == current_workspace ? "" : ""}) + ) + ) + ) + ) + ) + ) diff --git a/foot/foot.ini b/foot/foot.ini new file mode 100644 index 0000000..ae27c5e --- /dev/null +++ b/foot/foot.ini @@ -0,0 +1,204 @@ +# -*- conf -*- + +# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) +# term=foot (or xterm-256color if built with -Dterminfo=disabled) +# login-shell=no + +# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode +# title=foot +# locked-title=no + +font=HackNerdFontMono-Regular:size=11 +font-bold=HackNerdFontMono-Bold:size=11 +font-italic=HackNerdFontMono-Italic:size=11 +font-bold-italic=HackNerdFontMono-BoldItalic:size=11 +# font-size-adjustment=0.5 +# line-height= +# letter-spacing=0 +# horizontal-letter-offset=0 +# vertical-letter-offset=0 +# underline-offset= +# underline-thickness= +# box-drawings-uses-font-glyphs=no +# dpi-aware=no + +# initial-window-size-pixels=700x500 # Or, +# initial-window-size-chars= +# initial-window-mode=windowed +# pad=0x0 # optionally append 'center' +# resize-delay-ms=100 + +# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body} + +# bold-text-in-bright=no +# word-delimiters=,│`|:"'()[]{}<> +# selection-target=primary +# workers= +# utmp-helper=/usr/lib/utempter/utempter # When utmp backend is ‘libutempter’ (Linux) +# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ‘ulog’ (FreeBSD) + +[environment] +# name=value + +[bell] +# urgent=no +# notify=no +# command= +# command-focused=no + +[scrollback] +# lines=1000 +# multiplier=3.0 +# indicator-position=relative +# indicator-format="" + +[url] +# launch=xdg-open ${url} +# label-letters=sadfjklewcmpgh +# osc8-underline=url-mode +# protocols=http, https, ftp, ftps, file, gemini, gopher +# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[] + +[cursor] +style=beam +# color= +blink=yes +# beam-thickness=1.5 +# underline-thickness= + +[mouse] +# hide-when-typing=no +# alternate-scroll-mode=yes + +[touch] +# long-press-delay=400 + +[colors] +# oxocarbon +alpha=1.0 +background=000000 +foreground=ffffff + +## Normal/regular colors (color palette 0-7) +regular0=262626 # black +regular1=ee5396 # red +regular2=42be65 # green +regular3=ffe97b # yellow +regular4=33b1ff # blue +regular5=ff7eb6 # magenta +regular6=3ddbd9 # cyan +regular7=dde1e6 # white + +## Bright colors (color palette 8-15) +bright0=393939 # bright black +bright1=ee5396 # bright red +bright2=42be65 # bright green +bright3=ffe97b # bright yellow +bright4=33b1ff # bright blue +bright5=ff7eb6 # bright magenta +bright6=3ddbd9 # bright cyan +bright7=ffffff # bright white + +## dimmed colors (see foot.ini(5) man page) +# dim0= +# ... +# dim7= + +## The remaining 256-color palette +# 16 = <256-color palette #16> +# ... +# 255 = <256-color palette #255> + +## Misc colors +# selection-foreground= +# selection-background= +# jump-labels= # black-on-yellow +# scrollback-indicator= # black-on-bright-blue +# search-box-no-match= # black-on-red +# search-box-match= # black-on-yellow +# urls= + +[csd] +# preferred=server +# size=26 +# font= +# color= +# hide-when-maximized=no +# double-click-to-maximize=yes +# border-width=0 +# border-color= +# button-width=26 +# button-color= +# button-minimize-color= +# button-maximize-color= +# button-close-color= + +[key-bindings] +# scrollback-up-page=Shift+Page_Up +# scrollback-up-half-page=none +# scrollback-up-line=none +# scrollback-down-page=Shift+Page_Down +# scrollback-down-half-page=none +# scrollback-down-line=none +# clipboard-copy=Control+Shift+c XF86Copy +# clipboard-paste=Control+Shift+v XF86Paste +# primary-paste=Shift+Insert +# search-start=Control+Shift+r +# font-increase=Control+plus Control+equal Control+KP_Add +# font-decrease=Control+minus Control+KP_Subtract +# font-reset=Control+0 Control+KP_0 +# spawn-terminal=Control+Shift+n +# minimize=none +# maximize=none +# fullscreen=none +# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none +# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none +# pipe-selected=[xargs -r firefox] none +# show-urls-launch=Control+Shift+o +# show-urls-copy=none +# show-urls-persistent=none +# prompt-prev=Control+Shift+z +# prompt-next=Control+Shift+x +# unicode-input=Control+Shift+u +# noop=none + +[search-bindings] +# cancel=Control+g Control+c Escape +# commit=Return +# find-prev=Control+r +# find-next=Control+s +# cursor-left=Left Control+b +# cursor-left-word=Control+Left Mod1+b +# cursor-right=Right Control+f +# cursor-right-word=Control+Right Mod1+f +# cursor-home=Home Control+a +# cursor-end=End Control+e +# delete-prev=BackSpace +# delete-prev-word=Mod1+BackSpace Control+BackSpace +# delete-next=Delete +# delete-next-word=Mod1+d Control+Delete +# extend-to-word-boundary=Control+w +# extend-to-next-whitespace=Control+Shift+w +# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste +# primary-paste=Shift+Insert +# unicode-input=none + +[url-bindings] +# cancel=Control+g Control+c Control+d Escape +# toggle-url-visible=t + +[text-bindings] +# \x03=Mod4+c # Map Super+c -> Ctrl+c + +[mouse-bindings] +# selection-override-modifiers=Shift +# primary-paste=BTN_MIDDLE +# select-begin=BTN_LEFT +# select-begin-block=Control+BTN_LEFT +# select-extend=BTN_RIGHT +# select-extend-character-wise=Control+BTN_RIGHT +# select-word=BTN_LEFT-2 +# select-word-whitespace=Control+BTN_LEFT-2 +# select-row=BTN_LEFT-3 + +# vim: ft=dosini diff --git a/fuzzel/fuzzel.ini b/fuzzel/fuzzel.ini new file mode 100644 index 0000000..df7dfb6 --- /dev/null +++ b/fuzzel/fuzzel.ini @@ -0,0 +1,19 @@ +[main] +dpi-aware=yes +font=HackNerdFont-Regular:size=10 +terminal=foot +width=50 +layer=overlay +exit-on-keyboard-focus-loss=no +inner-pad=15 +fields=filename,name + +[colors] +background=000000ff +text=ffffffff +match=8be9fdff +selection-match=262626ff +selection=44475add +selection-text=f8f8f2ff +border=ee5396ff + diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf new file mode 100644 index 0000000..a0ef932 --- /dev/null +++ b/hypr/hyprland.conf @@ -0,0 +1,173 @@ +# This is an example Hyprland config file. +# +# Refer to the wiki for more information. + +# +# Please note not all available settings / options are set here. +# For a full list, see the wiki +# + +# See https://wiki.hyprland.org/Configuring/Monitors/ +# monitor=,preferred,auto,auto +monitor=eDP-1,1920x1080,0x0,1 + +# See https://wiki.hyprland.org/Configuring/Keywords/ for more + +# Execute your favorite apps at launch +exec-once = hyprpaper + +# Source a file (multi-file configs) +# source = ~/.config/hypr/myColors.conf + +# Some default env vars. +env = XCURSOR_SIZE,24 + +# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ +input { + kb_layout = us + kb_variant = + kb_model = + kb_options = + kb_rules = + + follow_mouse = 1 + + touchpad { + natural_scroll = false + } + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. +} + +source = ~/.cache/wal/colors-hyprland.conf + +general { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + gaps_in = 5 + gaps_out = 10 + border_size = 3 + col.active_border = 0xeeee5396 0xeec1006d 45deg + col.inactive_border = rgba(595959aa) + + + layout = dwindle +} + +decoration { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + rounding = 10 + + blur { + enabled = true + size = 3 + passes = 1 + } + + drop_shadow = true + shadow_range = 4 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) +} + +animations { + enabled = true + + # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +dwindle { + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more + pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # you probably want this +} + +master { + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more + new_is_master = true +} + +gestures { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + workspace_swipe = true +} + +# Example per-device config +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more +device:epic-mouse-v1 { + sensitivity = -0.5 +} + +# Example windowrule v1 +# windowrule = float, ^(kitty)$ +# Example windowrule v2 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more + + +# See https://wiki.hyprland.org/Configuring/Keywords/ for more +$mainMod = SUPER + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod, Q, exec, foot +bind = $mainMod, C, killactive, +bind = $mainMod, M, exit, +bind = $mainMod, E, exec, dolphin +bind = $mainMod, V, togglefloating, +bind = $mainMod, R, exec, fuzzel +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, J, togglesplit, # dwindle + +# Move focus with mainMod + arrow keys +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Media keys +bind = , XF86AudioRaiseVolume, exec, amixer sset Master 5%+ +bind = , XF86AudioLowerVolume, exec, amixer sset Master 5%- +bind = , XF86MonBrightnessUp, exec, brightnessctl set 5%+ +bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%- + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf new file mode 100644 index 0000000..d269000 --- /dev/null +++ b/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = /home/winters/Pics/spyx_girl.jpg +wallpaper = eDP-1,/home/winters/Pics/spyx_girl.jpg diff --git a/nvim/after/plugin/barbar.lua b/nvim/after/plugin/barbar.lua new file mode 100644 index 0000000..4a88fd7 --- /dev/null +++ b/nvim/after/plugin/barbar.lua @@ -0,0 +1,43 @@ +local map = vim.api.nvim_set_keymap +local opts = { noremap = true, silent = true } + +-- Move to previous/next +map('n', '', 'BufferPrevious', opts) +map('n', '', 'BufferNext', opts) +-- Re-order to previous/next +map('n', '', 'BufferMovePrevious', opts) +map('n', '>', 'BufferMoveNext', opts) +-- Goto buffer in position... +map('n', '', 'BufferGoto 1', opts) +map('n', '', 'BufferGoto 2', opts) +map('n', '', 'BufferGoto 3', opts) +map('n', '', 'BufferGoto 4', opts) +map('n', '', 'BufferGoto 5', opts) +map('n', '', 'BufferGoto 6', opts) +map('n', '', 'BufferGoto 7', opts) +map('n', '', 'BufferGoto 8', opts) +map('n', '', 'BufferGoto 9', opts) +map('n', '', 'BufferLast', opts) +-- Pin/unpin buffer +map('n', '', 'BufferPin', opts) +-- Close buffer +map('n', '', 'BufferClose', opts) +-- Wipeout buffer +-- :BufferWipeout +-- Close commands +-- :BufferCloseAllButCurrent +-- :BufferCloseAllButPinned +-- :BufferCloseAllButCurrentOrPinned +-- :BufferCloseBuffersLeft +-- :BufferCloseBuffersRight +-- Magic buffer-picking mode +map('n', '', 'BufferPick', opts) +-- Sort automatically by... +map('n', 'bb', 'BufferOrderByBufferNumber', opts) +map('n', 'bd', 'BufferOrderByDirectory', opts) +map('n', 'bl', 'BufferOrderByLanguage', opts) +map('n', 'bw', 'BufferOrderByWindowNumber', opts) + +-- Other: +-- :BarbarEnable - enables barbar (enabled by default) +-- :BarbarDisable - very bad command, should never be used diff --git a/nvim/after/plugin/cmp.lua b/nvim/after/plugin/cmp.lua new file mode 100644 index 0000000..53ed12a --- /dev/null +++ b/nvim/after/plugin/cmp.lua @@ -0,0 +1,23 @@ +-- Completiong and snippets +local cmp = require('cmp') + +cmp.setup({ + snippet = { + expand = function(args) + require('luasnip').lsp_expand(args.body) + end, + }, + + mapping = cmp.mapping.preset.insert({ + [''] = cmp.mapping.scroll_docs(-4), + [''] = cmp.mapping.scroll_docs(4), + [''] = cmp.mapping.complete(), + [''] = cmp.mapping.abort(), + [''] = cmp.mapping.confirm({ select = true }), + }), + sources = cmp.config.sources({ + { name = 'nvim_lsp' }, + }, { + { name = 'buffer' }, + }) + }) diff --git a/nvim/after/plugin/colors.lua b/nvim/after/plugin/colors.lua new file mode 100644 index 0000000..2a8dbd7 --- /dev/null +++ b/nvim/after/plugin/colors.lua @@ -0,0 +1,3 @@ +vim.opt.background = "dark" +vim.cmd.colorscheme("oxocarbon") + diff --git a/nvim/after/plugin/lspconfig.lua b/nvim/after/plugin/lspconfig.lua new file mode 100644 index 0000000..13142b4 --- /dev/null +++ b/nvim/after/plugin/lspconfig.lua @@ -0,0 +1,53 @@ +-- Setup language servers. +local lspconfig = require('lspconfig') +local capabilities = require('cmp_nvim_lsp').default_capabilities() +-- Global mappings. +-- See `:help vim.diagnostic.*` for documentation on any of the below functions +vim.keymap.set('n', 'e', vim.diagnostic.open_float) +vim.keymap.set('n', '[d', vim.diagnostic.goto_prev) +vim.keymap.set('n', ']d', vim.diagnostic.goto_next) +vim.keymap.set('n', 'q', vim.diagnostic.setloclist) + +-- Use LspAttach autocommand to only map the following keys +-- after the language server attaches to the current buffer +vim.api.nvim_create_autocmd('LspAttach', { + group = vim.api.nvim_create_augroup('UserLspConfig', {}), + callback = function(ev) + -- Enable completion triggered by + -- vim.bo[ev.buf].omnifunc = 'v:lua.vim.lsp.omnifunc' + -- Buffer local mappings. + -- See `:help vim.lsp.*` for documentation on any of the below functions + local opts = { buffer = ev.buf } + vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, opts) + vim.keymap.set('n', 'gd', vim.lsp.buf.definition, opts) + vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts) + vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, opts) + vim.keymap.set('n', '', vim.lsp.buf.signature_help, opts) + vim.keymap.set('n', 'wa', vim.lsp.buf.add_workspace_folder, opts) + vim.keymap.set('n', 'wr', vim.lsp.buf.remove_workspace_folder, opts) + vim.keymap.set('n', 'wl', function() + print(vim.inspect(vim.lsp.buf.list_workspace_folders())) + end, opts) + vim.keymap.set('n', 'D', vim.lsp.buf.type_definition, opts) + vim.keymap.set('n', 'rn', vim.lsp.buf.rename, opts) + vim.keymap.set({ 'n', 'v' }, 'ca', vim.lsp.buf.code_action, opts) + vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts) + vim.keymap.set('n', 'f', function() + vim.lsp.buf.format { async = true } + end, opts) + end, +}) + +--lsp configuration for specific language servers +lspconfig.pyright.setup { + capabilities = capabilities, +} + +lspconfig.clangd.setup { + capabilities = capabilities, +} + +lspconfig.cssls.setup { + capabilities = capabilities, +} + diff --git a/nvim/after/plugin/lualine.lua b/nvim/after/plugin/lualine.lua new file mode 100644 index 0000000..90e6db2 --- /dev/null +++ b/nvim/after/plugin/lualine.lua @@ -0,0 +1 @@ +require('lualine').setup() diff --git a/nvim/after/plugin/mason.lua b/nvim/after/plugin/mason.lua new file mode 100644 index 0000000..9344cc6 --- /dev/null +++ b/nvim/after/plugin/mason.lua @@ -0,0 +1,7 @@ +local mason = require("mason") +local mason_lspconfig = require("mason-lspconfig") + +mason.setup() +mason_lspconfig.setup { + ensure_installed = { "lua_ls","pyright","clangd" }, +} diff --git a/nvim/after/plugin/nvimtree.lua b/nvim/after/plugin/nvimtree.lua new file mode 100644 index 0000000..6aecf88 --- /dev/null +++ b/nvim/after/plugin/nvimtree.lua @@ -0,0 +1,5 @@ +require("nvim-tree").setup() + +vim.keymap.set('n','tt',vim.cmd.NvimTreeToggle) +vim.keymap.set('n','t',vim.cmd.NvimTreeFocus) + diff --git a/nvim/after/plugin/telescope.lua b/nvim/after/plugin/telescope.lua new file mode 100644 index 0000000..3d4736b --- /dev/null +++ b/nvim/after/plugin/telescope.lua @@ -0,0 +1,6 @@ +local builtin = require('telescope.builtin') +vim.keymap.set('n', 'pf', builtin.find_files, {}) +vim.keymap.set('n','',builtin.git_files,{}) +vim.keymap.set('n','ps',function() + builtin.grep_string({search = vim.fn.input("Grep > ")}); +end) diff --git a/nvim/after/plugin/treesitter.lua b/nvim/after/plugin/treesitter.lua new file mode 100644 index 0000000..4711138 --- /dev/null +++ b/nvim/after/plugin/treesitter.lua @@ -0,0 +1,33 @@ +require'nvim-treesitter.configs'.setup { + -- A list of parser names, or "all" (the five listed parsers should always be installed) + ensure_installed = { "c", "lua","javascript", "vim", "vimdoc", "query" }, + + -- Install parsers synchronously (only applied to `ensure_installed`) + sync_install = false, + + -- Automatically install missing parsers when entering buffer + -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally + auto_install = true, + + -- List of parsers to ignore installing (for "all") + -- ignore_install = { "javascript" }, + + ---- If you need to change the installation directory of the parsers (see -> Advanced Setup) + -- parser_install_dir = "/some/path/to/store/parsers", -- Remember to run vim.opt.runtimepath:append("/some/path/to/store/parsers")! + + highlight = { + enable = true, + + -- NOTE: these are the names of the parsers and not the filetype. (for example if you want to + -- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is + -- the name of the parser) + -- list of language that will be disabled + -- disable = { "c", "rust" }, + -- Or use a function for more flexibility, e.g. to disable slow treesitter highlight for large files + -- Setting this to true will run `:h syntax` and tree-sitter at the same time. + -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). + -- Using this option may slow down your editor, and you may see some duplicate highlights. + -- Instead of true it can also be a list of languages + additional_vim_regex_highlighting = false, + }, +} diff --git a/nvim/after/plugin/undotree.lua b/nvim/after/plugin/undotree.lua new file mode 100644 index 0000000..a346462 --- /dev/null +++ b/nvim/after/plugin/undotree.lua @@ -0,0 +1 @@ +vim.keymap.set('n', 'u', vim.cmd.UndotreeToggle) diff --git a/nvim/init.lua b/nvim/init.lua new file mode 100644 index 0000000..3b6c39c --- /dev/null +++ b/nvim/init.lua @@ -0,0 +1,2 @@ +require("winters") + diff --git a/nvim/lua/winters/init.lua b/nvim/lua/winters/init.lua new file mode 100644 index 0000000..de33311 --- /dev/null +++ b/nvim/lua/winters/init.lua @@ -0,0 +1,5 @@ +require("winters.remap") +require("winters.packer") +require("winters.set") + + diff --git a/nvim/lua/winters/packer.lua b/nvim/lua/winters/packer.lua new file mode 100644 index 0000000..d60e4b2 --- /dev/null +++ b/nvim/lua/winters/packer.lua @@ -0,0 +1,45 @@ +-- Package manager configuration + +vim.cmd [[packadd packer.nvim]] + +return require('packer').startup(function(use) + -- Packer + use 'wbthomason/packer.nvim' + -- Telescope + use { + 'nvim-telescope/telescope.nvim', tag = '0.1.2', + requires = { {'nvim-lua/plenary.nvim'} } + } + --Treesitter + use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) + --Undotree + use('mbbill/undotree') + --Lsp + use {'neovim/nvim-lspconfig'} + use {"williamboman/mason.nvim"} + use {"williamboman/mason-lspconfig.nvim"} + + --Autocompletion + use {'hrsh7th/nvim-cmp'} + use {'hrsh7th/cmp-nvim-lsp'} + use({ + "L3MON4D3/LuaSnip", + tag = "v2.*", + }) + + --Oxocarbon colorscheme + use {'winters0x64/oxocarbon.nvim'} + --Nvimtree + use {'nvim-tree/nvim-tree.lua'} + --Icons for lualine and nvimtree + use {'nvim-tree/nvim-web-devicons'} + --Lualine + use { + 'nvim-lualine/lualine.nvim', + requires = { 'nvim-tree/nvim-web-devicons', opt = true } + } + --Barbar + use{'romgrk/barbar.nvim'} + --Toggleterm + -- use {"akinsho/toggleterm.nvim", tag = '*'} + end) diff --git a/nvim/lua/winters/remap.lua b/nvim/lua/winters/remap.lua new file mode 100644 index 0000000..a0f914e --- /dev/null +++ b/nvim/lua/winters/remap.lua @@ -0,0 +1,5 @@ +-- Vim specific remaps + +vim.g.mapleader = " " + + diff --git a/nvim/lua/winters/set.lua b/nvim/lua/winters/set.lua new file mode 100644 index 0000000..b4ea53e --- /dev/null +++ b/nvim/lua/winters/set.lua @@ -0,0 +1,37 @@ +-- Vim Configuration + +--Disable netrw +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 + +vim.opt.nu = true +vim.opt.relativenumber = false + +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true + +vim.opt.smartindent = true + +vim.opt.wrap = false + +vim.opt.swapfile = false +vim.opt.backup = false +vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir" +vim.opt.undofile = true + +vim.opt.hlsearch = false +vim.opt.incsearch = true + +vim.opt.termguicolors = true + +vim.opt.scrolloff = 8 +vim.opt.signcolumn = "yes" +vim.opt.isfname:append("@-@") + +vim.opt.updatetime = 50 + +vim.opt.colorcolumn = "" + + diff --git a/nvim/plugin/packer_compiled.lua b/nvim/plugin/packer_compiled.lua new file mode 100644 index 0000000..69e84fe --- /dev/null +++ b/nvim/plugin/packer_compiled.lua @@ -0,0 +1,174 @@ +-- Automatically generated packer.nvim plugin loader code + +if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then + vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"') + return +end + +vim.api.nvim_command('packadd packer.nvim') + +local no_errors, error_msg = pcall(function() + +_G._packer = _G._packer or {} +_G._packer.inside_compile = true + +local time +local profile_info +local should_profile = false +if should_profile then + local hrtime = vim.loop.hrtime + profile_info = {} + time = function(chunk, start) + if start then + profile_info[chunk] = hrtime() + else + profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 + end + end +else + time = function(chunk, start) end +end + +local function save_profiles(threshold) + local sorted_times = {} + for chunk_name, time_taken in pairs(profile_info) do + sorted_times[#sorted_times + 1] = {chunk_name, time_taken} + end + table.sort(sorted_times, function(a, b) return a[2] > b[2] end) + local results = {} + for i, elem in ipairs(sorted_times) do + if not threshold or threshold and elem[2] > threshold then + results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' + end + end + if threshold then + table.insert(results, '(Only showing plugins that took longer than ' .. threshold .. ' ms ' .. 'to load)') + end + + _G._packer.profile_output = results +end + +time([[Luarocks path setup]], true) +local package_path_str = "/home/winters/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?.lua;/home/winters/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?/init.lua;/home/winters/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?.lua;/home/winters/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/winters/.cache/nvim/packer_hererocks/2.1.1692616192/lib/lua/5.1/?.so" +if not string.find(package.path, package_path_str, 1, true) then + package.path = package.path .. ';' .. package_path_str +end + +if not string.find(package.cpath, install_cpath_pattern, 1, true) then + package.cpath = package.cpath .. ';' .. install_cpath_pattern +end + +time([[Luarocks path setup]], false) +time([[try_loadstring definition]], true) +local function try_loadstring(s, component, name) + local success, result = pcall(loadstring(s), name, _G.packer_plugins[name]) + if not success then + vim.schedule(function() + vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) + end) + end + return result +end + +time([[try_loadstring definition]], false) +time([[Defining packer_plugins]], true) +_G.packer_plugins = { + LuaSnip = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/LuaSnip", + url = "https://github.com/L3MON4D3/LuaSnip" + }, + ["barbar.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/barbar.nvim", + url = "https://github.com/romgrk/barbar.nvim" + }, + ["cmp-nvim-lsp"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + url = "https://github.com/hrsh7th/cmp-nvim-lsp" + }, + ["lualine.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/lualine.nvim", + url = "https://github.com/nvim-lualine/lualine.nvim" + }, + ["mason-lspconfig.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", + url = "https://github.com/williamboman/mason-lspconfig.nvim" + }, + ["mason.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/mason.nvim", + url = "https://github.com/williamboman/mason.nvim" + }, + ["nvim-cmp"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/nvim-cmp", + url = "https://github.com/hrsh7th/nvim-cmp" + }, + ["nvim-lspconfig"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + url = "https://github.com/neovim/nvim-lspconfig" + }, + ["nvim-tree.lua"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/nvim-tree.lua", + url = "https://github.com/nvim-tree/nvim-tree.lua" + }, + ["nvim-treesitter"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + url = "https://github.com/nvim-treesitter/nvim-treesitter" + }, + ["nvim-web-devicons"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + url = "https://github.com/nvim-tree/nvim-web-devicons" + }, + ["oxocarbon.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/oxocarbon.nvim", + url = "https://github.com/winters0x64/oxocarbon.nvim" + }, + ["packer.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/packer.nvim", + url = "https://github.com/wbthomason/packer.nvim" + }, + ["plenary.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/plenary.nvim", + url = "https://github.com/nvim-lua/plenary.nvim" + }, + ["telescope.nvim"] = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/telescope.nvim", + url = "https://github.com/nvim-telescope/telescope.nvim" + }, + undotree = { + loaded = true, + path = "/home/winters/.local/share/nvim/site/pack/packer/start/undotree", + url = "https://github.com/mbbill/undotree" + } +} + +time([[Defining packer_plugins]], false) + +_G._packer.inside_compile = false +if _G._packer.needs_bufread == true then + vim.cmd("doautocmd BufRead") +end +_G._packer.needs_bufread = false + +if should_profile then save_profiles() end + +end) + +if not no_errors then + error_msg = error_msg:gsub('"', '\\"') + vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') +end