fix kanshi desktop-config

add imv to mimeapps for some images

set ~/Music as music dir for mpd

make newsboat open urls with browser.sh

add gopls to nvchads lspconfig

set sway to run open-terminal.sh with super+shift+Return

set zsh config to optionally source a ~/.zprofile.local to set
local variables if needed in specific containers etc.
master
Alex 2023-06-25 12:23:20 -05:00
parent accae832ca
commit bb73de624c
8 changed files with 15 additions and 8 deletions

View File

@ -1,4 +1,4 @@
profile desk {
output "Ancor Communications Inc VE248 DCLMQS000288" enable mode 1920x1080 position 0,0
output "Ancor Communications Inc VE248 DCLMQS000292" enable mode 1920x1080 position 1920,0
output "Ancor Communications Inc VE248 DCLMQS000292" enable mode 1920x1080 position 0,0
output "Ancor Communications Inc VE248 DCLMQS000288" enable mode 1920x1080 position 1920,0
}

View File

@ -1,6 +1,11 @@
[Default Applications]
inode/directory=thunar.desktop
application/x-gnome-saved-search=thunar.desktop
video/=mpv.desktop
image/=imv.desktop
video/quicktime=com.brave.Browser.desktop
[Added Associations]
video/quicktime=com.brave.Browser.desktop;
image/png=imv.desktop;
image/webp=imv.desktop;

View File

@ -1,4 +1,4 @@
music_directory "~/media/audio"
music_directory "~/Music"
playlist_directory "~/.config/mpd/playlists/"
auto_update "yes"

View File

@ -29,7 +29,7 @@ color listfocus_unread yellow default bold
color info red black bold
color article white default bold
browser linkhandler
browser browser.sh
macro , open-in-browser
macro t set browser "qndl" ; open-in-browser ; set browser linkhandler
macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestaudio/best --restrict-filenames" ; open-in-browser ; set browser linkhandler

View File

@ -4,7 +4,7 @@ local capabilities = require("plugins.configs.lspconfig").capabilities
local lspconfig = require "lspconfig"
-- if you just want default config for the servers then put them in a table
local servers = { "html", "cssls", "tsserver", "clangd", "hls" }
local servers = { "html", "cssls", "tsserver", "clangd", "hls", "gopls" }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {

View File

@ -99,7 +99,7 @@ xwayland enable
#
# Start a terminal
bindsym $mod+Return exec $term -e distrobox enter main
bindsym $mod+Shift+Return exec $term
bindsym $mod+Shift+Return exec sh open-terminal.sh
# Kill focused window
bindsym $mod+Shift+q kill

View File

@ -141,4 +141,6 @@ source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
[ -f ~/.zprofile.local ] && source ~/.zprofile.local
cd "$HOME"

@ -1 +1 @@
Subproject commit 992a388711923272e6a947712f6811f4fc5967a4
Subproject commit 09394cce23842bfa571cc2b780e30a397aa3a06b