Compare commits
11 commits
f037f54f85
...
b66d940330
Author | SHA1 | Date | |
---|---|---|---|
b66d940330 | |||
30b328c2d9 | |||
3474d5490d | |||
45878a6e7e | |||
b386781ab5 | |||
22ed7b92eb | |||
97a4953abe | |||
c87a485374 | |||
17e8c76c98 | |||
d3336137a4 | |||
83413516e7 |
10 changed files with 99 additions and 10 deletions
|
@ -4,3 +4,8 @@ alias mountns="sudo mount -t nfs manjarodesktop:/mnt/TerraBeef/NetShare /mnt/man
|
||||||
alias sshcloud="ssh -p 1919 emge@95.217.8.112"
|
alias sshcloud="ssh -p 1919 emge@95.217.8.112"
|
||||||
alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
|
alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
|
||||||
alias syncheavy="rsync -azP --no-perms --no-owner --no-group --no-times --delete /home/emge/Development/11ty-projects/heavy-rocks/_site/ emge@95.217.8.112:/var/www/heavy.rocks/"
|
alias syncheavy="rsync -azP --no-perms --no-owner --no-group --no-times --delete /home/emge/Development/11ty-projects/heavy-rocks/_site/ emge@95.217.8.112:/var/www/heavy.rocks/"
|
||||||
|
alias s!="sudo systemctl"
|
||||||
|
alias portcheck="sudo lsof -i -P -n | grep LISTEN"
|
||||||
|
alias pubip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||||
|
alias piastart="sudo VPN_PROTOCOL=wireguard DISABLE_IPV6=yes DIP_TOKEN=no AUTOCONNECT=true PIA_PF=flase PIA_DNS=true PIA_USER=p7769426 PIA_PASS=2ZZtyE4Ujz ./run_setup.sh"
|
||||||
|
alias piastop="wg-quick down pia"
|
||||||
|
|
|
@ -3,10 +3,10 @@ if status is-interactive
|
||||||
end
|
end
|
||||||
|
|
||||||
# set greeting to text
|
# set greeting to text
|
||||||
set -g fish_greeting 'Hey, sup?'
|
set -g fish_greeting ''
|
||||||
# function fish_greeting
|
#function fish_greeting
|
||||||
# cowfortune
|
# cowfortune
|
||||||
# end
|
#end
|
||||||
|
|
||||||
# start starship prompt
|
# start starship prompt
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
@ -15,3 +15,5 @@ starship init fish | source
|
||||||
source ~/.bash_aliases
|
source ~/.bash_aliases
|
||||||
|
|
||||||
set -gx EDITOR nvim
|
set -gx EDITOR nvim
|
||||||
|
|
||||||
|
set -gx DATABASE_URL user=miniflux password=Z5l3KVoEXY dbname=miniflux sslmode=disable
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
require("user.options")
|
require("user.options")
|
||||||
require("user.keymaps")
|
require("user.keymaps")
|
||||||
require("user.plugins")
|
require("user.plugins")
|
||||||
vim.cmd[[colorscheme Spacedust]]
|
--vim.cmd[[colorscheme Spacedust]]
|
||||||
|
vim.cmd([[colorscheme gruvbox]])
|
||||||
|
|
|
@ -8,3 +8,10 @@ vim.keymap.set('n', '<C-j>', '<C-w>j')
|
||||||
vim.keymap.set('n', '<C-k>', '<C-w>k')
|
vim.keymap.set('n', '<C-k>', '<C-w>k')
|
||||||
vim.keymap.set('n', '<C-h>', '<C-w>h')
|
vim.keymap.set('n', '<C-h>', '<C-w>h')
|
||||||
vim.keymap.set('n', '<C-l>', '<C-w>l')
|
vim.keymap.set('n', '<C-l>', '<C-w>l')
|
||||||
|
|
||||||
|
-- telescope keymaps
|
||||||
|
local builtin = require('telescope.builtin')
|
||||||
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||||||
|
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
||||||
|
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
||||||
|
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
||||||
|
|
|
@ -13,3 +13,4 @@ vim.opt.cursorlineopt = "screenline" -- hightlight line only
|
||||||
vim.opt.termguicolors = true -- enables 24-bit color
|
vim.opt.termguicolors = true -- enables 24-bit color
|
||||||
vim.opt.splitbelow = true -- new horizontal splits go below
|
vim.opt.splitbelow = true -- new horizontal splits go below
|
||||||
vim.opt.splitright = true -- new vertical splits go right
|
vim.opt.splitright = true -- new vertical splits go right
|
||||||
|
vim.opt.background = "dark"
|
||||||
|
|
|
@ -17,16 +17,39 @@ return require('packer').startup(function(use)
|
||||||
'williamboman/mason.nvim',
|
'williamboman/mason.nvim',
|
||||||
run = ':MasonUpdate' -- :MasonUpdate updates registry contents
|
run = ':MasonUpdate' -- :MasonUpdate updates registry contents
|
||||||
}
|
}
|
||||||
use 'NvChad/nvim-colorizer.lua'
|
-- use 'NvChad/nvim-colorizer.lua'
|
||||||
|
use 'uga-rosa/ccc.nvim'
|
||||||
use 'windwp/nvim-autopairs'
|
use 'windwp/nvim-autopairs'
|
||||||
use 'nvim-tree/nvim-tree.lua'
|
use 'nvim-tree/nvim-tree.lua'
|
||||||
use 'nvim-tree/nvim-web-devicons'
|
use 'nvim-tree/nvim-web-devicons'
|
||||||
|
use 'williamboman/mason-lspconfig.nvim'
|
||||||
|
use 'neovim/nvim-lspconfig'
|
||||||
use {'akinsho/bufferline.nvim', tag = "*", requires = 'nvim-tree/nvim-web-devicons'}
|
use {'akinsho/bufferline.nvim', tag = "*", requires = 'nvim-tree/nvim-web-devicons'}
|
||||||
-- use {'neoclide/coc.nvim', branch = 'release'}
|
-- use {'neoclide/coc.nvim', branch = 'release'}
|
||||||
|
|
||||||
-- Themes
|
-- Themes
|
||||||
use 'folke/tokyonight.nvim'
|
use 'folke/tokyonight.nvim'
|
||||||
|
|
||||||
|
use { "ellisonleao/gruvbox.nvim" }
|
||||||
|
|
||||||
|
use 'numToStr/Comment.nvim'
|
||||||
|
|
||||||
|
use 'mfussenegger/nvim-dap'
|
||||||
|
use { "rcarriga/nvim-dap-ui", requires = {"mfussenegger/nvim-dap"}}
|
||||||
|
use 'mfussenegger/nvim-lint'
|
||||||
|
use 'mhartington/formatter.nvim'
|
||||||
|
|
||||||
|
use 'nvim-lua/plenary.nvim'
|
||||||
|
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
|
||||||
|
use {
|
||||||
|
'nvim-telescope/telescope.nvim', tag = '0.1.5',
|
||||||
|
requires = { {'nvim-lua/plenary.nvim'} }
|
||||||
|
}
|
||||||
|
use {
|
||||||
|
'nvim-treesitter/nvim-treesitter',
|
||||||
|
run = ':TSUpdate'
|
||||||
|
}
|
||||||
|
|
||||||
-- Automatically set up your configuration after cloning packer.nvim
|
-- Automatically set up your configuration after cloning packer.nvim
|
||||||
-- Put this at the end after all plugins
|
-- Put this at the end after all plugins
|
||||||
if packer_bootstrap then
|
if packer_bootstrap then
|
||||||
|
@ -37,7 +60,18 @@ return require('packer').startup(function(use)
|
||||||
require 'mason'.setup()
|
require 'mason'.setup()
|
||||||
|
|
||||||
-- colorizer setup
|
-- colorizer setup
|
||||||
require 'colorizer'.setup()
|
-- require 'colorizer'.setup()
|
||||||
|
|
||||||
|
-- comment.nvim for toggling line comments
|
||||||
|
require 'Comment'.setup()
|
||||||
|
|
||||||
|
-- ccc.nvim setup
|
||||||
|
require 'ccc'.setup({
|
||||||
|
highlighter = {
|
||||||
|
auto_enable = true,
|
||||||
|
lsp = false,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
-- autopairs setup
|
-- autopairs setup
|
||||||
require 'nvim-autopairs'.setup()
|
require 'nvim-autopairs'.setup()
|
||||||
|
@ -45,6 +79,11 @@ return require('packer').startup(function(use)
|
||||||
-- nvim-tree setup
|
-- nvim-tree setup
|
||||||
require 'nvim-tree'.setup()
|
require 'nvim-tree'.setup()
|
||||||
|
|
||||||
|
-- lspconfig
|
||||||
|
require 'mason-lspconfig'.setup()
|
||||||
|
require 'lspconfig'.cssls.setup{}
|
||||||
|
require 'lspconfig'.jsonls.setup{}
|
||||||
|
|
||||||
-- bufferline setup
|
-- bufferline setup
|
||||||
require 'bufferline'.setup()
|
require 'bufferline'.setup()
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,12 @@ set $menu rofi -show drun
|
||||||
# start notification deamon
|
# start notification deamon
|
||||||
exec swaync
|
exec swaync
|
||||||
|
|
||||||
|
# start protonmail-bridge
|
||||||
|
exec sleep 5 && protonmail-bridge --no-window
|
||||||
|
|
||||||
|
# start nextcloud-desktop
|
||||||
|
exec sleep 10 && nextcloud --background
|
||||||
|
|
||||||
# add keybinding to toggle swaync notification center
|
# add keybinding to toggle swaync notification center
|
||||||
bindsym $mod+Shift+n exec swaync-client -t -sw
|
bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||||
|
|
||||||
|
@ -33,7 +39,7 @@ bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||||
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
# output * bg ~/Wallpapers/orangeMountains.png fill
|
# output * bg ~/Wallpapers/orangeMountains.png fill
|
||||||
# output * bg #c0caf5 solid_color
|
# output * bg #c0caf5 solid_color
|
||||||
output * bg ~/Wallpapers/chillGruvboxStreet.png fill
|
output * bg ~/Wallpapers/orangeMountains.png fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
@ -56,7 +62,7 @@ output eDP-1 resolution 1920x1080 position 0,0
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
||||||
set $lock 'swaylock -e -F -i ~/Wallpapers/chillGruvboxStreet.png'
|
set $lock 'swaylock -e -F -i ~/Wallpapers/orangeMountains.png'
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 $lock \
|
timeout 300 $lock \
|
||||||
timeout 310 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
timeout 310 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
swayidle \
|
swayidle \
|
||||||
timeout 10 'swaymsg "output * power off"' \
|
timeout 10 'swaymsg "output * power off"' \
|
||||||
resume 'swaymsg "output * power on"' &
|
resume 'swaymsg "output * power on"' &
|
||||||
swaylock -e -F -i ~/Wallpapers/chillGruvboxStreet.png
|
swaylock -e -F -i ~/Wallpapers/orangeMountains.png
|
||||||
kill %%
|
kill %%
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
],
|
],
|
||||||
"modules-right":
|
"modules-right":
|
||||||
[
|
[
|
||||||
|
"tray",
|
||||||
|
"custom/temp2",
|
||||||
"custom/notification",
|
"custom/notification",
|
||||||
"custom/pacman",
|
"custom/pacman",
|
||||||
"backlight",
|
"backlight",
|
||||||
|
@ -169,6 +171,25 @@
|
||||||
},
|
},
|
||||||
"exec-if": "which waybar-updates",
|
"exec-if": "which waybar-updates",
|
||||||
"exec": "waybar-updates"
|
"exec": "waybar-updates"
|
||||||
|
},
|
||||||
|
|
||||||
|
"temperature": {
|
||||||
|
"thermal-zone": 0,
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"formate-critical": "{temperatureC}°C",
|
||||||
|
"format": "{temperatureC}°C"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/temp2": {
|
||||||
|
"hwmon-path": ["/sys/class/hwmon/hwmon2/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"formate-critical": "{temperatureC}°C",
|
||||||
|
"format": "{temperatureC}°C"
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 18,
|
||||||
|
"spacing": 10
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,3 +150,10 @@ tooltip label
|
||||||
animation-name: blink-update;
|
animation-name: blink-update;
|
||||||
animation-duration: 3s;
|
animation-duration: 3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tray
|
||||||
|
{
|
||||||
|
padding: 0 10px;
|
||||||
|
background-color: @primary_fg_color;
|
||||||
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue