This commit is contained in:
2026-09-16 08:44:15 +02:00
parent 1e56b05236
commit f082f9db74
15 changed files with 88 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
{ {
"workbench.iconTheme": "Monokai Pro Light Icons", "workbench.iconTheme": "Monokai Pro Icons",
"editor.fontFamily": "JetBrains Mono Semibold, Fira Code, Menlo, Monaco, 'Courier New', monospace", "editor.fontFamily": "JetBrains Mono Semibold, Fira Code, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 18, "editor.fontSize": 18,
"editor.fontWeight": "normal", "editor.fontWeight": "normal",
@@ -8,7 +8,6 @@
"editor.minimap.renderCharacters": false, "editor.minimap.renderCharacters": false,
"editor.suggestSelection": "first", "editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"window.titleBarStyle": "custom",
"workbench.sideBar.location": "right", "workbench.sideBar.location": "right",
// //
// Excluded files and directories // Excluded files and directories
@@ -27,6 +26,7 @@
// File associations with languages // File associations with languages
"files.associations": { "files.associations": {
"*.pgpass": "yaml", "*.pgpass": "yaml",
"apple-app-site-association": "json"
}, },
// //
// Settings Sync // Settings Sync
@@ -136,4 +136,8 @@
"workbench.editor.editorActionsLocation": "hidden", "workbench.editor.editorActionsLocation": "hidden",
"editor.overtypeCursorStyle": "block-outline", "editor.overtypeCursorStyle": "block-outline",
"editor.cursorStyle": "block", "editor.cursorStyle": "block",
"workbench.experimental.modernUI": true,
"extensions.supportAgentsWindow": {
"monokai.theme-monokai-pro-vscode": true
},
} }

View File

@@ -48,7 +48,8 @@ bindings = [
[keyboard] [keyboard]
bindings = [ bindings = [
{ key = "Back", mods = "Control", chars = "\u001b\u007f"}, { key = "Back", mods = "Control", chars = "\u001b\u007f"},
{ key = "N", mods = "Control", action = "SpawnNewInstance" } { key = "N", mods = "Control", action = "SpawnNewInstance" },
{ key = "Return", mods = "Shift", chars = "\u001B\r"}
] ]
[scrolling] [scrolling]

View File

@@ -16,5 +16,5 @@ hl.on("hyprland.start", function ()
hl.exec_cmd("localsend", { workspace = workspaces.special.files .. " silent"}) hl.exec_cmd("localsend", { workspace = workspaces.special.files .. " silent"})
hl.exec_cmd("ratbagctl list") hl.exec_cmd("ratbagctl list")
hl.exec_cmd("~/code/ha-notifications/ha-notifications") -- hl.exec_cmd("~/code/ha-notifications/ha-notifications")
end) end)

View File

