Compare commits

...

24 Commits

Author SHA1 Message Date
Ja.KooLit 17a8199707
Merge pull request #383 from alzalia1/weatherpy-bugfix 2 years ago
alzalia1 3301c62d95 fix: fix bug on Weather.py reversing min/max temp 2 years ago
JaKooLit c314624196 updated default waybar style 2 years ago
JaKooLit 50884ce828 updated wallpaper effects 2 years ago
JaKooLit 3836d2c008 Updated wallpaper Select.sh to handle the wallpapers with spaces or white spaces 2 years ago
JaKooLit d7641d43b3 Bump to v2.3.2 2 years ago
Ja.KooLit 27b2d05a69
Merge pull request #381 from AstralCookie/document-10-bitdepth-support 2 years ago
Ja.KooLit 7e7de9c07b
Update Monitors.conf 2 years ago
GabrielGilbert da2f8eec4c config: Add documentation for 10 bit color displays 2 years ago
JaKooLit 6b29fc5d1e hyprlock fix (Debian is showing -e) 2 years ago
JaKooLit 92f7e4c9c1 updated waybar update for arch linux 2 years ago
Ja.KooLit 122e87ed72
Merge pull request #380 from Fernu292/nvim-config 2 years ago
FernuDev e2f3978f91 update: Update plugins, added alpha plugin 2 years ago
Ja.KooLit 0883d13a0b
Merge pull request #378 from JaKooLit/revert-376-development 2 years ago
Ja.KooLit b2e13f85f8
Revert "feat: kitty: Use meslo nerd fonts for oh-my-posh" 2 years ago
Ja.KooLit f7e09af424
Merge pull request #377 from JaKooLit/revert-373-main 2 years ago
Ja.KooLit 3a2c20d7a7
Revert "fix: Fixup waybar's integrated system updater module" 2 years ago
Ja.KooLit 3e3273e545
Merge pull request #376 from ElectroPerf/development 2 years ago
Kunmun 745d41a9ef
feat: kitty: Use meslo nerd fonts for oh-my-posh 2 years ago
Ja.KooLit 9d8709a2ce
Merge pull request #374 from Fernu292/nvim-config 2 years ago
FernuDev fd0344c5e5 feat: add neovim configuration files 2 years ago
FernuDev c72b006c67 feat: add neovim configuration files 2 years ago
Ja.KooLit 33db28c181
Merge pull request #373 from ElectroPerf/main 2 years ago
Kunmun a573529467
fix: Fixup waybar's integrated system updater module 2 years ago
  1. 25
      config/hypr/UserConfigs/Monitors.conf
  2. 105
      config/hypr/UserScripts/WallpaperEffects.sh
  3. 11
      config/hypr/UserScripts/WallpaperSelect.sh
  4. 4
      config/hypr/UserScripts/Weather.py
  5. 10
      config/hypr/hyprlock.conf
  6. 2
      config/hypr/initial-boot.sh
  7. 0
      config/hypr/v2.3.2
  8. 16
      config/nvim/init.lua
  9. 45
      config/nvim/init.vim.txt
  10. 16
      config/nvim/lazy-lock.json
  11. 2
      config/nvim/lua/plugins.lua
  12. 105
      config/nvim/lua/plugins/alpha.lua
  13. 13
      config/nvim/lua/plugins/catppuccin.lua
  14. 25
      config/nvim/lua/plugins/lsp-config.lua
  15. 10
      config/nvim/lua/plugins/lualine.lua
  16. 12
      config/nvim/lua/plugins/neo-tree.lua
  17. 13
      config/nvim/lua/plugins/telescope.lua
  18. 12
      config/nvim/lua/plugins/treesitter.lua
  19. 15
      config/nvim/lua/vim-options.lua
  20. 2
      config/rofi/config-wallpaper-effect.rasi
  21. 2
      config/waybar/modules
  22. 10
      copy.sh

25
config/hypr/UserConfigs/Monitors.conf

