Update all

This commit is contained in:
Pablu
2026-01-20 10:40:50 +01:00
parent 365b3a180b
commit efa6e543ad
13 changed files with 115 additions and 371 deletions

View File

@@ -1,200 +1,7 @@
{
"svelte.enable-ts-plugin": true,
"workbench.sideBar.location": "right",
"vim.leader": "<space>",
"editor.cursorSurroundingLines": 8,
"vim.smartRelativeLine": true,
"vim.useSystemClipboard": true,
"vim.highlightedyank.enable": true,
"vim.easymotion": true,
"vim.hlsearch": true,
"vim.highlightedyank.color": "#a9dc7660",
"vim.highlightedyank.duration": 250,
"extensions.experimental.affinity": {
"vscodevim.vim": 1
},
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"<leader>",
"w"
],
"after": [
"leader",
"leader",
"w"
]
},
{
"before": [
"<leader>",
"b"
],
"after": [
"leader",
"leader",
"b"
]
},
{
"before": [
"<leader>",
"f"
],
"after": [
"leader",
"leader",
"2",
"s"
]
}
],
"vim.normalModeKeyBindings": [
{
"before": [
"g",
"p",
"d"
],
"commands": [
"editor.action.peekDefinition"
]
},
{
"before": [
"K"
],
"commands": [
"editor.action.showDefinitionPreviewHover"
]
},
{
"before": [
"g",
"i"
],
"commands": [
"editor.action.goToImplementation"
]
},
{
"before": [
"g",
"p",
"i"
],
"commands": [
"editor.action.peekImplementation"
]
},
{
"before": [
"<leader>",
"c",
"a"
],
"commands": [
"editor.action.quickFix"
]
},
{
"before": [
"<leader>",
"d",
"d"
],
"commands": [
"workbench.actions.view.toggleProblems"
]
},
{
"before": [
"g",
"r"
],
"commands": [
"editor.action.referenceSearch.trigger"
]
},
{
"before": [
"g",
"t"
],
"commands": [
"editor.action.goToTypeDefinition"
]
},
{
"before": [
"g",
"p",
"t"
],
"commands": [
"editor.action.peekTypeDefinition"
]
},
{
"before": [
"<leader>",
"g",
"f"
],
"commands": [
"editor.action.formatDocument"
]
},
{
"before": [
"<leader>",
"e"
],
"commands": [
"workbench.view.explorer"
]
},
{
"before": [
"<leader>",
"e"
],
"commands": [
"workbench.view.explorer"
]
},
{
"before": [
"g",
"c",
"c"
],
"commands": [
"editor.action.commentLine"
]
},
{
"before": [
"<leader>",
"c",
"r"
],
"commands": [
"editor.action.rename"
]
}
],
"vim.visualModeKeyBindings": [
{
"before": [
"g",
"c"
],
"commands": [
"editor.action.commentLine"
]
}
],
"git.autofetch": true,
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
@@ -232,4 +39,7 @@
"editor.fontLigatures": false,
"catppuccin.italicKeywords": false,
"workbench.colorTheme": "Catppuccin Latte",
"extensions.experimental.affinity": {
"asvetliakov.vscode-neovim": 1
},
}

View File