@@ -1,4 +1,5 @@
local programs = require("hyprland.variables.programs") local programs = require("hyprland.variables.programs")
local monitors = require("hyprland.variables.monitors")
hl.config({ hl.config({
binds = { binds = {
@@ -66,7 +67,7 @@ local order = { workspaces.special.term, workspaces.special.social, workspaces.s
for i, workspace in ipairs(order) do for i, workspace in ipairs(order) do
local specialWorkspace = string.match(workspace, "special:(.+)") local specialWorkspace = string.match(workspace, "special:(.+)")
local fkey = 12 - (i - 1) local fkey = 12 - (i - 1)
hl.bind(mainMod .. " + F" .. fkey, hl.dsp.focus({ monitor = "DP-1"})) hl.bind(mainMod .. " + F" .. fkey, hl.dsp.focus({ monitor = monitors.primary }))
hl.bind(mainMod .. " + F" .. fkey, hl.dsp.workspace.toggle_special(specialWorkspace)) hl.bind(mainMod .. " + F" .. fkey, hl.dsp.workspace.toggle_special(specialWorkspace))
hl.bind(mainMod .. " + SHIFT + F" .. fkey, hl.dsp.window.move({ workspace = workspace })) hl.bind(mainMod .. " + SHIFT + F" .. fkey, hl.dsp.window.move({ workspace = workspace }))
end end

View File

@@ -116,3 +116,10 @@ hl.window_rule({
stay_focused = true, stay_focused = true,
dim_around = true, dim_around = true,
}) })
hl.window_rule({
name = "float-uxplay",
match = { class = "GStreamer", title = "Pauls PC" },
float = true
})

View File

@@ -14,9 +14,9 @@ end
-- Set gaps for special workspaces -- Set gaps for special workspaces and assign to primary monitor
for _, workspace in pairs(workspaces.special) do for _, workspace in pairs(workspaces.special) do
hl.workspace_rule({ workspace = workspace, gaps_out = 64 }) hl.workspace_rule({ workspace = workspace, gaps_out = 64, monitor = monitors.primary })
end end
-- Configure layouts -- Configure layouts

View File

@@ -1,7 +1,7 @@
local M = {} local M = {}
M.primary = "DP-1" M.primary = "DP-2"
M.secondary = "DP-2" M.secondary = "DP-1"
M.tv = "HDMI-A-1" M.tv = "HDMI-A-1"

View File

@@ -0,0 +1 @@
/home/paul/.config/systemd/user/playerctld.service

View File

@@ -0,0 +1,9 @@
[Unit]
Description="Homeassistant utilities, such as notifications."
[Service]
ExecStart=
Restart=on-failure
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description=MPRIS proxy daemon for playerctl
[Service]
ExecStart=/usr/bin/playerctld
Restart=on-failure
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,13 @@
[Unit]
Description=AirPlay Unix mirroring server
Requires=avahi-daemon
After=avahi-daemon
[Service]
Type=simple
ExecStart=uxplay
Restart=on-failure
#StandardOutput=file:%h/uxplay.log
[Install]
WantedBy=default.target

View File

@@ -1,3 +1,4 @@
n "Pauls PC" n "Pauls PC"
nh nh
fps 60 fps 60
p 7000

View File

@@ -13,5 +13,34 @@
"imports": [ "imports": [
"appeareance.jsonc", "appeareance.jsonc",
"general.jsonc" "general.jsonc"
] ],
"providers": {
"@HarshNarayanJha/store.vicinae.timer": {
"preferences": {
"presets": "1m,2m,5m,10m"
}
},
"@gebeto/store.raycast.translate": {
"entrypoints": {
"instant-translate-copy": {
"enabled": false
},
"instant-translate-paste": {
"enabled": false
},
"instant-translate-view": {
"enabled": false
},
"quick-translate": {
"enabled": false
},
"translate-form": {
"enabled": false
}
}
},
"@nikbpetrov/store.vicinae.it-tools": {
"enabled": false
}
}
} }

View File

@@ -1,6 +1,6 @@
{ {
"layer": "top", "layer": "top",
"output": "DP-1", "output": "DP-2",
"modules-left": [ "modules-left": [
"custom/power", "custom/power",
"hyprland/workspaces", "hyprland/workspaces",
@@ -29,7 +29,7 @@
"format": "{}", "format": "{}",
"return-type": "json", "return-type": "json",
"interval": 1, "interval": 1,
"on-click": "pidof hypridle >/dev/null && killall hypridle || hyprctl dispatch exec hypridle" "on-click": "pidof hypridle >/dev/null && killall hypridle || hyprctl --instance 0 eval 'hl.exec_cmd(\"hypridle\")'"
}, },
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{name}", "format": "{name}",

3
.zshrc
View File

@@ -89,9 +89,6 @@ alias wsrecupdevdb="psql -h ep-broad-base-ag8vy0hl-pooler.c-2.eu-central-1.aws.n
# Fix ls colors for synology directories # Fix ls colors for synology directories
LS_COLORS+=':ow=01;33' LS_COLORS+=':ow=01;33'
# Fix colors for ssh sessions
TERM=xterm-256color
# history # history
HISTFILE=~/.histfile HISTFILE=~/.histfile
HISTSIZE=10000 HISTSIZE=10000