@ -5,7 +5,6 @@
# https://wiki.hyprland.org/Configuring/Monitors/
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
# Monitors
monitor=,preferred,auto,1
@ -13,16 +12,17 @@ monitor=,preferred,auto,1
# Created this inorder for the monitor display to not wake up if not intended.
# See here: https://github.com/hyprwm/Hyprland/issues/4090
# Some examples
#monitor = eDP-1, preferred, auto, 1
#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen
#monitor = DP-3, 1920x1080@240, auto, 1
#monitor = DP-1, preferred, auto, 1
#monitor = HDMI-A-1, preferred,auto,1
# QEMU-KVM or any virtual box
# QEMU-KVM, virtual box or vmware
#monitor = Virtual-1, 1920x1080@60,auto,1
# Hi Refresh Rate
# High Refresh Rate
#monitor=,highrr,auto,1
# High Resolution
@ -31,18 +31,21 @@ monitor=,preferred,auto,1
# to disable a monitor
#monitor=name,disable
# Mirror
# Mirror samples
#monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
#monitor=,preferred,auto,1,mirror,eDP-1
# Example :
#monitor=eDP-1,2560x1440@165,0x0,1
#workspace=HDMI-A-1,1
#monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1
#workspace=HDMI-A-2,2
# 10 bit monitor support - See wiki https://wiki.hyprland.org/Configuring/Monitors/#10-bit-support - See NOTES below
# NOTE: Colors registered in Hyprland (e.g. the border color) do not support 10 bit.
# NOTE: Some applications do not support screen capture with 10 bit enabled. (Screen captures like OBS may render black screen)
# monitor=,preferred,auto,1,bitdepth,10
#monitor=eDP-1,transform,0
#monitor=eDP-1,addreserved,10,10,10,49
#workspace=eDP-1,1
# workspaces - Monitor rules
# https://wiki.hyprland.org/Configuring/Workspace-Rules/
# SUPER E - Workspace-Rules
# See ~/.config/hypr/UserConfigs/WorkspaceRules.conf

105
config/hypr/UserScripts/WallpaperEffects.sh