@@ -1,37 +1,37 @@
# Auto generated window rules for Games
windowrule = fullscreen, title:(Stardew Valley), class:(Stardew Valley)
windowrule = monitor DP-3, title:(Stardew Valley), class:(Stardew Valley)
windowrule = allowsinput, title:(Stardew Valley), class:(Stardew Valley)
windowrule = fullscreen on, match:title "Stardew Valley", match:class "Stardew Valley"
windowrule = monitor DP-3, match:title "Stardew Valley", match:class "Stardew Valley"
windowrule = allows_input on, match:title "Stardew Valley", match:class "Stardew Valley"
windowrule = tile, initialClass:(steam_app_.*)
windowrule = maximize, initialClass:(steam_app_.*)
windowrule = fullscreen, initialClass:(steam_app_.*)
windowrule = monitor DP-3, initialClass:(steam_app_.*)
windowrule = allowsinput, initialClass:(steam_app_.*)
windowrule = tile on, match:initial_class "steam_app_.*"
windowrule = maximize on, match:initial_class "steam_app_.*"
windowrule = fullscreen on, match:initial_class "steam_app_.*"
windowrule = monitor DP-3, match:initial_class "steam_app_.*"
windowrule = allows_input on, match:initial_class "steam_app_.*"
windowrule = stayfocused, title:(ffxiv*), class:(ffxiv*)
windowrule = fullscreen, title:(ffxiv*), class:(ffxiv*)
windowrule = monitor DP-3, title:(ffxiv*), class:(ffxiv*)
windowrule = allowsinput, title:(ffxiv*), class:(ffxiv*)
windowrule = stay_focused on, match:title "ffxiv*", match:class "ffxiv*"
windowrule = fullscreen on, match:title "ffxiv*", match:class "ffxiv*"
windowrule = monitor DP-3, match:title "ffxiv*", match:class "ffxiv*"
windowrule = allows_input on, match:title "ffxiv*", match:class "ffxiv*"
windowrule = fullscreen, title:(Hollow Knight), class:(Hollow Knight)
windowrule = monitor DP-3, title:(Hollow Knight), class:(Hollow Knight)
windowrule = allowsinput, title:(Hollow Knight), class:(Hollow Knight)
windowrule = fullscreen on, match:title "Hollow Knight", match:class "Hollow Knight"
windowrule = monitor DP-3, match:title "Hollow Knight", match:class "Hollow Knight"
windowrule = allows_input on, match:title "Hollow Knight", match:class "Hollow Knight"
windowrule = fullscreen, title:(HELLDIVERS*), class:(HELLDIVERS*)
windowrule = monitor DP-3, title:(HELLDIVERS*), class:(HELLDIVERS*)
windowrule = allowsinput, title:(HELLDIVERS*), class:(HELLDIVERS*)
windowrule = fullscreen on, match:title "HELLDIVERS*", match:class "HELLDIVERS*"
windowrule = monitor DP-3, match:title "HELLDIVERS*", match:class "HELLDIVERS*"
windowrule = allows_input on, match:title "HELLDIVERS*", match:class "HELLDIVERS*"
windowrule = tile, title:(CS), class:(CS)
windowrule = maximize, title:(CS), class:(CS)
windowrule = fullscreen, title:(CS), class:(CS)
windowrule = monitor DP-3, title:(CS), class:(CS)
windowrule = allowsinput, title:(CS), class:(CS)
windowrule = tile on, match:title "CS", match:class "CS"
windowrule = maximize on, match:title "CS", match:class "CS"
windowrule = fullscreen on, match:title "CS", match:class "CS"
windowrule = monitor DP-3, match:title "CS", match:class "CS"
windowrule = allows_input on, match:title "CS", match:class "CS"
windowrule = tile, title:(Warhammer 40,000: Darktide)
windowrule = maximize, title:(Warhammer 40,000: Darktide)
windowrule = fullscreen, title:(Warhammer 40,000: Darktide)
windowrule = monitor DP-3, title:(Warhammer 40,000: Darktide)
windowrule = allowsinput, title:(Warhammer 40,000: Darktide)
windowrule = tile on, match:title "Warhammer 40.000: Darktide"
windowrule = maximize on, match:title "Warhammer 40.000: Darktide"
windowrule = fullscreen on, match:title "Warhammer 40.000: Darktide"
windowrule = monitor DP-3, match:title "Warhammer 40.000: Darktide"
windowrule = allows_input on, match:title "Warhammer 40.000: Darktide"

View File

@@ -92,9 +92,7 @@ misc {
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = de #us,
# kb_variant = qwertz #,
kb_options = grp:alt_space_toggle
kb_layout = de
follow_mouse = 1
sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification.
@@ -105,3 +103,8 @@ input {
natural_scroll = false
}
}
device {
name = kinesis-kinesis-adv360-1
kb_layout = us
}

View File

@@ -23,3 +23,5 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR
exec-once = dunst
exec-once = polkit-kde-agent
exec-once = playerctld daemon
exec-once = $hyprlock

View File

@@ -20,8 +20,8 @@ workspace=9,monitor:DP-3,persistent:true
workspace=10,monitor:DP-3,persistent:true
# Other
windowrule = stayfocused, class:(swappy)
windowrule = allowsinput, class:(discord)
windowrule = monitor DP-2, class:(discord)
windowrule = noinitialfocus, initialClass:(steam)
windowrule = monitor DP-2, initialClass:(steam)
windowrule = stay_focused on, match:class swappy
windowrule = allows_input on, match:class discord
windowrule = monitor DP-2, match:class discord
windowrule = no_initial_focus on, match:initial_class steam
windowrule = monitor DP-2, match:initial_class steam

8
.config/hypr/fix-hypr-lock.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
IS_LOCKED=$(ps -e | grep hyprlock)
if [ -z "$IS_LOCKED" ]
then
hyprlock
fi

View File

