Compare commits

..

15 Commits

Author SHA1 Message Date
cb33d1be20 More espanso completions 2024-04-25 18:40:29 +02:00
7615465c60 Ranger trashing fix 2024-04-25 18:34:35 +02:00
d682f99d12 Sxhkd Update 2024-04-25 18:33:03 +02:00
e617b481af Update Gitignore to include ulauncher stuff 2024-04-25 18:08:41 +02:00
c1928ff080 Remove leftwm dots 2024-04-25 17:59:59 +02:00
34f0b74f6f hyprctl completions 2024-04-22 15:30:50 +02:00
8412e10239 Small changes to waybar, nvim conf update
TODO: rewrite nvim configs to lua
2024-04-22 15:29:14 +02:00
2e9e6dc76f Minor editorconfig changes + new gpg key 2024-04-22 15:27:31 +02:00
4818228ebd Hyprland dots update 2024-04-22 15:24:39 +02:00
5b1f7d213c Kittyfication of jgmenu, also shutdowns 2024-02-17 22:08:00 +01:00
3664af2f1e Switchback to jgmenu 2024-02-17 22:07:08 +01:00
25398c0d47 Dunst shenanigans 2024-02-06 00:29:43 +01:00
8374ef55d4 Fix a forkbomb ;-; 2024-02-05 22:25:59 +01:00
8d341f276e DAP integration for nvim 2024-02-05 18:44:03 +01:00
6cacca348a Autostarting apps, hyprland binding changes 2024-02-05 18:43:11 +01:00
18 changed files with 171 additions and 460 deletions

15
.gitignore vendored
View File