@ -1,9 +1,9 @@
#!/bin/bash
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
# Wallpaper Effects using imagemagick
# Wallpaper Effects using ImageMagick
# Inspiration from ML4W - Stephan Raabe https://gitlab.com/stephan-raabe/dotfiles
# variables
# Variables
current_wallpaper="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current"
wallpaper_output="$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified"
SCRIPTSDIR="$HOME/.config/hypr/scripts"
@ -20,27 +20,26 @@ BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
# Define ImageMagick effects
# https://imagemagick.org/script/magick.php
declare -A effects=(
["Black & White"]="magick $current_wallpaper -colorspace gray -sigmoidal-contrast 10,40% $wallpaper_output"
["Blurred"]="magick $current_wallpaper -blur 0x5 $wallpaper_output"
["Solarize"]="magick $current_wallpaper -solarize 80% $wallpaper_output"
["Sepia Tone"]="magick $current_wallpaper -sepia-tone 65% $wallpaper_output"
["Negate"]="magick $current_wallpaper -negate $wallpaper_output"
["Charcoal"]="magick $current_wallpaper -charcoal 0x5 $wallpaper_output"
["Edge Detect"]="magick $current_wallpaper -edge 1 $wallpaper_output"
["Emboss"]="magick $current_wallpaper -emboss 0x5 $wallpaper_output"
["Sharpen"]="magick $current_wallpaper -sharpen 0x5 $wallpaper_output"
["Oil Paint"]="magick $current_wallpaper -paint 4 $wallpaper_output"
["Vignette"]="magick $current_wallpaper -vignette 0x5 $wallpaper_output"
["Posterize"]="magick $current_wallpaper -posterize 4 $wallpaper_output"
["Polaroid"]="magick $current_wallpaper -polaroid 0 $wallpaper_output"
["No Effects"]="no-effects"
["No Effects"]="no-effects"
["Black & White"]="magick $current_wallpaper -colorspace gray -sigmoidal-contrast 10,40% $wallpaper_output"
["Blurred"]="magick $current_wallpaper -blur 0x10 $wallpaper_output"
["Charcoal"]="magick $current_wallpaper -charcoal 0x5 $wallpaper_output"
["Edge Detect"]="magick $current_wallpaper -edge 1 $wallpaper_output"
["Emboss"]="magick $current_wallpaper -emboss 0x5 $wallpaper_output"
["Negate"]="magick $current_wallpaper -negate $wallpaper_output"
["Oil Paint"]="magick $current_wallpaper -paint 4 $wallpaper_output"
["Posterize"]="magick $current_wallpaper -posterize 4 $wallpaper_output"
["Polaroid"]="magick $current_wallpaper -polaroid 0 $wallpaper_output"
["Sepia Tone"]="magick $current_wallpaper -sepia-tone 65% $wallpaper_output"
["Solarize"]="magick $current_wallpaper -solarize 80% $wallpaper_output"
["Sharpen"]="magick $current_wallpaper -sharpen 0x5 $wallpaper_output"
["Vignette"]="magick $current_wallpaper -vignette 0x5 $wallpaper_output"
["Zoomed"]="magick $current_wallpaper -gravity Center -extent 1:1 $wallpaper_output"
)
# Function to apply no effects
no_effects() {
no-effects() {
swww img -o "$focused_monitor" "$current_wallpaper" $SWWW_PARAMS &
# Wait for swww command to complete
wait $!
@ -51,56 +50,52 @@ no_effects() {
# Refresh rofi, waybar, wallust palettes
"${SCRIPTSDIR}/Refresh.sh"
notify-send -u low -i "$iDIR/bell.png" "No wallpaper effects"
# copying wallpaper for rofi menu
cp $current_wallpaper $wallpaper_output
# copying wallpaper for rofi menu
cp "$current_wallpaper" "$wallpaper_output"
}
# Function to run rofi menu
main() {
# Populate rofi menu options
options="No Effects"
options=("No Effects")
for effect in "${!effects[@]}"; do
if [ "$effect" != "No Effects" ]; then
options+="\n$effect"
fi
[[ "$effect" != "No Effects" ]] && options+=("$effect")
done
# rofi
choice=$(echo -e "$options" | rofi -i -dmenu -config ~/.config/rofi/config-wallpaper-effect.rasi)
if [ ! -z "$choice" ]; then
# Check if the choice exists in the array
if [[ "${effects[$choice]+exists}" ]]; then
if [ "$choice" == "No Effects" ]; then
no_effects
else
# Apply selected effect
notify-send -u normal -i "$iDIR/bell.png" "Applying $choice effects"
eval "${effects[$choice]}"
# Wait for effects to be applied
sleep 1
# Execute swww command after image conversion
swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS &
# Wait for swww command to complete
wait $!
# Run other commands after swww
wallust run "$wallpaper_output" -s &
# Wait for other commands to finish
wait $!
# Refresh rofi, waybar, wallust palettes
"${SCRIPTSDIR}/Refresh.sh"
notify-send -u low -i "$iDIR/bell.png" "$choice effects applied"
fi
# Show rofi menu and handle user choice
choice=$(printf "%s\n" "${options[@]}" | LC_COLLATE=C sort | rofi -dmenu -p "Choose effect" -i -config ~/.config/rofi/config-wallpaper-effect.rasi)
# Process user choice
if [[ -n "$choice" ]]; then
if [[ "$choice" == "No Effects" ]]; then
no-effects
elif [[ "${effects[$choice]+exists}" ]]; then
# Apply selected effect
notify-send -u normal -i "$iDIR/bell.png" "Applying $choice effects"
eval "${effects[$choice]}"
# Wait for effects to be applied
sleep 1
# Execute swww command after image conversion
swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS &
# Wait for swww command to complete
wait $!
# Wait for other commands to finish
wallust run "$wallpaper_output" -s &
# Wait for other commands to finish
wait $!
# Refresh rofi, waybar, wallust palettes
"${SCRIPTSDIR}/Refresh.sh"
notify-send -u low -i "$iDIR/bell.png" "$choice effects applied"
else
echo "Effects not recognized."
echo "Effect '$choice' not recognized."
fi
fi
}
# Check if rofi is already running
# Check if rofi is already running and kill it
if pidof rofi > /dev/null; then
pkill rofi
exit 0
pkill rofi
exit 0
fi
main

11
config/hypr/UserScripts/WallpaperSelect.sh

@ -21,20 +21,23 @@ if pidof swaybg > /dev/null; then
pkill swaybg
fi
# Retrieve image files
PICS=($(find "${wallDIR}" -type f \( -iname \*.jpg -o -iname \*.jpeg -o -iname \*.png -o -iname \*.gif \)))
# Retrieve image files using null delimiter to handle spaces in filenames
mapfile -d '' PICS < <(find "${wallDIR}" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" \) -print0)
RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}"
RANDOM_PIC_NAME=". random"
# Rofi command
rofi_command="rofi -i -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi"
# Sorting Wallpapers
menu() {
sorted_options=($(printf '%s\n' "${PICS[@]}" | sort))
# Sort the PICS array
IFS=$'\n' sorted_options=($(sort <<<"${PICS[*]}"))
# Place ". random" at the beginning with the random picture as an icon
printf "%s\x00icon\x1f%s\n" "$RANDOM_PIC_NAME" "$RANDOM_PIC"
for pic_path in "${sorted_options[@]}"; do
pic_name=$(basename "$pic_path")
# Displaying .gif to indicate animated images

4
config/hypr/UserScripts/Weather.py

@ -63,12 +63,12 @@ temp_feel_text = f"Feels like {temp_feel}c"
# min-max temperature
temp_min = (
html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
.eq(0)
.eq(1)
.text()
)
temp_max = (
html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
.eq(1)
.eq(0)
.text()
)
temp_min_max = f" {temp_min}\t\t {temp_max}"

10
config/hypr/hyprlock.conf

@ -60,8 +60,8 @@ label {
# Hour-Time
label {
monitor =
text = cmd[update:1000] echo -e "$(date +"%H")"
# text = cmd[update:1000] echo -e "$(date +"%I")" #AM/PM
text = cmd[update:1000] echo "$(date +"%H")"
# text = cmd[update:1000] echo "$(date +"%I")" #AM/PM
color = rgba(255, 185, 0, .6)
font_size = 200
font_family = JetBrains Mono Nerd Font Mono ExtraBold
@ -73,7 +73,7 @@ label {
# Minute-Time
label {
monitor =
text = cmd[update:1000] echo -e "$(date +"%M")"
text = cmd[update:1000] echo "$(date +"%M")"
color = rgba(255, 255, 255, .6)
font_size = 200
font_family = JetBrains Mono Nerd Font Mono ExtraBold
@ -85,8 +85,8 @@ label {
# Seconds-Time
label {
monitor =
text = cmd[update:1000] echo -e "$(date +"%S")"
# text = cmd[update:1000] echo -e "$(date +"%S %p")" #AM/PM
text = cmd[update:1000] echo "$(date +"%S")"
# text = cmd[update:1000] echo "$(date +"%S %p")" #AM/PM
color = $color12
font_size = 40
font_family = JetBrains Mono Nerd Font Mono ExtraBold

2
config/hypr/initial-boot.sh

@ -8,7 +8,7 @@
# Variables
scriptsDir=$HOME/.config/hypr/scripts
wallpaper=$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified
waybar_style="$HOME/.config/waybar/style/[Wallust] Box type.css"
waybar_style="$HOME/.config/waybar/style/[Dark] Half-Moon.css"
kvantum_theme="Catppuccin-Mocha"
color_scheme="prefer-dark"
gtk_theme="Andromeda-dark"

0
config/hypr/v2.3.1 → config/hypr/v2.3.2

16
config/nvim/init.lua

@ -0,0 +1,16 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup("plugins")
require("vim-options")

45
config/nvim/init.vim.txt

@ -0,0 +1,45 @@
" Basic Configurations
" FernuDev Github - https://github.com/Fernu292
set number
set mouse=a
syntax enable
set showcmd
set encoding=utf-8
set showmatch
set relativenumber
set expandtab
set tabstop=4
set shiftwidth=0
set softtabstop=0
set autoindent
set smarttab
call plug#begin()
Plug 'nvim-lualine/lualine.nvim'
Plug 'nvim-tree/nvim-web-devicons'
Plug 'navarasu/onedark.nvim'
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
call plug#end()
" Calling the Lualine pluggin
colorscheme onedark
lua << END
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'material'
}
}
require('onedark').setup {
style = "dark",
transparent = true,
}
require('onedark').load()
END

16
config/nvim/lazy-lock.json

@ -0,0 +1,16 @@
{
"alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" },
"catppuccin": { "branch": "main", "commit": "894efb557728e532aa98b98029d16907a214ec05" },
"lazy.nvim": { "branch": "main", "commit": "dea1f687fe6e15eb3098557a69d44231ebcb6cf5" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "37a336b653f8594df75c827ed589f1c91d91ff6c" },
"mason.nvim": { "branch": "main", "commit": "2af3b574b68dc0273c7fb60369f3a48d5a16a857" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "29f7c215332ba95e470811c380ddbce2cebe2af4" },
"nui.nvim": { "branch": "main", "commit": "a2bc1e9d0359caa5d11ad967cd1e30e8d4676226" },
"nvim-lspconfig": { "branch": "master", "commit": "cf97d2485fc3f6d4df1b79a3ea183e24c272215e" },
"nvim-treesitter": { "branch": "master", "commit": "d4a888ae3cff358cb239643c45b2b38bb60e29c6" },
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }
}

2
config/nvim/lua/plugins.lua

@ -0,0 +1,2 @@
return {}

105
config/nvim/lua/plugins/alpha.lua

@ -0,0 +1,105 @@
--- @type LazyPluginSpec
return {
"goolord/alpha-nvim",
event = "VimEnter",
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = function()
local dashboard = require("alpha.themes.dashboard")
require("alpha.term")
local arttoggle = false
local logo = {
[[ ]],
[[ ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ]],
[[ ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ]],
[[ ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ]],
[[ ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ]],
[[ ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ]],
[[ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ]],
[[ ]],
}
local art = {
-- { name, width, height }
{ "tohru", 62, 17 },
}
if arttoggle == true then
dashboard.opts.opts.noautocmd = true
dashboard.section.terminal.opts.redraw = true
local path = vim.fn.stdpath("config") .. "/assets/"
-- local random = math.random(1, #art)
local currentart = art[1]
dashboard.section.terminal.command = "cat " .. path .. currentart[1]
dashboard.section.terminal.width = currentart[2]
dashboard.section.terminal.height = currentart[3]
dashboard.opts.layout = {
dashboard.section.terminal,
{ type = "padding", val = 2 },
dashboard.section.buttons,
dashboard.section.footer,
}
else
dashboard.section.header.val = logo
end
dashboard.section.buttons.val = {
dashboard.button("f", " " .. "Find files", ":Telescope find_files <CR>"),
}
for _, button in ipairs(dashboard.section.buttons.val) do
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
end
dashboard.section.header.opts.hl = "Function"
dashboard.section.buttons.opts.hl = "Identifier"
dashboard.section.footer.opts.hl = "Function"
dashboard.opts.layout[1].val = 4
return dashboard
end,
config = function(_, dashboard)
if vim.o.filetype == "lazy" then
vim.cmd.close()
vim.api.nvim_create_autocmd("User", {
pattern = "AlphaReady",
callback = function()
require("lazy").show()
end,
})
end
require("alpha").setup(dashboard.opts)
vim.api.nvim_create_autocmd("User", {
pattern = "LazyVimStarted",
callback = function()
local v = vim.version()
local dev = ""
if v.prerelease == "dev" then
dev = "-dev+" .. v.build
else
dev = ""
end
local version = v.major .. "." .. v.minor .. "." .. v.patch .. dev
local stats = require("lazy").stats()
local plugins_count = stats.loaded .. "/" .. stats.count
local ms = math.floor(stats.startuptime + 0.5)
local time = vim.fn.strftime("%H:%M:%S")
local date = vim.fn.strftime("%d.%m.%Y")
local line1 = " " .. plugins_count .. " plugins loaded in " .. ms .. "ms"
local line2 = "󰃭 " .. date .. " " .. time
local line3 = " " .. version
local line1_width = vim.fn.strdisplaywidth(line1)
local line2Padded = string.rep(" ", (line1_width - vim.fn.strdisplaywidth(line2)) / 2) .. line2
local line3Padded = string.rep(" ", (line1_width - vim.fn.strdisplaywidth(line3)) / 2) .. line3
dashboard.section.footer.val = {
line1,
line2Padded,
line3Padded,
}
pcall(vim.cmd.AlphaRedraw)
end,
})
end,
}

13
config/nvim/lua/plugins/catppuccin.lua

@ -0,0 +1,13 @@
return {
"catppuccin/nvim",
lazy = false,
name = "catppuccin",
priority = 1000,
config = function()
require("catppuccin").setup({
transparent_background = true,
})
vim.cmd.colorscheme "catppuccin"
end
}

25
config/nvim/lua/plugins/lsp-config.lua

@ -0,0 +1,25 @@
return {
{
"williamboman/mason.nvim",
config = function()
require("mason").setup()
end
},
{
"williamboman/mason-lspconfig.nvim",
config = function()
require("mason-lspconfig").setup({
ensure_installed = {"lua_ls", "clangd", "cmake", "cssls", "html"}
})
end
},
{
"neovim/nvim-lspconfig",
config = function()
local lspconfig = require("lspconfig")
lspconfig.lua_ls.setup({})
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
end
}
}

10
config/nvim/lua/plugins/lualine.lua

@ -0,0 +1,10 @@
return {
'nvim-lualine/lualine.nvim',
config = function()
require('lualine').setup({
options = {
theme = 'dracula'
}
})
end
}

12
config/nvim/lua/plugins/neo-tree.lua

@ -0,0 +1,12 @@
return {
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
},
config = function()
vim.keymap.set('n', '<C-n>', ':Neotree filesystem reveal left<CR>', {})
end
}

13
config/nvim/lua/plugins/telescope.lua

@ -0,0 +1,13 @@
return {
{
'nvim-telescope/telescope.nvim', tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function()
local builtin = require("telescope.builtin")
vim.keymap.set('n', '<C-p>', builtin.find_files, {})
end
},
{
"nvim-telescope/telescope-ui-select.nvim"
}
}

12
config/nvim/lua/plugins/treesitter.lua

@ -0,0 +1,12 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = {"lua", "c", "javascript"},
highlight = { enable = true },
indent = { enable = true }
})
end
}

15
config/nvim/lua/vim-options.lua

@ -0,0 +1,15 @@
vim.cmd("set number")
vim.cmd("set mouse=a")
vim.cmd("syntax enable")
vim.cmd("set showcmd")
vim.cmd("set encoding=utf-8")
vim.cmd("set showmatch")
vim.cmd("set relativenumber")
vim.cmd("set expandtab")
vim.cmd("set tabstop=4")
vim.cmd("set shiftwidth=0")
vim.cmd("set softtabstop=0")
vim.cmd("set autoindent")
vim.cmd("set smarttab")
vim.keymap.set('n', '<C-h>', '<C-w>h', {})
vim.keymap.set('n', '<C-l>', '<C-w>l',{})

2
config/rofi/config-wallpaper-effect.rasi

@ -18,7 +18,7 @@ window {
listview {
fixed-columns: false;
colums: 2;
lines: 7;
lines: 8;
}
/* ---- Inputbar ---- */

2
config/waybar/modules

@ -707,7 +707,7 @@
"exec": "checkupdates | wc -l",
"exec-if": "[[ $(checkupdates | wc -l) ]]",
"interval": 15,
"on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'",
"on-click": "if command -v paru &> /dev/null; then kitty -T update paru -Syu; else kitty -T update yay -Syu; fi && notify-send 'The system has been updated'",
"tooltip": true,
"tooltip-format": "Left Click: Update System\nArch Linux Only",
},

10
copy.sh

@ -4,7 +4,7 @@
clear
wallpaper=$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified
waybar_style="$HOME/.config/waybar/style/[Wallust] Box type.css"
waybar_style="$HOME/.config/waybar/style/[Dark] Half-Moon.css"
waybar_config="$HOME/.config/waybar/configs/[TOP] Default_v3"
waybar_config_laptop="$HOME/.config/waybar/configs/[TOP] Default Laptop_v3"
@ -218,11 +218,11 @@ while true; do
sed -i 's#^ "format": "{:%a %d | %H:%M}", // 24H# \/\/"format": "{:%a %d | %H:%M}", // 24H#' config/waybar/modules 2>&1 | tee -a "$LOG"
# for hyprlock
sed -i 's/^ text = cmd\[update:1000\] echo -e "\$(date +"%H")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
sed -i 's/^# *text = cmd\[update:1000\] echo -e "\$(date +"%I")" #AM\/PM/ text = cmd\[update:1000\] echo -e "\$(date +"%I")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
sed -i 's/^ text = cmd\[update:1000\] echo "\$(date +"%H")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
sed -i 's/^# *text = cmd\[update:1000\] echo "\$(date +"%I")" #AM\/PM/ text = cmd\[update:1000\] echo "\$(date +"%I")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
sed -i 's/^ text = cmd\[update:1000\] echo -e "\$(date +"%S")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
sed -i 's/^# *text = cmd\[update:1000\] echo -e "\$(date +"%S %p")" #AM\/PM/ text = cmd\[update:1000\] echo -e "\$(date +"%S %p")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
sed -i 's/^ text = cmd\[update:1000\] echo "\$(date +"%S")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
sed -i 's/^# *text = cmd\[update:1000\] echo "\$(date +"%S %p")" #AM\/PM/ text = cmd\[update:1000\] echo "\$(date +"%S %p")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG"
# for SDDM (simple-sddm)
sddm_folder="/usr/share/sddm/themes/simple-sddm"

Loading…
Cancel
Save