mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-06-05 17:00:12 +02:00
remove unused shit
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
outputs = { Targets = ["DP-1"]}
|
||||
position = "Bottom"
|
||||
|
||||
[modules]
|
||||
left = [ "Clock", "Workspaces" ]
|
||||
center = [ "WindowTitle" ]
|
||||
right = ["Privacy", "MediaPlayer", "SystemInfo",[ "Tray", "Settings" ] ]
|
||||
|
||||
[clock]
|
||||
format = "%H:%M | %e.%m "
|
||||
|
||||
[settings]
|
||||
remove_airplane_btn = true
|
||||
|
||||
[appearance]
|
||||
scale_factor = 1.2
|
||||
|
||||
success_color = "#a6e3a1"
|
||||
text_color = "#cdd6f4"
|
||||
|
||||
workspace_colors = [ "#fab387", "#b4befe", "#cba6f7" ]
|
||||
|
||||
[appearance.primary_color]
|
||||
base = "#fab387"
|
||||
text = "#1e1e2e"
|
||||
|
||||
[appearance.danger_color]
|
||||
base = "#f38ba8"
|
||||
weak = "#f9e2af"
|
||||
|
||||
[appearance.background_color]
|
||||
base = "#1e1e2e"
|
||||
weak = "#313244"
|
||||
strong = "#45475a"
|
||||
|
||||
[appearance.secondary_color]
|
||||
base = "#11111b"
|
||||
strong = "#1b1b25"
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"modules": [
|
||||
"title",
|
||||
"separator",
|
||||
"os",
|
||||
"host",
|
||||
"kernel",
|
||||
"packages",
|
||||
"separator",
|
||||
"wm",
|
||||
"shell",
|
||||
"terminal",
|
||||
"theme",
|
||||
"font",
|
||||
"locale",
|
||||
"separator",
|
||||
"display",
|
||||
"cpu",
|
||||
"gpu",
|
||||
"memory",
|
||||
"disk",
|
||||
"battery",
|
||||
"separator",
|
||||
"wifi",
|
||||
"localip",
|
||||
"break",
|
||||
"colors"
|
||||
]
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"source": "arch_small",
|
||||
"padding": {
|
||||
"bottom": 1,
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " ➜ ",
|
||||
},
|
||||
"modules": [
|
||||
"title",
|
||||
"kernel",
|
||||
"packages",
|
||||
"shell",
|
||||
"battery",
|
||||
{
|
||||
"type": "separator",
|
||||
"string": " • ",
|
||||
},
|
||||
"break",
|
||||
"break",
|
||||
"break"
|
||||
]
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
$rosewater = rgb(dc8a78)
|
||||
$rosewaterAlpha = dc8a78
|
||||
|
||||
$flamingo = rgb(dd7878)
|
||||
$flamingoAlpha = dd7878
|
||||
|
||||
$pink = rgb(ea76cb)
|
||||
$pinkAlpha = ea76cb
|
||||
|
||||
$mauve = rgb(8839ef)
|
||||
$mauveAlpha = 8839ef
|
||||
|
||||
$red = rgb(d20f39)
|
||||
$redAlpha = d20f39
|
||||
|
||||
$maroon = rgb(e64553)
|
||||
$maroonAlpha = e64553
|
||||
|
||||
$peach = rgb(fe640b)
|
||||
$peachAlpha = fe640b
|
||||
|
||||
$yellow = rgb(df8e1d)
|
||||
$yellowAlpha = df8e1d
|
||||
|
||||
$green = rgb(40a02b)
|
||||
$greenAlpha = 40a02b
|
||||
|
||||
$teal = rgb(179299)
|
||||
$tealAlpha = 179299
|
||||
|
||||
$sky = rgb(04a5e5)
|
||||
$skyAlpha = 04a5e5
|
||||
|
||||
$sapphire = rgb(209fb5)
|
||||
$sapphireAlpha = 209fb5
|
||||
|
||||
$blue = rgb(1e66f5)
|
||||
$blueAlpha = 1e66f5
|
||||
|
||||
$lavender = rgb(7287fd)
|
||||
$lavenderAlpha = 7287fd
|
||||
|
||||
$text = rgb(4c4f69)
|
||||
$textAlpha = 4c4f69
|
||||
|
||||
$subtext1 = rgb(5c5f77)
|
||||
$subtext1Alpha = 5c5f77
|
||||
|
||||
$subtext0 = rgb(6c6f85)
|
||||
$subtext0Alpha = 6c6f85
|
||||
|
||||
$overlay2 = rgb(7c7f93)
|
||||
$overlay2Alpha = 7c7f93
|
||||
|
||||
$overlay1 = rgb(8c8fa1)
|
||||
$overlay1Alpha = 8c8fa1
|
||||
|
||||
$overlay0 = rgb(9ca0b0)
|
||||
$overlay0Alpha = 9ca0b0
|
||||
|
||||
$surface2 = rgb(acb0be)
|
||||
$surface2Alpha = acb0be
|
||||
|
||||
$surface1 = rgb(bcc0cc)
|
||||
$surface1Alpha = bcc0cc
|
||||
|
||||
$surface0 = rgb(ccd0da)
|
||||
$surface0Alpha = ccd0da
|
||||
|
||||
$base = rgb(eff1f5)
|
||||
$baseAlpha = eff1f5
|
||||
|
||||
$mantle = rgb(e6e9ef)
|
||||
$mantleAlpha = e6e9ef
|
||||
|
||||
$crust = rgb(dce0e8)
|
||||
$crustAlpha = dce0e8
|
||||
|
||||
$openrgb_color = 09ce30
|
||||
@@ -1,23 +0,0 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||
before_sleep_cmd = hyprlock # lock before suspend.
|
||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
}
|
||||
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = hyprlock # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = openrgb -c black
|
||||
on-resume = openrgb -c green
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
env = XCURSOR_SIZE, 32
|
||||
env = HYPRCURSOR_SIZE, 32
|
||||
env = HYPRCURSOR_THEME, theme_phinger-cursors-light
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
$terminal = uwsm app -- kitty
|
||||
$menu = hyprlauncher
|
||||
$music_player = flatpak run com.spotify.Client
|
||||
$notes = obsidian
|
||||
$browser = zen-browser
|
||||
|
||||
input {
|
||||
kb_layout = pl
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options = caps:escape_shifted_capslock
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
left_handed = true
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
inactive_timeout = 5
|
||||
warp_on_change_workspace = 1
|
||||
zoom_factor = 1.0
|
||||
hide_on_key_press = 1
|
||||
}
|
||||
|
||||
misc {
|
||||
force_default_wallpaper = 0
|
||||
disable_hyprland_logo = true
|
||||
middle_click_paste = false
|
||||
}
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling = 1
|
||||
}
|
||||
|
||||
|
||||
# IMPORTS
|
||||
|
||||
source = ./colors.conf
|
||||
source = ./hyprland/binds/*
|
||||
source = ./hyprland/*
|
||||
@@ -1,12 +0,0 @@
|
||||
# Requires pactl
|
||||
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && ~/.local/bin/wp-vol.sh && paplay /usr/share/sounds/freedesktop/stereo/bell.oga
|
||||
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && ~/.local/bin/wp-vol.sh && paplay /usr/share/sounds/freedesktop/stereo/bell.oga
|
||||
bindel=, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle
|
||||
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle && ~/.local/bin/check-if-muted.sh
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , Pause, exec, playerctl play-pause
|
||||
bindl = $mainMod, Pause, exec, playerctl play-pause --player spotify
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
@@ -1,2 +0,0 @@
|
||||
bind = $mainMod, V, exec, cliphist list | hyprlauncher -m | cliphist decode | wl-copy
|
||||
bind = $mainMod ALT_L, V, exec, cliphist wipe && notify-send "Clipboard" "Clipboard cleared!"
|
||||
@@ -1,12 +0,0 @@
|
||||
# Zoom
|
||||
binde = $mainMod alt, equal, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 * 1.1}')
|
||||
binde = $mainMod alt, minus, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 * 0.9}')
|
||||
bind = $mainMod alt, 0, exec, hyprctl -q keyword cursor:zoom_factor 1
|
||||
|
||||
# Brightness
|
||||
|
||||
bindel = ,XF86MonBrightnessDown, exec, hyprctl hyprsunset gamma -10
|
||||
bindel = ,XF86MonBrightnessUp, exec, hyprctl hyprsunset gamma +10
|
||||
|
||||
# Wallpaper
|
||||
bind = $mainMod, M, exec, [float] waypaper
|
||||
@@ -1,109 +0,0 @@
|
||||
# Move windows around
|
||||
|
||||
## Move focus with mainMod + vim keys
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
|
||||
## Resize with mainMod + shift + vim keys
|
||||
binde = $mainMod L_SHIFT, l, resizeactive, 10 0 # right
|
||||
binde = $mainMod L_SHIFT, h, resizeactive, -10 0 # left
|
||||
binde = $mainMod L_SHIFT, k, resizeactive, 0 -10 #up
|
||||
binde = $mainMod L_SHIFT, j, resizeactive, 0 10 # down
|
||||
|
||||
## Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
## Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
## Move to different monitor
|
||||
bind = $mainMod L_SHIFT, right, exec, hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bind = $mainMod L_SHIFT, left, exec, hyprctl dispatch movecurrentworkspacetomonitor -1
|
||||
|
||||
## 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
|
||||
|
||||
## Change display settings
|
||||
bindd = $mainMod, F, Make app fullscreen, fullscreen
|
||||
bindd = $mainMod, T, Toggle floating, togglefloating
|
||||
bindd = $mainMod, P, Toggle pseudo, pseudo
|
||||
bindd = $mainMod, S, Toggle split, togglesplit
|
||||
bindd = $mainMod, Q, Kill active window, killactive
|
||||
|
||||
## special workspace
|
||||
bind = $mainMod, TAB, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, TAB, movetoworkspace, special:magic
|
||||
|
||||
## master layout
|
||||
bind = $mainMod, S, layoutmsg, swapwithmaster
|
||||
bind = $mainMod, n, layoutmsg, swapnext
|
||||
bind = $mainMod, p, layoutmsg, swapprev
|
||||
|
||||
# APPS
|
||||
|
||||
## general
|
||||
|
||||
bind = $mainMod, RETURN, exec, [workspace 4] $terminal
|
||||
bind = $mainMod CONTROL_L, RETURN, exec, $terminal
|
||||
bind = $mainMod, space , exec, $menu
|
||||
bind = $mainMod ALT_L, c, exec, openrgb -c $openrgb_color # restore openrgb color
|
||||
|
||||
### messages
|
||||
bind = $mainMod Control_L, s, exec,[workspace 1] signal-desktop --password-store="kwallet6"
|
||||
bind = $mainMod Control_L, s, focuswindow, class:^(signal)$
|
||||
bind = $mainMod Control_L, s, focuswindow, title:^(signal)$
|
||||
|
||||
bind = $mainMod Control_L, v, sendshortcut, ctrl, k, class:^(vesktop)$
|
||||
bind = $mainMod Control_L, v, exec, uwsm app -- vesktop
|
||||
bind = $mainMod Control_L, v, focuswindow, class:^(vesktop)$
|
||||
|
||||
### games
|
||||
bind = $mainMod Control_L, g, exec, uwsm app -- steam
|
||||
bind = $mainMod Control_L, g, focuswindow, class:^(steam)$
|
||||
|
||||
### browser
|
||||
bind = $mainMod Control_L, b, exec, uwsm app -- $browser
|
||||
bind = $mainMod Control_L, b, focuswindow, class:^(zen)$
|
||||
|
||||
### notes
|
||||
bind = $mainMod Control_L, n, exec, [workspace 6] uwsm app -- $notes
|
||||
bind = $mainMod Control_L, n, focuswindow, class:^(obsidian)$
|
||||
|
||||
### music player
|
||||
bind = $mainMod Control_L, m, exec, [workspace 9] uwsm app -- $music_player
|
||||
|
||||
### youtube ig
|
||||
bind = $mainMod Control_L, f, exec, uwsm app -- freetube
|
||||
bind = $mainMod Control_L, f, focuswindow, class:^(freetube)$
|
||||
|
||||
### x
|
||||
bind = $mainMod Control_L, x, exec, uwsm app -- ~/.local/share/applications/x.desktop
|
||||
bind = $mainMod Control_L, x, focuswindow, class:^(chrome-x.com__-Default)$
|
||||
|
||||
## restart status bar
|
||||
bind = $mainMod CONTROL_L L_SHIFT, B, exec, killall ashell && uwsm app -- ashell
|
||||
@@ -1,5 +0,0 @@
|
||||
bind = $mainMod L_SHIFT ctrl, l, exec, hyprlock # lock
|
||||
bind = $mainMod L_SHIFT ctrl, r, exec, openrgb -c black && systemctl reboot
|
||||
bind = $mainMod L_SHIFT ctrl, p, exec, openrgb -c black && systemctl poweroff
|
||||
bind = $mainMod L_SHIFT ctrl, s, exec, openrgb -c black && pidof hyprlock || sleep 1 && systemctl sleep
|
||||
bind = $mainMod L_SHIFT ctrl, m, exec, uwsm stop
|
||||
@@ -1,3 +0,0 @@
|
||||
bindt = , PRINT, exec, ~/.local/bin/screenshot.sh region
|
||||
bindt = $mainMod, PRINT, exec, ~/.local/bin/screenshot.sh fullscreen
|
||||
bindt = alt_l, PRINT, exec, ~/.local/bin/screenshot.sh window
|
||||
@@ -1,25 +0,0 @@
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 1
|
||||
rounding_power = 2
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 1
|
||||
render_power = 1
|
||||
color = $overlay0
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 1
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
|
||||
exec-once = uwsm app -- kdeconnect-indicator
|
||||
exec-once = uwsm app -- ashell
|
||||
exec-once = swww-daemon
|
||||
exec-once = openrgb -c $openrgb_color
|
||||
@@ -1,47 +0,0 @@
|
||||
general {
|
||||
gaps_in = 4
|
||||
gaps_out = 6
|
||||
|
||||
border_size = 4
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = $blue $sky
|
||||
col.inactive_border = $overlay1
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes, please :)
|
||||
|
||||
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = easeOutQuint,0.23,1,0.32,1
|
||||
bezier = easeInOutCubic,0.65,0.05,0.36,1
|
||||
bezier = linear,0,0,1,1
|
||||
bezier = almostLinear,0.5,0.5,0.75,1.0
|
||||
bezier = quick,0.15,0,0.1,1
|
||||
|
||||
animation = global, 1, 7, default
|
||||
animation = border, 1, 3.39, easeOutQuint
|
||||
animation = windows, 1, 2.79, easeOutQuint
|
||||
animation = windowsIn, 1, 2.1, easeOutQuint, popin 87%
|
||||
animation = windowsOut, 1, 1, linear, popin 87%
|
||||
animation = fadeIn, 1, 1.4, almostLinear
|
||||
animation = fadeOut, 1, 1.2, almostLinear
|
||||
animation = fade, 1, 3.03, quick
|
||||
animation = layers, 1, 2, easeOutQuint
|
||||
animation = layersIn, 1, 2, easeOutQuint, fade
|
||||
animation = layersOut, 1, 1, linear, fade
|
||||
animation = fadeLayersIn, 1, 1.4, almostLinear
|
||||
animation = fadeLayersOut, 1, 1.1, almostLinear
|
||||
animation = workspaces, 1, 1.4, quick, slidevert
|
||||
animation = workspacesIn, 1, 0.5, quick, slidevert
|
||||
animation = workspacesOut, 1, 0.5, quick, slidevert
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
dwindle {
|
||||
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 {
|
||||
new_status = slave
|
||||
allow_small_split = true
|
||||
orientation = left
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
monitorv2 {
|
||||
output = DP-1
|
||||
mode = 2560x1440@180.06
|
||||
|
||||
position = 0x0
|
||||
scale = 1
|
||||
vrr = 1
|
||||
|
||||
supports_wide_color = 1
|
||||
bitdepth = 10
|
||||
sdr_min_luminance = 0.005
|
||||
sdr_max_luminance = 220
|
||||
cm = hdr
|
||||
supports_hdr = 1
|
||||
}
|
||||
|
||||
monitorv2 {
|
||||
output = DP-2
|
||||
mode = 1920x1080@144
|
||||
position = auto-left
|
||||
vrr = 1
|
||||
scale = 1.0
|
||||
}
|
||||
|
||||
monitorv2 {
|
||||
output = HDMI-A-2
|
||||
mode = highres
|
||||
position = auto-up
|
||||
scale = 1
|
||||
}
|
||||
|
||||
monitorv2 {
|
||||
output =
|
||||
position = auto-right
|
||||
scale = 1
|
||||
}
|
||||
|
||||
quirks {
|
||||
prefer_hdr = 1
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
windowrule {
|
||||
name = pavucontrol-float
|
||||
match:class = ^(org.pulseaudio.pavucontrol)$
|
||||
float = 1
|
||||
size = 80% 60%
|
||||
stay_focused = 1
|
||||
center = 1
|
||||
pin = 1
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = share-picker-float
|
||||
match:class = ^(hyprland-share-picker)$
|
||||
float = 1
|
||||
center = 1
|
||||
pin = 1
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = steam-friends-list
|
||||
match:title = ^(Lista znajomych)$
|
||||
float = 1
|
||||
center = 1
|
||||
size = 40% 60%
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = vesktop-dont-focus-pls
|
||||
match:class = ^(vesktop)$
|
||||
no_initial_focus = 1
|
||||
focus_on_activate = 0
|
||||
render_unfocused = 1
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = xdg-desktop-portal-gtk
|
||||
match:class = ^(xdg-desktop-portal-gtk)$
|
||||
float = 1
|
||||
center = 1
|
||||
size = 55% 50%
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = picture-in-picture
|
||||
match:title = ^(Obraz w obrazie)$
|
||||
pseudo = 1
|
||||
no_initial_focus = 1
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = login-google-zen
|
||||
match:title = ^(Logowanie – Konta Google — Zen Browser)$
|
||||
float = 1
|
||||
center = 1
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = prism-launcher
|
||||
match:class = ^(org.prismlauncher.PrismLauncher)$
|
||||
workspace = 3
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = gamescope
|
||||
match:class = ^(gamescope)$
|
||||
workspace = 3
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
ecosystem {
|
||||
enforce_permissions = true
|
||||
}
|
||||
|
||||
permission = /usr/bin/grim, screencopy, allow
|
||||
permission = /usr/bin/hyprlock, screencopy, allow
|
||||
permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
|
||||
@@ -1,54 +0,0 @@
|
||||
workspace = 1, monitor:DP-2
|
||||
workspace = 2, monitor:DP-1
|
||||
workspace = 3, monitor:DP-1
|
||||
workspace = 4, monitor:DP-1
|
||||
workspace = 5, monitor:DP-1
|
||||
workspace = 6, monitor:DP-1
|
||||
workspace = 7, monitor:HDMI-A-2
|
||||
workspace = 9, monitor:DP-2
|
||||
workspace = 10, monitor:DP-2
|
||||
|
||||
# smart gaps or smt
|
||||
workspace = w[tv1], gapsout:0, gapsin:0
|
||||
workspace = f[1], gapsout:0, gapsin:0
|
||||
windowrule = border_size 0, match:float 0, match:workspace w[tv1]
|
||||
windowrule = rounding 0, match:float 0, match:workspace w[tv1]
|
||||
windowrule = border_size 0, match:float 0, match:workspace f[1]
|
||||
windowrule = rounding 0, match:float 0, match:workspace f[1]
|
||||
|
||||
# assign windows to workspaces
|
||||
|
||||
# Workspace 1
|
||||
windowrule = match:class ^(signal)$, workspace 1
|
||||
windowrule = match:class ^(vesktop)$, workspace 1 silent
|
||||
windowrule = match:class ^(chrome-facebook.com__-Default)$, workspace 1
|
||||
|
||||
# Workspace 2
|
||||
windowrule = match:class ^(zen)$, workspace 2
|
||||
windowrule = match:class ^(com.github.IsmaelMartinez.teams_for_linux)$, workspace 2
|
||||
windowrule = match:class ^(FreeTube)$, workspace 2
|
||||
windowrule = match:class ^(chrome-x.com__-Default)$, workspace 2
|
||||
windowrule = match:class ^(chrome-www.inoreader.com__all_articles-Default)$, workspace 2
|
||||
windowrule = match:class ^(chrome-mail.proton.me__u_0_inbox.com-Default)$, workspace 2
|
||||
windowrule = match:class ^(chrome-app.tuta.com__-Default)$, workspace 2
|
||||
|
||||
# Workspace 3
|
||||
windowrule = match:class ^(steam)$, workspace 3 silent
|
||||
windowrule = match:class ^(heroic)$, workspace 3
|
||||
windowrule = match:class ^(net.lutris.Lutris)$, workspace 3
|
||||
windowrule = match:class ^(rpcs3)$, workspace 3
|
||||
|
||||
# Workspace 5
|
||||
windowrule = match:class ^(winboat)$, workspace 5
|
||||
|
||||
# Workspace 6
|
||||
windowrule = match:class ^(obsidian)$, workspace 6
|
||||
|
||||
# Workspace 8
|
||||
windowrule = match:class ^(gimp)$, workspace 8
|
||||
|
||||
# Workspace 9
|
||||
windowrule = match:class .*potify, workspace 9 silent
|
||||
|
||||
# Workspace 10
|
||||
windowrule = match:class ^(com.obsproject.Studio)$, workspace 10
|
||||
@@ -1 +0,0 @@
|
||||
desktop_launch_prefix = uwsm app --
|
||||
@@ -1,106 +0,0 @@
|
||||
# sample hyprlock.conf
|
||||
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
|
||||
#
|
||||
# rendered text in all widgets supports pango markup (e.g. <b> or <i> tags)
|
||||
# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks
|
||||
#
|
||||
# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace
|
||||
#
|
||||
# you can get started by copying this config to ~/.config/hypr/hyprlock.conf
|
||||
#
|
||||
|
||||
$font = Monospace
|
||||
|
||||
general {
|
||||
hide_cursor = false
|
||||
}
|
||||
|
||||
# uncomment to enable fingerprint authentication
|
||||
# auth {
|
||||
# fingerprint {
|
||||
# enabled = true
|
||||
# ready_message = Scan fingerprint to unlock
|
||||
# present_message = Scanning...
|
||||
# retry_delay = 250 # in milliseconds
|
||||
# }
|
||||
# }
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = linear, 1, 1, 0, 0
|
||||
animation = fadeIn, 1, 5, linear
|
||||
animation = fadeOut, 1, 5, linear
|
||||
animation = inputFieldDots, 1, 2, linear
|
||||
}
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = screenshot
|
||||
blur_passes = 3
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 20%, 5%
|
||||
outline_thickness = 3
|
||||
inner_color = rgba(0, 0, 0, 0.0) # no fill
|
||||
|
||||
outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg
|
||||
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
|
||||
|
||||
font_color = rgb(143, 143, 143)
|
||||
fade_on_empty = false
|
||||
rounding = 15
|
||||
|
||||
font_family = $font
|
||||
placeholder_text = Input password...
|
||||
fail_text = $PAMFAIL
|
||||
|
||||
# uncomment to use a letter instead of a dot to indicate the typed password
|
||||
# dots_text_format = *
|
||||
# dots_size = 0.4
|
||||
dots_spacing = 0.3
|
||||
|
||||
# uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
|
||||
# hide_input = true
|
||||
|
||||
position = 0, -20
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# TIME
|
||||
label {
|
||||
monitor =
|
||||
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
|
||||
font_size = 90
|
||||
font_family = $font
|
||||
|
||||
position = -30, 0
|
||||
halign = right
|
||||
valign = top
|
||||
}
|
||||
|
||||
# DATE
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
|
||||
font_size = 25
|
||||
font_family = $font
|
||||
|
||||
position = -30, -150
|
||||
halign = right
|
||||
valign = top
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = $LAYOUT[en,ru]
|
||||
font_size = 24
|
||||
onclick = hyprctl switchxkblayout all next
|
||||
|
||||
position = 250, -20
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
preload = /home/szymon/Obrazy/tapety/sfw/forrest.png
|
||||
wallpaper = ,/home/szymon/Obrazy/tapety/sfw/forrest.png
|
||||
splash = off
|
||||
ipc = on
|
||||
@@ -1,13 +0,0 @@
|
||||
max-gamma = 150
|
||||
|
||||
profile {
|
||||
time = 7:00
|
||||
identity = true
|
||||
}
|
||||
|
||||
profile {
|
||||
time = 21:00
|
||||
identity = false
|
||||
temperature = 4500
|
||||
gamma = 0.8
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,80 +0,0 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Kitty Mocha
|
||||
## author: Catppuccin Org
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #cdd6f4
|
||||
background #1e1e2e
|
||||
selection_foreground #1e1e2e
|
||||
selection_background #f5e0dc
|
||||
|
||||
# Cursor colors
|
||||
cursor #f5e0dc
|
||||
cursor_text_color #1e1e2e
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #f5e0dc
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #b4befe
|
||||
inactive_border_color #6c7086
|
||||
bell_border_color #f9e2af
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #11111b
|
||||
active_tab_background #cba6f7
|
||||
inactive_tab_foreground #cdd6f4
|
||||
inactive_tab_background #181825
|
||||
tab_bar_background #11111b
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #1e1e2e
|
||||
mark1_background #b4befe
|
||||
mark2_foreground #1e1e2e
|
||||
mark2_background #cba6f7
|
||||
mark3_foreground #1e1e2e
|
||||
mark3_background #74c7ec
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #45475a
|
||||
color8 #585b70
|
||||
|
||||
# red
|
||||
color1 #f38ba8
|
||||
color9 #f38ba8
|
||||
|
||||
# green
|
||||
color2 #a6e3a1
|
||||
color10 #a6e3a1
|
||||
|
||||
# yellow
|
||||
color3 #f9e2af
|
||||
color11 #f9e2af
|
||||
|
||||
# blue
|
||||
color4 #89b4fa
|
||||
color12 #89b4fa
|
||||
|
||||
# magenta
|
||||
color5 #f5c2e7
|
||||
color13 #f5c2e7
|
||||
|
||||
# cyan
|
||||
color6 #94e2d5
|
||||
color14 #94e2d5
|
||||
|
||||
# white
|
||||
color7 #bac2de
|
||||
color15 #a6adc8
|
||||
@@ -1,80 +0,0 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Kitty Latte
|
||||
## author: Catppuccin Org
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/latte.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #3b3e55
|
||||
background #e0e2e8
|
||||
selection_foreground #eff1f5
|
||||
selection_background #dc8a78
|
||||
|
||||
# Cursor colors
|
||||
cursor #dc8a78
|
||||
cursor_text_color #eff1f5
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #dc8a78
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #7287fd
|
||||
inactive_border_color #9ca0b0
|
||||
bell_border_color #df8e1d
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #eff1f5
|
||||
active_tab_background #8839ef
|
||||
inactive_tab_foreground #4c4f69
|
||||
inactive_tab_background #9ca0b0
|
||||
tab_bar_background #bcc0cc
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #eff1f5
|
||||
mark1_background #7287fd
|
||||
mark2_foreground #eff1f5
|
||||
mark2_background #8839ef
|
||||
mark3_foreground #eff1f5
|
||||
mark3_background #209fb5
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #5c5f77
|
||||
color8 #6c6f85
|
||||
|
||||
# red
|
||||
color1 #d20f39
|
||||
color9 #d20f39
|
||||
|
||||
# green
|
||||
color2 #40a02b
|
||||
color10 #40a02b
|
||||
|
||||
# yellow
|
||||
color3 #df8e1d
|
||||
color11 #df8e1d
|
||||
|
||||
# blue
|
||||
color4 #1e66f5
|
||||
color12 #1e66f5
|
||||
|
||||
# magenta
|
||||
color5 #ea76cb
|
||||
color13 #ea76cb
|
||||
|
||||
# cyan
|
||||
color6 #179299
|
||||
color14 #179299
|
||||
|
||||
# white
|
||||
color7 #acb0be
|
||||
color15 #bcc0cc
|
||||
@@ -1,79 +0,0 @@
|
||||
################### File Generated by Goverlay ###################
|
||||
legacy_layout=false
|
||||
|
||||
|
||||
background_alpha=0.6
|
||||
round_corners=10
|
||||
background_alpha=0.6
|
||||
background_color=000000
|
||||
|
||||
font_size=24
|
||||
text_color=C0C0C0
|
||||
position=top-right
|
||||
|
||||
no_display
|
||||
hud_compact
|
||||
pci_dev=0:03:00.0
|
||||
table_columns=2
|
||||
gpu_text=GPU
|
||||
gpu_stats
|
||||
gpu_voltage
|
||||
gpu_core_clock
|
||||
gpu_mem_clock
|
||||
gpu_temp
|
||||
gpu_mem_temp
|
||||
gpu_fan
|
||||
gpu_power
|
||||
gpu_color=F1003B
|
||||
cpu_text=CPU
|
||||
cpu_stats
|
||||
|
||||
cpu_load_change
|
||||
cpu_load_value=50,90
|
||||
cpu_load_color=FFFFFF,FFAA7F,CC0000
|
||||
cpu_mhz
|
||||
cpu_temp
|
||||
cpu_power
|
||||
cpu_color=FA8000
|
||||
io_stats
|
||||
io_read
|
||||
io_write
|
||||
io_color=C0C0C0
|
||||
vram
|
||||
vram_color=F1003B
|
||||
vram_color=F1003B
|
||||
ram
|
||||
ram_color=FA8000
|
||||
fps
|
||||
fps_metrics=avg,0.01
|
||||
gpu_name
|
||||
frame_timing
|
||||
frametime_color=FA8000
|
||||
fps_limit_method=late
|
||||
toggle_fps_limit=Shift_L+F1
|
||||
|
||||
fps_limit=0
|
||||
resolution
|
||||
gamemode
|
||||
custom_text=-
|
||||
exec=cat /home/szymon/.config/goverlay/distro
|
||||
custom_text=-
|
||||
exec=uname -r
|
||||
fps_color_change
|
||||
fps_color=B22222,FDFD09,39F900
|
||||
fps_value=30,60
|
||||
#offset=0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
output_folder=/home/szymon
|
||||
log_duration=30
|
||||
autostart_log=0
|
||||
log_interval=100
|
||||
toggle_logging=Shift_L+F2
|
||||
|
||||
blacklist=pamac-manager,lact,ghb,bitwig-studio,ptyxis,yumex
|
||||
@@ -1,49 +0,0 @@
|
||||
[Added Associations]
|
||||
application/x-extension-htm=zen-beta.desktop;zen.desktop;userapp-Zen-2KDM82.desktop;
|
||||
application/x-extension-html=zen-beta.desktop;zen.desktop;userapp-Zen-2KDM82.desktop;
|
||||
application/x-extension-shtml=zen-beta.desktop;zen.desktop;userapp-Zen-2KDM82.desktop;
|
||||
application/x-extension-xht=zen-beta.desktop;zen.desktop;userapp-Zen-2KDM82.desktop;
|
||||
application/x-extension-xhtml=zen-beta.desktop;zen.desktop;userapp-Zen-2KDM82.desktop;
|
||||
application/xhtml+xml=zen-beta.desktop;zen.desktop;userapp-Zen-2KDM82.desktop;
|
||||
image/png=feh-2.desktop;
|
||||
text/html=zen-beta.desktop;zen.desktop;userapp-Zen-2KDM82.desktop;
|
||||
x-scheme-handler/chrome=zen.desktop;userapp-Zen-2KDM82.desktop;zen-beta.desktop;
|
||||
x-scheme-handler/http=zen.desktop;userapp-Zen-2KDM82.desktop;zen-beta.desktop;
|
||||
x-scheme-handler/https=zen.desktop;userapp-Zen-2KDM82.desktop;zen-beta.desktop;
|
||||
|
||||
[Default Applications]
|
||||
application/pdf=org.pwmt.zathura.desktop
|
||||
application/x-extension-htm=zen.desktop
|
||||
application/x-extension-html=zen.desktop
|
||||
application/x-extension-shtml=zen.desktop
|
||||
application/x-extension-xht=zen.desktop
|
||||
application/x-extension-xhtml=zen.desktop
|
||||
application/xhtml+xml=zen.desktop
|
||||
audio/*=mpv.desktop
|
||||
audio/aac=mpv.desktop
|
||||
audio/flac=mpv.desktop
|
||||
audio/hx-aac-adts=mpv.desktop
|
||||
audio/mpeg=mpv.desktop
|
||||
audio/ogg=mpv.desktop
|
||||
audio/wav=mpv.desktop
|
||||
audio/x-hx-aac-adts=mpv.desktop
|
||||
image/*=org.kde.koko.desktop
|
||||
image/bmp=feh.desktop
|
||||
image/gif=org.kde.koko.desktop
|
||||
image/jpeg=org.kde.koko.desktop
|
||||
image/jpg=org.kde.koko.desktop
|
||||
image/png=feh-2.desktop;
|
||||
image/svg+xml=feh.desktop
|
||||
image/webp=org.kde.koko.desktop
|
||||
text/html=zen.desktop
|
||||
x-scheme-handler/chrome=zen.desktop
|
||||
x-scheme-handler/discord=vesktop.desktop
|
||||
x-scheme-handler/freetube=FreeTube.desktop
|
||||
x-scheme-handler/http=zen.desktop
|
||||
x-scheme-handler/https=zen.desktop
|
||||
x-scheme-handler/nxm=ModOrganizer-steamtinkerlaunch-dl.desktop
|
||||
x-scheme-handler/nxm-protocol=ModOrganizer-steamtinkerlaunch-dl.desktop
|
||||
x-scheme-handler/proton-inbox=Proton Mail.desktop
|
||||
x-scheme-handler/sgnl=signal-desktop.desktop
|
||||
x-scheme-handler/signalcaptcha=signal-desktop.desktop
|
||||
x-scheme-handler/tuta=tutanota-desktop.desktop
|
||||
@@ -1,3 +0,0 @@
|
||||
require("config.lazy")
|
||||
require("config.set")
|
||||
require("config.remaps")
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "dae4f5aaa3574bd0c2b9dd20fb9542a02c10471c" },
|
||||
"catppuccin": { "branch": "main", "commit": "0a5de4da015a175f416d6ef1eda84661623e0500" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
||||
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "9f3c6dd7868bcc116e9c1c1929ce063b978fa519" },
|
||||
"harpoon": { "branch": "harpoon2", "commit": "87b1a3506211538f460786c23f98ec63ad9af4e5" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "21c2a84ce368e99b18f52ab348c4c02c32c02fcf" },
|
||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "44acfe887d4056f704ccc4f17513ed41c9e2b2e6" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
os.exit(1)
|
||||
end
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||
-- loading lazy.nvim so that mappings are correct.
|
||||
-- This is also a good place to setup other settings (vim.opt)
|
||||
vim.api.nvim_set_keymap('', "<Space>", "<Nop>", { noremap = true, silent = true })
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = "\\"
|
||||
|
||||
-- Setup lazy.nvim
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
-- import your plugins
|
||||
{ import = "plugins" },
|
||||
},
|
||||
-- Configure any other settings here. See the documentation for more details.
|
||||
-- colorscheme that will be used when installing plugins.
|
||||
install = { colorscheme = { "habamax" } },
|
||||
-- automatically check for plugin updates
|
||||
checker = { enabled = true },
|
||||
})
|
||||
@@ -1,13 +0,0 @@
|
||||
-- shift code --
|
||||
vim.keymap.set('x', '>', ">gv", { desc = "Shift code right" })
|
||||
vim.keymap.set('x', '<', "<gv", { desc = "Shift code left" })
|
||||
|
||||
-- lsp --
|
||||
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, { noremap = true, silent = true, desc = "Code action" })
|
||||
|
||||
vim.keymap.set('n', '<leader>cf', vim.lsp.buf.format, { desc = "Code format" })
|
||||
|
||||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, { desc = "Go to definition" })
|
||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, { desc = "Go to implementation" })
|
||||
|
||||
vim.keymap.set('n', '<leader>r', vim.lsp.buf.rename, { desc = "Rename symbol" })
|
||||
@@ -1,34 +0,0 @@
|
||||
-- Colorscheme --
|
||||
vim.cmd.colorscheme "catppuccin-mocha"
|
||||
-- Looks --
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.number = true
|
||||
vim.opt.signcolumn = 'yes'
|
||||
vim.opt.cursorline = false
|
||||
vim.opt.list = true
|
||||
vim.opt.wrap = true
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.list = true
|
||||
|
||||
-- Highlight line yank --
|
||||
vim.api.nvim_create_augroup("YankHighlight", { clear = true })
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
group = "YankHighlight",
|
||||
callback = function()
|
||||
vim.highlight.on_yank({ higroup = "IncSearch", timeout = 200 })
|
||||
end,
|
||||
})
|
||||
|
||||
-- shared clipboard --
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
|
||||
-- Language --
|
||||
vim.opt.spell = true
|
||||
vim.opt.spelllang = { 'pl', 'en' }
|
||||
|
||||
-- Telescope --
|
||||
local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, { desc = 'Telescope find files' })
|
||||
vim.keymap.set('n', '<leader>fg', builtin.git_files, { desc = 'Telescope find git files' })
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
'windwp/nvim-autopairs',
|
||||
event = "InsertEnter",
|
||||
config = true
|
||||
-- use opts = {} for passing setup options
|
||||
-- this is equivalent to setup({}) function
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
priority = 1000
|
||||
}
|
||||
@@ -1,119 +0,0 @@
|
||||
return {
|
||||
"lewis6991/gitsigns.nvim",
|
||||
|
||||
config = function()
|
||||
require('gitsigns').setup {
|
||||
signs = {
|
||||
add = { text = '┃' },
|
||||
change = { text = '┃' },
|
||||
delete = { text = '_' },
|
||||
topdelete = { text = '‾' },
|
||||
changedelete = { text = '~' },
|
||||
untracked = { text = '┆' },
|
||||
},
|
||||
signs_staged = {
|
||||
add = { text = '┃' },
|
||||
change = { text = '┃' },
|
||||
delete = { text = '_' },
|
||||
topdelete = { text = '‾' },
|
||||
changedelete = { text = '~' },
|
||||
untracked = { text = '┆' },
|
||||
},
|
||||
signs_staged_enable = true,
|
||||
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
|
||||
numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
|
||||
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
|
||||
word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
|
||||
watch_gitdir = {
|
||||
follow_files = true
|
||||
},
|
||||
auto_attach = true,
|
||||
attach_to_untracked = false,
|
||||
current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`
|
||||
current_line_blame_opts = {
|
||||
virt_text = true,
|
||||
virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
|
||||
delay = 1000,
|
||||
ignore_whitespace = false,
|
||||
virt_text_priority = 100,
|
||||
use_focus = true,
|
||||
},
|
||||
current_line_blame_formatter = '<author>, <author_time:%R> - <summary>',
|
||||
sign_priority = 6,
|
||||
update_debounce = 100,
|
||||
status_formatter = nil, -- Use default
|
||||
max_file_length = 40000, -- Disable if file is longer than this (in lines)
|
||||
preview_config = {
|
||||
-- Options passed to nvim_open_win
|
||||
style = 'minimal',
|
||||
relative = 'cursor',
|
||||
row = 0,
|
||||
col = 1
|
||||
},
|
||||
|
||||
on_attach = function(bufnr)
|
||||
local gitsigns = require('gitsigns')
|
||||
|
||||
local function map(mode, l, r, opts)
|
||||
opts = opts or {}
|
||||
opts.buffer = bufnr
|
||||
vim.keymap.set(mode, l, r, opts)
|
||||
end
|
||||
|
||||
-- Navigation
|
||||
map('n', ']c', function()
|
||||
if vim.wo.diff then
|
||||
vim.cmd.normal({ ']c', bang = true })
|
||||
else
|
||||
gitsigns.nav_hunk('next')
|
||||
end
|
||||
end)
|
||||
|
||||
map('n', '[c', function()
|
||||
if vim.wo.diff then
|
||||
vim.cmd.normal({ '[c', bang = true })
|
||||
else
|
||||
gitsigns.nav_hunk('prev')
|
||||
end
|
||||
end)
|
||||
|
||||
-- Actions
|
||||
map('n', '<leader>hs', gitsigns.stage_hunk)
|
||||
map('n', '<leader>hr', gitsigns.reset_hunk)
|
||||
|
||||
map('v', '<leader>hs', function()
|
||||
gitsigns.stage_hunk({ vim.fn.line('.'), vim.fn.line('v') })
|
||||
end)
|
||||
|
||||
map('v', '<leader>hr', function()
|
||||
gitsigns.reset_hunk({ vim.fn.line('.'), vim.fn.line('v') })
|
||||
end)
|
||||
|
||||
map('n', '<leader>hS', gitsigns.stage_buffer)
|
||||
map('n', '<leader>hR', gitsigns.reset_buffer)
|
||||
map('n', '<leader>hp', gitsigns.preview_hunk)
|
||||
map('n', '<leader>hi', gitsigns.preview_hunk_inline)
|
||||
|
||||
map('n', '<leader>hb', function()
|
||||
gitsigns.blame_line({ full = true })
|
||||
end)
|
||||
|
||||
map('n', '<leader>hd', gitsigns.diffthis)
|
||||
|
||||
map('n', '<leader>hD', function()
|
||||
gitsigns.diffthis('~')
|
||||
end)
|
||||
|
||||
map('n', '<leader>hQ', function() gitsigns.setqflist('all') end)
|
||||
map('n', '<leader>hq', gitsigns.setqflist)
|
||||
|
||||
-- Toggles
|
||||
map('n', '<leader>tb', gitsigns.toggle_current_line_blame)
|
||||
map('n', '<leader>tw', gitsigns.toggle_word_diff)
|
||||
|
||||
-- Text object
|
||||
map({ 'o', 'x' }, 'ih', gitsigns.select_hunk)
|
||||
end
|
||||
}
|
||||
end
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
return {
|
||||
"ThePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
init = function()
|
||||
local harpoon = require("harpoon")
|
||||
|
||||
-- REQUIRED
|
||||
harpoon:setup()
|
||||
-- REQUIRED
|
||||
|
||||
vim.keymap.set("n", "<leader>a", function() harpoon:list():add() end, { desc = "Add file to harpoon" })
|
||||
vim.keymap.set("n", "<C-e>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end,
|
||||
{ desc = "Toggle harpoon ui" })
|
||||
|
||||
vim.keymap.set("n", "<C-h>", function() harpoon:list():select(1) end)
|
||||
vim.keymap.set("n", "<C-j>", function() harpoon:list():select(2) end)
|
||||
vim.keymap.set("n", "<C-k>", function() harpoon:list():select(3) end)
|
||||
vim.keymap.set("n", "<C-l>", function() harpoon:list():select(4) end)
|
||||
|
||||
-- Toggle previous & next buffers stored within Harpoon list
|
||||
vim.keymap.set("n", "<C-S-P>", function() harpoon:list():prev() end,
|
||||
{ desc = "Toggle next harpoon buffer" })
|
||||
vim.keymap.set("n", "<C-S-N>", function() harpoon:list():next() end,
|
||||
{ desc = "Toggle previous harpoon buffer" })
|
||||
|
||||
-- basic telescope configuration
|
||||
local conf = require("telescope.config").values
|
||||
local function toggle_telescope(harpoon_files)
|
||||
local file_paths = {}
|
||||
for _, item in ipairs(harpoon_files.items) do
|
||||
table.insert(file_paths, item.value)
|
||||
end
|
||||
|
||||
require("telescope.pickers").new({}, {
|
||||
prompt_title = "Harpoon",
|
||||
finder = require("telescope.finders").new_table({
|
||||
results = file_paths,
|
||||
}),
|
||||
previewer = conf.file_previewer({}),
|
||||
sorter = conf.generic_sorter({}),
|
||||
}):find()
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<C-e>", function() toggle_telescope(harpoon:list()) end,
|
||||
{ desc = "Open harpoon window" })
|
||||
end
|
||||
}
|
||||
@@ -1,115 +0,0 @@
|
||||
return {
|
||||
'neovim/nvim-lspconfig',
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
opts = {
|
||||
modifiable = true
|
||||
}
|
||||
},
|
||||
{
|
||||
"mason-org/mason-lspconfig.nvim",
|
||||
opts = {},
|
||||
},
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
'hrsh7th/cmp-buffer',
|
||||
'hrsh7th/cmp-path',
|
||||
'hrsh7th/cmp-cmdline',
|
||||
'hrsh7th/nvim-cmp',
|
||||
'saadparwaiz1/cmp_luasnip',
|
||||
{ "L3MON4D3/LuaSnip", build = "make install_jsregexp" },
|
||||
},
|
||||
config = function()
|
||||
local cmp_lsp = require("cmp_nvim_lsp")
|
||||
local cmp = require("cmp")
|
||||
local cmp_select = { behavior = cmp.SelectBehavior.Select }
|
||||
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require("luasnip").lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-e>'] = cmp.mapping.abort(),
|
||||
['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
|
||||
['<C-n>'] = cmp.mapping.select_next_item(cmp_select),
|
||||
['<C-y>'] = cmp.mapping.confirm({ select = true }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'luasnip' },
|
||||
},
|
||||
{
|
||||
{ name = 'buffer' },
|
||||
})
|
||||
})
|
||||
local capabilities = vim.tbl_deep_extend(
|
||||
"force",
|
||||
{},
|
||||
vim.lsp.protocol.make_client_capabilities(),
|
||||
cmp_lsp.default_capabilities()
|
||||
)
|
||||
vim.diagnostic.config({
|
||||
virtual_text = {
|
||||
prefix = "●",
|
||||
spacing = 2,
|
||||
source = "if_many",
|
||||
},
|
||||
signs = true,
|
||||
underline = true,
|
||||
update_in_insert = false
|
||||
})
|
||||
|
||||
require("mason-lspconfig").setup({
|
||||
ensure_installed = {
|
||||
"lua_ls",
|
||||
"clangd",
|
||||
"rust_analyzer"
|
||||
},
|
||||
handlers = {
|
||||
function(server_name)
|
||||
require("lspconfig")[server_name].setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
end
|
||||
},
|
||||
automatic_enable = true,
|
||||
})
|
||||
|
||||
local buffer_autoformat = function(bufnr)
|
||||
local group = 'lsp_autoformat'
|
||||
vim.api.nvim_create_augroup(group, { clear = false })
|
||||
vim.api.nvim_clear_autocmds({ group = group, buffer = bufnr })
|
||||
|
||||
vim.api.nvim_create_autocmd('BufWritePre', {
|
||||
buffer = bufnr,
|
||||
group = group,
|
||||
desc = "Lsp format on save",
|
||||
callback = function()
|
||||
vim.lsp.buf.format({ async = false, timeout_ms = 10000 })
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd('LspAttach', {
|
||||
callback = function(event)
|
||||
local id = vim.tbl_get(event, 'data', 'client_id')
|
||||
local client = id and vim.lsp.get_client_by_id(id)
|
||||
|
||||
if client == nil then
|
||||
return
|
||||
end
|
||||
|
||||
if client.supports_method('textDocument/formatting') then
|
||||
buffer_autoformat(event.buf)
|
||||
end
|
||||
end
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
tag = '0.1.8',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>?",
|
||||
function()
|
||||
require("which-key").show({ global = false })
|
||||
end,
|
||||
desc = "Buffer Local Keymaps (which-key)",
|
||||
},
|
||||
},
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user