@@ -1,15 +1,2 @@
ulauncher/.config/ulauncher/ext_preferences/com.github.brpaz.ulauncher-brotab.db
ulauncher/.config/ulauncher/ext_preferences/com.github.aksdb.ulauncher-gitmoji.db
ulauncher/.config/ulauncher/ext_preferences/com.github.brpaz.ulauncher-dendron.db
ulauncher/.config/ulauncher/ext_preferences/com.github.brpaz.ulauncher-statuspages.db
ulauncher/.config/ulauncher/ext_preferences/com.github.brpaz.ulauncher-trello.db
ulauncher/.config/ulauncher/ext_preferences/com.github.brpaz.ulauncher-timestamp.db
ulauncher/.config/ulauncher/ext_preferences/com.github.friday.ulauncher-hash2.db
ulauncher/.config/ulauncher/ext_preferences/com.github.kazumasan.ulauncher-sessions.db
ulauncher/.config/ulauncher/ext_preferences/com.github.mikebarkmin.ulauncher-duckduckgo.db
ulauncher/.config/ulauncher/ext_preferences/com.github.ncroxas.coingecko-query.db
ulauncher/.config/ulauncher/ext_preferences/com.github.msaistaken.ulauncher-translator.db
ulauncher/.config/ulauncher/ext_preferences/com.github.subutux.ulauncher-variety.db
ulauncher/.config/ulauncher/ext_preferences/com.github.noam09.ulauncher-remmina.db
ulauncher/.config/ulauncher/ext_preferences/com.github.wsdfhjxc.ulauncher-qr-code.db
ulauncher/.config/ulauncher/ext_preferences/**
jgmenu/.config/jgmenu/backup/**

View File

@@ -6,3 +6,26 @@ indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8
[*.{c,h}pp]
indent_style = space
indent_size = 2
# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2

View File

@@ -250,7 +250,7 @@
[user]
name = VectorKappa
email = piotrpatalong@gmail.com
signingkey = 0917E6568B3A9A02
signingkey = 32DCE8467E7FBD4F
[mergetool]
keepBackup = true
[init]

View File

@@ -29,8 +29,12 @@
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "400x10-600+35"
#
#geometry = "400x10-600+35"
width = 400
height = 600
origin = top-right
offset = 10x35
# Turn on the progess bar
progress_bar = true
@@ -60,11 +64,6 @@
# present (e.g. xcompmgr, compiz, etc.).
transparency = 30
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
@@ -81,7 +80,7 @@
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 0
frame_width = 1
# Defines color of the frame around the notification window.
#frame_color = "#aaaaaa00"
@@ -96,7 +95,7 @@
frame_color = "#8AADF4"
frame_color = "#ED8796"
separator_color= frame
@@ -112,7 +111,7 @@
### Text ###
font = Monospace 8
font = SauceCodePro Nerd Font Propo 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
@@ -189,19 +188,22 @@
### Icons ###
enable_recursive_icon_lookup = true
icon_theme = Papirus-Dark
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 0
min_icon_size = 16
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
# Paths to default icons.
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
icon_path = /usr/share/icons/Papirus-Dark/16x16/actions/:/usr/share/icons/Papirus-Dark/16x16/devices/
### History ###
@@ -229,20 +231,6 @@
# Define the class of the windows spawned by dunst
class = Dunst
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = true
# Manage dunst's desire for talking
# Can be one of the following values:
# crit: Critical features. Dunst aborts
# warn: Only non-fatal warnings
# mesg: Important Messages
# info: all unimportant stuff
# debug: all less than unimportant stuff
verbosity = mesg
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
@@ -332,16 +320,16 @@
[urgency_low]
background = "#24273A"
foreground = "#CAD3F5"
foreground = "#6E738D"
[urgency_normal]
background = "#24273A"
foreground = "#CAD3F5"
[urgency_critical]
background = "#24273A"
foreground = "#CAD3F5"
frame_color = "#F5A97F"
background = "#ED8796"
foreground = "#24273A"
frame_color = "#EED49F"
#[urgency_low]
## IMPORTANT: colors have to be defined in quotation marks.

View File

@@ -64,3 +64,8 @@ matches:
- trigger: ":fitnessgram"
replace: "The FitnessGram™ Pacer Test is a multistage aerobic capacity test that progressively gets more difficult as it continues. The 20 meter pacer test will begin in 30 seconds. Line up at the start. The running speed starts slowly, but gets faster each minute after you hear this signal. [beep] A single lap should be completed each time you hear this sound. [ding] Remember to run in a straight line, and run as long as possible. The second time you fail to complete a lap before the sound, your test is over. The test will begin on the word start. On your mark, get ready, start."
# And much more! For more information, visit the docs: https://espanso.org/docs/
- trigger: ":foreshadowing"
replace: "Foreshadowing is a narrative device in which a storyteller gives an advance hint of what is to come later in the story. Foreshadowing often appears at the beginning of a story, and it helps develop or subvert the audience's expectations about upcoming events."
- trigger: ":honestly"
replace: "Do you honestly think you're fucking funny, fucking with my friends? Seriously, you're a fucking ugly little cunt mate, and if I ever see you i'm gunna slit your fucking face wide open yeh? You're a fucking angry little fucking spastic. OK, right, lets, first off, uhh youre seventeen so youre not even old enough to play the game, youre from Scotland not Nigeria and you annoy people and put them on YouTube cos youre a cunt, which I totally agree with. So why dont you crawl back up your mums fanny and die? Right, Ill tell you what, you fat little cunt, youre borin you dont sound Nigerian at all so go fuck yourself… GO AND CRAWL IN A DIRTY DANK LITTLE HOLE WHERE YOU FUCKING COME FROM, YOU DIRTY DRAGON EATIN LITTLE FUCKING SPASTIC. Right, OK, the dragon comment was probably a little bit fucking over-the-top, but at the end of the day youre fucking borin. Every single person who watches your videos are fucking stoopid. Theyre fucking ignorant little cunts. And youre just a fucking retard."

View File

@@ -1,8 +1,8 @@
#!/bin/dash
xhost + local: ;
swww init;
flameshot & disown;
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
wayvnc & disown;
touchegg & disown;
flameshot &
wayvnc &
dex -a &
dunst &
$HOME/.config/waybar/launcher.sh

View File

@@ -6,6 +6,7 @@
monitor=DP-1,1920x1080@60,0x0,1
monitor=DP-3,1920x1080@60,1920x0,1
monitor=eDP-1,1920x1080@60,0x0,1
monitor=HDMI-A-1,1920x1080@60,1920x0,1
#workspace=DP-1,1
workspace=1, m:DP-1
workspace=2, m:DP-1
@@ -33,7 +34,7 @@ input {
}
general {
max_fps=60 # deprecated, unused
#max_fps=60 # deprecated, unused
sensitivity=1
#main_mod=SUPER
no_cursor_warps=true
@@ -62,6 +63,10 @@ dwindle {
pseudotile=0 # enable pseudotiling on dwindle
}
misc {
force_default_wallpaper=0
vrr=1
}
# example window rules
# for windows named/classed as abc and xyz
#windowrule=move 69 420,abc
@@ -71,11 +76,11 @@ dwindle {
#windowrule=pseudo,abc
#windowrule=monitor 0,xyz
exec-once=$HOME/.local/share/hyprload/hyprload.sh
# example binds
bind=SUPER,Z,exec,alacritty
bind=SUPERSHIFT,Z,exec,kitty
bind=SUPERSHIFT,Z,exec,alacritty
bind=SUPER,Z,exec,kitty
bind=SUPER,X,killactive,
bind=SUPER_SHIFT,X,exec,hyprctl activewindow |grep pid |tr -d 'pid:'|xargs kill
bind=SUPER_SHIFT,Q,exit,
bind=SUPER,E,exec,nemo
@@ -92,10 +97,6 @@ bind=SUPER,P,pseudo,
bind=SUPER,SPACE,exec,rofi -modi drun,run,window,calc -show drun
bind=SUPER,C,pin
bind=SUPERSHIFT,R,hyprload,reload
bind=SUPERSHIFT,U,hyprload,update
bind=SUPERSHIFT,I,hyprload,install
bind=SUPER,left,movefocus,l
bind=SUPER,right,movefocus,r
bind=SUPER,up,movefocus,u
@@ -115,16 +116,16 @@ bind=SUPER,8,workspace,8
bind=SUPER,9,workspace,9
bind=SUPER,0,workspace,10
bind=SUPER_SHIFT,1,movetoworkspace,1
bind=SUPER_SHIFT,2,movetoworkspace,2
bind=SUPER_SHIFT,3,movetoworkspace,3
bind=SUPER_SHIFT,4,movetoworkspace,4
bind=SUPER_SHIFT,5,movetoworkspace,5
bind=SUPER_SHIFT,6,movetoworkspace,6
bind=SUPER_SHIFT,7,movetoworkspace,7
bind=SUPER_SHIFT,8,movetoworkspace,8
bind=SUPER_SHIFT,9,movetoworkspace,9
bind=SUPER_SHIFT,0,movetoworkspace,10
bind=SUPER_SHIFT,1,movetoworkspacesilent,1
bind=SUPER_SHIFT,2,movetoworkspacesilent,2
bind=SUPER_SHIFT,3,movetoworkspacesilent,3
bind=SUPER_SHIFT,4,movetoworkspacesilent,4
bind=SUPER_SHIFT,5,movetoworkspacesilent,5
bind=SUPER_SHIFT,6,movetoworkspacesilent,6
bind=SUPER_SHIFT,7,movetoworkspacesilent,7
bind=SUPER_SHIFT,8,movetoworkspacesilent,8
bind=SUPER_SHIFT,9,movetoworkspacesilent,9
bind=SUPER_SHIFT,0,movetoworkspacesilent,10
bind=SUPERSHIFT,S,exec,flameshot gui
@@ -142,7 +143,7 @@ bind=SHIFT,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
bind=SHIFT,XF86MonBrightnessDown,exec,xbacklight -set 0.01
bind=SHIFT,XF86MonBrightnessUp,exec,xbacklight -set 100
exec-once=dash $HOME/.config/hypr/autostart.sh
exec-once=dash ~/.config/hypr/autostart.sh
exec-once=hyprctl setcursor Vimix-white-cursors 24
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
@@ -153,6 +154,8 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2 = pin,class:^(scrcpy)$
windowrulev2 = move onscreen 100%-30,class:^(scrcpy)$
windowrulev2 = stayfocused,title:^rofi
windowrulev2 = float,class:^(flameshot)$
windowrulev2 = pin,class:^(flameshot)$
@@ -169,11 +172,23 @@ env = GDK_BACKEND,wayland,x11
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORMTHEME,qt5ct
plugin:hyprfocus {
plugin {
hyprbars {
# example config
bar_height = 20
# example buttons (R -> L)
# hyprbars-button = color, size, on-click
bar_color = rgb(000000)
hyprbars-button = rgb(ff4040), 10, 󰖭, hyprctl dispatch killactive
hyprbars-button = rgb(eeee11), 10, , hyprctl dispatch fullscreen 1
hyprbars-button = rgb(11ee11), 10, ¥, hyprctl dispatch togglefloating
}
hyprfocus {
enabled = yes
keyboard_focus_animation = shrink
mouse_focus_animation = shrink
focus_animation = shrink
bezier = bezIn, 0.5,0.0,1.0,0.5
bezier = bezOut, 0.0,0.5,0.5,1.0
@@ -198,4 +213,19 @@ plugin:hyprfocus {
out_speed = 3
}
}
hyprtrails {
color = rgba(ff0000ff)
}
hyprexpo {
columns = 3
gap_size = 5
bg_col = rgb(111111)
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
enable_gesture = true # laptop touchpad, 4 fingers
gesture_distance = 300 # how far is the "max"
gesture_positive = true # positive = swipe down. Negative = swipe up.
}
}
exec-once = hyprpm reload -n

View File

@@ -1,6 +0,0 @@
plugins = [
# Installs the plugin from https://github.com/Duckonaut/split-monitor-workspaces
"Duckonaut/split-monitor-workspaces",
"VortexCoyote/hyprfocus",
]

View File

@@ -3,5 +3,7 @@ Lock,loginctl lock-session,system-lock-screen
Exit,^checkout(exit),system-shutdown
^tag(exit)
Suspend,systemctl -i suspend,system-log-out
Hybrid Suspend,systemctl -i hybrid-sleep,system-suspend
Reboot,systemctl -i reboot,system-reboot
Hibernate,systemctl -i hibernate,system-hibernate
Poweroff,systemctl -i poweroff,system-shutdown
1 ^sep()
3 Exit,^checkout(exit),system-shutdown
4 ^tag(exit)
5 Suspend,systemctl -i suspend,system-log-out
6 Hybrid Suspend,systemctl -i hybrid-sleep,system-suspend
7 Reboot,systemctl -i reboot,system-reboot
8 Hibernate,systemctl -i hibernate,system-hibernate
9 Poweroff,systemctl -i poweroff,system-shutdown

View File

@@ -1,7 +1,7 @@
stay_alive = 1
tint2_look = 0
position_mode = fixed
terminal_exec = alacritty
terminal_exec = kitty
terminal_args = -e
menu_width = 300
menu_padding_top = 5

View File

@@ -1,352 +0,0 @@
modkey = "Mod4"
mousekey = "Mod4"
workspaces = []
tags = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
layouts = ["MainAndVertStack", "MainAndHorizontalStack", "MainAndDeck", "GridHorizontal", "EvenHorizontal", "EvenVertical", "Fibonacci", "CenterMain", "CenterMainBalanced", "Monocle", "RightWiderLeftStack", "LeftWiderRightStack"]
layout_mode = "Workspace"
disable_current_tag_swap = false
focus_behaviour = "Sloppy"
focus_new_windows = true
window_rules = [
# windows whose WM_CLASS is "Navigator" will be spawn on tag 2 (by position, 1-indexed)
{window_class = "tint2", spawn_floating = true},
{window_class = "ulauncher", spawn_floating = true, spawn_sticky = true},
]
####################################################################################################
##########################################################################################SCRATCHPAD
####################################################################################################
[[scratchpad]]
name = "Alacritty"
value = "WINIT_X11_SCALE_FACTOR=1 alacritty -o font.size=14"
x = 0.25
y = 0.0
height = 0.5
width = 0.5
[[keybind]]
command = "ToggleScratchPad"
value = "Alacritty"
modifier = ["modkey"]
key = "F12"
####################################################################################################
###########################################################################################LAUNCHERS
####################################################################################################
[[keybind]]
command = "Execute"
value = "dmenu_run"
modifier = ["modkey"]
key = "p"
[[keybind]]
command = "Execute"
value = "ulauncher-toggle"
modifier = ["Alt"]
key = "space"
[[keybind]]
command = "Execute"
value = "rofi -modi drun,run,window,calc,windowcd,combi,keys,filebrowser,emoji -show drun"
modifier = ["modkey"]
key = "r"
####################################################################################################
#####################################################################################SESSION CONTROL
####################################################################################################
[[keybind]]
command = "Execute"
value = "loginctl kill-session $XDG_SESSION_ID"
modifier = ["modkey", "Shift"]
key = "q"
[[keybind]]
command = "Execute"
value = "loginctl lock-session"
modifier = ["modkey", "Control"]
key = "l"
####################################################################################################
########################################################################################APPLICATIONS
####################################################################################################
[[keybind]]
command = "Execute"
value = "xterm"
modifier = ["modkey", "Shift"]
key = "Return"
[[keybind]]
command = "Execute"
value = "alacritty"
modifier = ["modkey"]
key = "z"
[[keybind]]
command = "Execute"
value = "nemo"
modifier = ["modkey"]
key = "e"
[[keybind]]
command = "Execute"
value = "flameshot gui"
modifier = ["modkey", "Shift"]
key = "s"
####################################################################################################
#####################################################################################LEFTWM-SPECIFIC
####################################################################################################
[[keybind]]
command = "CloseWindow"
modifier = ["modkey"]
key = "x"
[[keybind]]
command = "ToggleSticky"
modifier = ["modkey"]
key = "c"
[[keybind]]
command = "ToggleFullScreen"
modifier = ["modkey", "Shift"]
key = "f"
[[keybind]]
command = "SoftReload"
modifier = ["modkey", "Shift"]
key = "r"
[[keybind]]
command = "HardReload"
modifier = ["modkey", "Shift", "Control"]
key = "r"
[[keybind]]
command = "MoveToLastWorkspace"
modifier = ["modkey", "Shift"]
key = "w"
[[keybind]]
command = "SwapTags"
modifier = ["modkey"]
key = "w"
[[keybind]]
command = "MoveWindowUp"
modifier = ["modkey", "Shift"]
key = "k"
[[keybind]]
command = "MoveWindowDown"
modifier = ["modkey", "Shift"]
key = "j"
[[keybind]]
command = "MoveWindowTop"
modifier = ["modkey"]
key = "Return"
[[keybind]]
command = "FocusWindowUp"
modifier = ["modkey"]
key = "k"
[[keybind]]
command = "FocusWindowDown"
modifier = ["modkey"]
key = "j"
[[keybind]]
command = "NextLayout"
modifier = ["modkey", "Control"]
key = "k"
[[keybind]]
command = "PreviousLayout"
modifier = ["modkey", "Control"]
key = "j"
[[keybind]]
command = "FocusWorkspaceNext"
modifier = ["modkey"]
key = "l"
[[keybind]]
command = "FocusWorkspacePrevious"
modifier = ["modkey"]
key = "h"
[[keybind]]
command = "MoveWindowUp"
modifier = ["modkey", "Shift"]
key = "Up"
[[keybind]]
command = "MoveWindowDown"
modifier = ["modkey", "Shift"]
key = "Down"
[[keybind]]
command = "FocusWindowUp"
modifier = ["modkey"]
key = "Up"
[[keybind]]
command = "FocusWindowDown"
modifier = ["modkey"]
key = "Down"
[[keybind]]
command = "NextLayout"
modifier = ["modkey", "Control"]
key = "Up"
[[keybind]]
command = "PreviousLayout"
modifier = ["modkey", "Control"]
key = "Down"
[[keybind]]
command = "FocusWorkspaceNext"
modifier = ["modkey"]
key = "Right"
[[keybind]]
command = "FocusWorkspacePrevious"
modifier = ["modkey"]
key = "Left"
####################################################################################################
####################################################################################TAG MANIPULATION
####################################################################################################
[[keybind]]
command = "GotoTag"
value = "1"
modifier = ["modkey"]
key = "1"
[[keybind]]
command = "GotoTag"
value = "2"
modifier = ["modkey"]
key = "2"
[[keybind]]
command = "GotoTag"
value = "3"
modifier = ["modkey"]
key = "3"
[[keybind]]
command = "GotoTag"
value = "4"
modifier = ["modkey"]
key = "4"
[[keybind]]
command = "GotoTag"
value = "5"
modifier = ["modkey"]
key = "5"
[[keybind]]
command = "GotoTag"
value = "6"
modifier = ["modkey"]
key = "6"
[[keybind]]
command = "GotoTag"
value = "7"
modifier = ["modkey"]
key = "7"
[[keybind]]
command = "GotoTag"
value = "8"
modifier = ["modkey"]
key = "8"
[[keybind]]
command = "GotoTag"
value = "9"
modifier = ["modkey"]
key = "9"
[[keybind]]
command = "GotoTag"
value = "10"
modifier = ["modkey"]
key = "0"
####################################################################################################
#################################################################################MOVING BETWEEN TAGS
####################################################################################################
[[keybind]]
command = "MoveToTag"
value = "1"
modifier = ["modkey", "Shift"]
key = "1"
[[keybind]]
command = "MoveToTag"
value = "2"
modifier = ["modkey", "Shift"]
key = "2"
[[keybind]]
command = "MoveToTag"
value = "3"
modifier = ["modkey", "Shift"]
key = "3"
[[keybind]]
command = "MoveToTag"
value = "4"
modifier = ["modkey", "Shift"]
key = "4"
[[keybind]]
command = "MoveToTag"
value = "5"
modifier = ["modkey", "Shift"]
key = "5"
[[keybind]]
command = "MoveToTag"
value = "6"
modifier = ["modkey", "Shift"]
key = "6"
[[keybind]]
command = "MoveToTag"
value = "7"
modifier = ["modkey", "Shift"]
key = "7"
[[keybind]]
command = "MoveToTag"
value = "8"
modifier = ["modkey", "Shift"]
key = "8"
[[keybind]]
command = "MoveToTag"
value = "9"
modifier = ["modkey", "Shift"]
key = "9"
[[keybind]]
command = "MoveToTag"
value = "10"
modifier = ["modkey", "Shift"]
key = "0"

View File

@@ -82,13 +82,18 @@ Plug 'ms-jpq/coq.thirdparty', {'branch': '3p'}
Plug 'nvim-tree/nvim-web-devicons'
Plug 'projekt0n/circles.nvim'
Plug 'uga-rosa/translate.nvim'
Plug 'nvim-neotest/nvim-nio'
Plug 'uga-rosa/translate.nvim'
Plug 'mechatroner/rainbow_csv'
Plug 'christoomey/vim-system-copy'
Plug 'eandrju/cellular-automaton.nvim'
Plug 'williamboman/mason.nvim'
Plug 'williamboman/mason-lspconfig.nvim'
Plug 'neovim/nvim-lspconfig'
Plug 'ranjithshegde/ccls.nvim'
"Plug 'ranjithshegde/ccls.nvim'
Plug 'mfussenegger/nvim-dap'
Plug 'rcarriga/nvim-dap-ui'
" Initialize plugin system
call plug#end()
@@ -131,22 +136,44 @@ let g:syntastic_python_checkers = ['bandit', 'python']
" Keybinds
nnoremap <F2> :CHADopen<CR>
set pastetoggle=<F3>
nnoremap <F3> :lua vim.lsp.buf.code_action()<CR>
nnoremap <F4> :Goyo<CR>
nnoremap <F5> :MundoToggle<CR>
nnoremap <F6> :lua require("dapui").toggle()<CR>
""Legacy" bindings for cut/copy/paste
"imap <C-X> "+x
"imap <C-C> "+y
"imap <C-V> "+gP
lua << EOF
require("mason").setup()
require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers({
function (server_name) -- default handler (optional)
require("lspconfig")[server_name].setup(require('coq').lsp_ensure_capabilities({}))
end})
local lsp = require "lspconfig"
local coq = require "coq" -- add this
local dap = require("dap")
dap.adapters.gdb = {
type = "executable",
command = "gdb",
args = { "-i", "dap" }
}
dap.configurations.cpp = {
{
name = "Launch",
type = "gdb",
request = "launch",
program = function()
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file')
end,
cwd = "${workspaceFolder}",
stopAtBeginningOfMainSubprogram = false,
},
}
-- Mappings.
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
local opts = { noremap=true, silent=true }
@@ -189,8 +216,9 @@ local lsp_flags = {
--lsp.<server>.setup(<stuff...>) -- before
--lsp.<server>.setup(coq.lsp_ensure_capabilities(<stuff...>)) -- after
lsp.pyright.setup(coq.lsp_ensure_capabilities({}))
lsp.ccls.setup(coq.lsp_ensure_capabilities({}))
--lsp.pyright.setup(coq.lsp_ensure_capabilities({}))
--lsp.ccls.setup(coq.lsp_ensure_capabilities({}))
--lsp.ltex.setup(coq.lsp_ensure_capabilities({settings = {ltex = {language = "pl-PL"}}}))
lsp.rust_analyzer.setup(coq.lsp_ensure_capabilities({
settings = {
["rust-analyzer"] = {
@@ -215,7 +243,7 @@ lsp.rust_analyzer.setup(coq.lsp_ensure_capabilities({
EOF
let g:catppuccin_flavour = "macchiato"
lua require("dapui").setup()
lua require("catppuccin").setup()
lua require('colorizer').setup()
lua require("circles").setup()

View File

@@ -495,7 +495,7 @@ map p`<any> paste dest=%any_path
map p'<any> paste dest=%any_path
map dD console delete
map dT console trash
map dT shell gio trash %s
map dd cut
map ud uncut

View File

@@ -262,7 +262,7 @@ label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1"
#-------------------------------------------
# Generic file openers
#-------------------------------------------
label open, has xdg-open = xdg-open -- "$@"
label open, has xdg-open = xdg-open "$@"
label open, has open = open -- "$@"
# Define the editor for non-text files + pager as last action

View File

@@ -287,10 +287,10 @@ super + shift + Return
urxvt
super + z
alacritty
kitty
super + shift + z
open-terminal-here
alacritty
super + r
rofi -modi drun,run,window,calc,emoji -show run

View File

@@ -28,6 +28,8 @@
"hyprland/workspaces":{
"active-only":false,
"format":"{name}",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"persistent-workspaces": {
"*":10,
},
@@ -170,7 +172,8 @@
},
"custom/archicon": {
"format":"󰣇",
"on-click":"nwg-menu -d -fm nemo -cmd-lock gtklock -va top",
// "on-click":"nwg-menu -d -fm nemo -cmd-lock gtklock -va top",
"on-click":"jgmenu_run",
"tooltip":false,
}

View File

@@ -50,10 +50,14 @@ button:hover {
#workspaces button {
padding: 0 5px;
background-color: transparent;
background-color: shade(@blue, 0.5);
color: #ffffff;
}
#workspaces button.empty {
background-color: transparent;/* rgba(43, 48, 59, 0.5);*/
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}

View File

@@ -179,6 +179,7 @@ zinit snippet OMZP::colored-man-pages
zinit snippet OMZP::rust
zinit snippet OMZP::zoxide
zinit snippet OMZL::completion.zsh
zinit snippet https://github.com/hyprwm/Hyprland/blob/main/hyprctl/hyprctl.zsh
zinit wait lucid for \
atinit"ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay" \
@@ -201,7 +202,7 @@ export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
[ "$TERM" = "xterm-kitty" ] && (alias ssh="kitten ssh"; eval "kitten run-shell";)
[ "$TERM" = "xterm-kitty" ] && (alias ssh="command kitten ssh";)
[ "$TERMUX_APK_RELEASE" = "F_DROID" ] && (eval `okc-ssh-agent`)
@@ -217,5 +218,3 @@ preexec() { print -Pn "\e]0;$1\a" }
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
(( ! ${+functions[p10k]} )) || p10k finalize