@@ -2,12 +2,12 @@
games = [
("all", "Stardew Valley"),
("initialclass", "steam_app_.*", "tile", "max"),
("ic", "steam_app_.*", "tile", "max"),
("all", "ffxiv*", "sf"),
("all", "Hollow Knight"),
("all", "HELLDIVERS*"),
("all", "CS", "tile", "max"),
("title", "Warhammer 40,000: Darktide", "tile", "max")
("title", "Warhammer 40.000: Darktide", "tile", "max")
]
def main():
@@ -19,14 +19,14 @@ def main():
name = game[1]
match game[0]:
case "initialclass":
selector = f"initialClass:({name})"
case "ic":
selector = f"match:initial_class \"{name}\""
case "title":
selector = f"title:({name})"
selector = f"match:title \"{name}\""
case "class":
selector = f"class:({name})"
selector = f"match:class \"{name}\""
case "all":
selector = f"title:({name}), class:({name})"
selector = f"match:title \"{name}\", match:class \"{name}\""
case s:
print(f"Could not find selector for \"{s}\"")
continue
@@ -34,18 +34,18 @@ def main():
for setting in game[2::]:
match setting:
case "sf":
conf += f"windowrule = stayfocused, {selector}\n"
conf += f"windowrule = stay_focused on, {selector}\n"
case "tile":
conf += f"windowrule = tile, {selector}\n"
conf += f"windowrule = tile on, {selector}\n"
case "max":
conf += f"windowrule = maximize, {selector}\n"
conf += f"windowrule = maximize on, {selector}\n"
case s:
print(f"Could not find setting \"{s}\"")
conf += f"""windowrule = fullscreen, {selector}
conf += f"""windowrule = fullscreen on, {selector}
windowrule = monitor DP-3, {selector}
windowrule = allowsinput, {selector}\n
windowrule = allows_input on, {selector}\n
"""
f.write(conf)
f.close()

View File

@@ -2,7 +2,7 @@
# BACKGROUND
background {
monitor = DP-3
monitor = DP-4
path = /home/zam/.config/wallpapers/wall0.png
blur_passes = 3
contrast = 0.8916
@@ -12,7 +12,7 @@ background {
}
background {
monitor = DP-2
monitor = DP-3
path = /home/zam/.config/wallpapers/wall1.png
blur_passes = 3
contrast = 0.8916
@@ -31,7 +31,7 @@ general {
# INPUT FIELD
input-field {
monitor = DP-3
monitor = DP-4
size = 250, 60
outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
@@ -51,7 +51,7 @@ input-field {
# TIME
label {
monitor =
monitor = DP-4
text = cmd[update:1000] date +"%-I:%M%p"
# color = $foreground
color = rgba(255, 255, 255, 0.6)
@@ -64,7 +64,7 @@ label {
# USER
label {
monitor = DP-3
monitor = DP-4
text = Hi there, Zam
# color = $foreground
color = rgba(255, 255, 255, 0.6)

View File

@@ -1,6 +1,12 @@
preload = ~/.config/wallpapers/wall0.jpg
preload = ~/.config/wallpapers/wall1.jpg
wallpaper = DP-3,~/.config/wallpapers/wall0.jpg
wallpaper = DP-2,~/.config/wallpapers/wall1.jpg
wallpaper {
monitor = DP-4
path = ~/.config/wallpapers/wall0.jpg
}
wallpaper {
monitor = DP-3
path = ~/.config/wallpapers/wall1.jpg
}

View File

@@ -1,5 +1,8 @@
connect.mdns_devices="[]"
audio.play_bitrate_non_metered_migrated=true
connect.dial_devices="[{\"address\":\"192.168.2.158\",\"app_state\":\"MISSING\",\"created_timestamp\":1757418852,\"device_id\":\"ff98d289-21ff-14f9-b88a-a1e8ae8d4e6d\",\"dial_location_url\":\"http://192.168.2.158:56790/dd.xml\",\"display_name\":\"55PUS7609/12\",\"last_seen\":1757418972,\"manufacturer\":\"Philips\",\"model_name\":\"PUS7609\",\"product_cap\":\"\",\"public_ip\":\"2003:f0:7f0a:bb00:9fe2:aa0f:3a35:aac7\",\"wol\":{\"all_interfaces\":false,\"delay_ms\":250,\"mac\":\"0ccafb8d3446\",\"port\":9,\"retries\":320}}]"
connect.dial_devices="[]"
audio.hifi_upgraded=true
ui.track_notifications_enabled=false
audio.play_bitrate_non_metered_enumeration=5
audio.play_bitrate_enumeration=2
app.player.volume=36836

3
.config/starship.toml Normal file
View File

@@ -0,0 +1,3 @@
[directory]
truncation_length = 0
truncate_to_repo = false