mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-04-09 16:19:23 -07:00
Compare commits
4 Commits
a2ae083483
...
2afb1e4bf4
| Author | SHA1 | Date | |
|---|---|---|---|
|
2afb1e4bf4
|
|||
|
0b0783ef8e
|
|||
|
19bbaed7d0
|
|||
|
d0be09978c
|
@@ -129,3 +129,5 @@ alias wlp='wl-paste'
|
||||
alias vn32='WINEPREFIX=/home/sudacode/S/lutris/wineprefix32 WINEARCH=win32'
|
||||
alias impv='mpv --profile=subminer'
|
||||
alias smpv='mpv --profile=subminer'
|
||||
|
||||
alias code='code --password-store=gnome-libsecret'
|
||||
|
||||
@@ -43,7 +43,8 @@
|
||||
"code-review@claude-plugins-official": true,
|
||||
"code-simplifier@claude-plugins-official": true,
|
||||
"playwright@claude-plugins-official": true,
|
||||
"superpowers@claude-plugins-official": true
|
||||
"superpowers@claude-plugins-official": true,
|
||||
"coderabbit@claude-plugins-official": true
|
||||
},
|
||||
"sandbox": {
|
||||
"enabled": false,
|
||||
@@ -58,5 +59,6 @@
|
||||
"docker"
|
||||
]
|
||||
},
|
||||
"voiceEnabled": true,
|
||||
"skipDangerousModePermissionPrompt": true
|
||||
}
|
||||
|
||||
@@ -7,6 +7,10 @@ tool_output_token_limit = 25000
|
||||
# With tool_output_token_limit=25000 ⇒ 273000 - (25000 + 15000) = 233000
|
||||
model_auto_compact_token_limit = 233000
|
||||
suppress_unstable_features_warning = true
|
||||
|
||||
[sandbox_workspace_write]
|
||||
network_access = true
|
||||
|
||||
[features]
|
||||
ghost_commit = false
|
||||
unified_exec = true
|
||||
@@ -95,6 +99,33 @@ trust_level = "trusted"
|
||||
[projects."/home/sudacode/.config/hypr"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode/.cache/paru/clone/python-fugashi"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode/.local/share/Anki2/addons21/200813220"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode/packages/maintaining/python-manga-ocr"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode/S/downloads"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode/.config/waybar"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode/.config/pipewire"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/sudacode/.config/git"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[notice.model_migrations]
|
||||
"gpt-5.3-codex" = "gpt-5.4"
|
||||
|
||||
[mcp_servers.backlog]
|
||||
command = "backlog"
|
||||
args = ["mcp", "start"]
|
||||
|
||||
@@ -97,11 +97,13 @@
|
||||
"showNotificationOnUpdate": true,
|
||||
"autoUpdateNewCards": true,
|
||||
},
|
||||
"nPlusOne": {
|
||||
"knownWords": {
|
||||
"decks": ["Minecraft", "Kaishi 1.5k"],
|
||||
"highlightEnabled": true,
|
||||
"refreshMinutes": 60,
|
||||
"matchMode": "headword",
|
||||
},
|
||||
"nPlusOne": {
|
||||
"minSentenceWords": 3,
|
||||
},
|
||||
"metadata": {
|
||||
@@ -148,7 +150,7 @@
|
||||
"textRendering": "geometricPrecision",
|
||||
"textShadow": "0 3px 10px rgba(0,0,0,0.69)",
|
||||
"fontStyle": "normal",
|
||||
"backgroundColor": "transparent",
|
||||
// "backgroundColor": "transparent",
|
||||
"hoverTokenColor": "#f4dbd6",
|
||||
"hoverBackground": "rgba(54, 58, 79, 0.84)",
|
||||
"preserveLineBreaks": false,
|
||||
@@ -253,11 +255,17 @@
|
||||
"subtitleDictionaries": true,
|
||||
"jellyfinRemoteSession": false,
|
||||
},
|
||||
// "controller": {
|
||||
// "preferredGamepadId": "8BitDo 8BitDo Ultimate 2 Wireless Controller for PC (Vendor: 2dc8 Product: 310b)",
|
||||
// "preferredGamepadLabel": "8BitDo 8BitDo Ultimate 2 Wireless Controller for PC (Vendor: 2dc8 Product: 310b)",
|
||||
// },
|
||||
"yomitan": {
|
||||
"externalProfilePath": "~/.config/gsm_overlay",
|
||||
"controller": {
|
||||
"preferredGamepadId": "8BitDo 8BitDo Ultimate 2 Wireless Controller for PC (Vendor: 2dc8 Product: 310b)",
|
||||
"preferredGamepadLabel": "8BitDo 8BitDo Ultimate 2 Wireless Controller for PC (Vendor: 2dc8 Product: 310b)",
|
||||
},
|
||||
"yomitan": {
|
||||
"externalProfilePath": "",
|
||||
},
|
||||
"stats": {
|
||||
"toggleKey": "Backquote", // Key code to toggle the stats overlay.
|
||||
"serverPort": 6969, // Port for the stats HTTP server.
|
||||
"autoStartServer": true, // Automatically start the stats server on launch. Values: true | false
|
||||
"autoOpenBrowser": false,
|
||||
}, // Local immersion stats dashboard served on localhost and available as an in-app overlay.
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ general {
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
layout = scrolling
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
@@ -197,6 +197,10 @@ dwindle {
|
||||
split_width_multiplier = 1.69
|
||||
}
|
||||
|
||||
scrolling {
|
||||
fullscreen_on_one_column = true
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = slave
|
||||
|
||||
@@ -158,8 +158,13 @@ bind = ALT, g, exec, /opt/mpv-yomitan/mpv-yomitan.AppImage --toggle
|
||||
# F5
|
||||
bind = ,code:71, exec, ~/projects/scripts/whisper_record_transcribe.py --mode toggle --output type
|
||||
|
||||
|
||||
# SubMiner
|
||||
bind = ALT SHIFT, O, pass, class:^(SubMiner)$
|
||||
bind = ALT SHIFT, I, pass, class:^(SubMiner)$
|
||||
bind = ALT SHIFT, C, pass, class:^(SubMiner)$
|
||||
|
||||
# {{{ scrolling
|
||||
bind = $mainMod, comma, layoutmsg, swapcol l
|
||||
bind = $mainMod, period, layoutmsg, fit all
|
||||
bind = $mainMod, slash, layoutmsg, fit active
|
||||
# }}}
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
application/epub+zip=calibre-ebook-viewer.desktop;calibre-ebook-edit.desktop;opencomic.desktop;
|
||||
application/json=notepadqq.desktop;
|
||||
application/octet-stream=nvim.desktop;vim.desktop;emacsclient.desktop;
|
||||
application/pdf=okularApplication_pdf.desktop;google-chrome.desktop;microsoft-edge-beta.desktop;org.inkscape.Inkscape.desktop;chromium.desktop;
|
||||
application/pdf=okularApplication_pdf.desktop;zen.desktop;microsoft-edge-beta.desktop;org.inkscape.Inkscape.desktop;chromium.desktop;
|
||||
application/rss+xml=fluent-reader.desktop;
|
||||
application/sql=notepadqq.desktop;nvim.desktop;gvim.desktop;
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop;ms-office-online.desktop;
|
||||
application/x-desktop=nvim.desktop;
|
||||
application/x-extension-htm=google-chrome.desktop;
|
||||
application/x-extension-html=google-chrome.desktop;
|
||||
application/x-extension-shtml=google-chrome.desktop;
|
||||
application/x-extension-xht=google-chrome.desktop;
|
||||
application/x-extension-xhtml=google-chrome.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/x-ms-dos-executable=wine.desktop;
|
||||
application/x-ms-shortcut=wine.desktop;
|
||||
application/x-yaml=notepadqq.desktop;nvim.desktop;
|
||||
application/xhtml+xml=google-chrome.desktop;microsoft-edge-beta.desktop;qutebrowser.desktop;
|
||||
application/xhtml+xml=zen.desktop;microsoft-edge-beta.desktop;qutebrowser.desktop;
|
||||
application/zip=org.gnome.FileRoller.desktop;
|
||||
audio/aac=mpv.desktop;
|
||||
audio/mp4=mpv.desktop;
|
||||
@@ -37,14 +37,14 @@ audio/x-vorbis+ogg=mpv.desktop;
|
||||
audio/x-wav=mpv.desktop;
|
||||
image/avif=okularApplication_kimgio.desktop;
|
||||
image/bmp=okularApplication_kimgio.desktop;
|
||||
image/gif=org.gnome.gThumb.desktop;google-chrome.desktop;gimp.desktop;org.kde.gwenview.desktop;okularApplication_kimgio.desktop;
|
||||
image/gif=org.gnome.gThumb.desktop;zen.desktop;gimp.desktop;org.kde.gwenview.desktop;okularApplication_kimgio.desktop;
|
||||
image/heif=okularApplication_kimgio.desktop;
|
||||
image/jpeg=okularApplication_kimgio.desktop;
|
||||
image/png=okularApplication_kimgio.desktop;org.gnome.gThumb.desktop;feh.desktop;gimp.desktop;org.kde.gwenview.desktop;
|
||||
image/webp=okularApplication_kimgio.desktop;
|
||||
inode/directory=thunar.desktop;
|
||||
text/csv=libreoffice-calc.desktop;
|
||||
text/html=google-chrome.desktop;
|
||||
text/html=zen.desktop;
|
||||
text/javascript=notepadqq.desktop;
|
||||
text/plain=notepadqq.desktop;nvim.desktop;vim.desktop;okularApplication_txt.desktop;xed.desktop;
|
||||
text/vnd.trolltech.linguist=mpv.desktop;
|
||||
@@ -54,17 +54,17 @@ video/webm=mpv.desktop;vlc.desktop;io.github.celluloid_player.Celluloid.desktop;
|
||||
video/x-matroska=mpv.desktop;vlc.desktop;
|
||||
x-scheme-handler/betterdiscord=discord.desktop;
|
||||
x-scheme-handler/bitwarden=bitwarden.desktop;Bitwarden.desktop;
|
||||
x-scheme-handler/chrome=google-chrome.desktop;
|
||||
x-scheme-handler/chrome=zen.desktop;
|
||||
x-scheme-handler/exodus=Exodus.desktop;
|
||||
x-scheme-handler/geo=google-maps-geo-handler.desktop;
|
||||
x-scheme-handler/http=zen.desktop;firefox.desktop;microsoft-edge-beta.desktop;google-chrome.desktop;
|
||||
x-scheme-handler/https=zen.desktop;firefox.desktop;microsoft-edge-beta.desktop;google-chrome.desktop;
|
||||
x-scheme-handler/http=zen.desktop;firefox.desktop;microsoft-edge-beta.desktop;zen.desktop;
|
||||
x-scheme-handler/https=zen.desktop;firefox.desktop;microsoft-edge-beta.desktop;zen.desktop;
|
||||
x-scheme-handler/mailspring=Mailspring.desktop;
|
||||
x-scheme-handler/mailto=org.mozilla.Thunderbird.desktop;Mailspring.desktop;userapp-Thunderbird-6JYZ12.desktop;
|
||||
x-scheme-handler/mid=userapp-Thunderbird-6JYZ12.desktop;
|
||||
x-scheme-handler/postman=Postman.desktop;
|
||||
x-scheme-handler/ror2mm=r2modman.desktop;
|
||||
x-scheme-handler/ssh=kitty-open.desktop;Termius.desktop;
|
||||
x-scheme-handler/ssh=com.mitchellh.ghostty.desktop;kitty-open.desktop;Termius.desktop;
|
||||
x-scheme-handler/termius=Termius.desktop;
|
||||
x-scheme-handler/tg=org.telegram.desktop.desktop;org.telegram.desktop._f79d601e26a782fd149b3ffb098aae9f.desktop;userapp-Kotatogram Desktop-IP6312.desktop;
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop;
|
||||
@@ -72,11 +72,11 @@ x-scheme-handler/tradingview=tradingview.desktop;TradingView.desktop;
|
||||
application/x-wine-extension-ini=nvim.desktop;
|
||||
|
||||
[Default Applications]
|
||||
application/x-extension-htm=google-chrome.desktop
|
||||
application/x-extension-html=google-chrome.desktop
|
||||
application/x-extension-shtml=google-chrome.desktop
|
||||
application/x-extension-xht=google-chrome.desktop
|
||||
application/x-extension-xhtml=google-chrome.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
|
||||
audio/aac=mpv.desktop;
|
||||
audio/mp4=mpv.desktop;
|
||||
audio/mpeg=mpv.desktop;
|
||||
@@ -120,12 +120,12 @@ x-scheme-handler/mid=userapp-Thunderbird-6JYZ12.desktop
|
||||
x-scheme-handler/msteams=teams.desktop
|
||||
x-scheme-handler/postman=Postman.desktop
|
||||
x-scheme-handler/ror2mm=r2modman.desktop
|
||||
x-scheme-handler/ssh=kitty-open.desktop
|
||||
x-scheme-handler/ssh=com.mitchellh.ghostty.desktop;kitty-open.desktop
|
||||
x-scheme-handler/termius=Termius.desktop
|
||||
x-scheme-handler/tg=org.telegram.desktop.desktop
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop
|
||||
x-scheme-handler/tradingview=tradingview.desktop
|
||||
x-scheme-handler/webcal=google-chrome.desktop
|
||||
x-scheme-handler/webcal=zen.desktop
|
||||
video/webm=mpv.desktop
|
||||
video/x-matroska=mpv.desktop
|
||||
video/x-ms-wmv=mpv.desktop
|
||||
@@ -154,3 +154,4 @@ text/vnd.trolltech.linguist=zen.desktop
|
||||
x-scheme-handler/nxm=modorganizer2-nxm-handler.desktop
|
||||
x-scheme-handler/discord-1361252452329848892=discord-1361252452329848892.desktop
|
||||
x-scheme-handler/opencode=opencode-desktop-handler.desktop
|
||||
x-scheme-handler/subminer=subminer.desktop
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
database##os.Darwin
|
||||
0
.config/mpd/database##os.Linux
Normal file
0
.config/mpd/database##os.Linux
Normal file
Binary file not shown.
@@ -1,110 +0,0 @@
|
||||
-- mpv_websocket
|
||||
-- https://github.com/kuroahna/mpv_websocket
|
||||
|
||||
local use_secondary_subs = false
|
||||
|
||||
local utils = require("mp.utils")
|
||||
|
||||
local platform = mp.get_property_native("platform")
|
||||
|
||||
local config_file_path = mp.find_config_file("mpv.conf")
|
||||
local config_folder_path, config_file = utils.split_path(config_file_path)
|
||||
local mpv_websocket_path =
|
||||
utils.join_path(config_folder_path, platform == "windows" and "mpv_websocket.exe" or "mpv_websocket")
|
||||
local initialised_websocket
|
||||
|
||||
local _, err = utils.file_info(config_file_path)
|
||||
if err then
|
||||
error("failed to open mpv config file `" .. config_file_path .. "`")
|
||||
end
|
||||
|
||||
local _, err = utils.file_info(mpv_websocket_path)
|
||||
if err then
|
||||
error("failed to open mpv_websocket")
|
||||
end
|
||||
|
||||
local function find_mpv_socket(config_file_path)
|
||||
-- First, try to get from mpv properties (includes command-line options)
|
||||
local mpv_socket = mp.get_property("input-ipc-server")
|
||||
if mpv_socket and mpv_socket ~= "" then
|
||||
return mpv_socket
|
||||
end
|
||||
|
||||
-- Fall back to reading config file
|
||||
local file = io.open(config_file_path, "r")
|
||||
if file == nil then
|
||||
error("failed to read mpv config file `" .. config_file_path .. "`")
|
||||
end
|
||||
|
||||
for line in file:lines() do
|
||||
mpv_socket = line:match("^input%-ipc%-server%s*=%s*(%g+)%s*")
|
||||
if mpv_socket then
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
file:close()
|
||||
|
||||
if not mpv_socket then
|
||||
error("input-ipc-server option does not exist in `" .. config_file_path .. "`")
|
||||
end
|
||||
|
||||
return mpv_socket
|
||||
end
|
||||
|
||||
local mpv_socket = find_mpv_socket(config_file_path)
|
||||
if platform == "windows" then
|
||||
mpv_socket = "\\\\.\\pipe" .. mpv_socket:gsub("/", "\\")
|
||||
end
|
||||
|
||||
local function start_websocket()
|
||||
local args = {
|
||||
mpv_websocket_path,
|
||||
"-m",
|
||||
mpv_socket,
|
||||
"-w",
|
||||
"6677",
|
||||
}
|
||||
|
||||
if use_secondary_subs then
|
||||
table.insert(args, "-s")
|
||||
end
|
||||
|
||||
initialised_websocket = mp.command_native_async({
|
||||
name = "subprocess",
|
||||
playback_only = false,
|
||||
capture_stdout = true,
|
||||
capture_stderr = true,
|
||||
args = args,
|
||||
})
|
||||
end
|
||||
|
||||
local function end_websocket()
|
||||
mp.abort_async_command(initialised_websocket)
|
||||
initialised_websocket = nil
|
||||
end
|
||||
|
||||
local function toggle_websocket()
|
||||
local paused = mp.get_property_bool("pause")
|
||||
if initialised_websocket and paused then
|
||||
end_websocket()
|
||||
elseif not initialised_websocket and not paused then
|
||||
start_websocket()
|
||||
end
|
||||
end
|
||||
|
||||
local function toggle_subs_type()
|
||||
if use_secondary_subs then
|
||||
use_secondary_subs = false
|
||||
else
|
||||
use_secondary_subs = true
|
||||
end
|
||||
if initialised_websocket then
|
||||
end_websocket()
|
||||
start_websocket()
|
||||
end
|
||||
end
|
||||
|
||||
mp.register_script_message("togglewebsocket", toggle_websocket)
|
||||
mp.register_script_message("togglesubstype", toggle_subs_type)
|
||||
start_websocket()
|
||||
@@ -7,5 +7,5 @@ require("core.highlights")
|
||||
require("utils.extensions")
|
||||
require("utils.telescope_extra").setup()
|
||||
require("utils.functions.git_paste").setup({ telescope_key = "<leader>pg" })
|
||||
require("utils.treesitter.parsers.hyprlang")
|
||||
-- require("utils.treesitter.parsers.hyprlang")
|
||||
require("utils.hyprland.lsp")
|
||||
|
||||
@@ -6,7 +6,7 @@ return {
|
||||
"bashls",
|
||||
"basedpyright",
|
||||
"jsonls",
|
||||
-- "yamlls",
|
||||
"yamlls",
|
||||
"vimls",
|
||||
"dotls",
|
||||
"dockerls",
|
||||
|
||||
@@ -108,15 +108,15 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
["ui-select"] = {
|
||||
require("telescope.themes").get_dropdown({
|
||||
winblend = 10,
|
||||
width = 0.5,
|
||||
prompt = " ",
|
||||
results_height = 15,
|
||||
previewer = true,
|
||||
}),
|
||||
},
|
||||
-- ["ui-select"] = {
|
||||
-- require("telescope.themes").get_dropdown({
|
||||
-- winblend = 10,
|
||||
-- width = 0.5,
|
||||
-- prompt = " ",
|
||||
-- results_height = 15,
|
||||
-- previewer = true,
|
||||
-- }),
|
||||
-- },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,50 +1,4 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"lua",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"query",
|
||||
"cpp",
|
||||
"python",
|
||||
"bash",
|
||||
"sql",
|
||||
"yaml",
|
||||
"toml",
|
||||
"dockerfile",
|
||||
"gitcommit",
|
||||
"gitignore",
|
||||
"html",
|
||||
"css",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"rust",
|
||||
"go",
|
||||
"gowork",
|
||||
"gotmpl",
|
||||
"json",
|
||||
"regex",
|
||||
"latex",
|
||||
"comment",
|
||||
"cmake",
|
||||
"graphql",
|
||||
"haskell",
|
||||
"java",
|
||||
"php",
|
||||
"ruby",
|
||||
"vue",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
},
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ context.properties = {
|
||||
|
||||
## Properties for the DSP configuration.
|
||||
#default.clock.rate = 48000
|
||||
#default.clock.allowed-rates = [ 48000 ]
|
||||
default.clock.allowed-rates = [ 44100 88200 176400 48000 96000 192000 ]
|
||||
#default.clock.quantum = 1024
|
||||
#default.clock.min-quantum = 32
|
||||
#default.clock.max-quantum = 2048
|
||||
|
||||
@@ -1,33 +1,36 @@
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-filter-chain
|
||||
args = {
|
||||
node.description = "Noise Canceling source"
|
||||
media.name = "Noise Canceling source"
|
||||
node.description = "Noise Canceling source"
|
||||
media.name = "Noise Canceling source"
|
||||
filter.graph = {
|
||||
nodes = [
|
||||
{
|
||||
type = ladspa
|
||||
name = rnnoise
|
||||
plugin = /usr/lib/ladspa/librnnoise_ladspa.so
|
||||
label = noise_suppressor_mono
|
||||
label = noise_suppressor_stereo
|
||||
control = {
|
||||
"VAD Threshold (%)" = 69.0
|
||||
"VAD Grace Period (ms)" = 200
|
||||
"Retroactive VAD Grace (ms)" = 0
|
||||
"VAD Threshold (%)" = 0.0
|
||||
"VAD Grace Period (ms)" = 500
|
||||
"Retroactive VAD Grace (ms)" = 100
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
audio.position = [ FL FR ]
|
||||
capture.props = {
|
||||
node.name = "capture.rnnoise_source"
|
||||
node.name = "capture.rnnoise_source"
|
||||
node.passive = true
|
||||
audio.rate = 48000
|
||||
}
|
||||
playback.props = {
|
||||
node.name = "rnnoise_source"
|
||||
media.class = Audio/Source
|
||||
node.name = "rnnoise_source"
|
||||
media.class = "Audio/Source"
|
||||
audio.rate = 48000
|
||||
}
|
||||
audio.channels = 1
|
||||
audio.position = [ MONO ]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
"control-center-width": 420,
|
||||
"control-center-height": 1111,
|
||||
"control-center-margin-top": 0,
|
||||
"control-center-margin-bottom": 2,
|
||||
"control-center-margin-right": 0,
|
||||
"control-center-margin-top": 4,
|
||||
"control-center-margin-bottom": 4,
|
||||
"control-center-margin-right": 4,
|
||||
"control-center-margin-left": 0,
|
||||
|
||||
"notification-2fa-action": true,
|
||||
|
||||
@@ -20,15 +20,14 @@ slider {
|
||||
background-color: #8aadf4;
|
||||
}
|
||||
|
||||
/* ── Floating notifications ── */
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background {
|
||||
box-shadow:
|
||||
0 0 8px 0 rgba(0, 0, 0, 0.8),
|
||||
inset 0 0 0 1px #363a4f;
|
||||
background-color: rgba(36, 39, 58, 0.88);
|
||||
border: 1px solid #c6a0f6;
|
||||
border-radius: 12.6px;
|
||||
margin: 10px;
|
||||
background-color: rgba(36, 39, 58, 0.88);
|
||||
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.45);
|
||||
background-color: rgba(36, 39, 58, 0.92);
|
||||
border: 1px solid rgba(73, 77, 100, 0.6);
|
||||
border-radius: 16px;
|
||||
margin: 8px 10px;
|
||||
color: #cad3f5;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -37,15 +36,15 @@ slider {
|
||||
.notification-row
|
||||
.notification-background
|
||||
.notification {
|
||||
padding: 7px;
|
||||
border-radius: 12.6px;
|
||||
padding: 8px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.floating-notifications.background
|
||||
.notification-row
|
||||
.notification-background
|
||||
.notification.critical {
|
||||
box-shadow: inset 0 0 7px 0 #ed8796;
|
||||
box-shadow: inset 0 0 0 1px rgba(237, 135, 150, 0.5);
|
||||
}
|
||||
|
||||
.floating-notifications.background
|
||||
@@ -63,6 +62,7 @@ slider {
|
||||
.notification-content
|
||||
.summary {
|
||||
color: #cad3f5;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.floating-notifications.background
|
||||
@@ -71,7 +71,7 @@ slider {
|
||||
.notification
|
||||
.notification-content
|
||||
.time {
|
||||
color: #a5adcb;
|
||||
color: #6e738d;
|
||||
}
|
||||
|
||||
.floating-notifications.background
|
||||
@@ -80,7 +80,7 @@ slider {
|
||||
.notification
|
||||
.notification-content
|
||||
.body {
|
||||
color: #cad3f5;
|
||||
color: #a5adcb;
|
||||
}
|
||||
|
||||
.floating-notifications.background
|
||||
@@ -99,12 +99,12 @@ slider {
|
||||
> *:last-child
|
||||
> *
|
||||
.notification-action {
|
||||
border-radius: 7px;
|
||||
border-radius: 10px;
|
||||
color: #cad3f5;
|
||||
background-color: #363a4f;
|
||||
background-color: rgba(36, 39, 58, 0.88);
|
||||
border: 1px solid #c6a0f6;
|
||||
margin: 7px;
|
||||
background-color: rgba(54, 58, 79, 0.7);
|
||||
border: 1px solid rgba(73, 77, 100, 0.5);
|
||||
margin: 6px;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.floating-notifications.background
|
||||
@@ -114,8 +114,7 @@ slider {
|
||||
> *:last-child
|
||||
> *
|
||||
.notification-action:hover {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #363a4f;
|
||||
background-color: rgba(73, 77, 100, 0.6);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
@@ -126,8 +125,7 @@ slider {
|
||||
> *:last-child
|
||||
> *
|
||||
.notification-action:active {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #7dc4e4;
|
||||
background-color: rgba(198, 160, 246, 0.2);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
@@ -136,11 +134,11 @@ slider {
|
||||
.notification-background
|
||||
.close-button {
|
||||
margin: 7px;
|
||||
background-color: rgba(54, 58, 79, 0.88);
|
||||
border: 1px solid #c6a0f6;
|
||||
border-radius: 6.3px;
|
||||
border-radius: 8px;
|
||||
color: #24273a;
|
||||
background-color: #ed8796;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
.floating-notifications.background
|
||||
@@ -159,61 +157,62 @@ slider {
|
||||
color: #24273a;
|
||||
}
|
||||
|
||||
/* ── Control center ── */
|
||||
|
||||
.control-center {
|
||||
box-shadow:
|
||||
0 0 8px 0 rgba(0, 0, 0, 0.8),
|
||||
inset 0 0 0 1px #363a4f;
|
||||
border-radius: 12.6px;
|
||||
border: 1px solid #c6a0f6;
|
||||
margin: 10px;
|
||||
background-color: rgba(36, 39, 58, 0.88);
|
||||
box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.5);
|
||||
border-radius: 16px;
|
||||
border: 1px solid rgba(73, 77, 100, 0.5);
|
||||
margin: 8px;
|
||||
background-color: rgba(36, 39, 58, 0.94);
|
||||
color: #cad3f5;
|
||||
padding: 14px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.control-center .widget-title > label {
|
||||
color: #cad3f5;
|
||||
font-size: 1.3em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.control-center .widget-title button {
|
||||
border-radius: 7px;
|
||||
color: #cad3f5;
|
||||
background-color: #363a4f;
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
border-radius: 10px;
|
||||
color: #a5adcb;
|
||||
background-color: rgba(54, 58, 79, 0.7);
|
||||
border: 1px solid rgba(73, 77, 100, 0.4);
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.control-center .widget-title button:hover {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #5b6078;
|
||||
background-color: rgba(73, 77, 100, 0.5);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
.control-center .widget-title button:active {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #7dc4e4;
|
||||
color: #24273a;
|
||||
background-color: rgba(198, 160, 246, 0.2);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
/* ── Notifications inside control center ── */
|
||||
|
||||
.control-center .notification-row .notification-background {
|
||||
border-radius: 7px;
|
||||
border-radius: 12px;
|
||||
color: #cad3f5;
|
||||
background-color: rgba(54, 58, 79, 0.88);
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
margin-top: 14px;
|
||||
background-color: rgba(54, 58, 79, 0.6);
|
||||
border: 1px solid rgba(73, 77, 100, 0.3);
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.control-center .notification-row .notification-background .notification {
|
||||
padding: 7px;
|
||||
border-radius: 7px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.control-center
|
||||
.notification-row
|
||||
.notification-background
|
||||
.notification.critical {
|
||||
box-shadow: inset 0 0 7px 0 #ed8796;
|
||||
box-shadow: inset 0 0 0 1px rgba(237, 135, 150, 0.5);
|
||||
}
|
||||
|
||||
.control-center
|
||||
@@ -231,6 +230,7 @@ slider {
|
||||
.notification-content
|
||||
.summary {
|
||||
color: #cad3f5;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.control-center
|
||||
@@ -239,7 +239,7 @@ slider {
|
||||
.notification
|
||||
.notification-content
|
||||
.time {
|
||||
color: #a5adcb;
|
||||
color: #6e738d;
|
||||
}
|
||||
|
||||
.control-center
|
||||
@@ -248,7 +248,7 @@ slider {
|
||||
.notification
|
||||
.notification-content
|
||||
.body {
|
||||
color: #cad3f5;
|
||||
color: #a5adcb;
|
||||
}
|
||||
|
||||
.control-center
|
||||
@@ -267,11 +267,12 @@ slider {
|
||||
> *:last-child
|
||||
> *
|
||||
.notification-action {
|
||||
border-radius: 7px;
|
||||
border-radius: 10px;
|
||||
color: #cad3f5;
|
||||
background-color: #181926;
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
margin: 7px;
|
||||
background-color: rgba(24, 25, 38, 0.6);
|
||||
border: 1px solid rgba(73, 77, 100, 0.3);
|
||||
margin: 6px;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.control-center
|
||||
@@ -281,8 +282,7 @@ slider {
|
||||
> *:last-child
|
||||
> *
|
||||
.notification-action:hover {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #363a4f;
|
||||
background-color: rgba(54, 58, 79, 0.7);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
@@ -293,25 +293,26 @@ slider {
|
||||
> *:last-child
|
||||
> *
|
||||
.notification-action:active {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #7dc4e4;
|
||||
background-color: rgba(198, 160, 246, 0.2);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
.control-center .notification-row .notification-background .close-button {
|
||||
margin: 7px;
|
||||
padding: 2px;
|
||||
border-radius: 6.3px;
|
||||
border-radius: 8px;
|
||||
color: #24273a;
|
||||
background-color: #ee99a0;
|
||||
background-color: #ed8796;
|
||||
min-width: 22px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
.close-button {
|
||||
border-radius: 6.3px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.control-center .notification-row .notification-background .close-button:hover {
|
||||
background-color: #ed8796;
|
||||
background-color: #ee99a0;
|
||||
color: #24273a;
|
||||
}
|
||||
|
||||
@@ -324,17 +325,17 @@ slider {
|
||||
}
|
||||
|
||||
.control-center .notification-row .notification-background:hover {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #8087a2;
|
||||
background-color: rgba(73, 77, 100, 0.35);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
.control-center .notification-row .notification-background:active {
|
||||
box-shadow: inset 0 0 0 1px #494d64;
|
||||
background-color: #7dc4e4;
|
||||
background-color: rgba(198, 160, 246, 0.15);
|
||||
color: #cad3f5;
|
||||
}
|
||||
|
||||
/* ── Progress bars ── */
|
||||
|
||||
.notification.critical progress {
|
||||
background-color: #ed8796;
|
||||
}
|
||||
@@ -344,16 +345,18 @@ slider {
|
||||
background-color: #8aadf4;
|
||||
}
|
||||
|
||||
/* ── DND toggle ── */
|
||||
|
||||
.control-center-dnd {
|
||||
margin-top: 5px;
|
||||
border-radius: 8px;
|
||||
background: #363a4f;
|
||||
border: 1px solid #494d64;
|
||||
border-radius: 10px;
|
||||
background: rgba(54, 58, 79, 0.5);
|
||||
border: 1px solid rgba(73, 77, 100, 0.3);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.control-center-dnd:checked {
|
||||
background: #363a4f;
|
||||
background: rgba(198, 160, 246, 0.15);
|
||||
}
|
||||
|
||||
.control-center-dnd slider {
|
||||
@@ -368,35 +371,47 @@ slider {
|
||||
|
||||
.widget-dnd > switch {
|
||||
font-size: initial;
|
||||
border-radius: 8px;
|
||||
background: #363a4f;
|
||||
border: 1px solid #494d64;
|
||||
border-radius: 10px;
|
||||
background: rgba(54, 58, 79, 0.5);
|
||||
border: 1px solid rgba(73, 77, 100, 0.3);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.widget-dnd > switch:checked {
|
||||
background: #363a4f;
|
||||
background: rgba(198, 160, 246, 0.15);
|
||||
}
|
||||
|
||||
.widget-dnd > switch slider {
|
||||
background: #494d64;
|
||||
background: #6e738d;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #6e738d;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.widget-dnd > switch:checked slider {
|
||||
background: #c6a0f6;
|
||||
}
|
||||
|
||||
/* ── MPRIS player ── */
|
||||
|
||||
.widget-mpris .widget-mpris-player {
|
||||
background: #363a4f;
|
||||
padding: 7px;
|
||||
background: rgba(54, 58, 79, 0.5);
|
||||
border: 1px solid rgba(73, 77, 100, 0.3);
|
||||
border-radius: 12px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.widget-mpris .widget-mpris-title {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.widget-mpris .widget-mpris-subtitle {
|
||||
font-size: 0.8rem;
|
||||
color: #a5adcb;
|
||||
}
|
||||
|
||||
/* ── Menubar / label ── */
|
||||
|
||||
.widget-menubar > box > .menu-button-bar > button > label {
|
||||
font-size: 3rem;
|
||||
padding: 0.5rem 2rem;
|
||||
@@ -409,7 +424,8 @@ slider {
|
||||
.power-buttons button:hover,
|
||||
.powermode-buttons button:hover,
|
||||
.screenshot-buttons button:hover {
|
||||
background: #363a4f;
|
||||
background: rgba(54, 58, 79, 0.6);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.control-center .widget-label > label {
|
||||
@@ -417,14 +433,38 @@ slider {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
/* ── Buttons grid ── */
|
||||
|
||||
.widget-buttons-grid {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button {
|
||||
border-radius: 12px;
|
||||
background: rgba(54, 58, 79, 0.4);
|
||||
border: 1px solid rgba(73, 77, 100, 0.25);
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button label {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button:hover {
|
||||
background: rgba(73, 77, 100, 0.45);
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked {
|
||||
background: rgba(198, 160, 246, 0.18);
|
||||
border: 1px solid rgba(198, 160, 246, 0.35);
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked label {
|
||||
color: #c6a0f6;
|
||||
}
|
||||
|
||||
/* ── Volume ── */
|
||||
|
||||
.widget-volume {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
@@ -438,6 +478,8 @@ slider {
|
||||
background: #7dc4e4;
|
||||
}
|
||||
|
||||
/* ── Backlight ── */
|
||||
|
||||
.widget-backlight trough highlight {
|
||||
background: #eed49f;
|
||||
}
|
||||
|
||||
@@ -11,8 +11,8 @@ export XDG_SESSION_TYPE=wayland
|
||||
export XDG_SESSION_DESKTOP=Hyprland
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export GTK_THEME=Dracula
|
||||
export QT_QPA_PLATFORMTHEME=hyprqt6engine
|
||||
export GTK_THEME=Ant-Dracula
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export COMPOSE_BAKE=true
|
||||
export ANKI_WAYLAND=1
|
||||
@@ -27,6 +27,7 @@ export LIBVA_DRIVER_NAME=nvidia
|
||||
export __GL_GSYNC_ALLOWED=1
|
||||
export __GL_THREADED_OPTIMIZATIONS=0
|
||||
|
||||
|
||||
export QT_IM_MODULE=fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
export GLFW_IM_MODULE=fcitx
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
},
|
||||
"memory": {
|
||||
"interval": 3,
|
||||
"format": "{}% ",
|
||||
"format": "{}% ",
|
||||
"on-click": "ghostty --initial-command=btop",
|
||||
"tooltip-format": "Used: {used:0.1f}G/{total:0.1f}G. Swap: {swapUsed:0.1f}G/{swapTotal:0.1f}G",
|
||||
"states": {
|
||||
@@ -134,7 +134,7 @@
|
||||
"critical-threshold": 90,
|
||||
"format-critical": "{temperatureC}°C {icon}",
|
||||
"format": "{temperatureC}°C {icon}",
|
||||
"format-icons": ["", "", ""],
|
||||
"format-icons": ["", "", ""],
|
||||
},
|
||||
"disk#ssd": {
|
||||
"interval": 60,
|
||||
@@ -148,11 +148,11 @@
|
||||
"interval": 60,
|
||||
"interface-ethernet": "enp1s*",
|
||||
"interface-wifi": "wlan0",
|
||||
"format-ethernet": "eth ",
|
||||
"format-ethernet": "eth ",
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"tooltip-format-wifi": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"format-linked": "(No IP) ",
|
||||
"format-linked": "(No IP) ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"on-click": "$HOME/.config/rofi/scripts/rofi-wifi-menu.sh",
|
||||
},
|
||||
@@ -171,14 +171,14 @@
|
||||
"scroll-step": 2,
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": " ",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
@@ -193,14 +193,14 @@
|
||||
"scroll-step": 2,
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": " ",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
@@ -249,8 +249,8 @@
|
||||
"format": "{} {icon}",
|
||||
"return-type": "json",
|
||||
"format-icons": {
|
||||
"has-updates": "",
|
||||
"updated": "",
|
||||
"has-updates": "",
|
||||
"updated": "",
|
||||
},
|
||||
"exec-if": "which waybar-module-pacman-updates",
|
||||
"exec": "waybar-module-pacman-updates --no-zero-output --tooltip-align-columns",
|
||||
|
||||
Reference in New Issue
Block a user