chore: change back to ncspot

This commit is contained in:
Fabio Lenherr / DashieTM 2023-04-25 00:54:07 +02:00
parent fe8e3bdb5c
commit a7457c8930
4 changed files with 4 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#! /bin/bash
NUM=$(pactl list clients short | rg "spotify_player" | awk -F 'PipeWire' ' { print $1 } ' | tr -d ' \t\n')
NUM=$(pactl list clients short | rg "ncspot" | awk -F 'PipeWire' ' { print $1 } ' | tr -d ' \t\n')
CHANGE=$(pactl list sink-inputs short | rg "$NUM" | awk -F ' ' ' { print $1 }' | tr -d ' \t\n')
pactl set-sink-input-volume "$CHANGE" "$1"
VOLUME=$(pactl list sink-inputs | rg "$NUM" -A7 | rg "Volume:" | awk -F ' ' ' { print $5 }' | tr -d '%')

View file

@ -1,3 +1,3 @@
#!/bin/bash
echo $(playerctl -p spofity_player,%any metadata mpris:artUrl)
echo $(playerctl -p ncspot,%any metadata mpris:artUrl)

View file

@ -211,3 +211,4 @@ exec-once=element-desktop
exec-once=firefox
exec-once=streamdeck -n
exec-once=copyq --start-server
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

View file

@ -126,9 +126,6 @@ end)
-- neovide paste
vim.g.neovide_input_use_logo = 1
vim.api.nvim_set_keymap('i', '<C-S-V>', '<ESC>p<CR>I', { noremap = true, silent = true})
-- vim.api.nvim_set_keymap('!', '<D-v>', '<C-R>+', { noremap = true, silent = true})
-- vim.api.nvim_set_keymap('t', '<D-v>', '<C-R>+', { noremap = true, silent = true})
-- vim.api.nvim_set_keymap('v', '<D-v>', '<C-R>+', { noremap = true, silent = true})
-- gitui
map("n", "<leader>gg", function()