New script for restarting audio, new binds for hyprland documented and delition of unused nvim plugins
This commit is contained in:
parent
1e908994e3
commit
5a204a3020
8 changed files with 20 additions and 114 deletions
|
@ -1,4 +0,0 @@
|
||||||
function audiorestart --wraps='systemctl --user restart wireplumber pipewire pipewire-pulse' --description 'alias audiorestart=systemctl --user restart wireplumber pipewire pipewire-pulse'
|
|
||||||
systemctl --user restart wireplumber pipewire pipewire-pulse $argv
|
|
||||||
|
|
||||||
end
|
|
|
@ -134,6 +134,7 @@ bind=SUPER,S,togglegroup
|
||||||
bind=ALT,tab,changegroupactive
|
bind=ALT,tab,changegroupactive
|
||||||
|
|
||||||
## Audio
|
## Audio
|
||||||
|
bind=SUPERCTRL,V,exec,restartAudio
|
||||||
#bind=,XF86AudioPlay,exec,playerctl play-pause
|
#bind=,XF86AudioPlay,exec,playerctl play-pause
|
||||||
bind=SUPERCTRL,mouse:274,exec,playerctl play-pause
|
bind=SUPERCTRL,mouse:274,exec,playerctl play-pause
|
||||||
#bind=,XF86AudioPrev,exec,playerctl previous
|
#bind=,XF86AudioPrev,exec,playerctl previous
|
||||||
|
|
|
@ -43,9 +43,3 @@ gestures {
|
||||||
workspace_swipe=yes
|
workspace_swipe=yes
|
||||||
workspace_swipe_fingers=4
|
workspace_swipe_fingers=4
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin {
|
|
||||||
split-monitor-workspaces {
|
|
||||||
count = 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
key: Ctrl + Win + Mouse Wheel Down
|
key: Ctrl + Win + Mouse Wheel Down
|
||||||
- name: Play Next Song
|
- name: Play Next Song
|
||||||
key: Ctrl + Win + Mouse Wheel Up
|
key: Ctrl + Win + Mouse Wheel Up
|
||||||
|
- name: Toggle Pavucontrol
|
||||||
|
key: Win + V
|
||||||
|
- name: Restart Audio
|
||||||
|
key: Ctrl + Win + V
|
||||||
- name: Screenshoot Tool (Output)
|
- name: Screenshoot Tool (Output)
|
||||||
key: ImprPant
|
key: ImprPant
|
||||||
- name: Screenshoot Tool (Selection)
|
- name: Screenshoot Tool (Selection)
|
||||||
|
@ -20,6 +24,8 @@
|
||||||
key: Alt + ImprPant
|
key: Alt + ImprPant
|
||||||
- name: Color Picker
|
- name: Color Picker
|
||||||
key: Win + ImprPant
|
key: Win + ImprPant
|
||||||
|
- name: Zoom
|
||||||
|
key: Win + Z
|
||||||
- name: Logout Menu
|
- name: Logout Menu
|
||||||
key: Win + Space
|
key: Win + Space
|
||||||
- name: Keybindings Cheatsheet
|
- name: Keybindings Cheatsheet
|
||||||
|
|
|
@ -1,83 +0,0 @@
|
||||||
return {
|
|
||||||
{
|
|
||||||
"folke/edgy.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"<leader>ue",
|
|
||||||
function()
|
|
||||||
require("edgy").toggle()
|
|
||||||
end,
|
|
||||||
desc = "Edgy Toggle",
|
|
||||||
},
|
|
||||||
-- stylua: ignore
|
|
||||||
{ "<leader>uE", function() require("edgy").select() end, desc = "Edgy Select Window" },
|
|
||||||
},
|
|
||||||
opts = function()
|
|
||||||
local opts = {
|
|
||||||
left = {
|
|
||||||
{
|
|
||||||
title = "Neo-Tree",
|
|
||||||
ft = "neo-tree",
|
|
||||||
filter = function(buf)
|
|
||||||
return vim.b[buf].neo_tree_source == "filesystem"
|
|
||||||
end,
|
|
||||||
pinned = true,
|
|
||||||
open = function()
|
|
||||||
vim.api.nvim_input("<esc><space>e")
|
|
||||||
end,
|
|
||||||
size = { height = 0.5 },
|
|
||||||
},
|
|
||||||
--[[ { title = "Neotest Summary", ft = "neotest-summary" },
|
|
||||||
{
|
|
||||||
title = "Neo-Tree Git",
|
|
||||||
ft = "neo-tree",
|
|
||||||
filter = function(buf)
|
|
||||||
return vim.b[buf].neo_tree_source == "git_status"
|
|
||||||
end,
|
|
||||||
pinned = true,
|
|
||||||
open = "Neotree position=right git_status",
|
|
||||||
}, ]]
|
|
||||||
{
|
|
||||||
title = "Neo-Tree Symbols",
|
|
||||||
ft = "neo-tree",
|
|
||||||
filter = function(buf)
|
|
||||||
return vim.b[buf].neo_tree_source == "document_symbols"
|
|
||||||
end,
|
|
||||||
pinned = true,
|
|
||||||
open = "Neotree position=top document_symbols",
|
|
||||||
},
|
|
||||||
"neo-tree",
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
-- increase width
|
|
||||||
["<c-Right>"] = function(win)
|
|
||||||
win:resize("width", 2)
|
|
||||||
end,
|
|
||||||
-- decrease width
|
|
||||||
["<c-Left>"] = function(win)
|
|
||||||
win:resize("width", -2)
|
|
||||||
end,
|
|
||||||
-- increase height
|
|
||||||
["<c-Up>"] = function(win)
|
|
||||||
win:resize("height", 2)
|
|
||||||
end,
|
|
||||||
-- decrease height
|
|
||||||
["<c-Down>"] = function(win)
|
|
||||||
win:resize("height", -2)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
local Util = require("lazyvim.util")
|
|
||||||
if Util.has("symbols-outline.nvim") then
|
|
||||||
table.insert(opts.left, {
|
|
||||||
title = "Outline",
|
|
||||||
ft = "Outline",
|
|
||||||
pinned = true,
|
|
||||||
open = "SymbolsOutline",
|
|
||||||
})
|
|
||||||
end
|
|
||||||
return opts
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
return {
|
|
||||||
{
|
|
||||||
"natecraddock/workspaces.nvim",
|
|
||||||
opts = {},
|
|
||||||
event = "VeryLazy",
|
|
||||||
config = function(_, opts)
|
|
||||||
require("workspaces").setup({
|
|
||||||
hooks = {
|
|
||||||
open = { "Telescope find_files" },
|
|
||||||
},
|
|
||||||
})
|
|
||||||
require("telescope").load_extension("workspaces")
|
|
||||||
end,
|
|
||||||
keys = {
|
|
||||||
{ "<leader>fw", "<Cmd>Telescope workspaces<CR>", desc = "Workspaces" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -213,7 +213,7 @@
|
||||||
"tooltip-format": "{desc}, {volume}%",
|
"tooltip-format": "{desc}, {volume}%",
|
||||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
||||||
"on-click-middle": "pavucontrol"
|
"on-click-middle": "easyeffects"
|
||||||
},
|
},
|
||||||
"custom/music": {
|
"custom/music": {
|
||||||
"format": "{icon} {}",
|
"format": "{icon} {}",
|
||||||
|
@ -442,7 +442,7 @@
|
||||||
"tooltip-format": "{desc}, {volume}%",
|
"tooltip-format": "{desc}, {volume}%",
|
||||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
||||||
"on-click-middle": "pavucontrol"
|
"on-click-middle": "easyeffects"
|
||||||
},
|
},
|
||||||
"custom/music": {
|
"custom/music": {
|
||||||
"format": "{icon} {}",
|
"format": "{icon} {}",
|
||||||
|
@ -685,7 +685,7 @@
|
||||||
"tooltip-format": "{desc}, {volume}%",
|
"tooltip-format": "{desc}, {volume}%",
|
||||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
||||||
"on-click-middle": "pavucontrol"
|
"on-click-middle": "easyeffects"
|
||||||
},
|
},
|
||||||
"custom/music": {
|
"custom/music": {
|
||||||
"format": "{icon} {}",
|
"format": "{icon} {}",
|
||||||
|
|
10
.local/bin/restartAudio
Executable file
10
.local/bin/restartAudio
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#/bin/bash
|
||||||
|
pkill easyeffects
|
||||||
|
|
||||||
|
wait
|
||||||
|
|
||||||
|
systemctl --user restart wireplumber pipewire pipewire-pulse
|
||||||
|
|
||||||
|
notify-send "Audio restarted" "Audio services have been restarted"
|
||||||
|
|
||||||
|
easyeffects --gapplication-service &
|
Loading…
Add table
Reference in a new issue