Compare commits

...

6 Commits

Author SHA1 Message Date
Alex c2df999cbb update .config/sway/config to use open-terminal.sh to open main terminal 2023-06-25 13:07:33 -05:00
Alex bb73de624c 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.
2023-06-25 12:23:20 -05:00
Alex accae832ca modify nvchad config to set line length to 80 chars, can format with gq
command
2023-06-09 00:32:08 -05:00
alex e55dbe39bc Merge branch 'master' of github.com:ahub2/dotfiles 2023-06-03 16:54:01 -05:00
alex 743c072019 add line to sway config to show whether a window is running under
wayland or xwayland
2023-06-03 16:53:01 -05:00
alex 8ba871e868 set locker to swaylock 2023-06-03 14:14:02 -05:00
11 changed files with 34 additions and 12 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
}

11
.config/mimeapps.list Normal file
View File

@ -0,0 +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

@ -5,10 +5,12 @@
-- pattern = "*",
-- command = "tabdo wincmd =",
-- })
local opt = vim.opt
local opt = vim.opt --equivalent to :set
opt.tabstop = 4
opt.shiftwidth = 4
opt.expandtab = true
opt.colorcolumn = "80"
opt.textwidth = 80

View File

@ -9,4 +9,5 @@ M.general = {
-- more keybinds!
return M

View File

@ -50,10 +50,10 @@ exec_always {
# Example configuration:
#
exec swayidle -w \
timeout 900 'waylock &' \
timeout 900 'swaylock &' \
timeout 1200 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'waylock &'
before-sleep 'swaylock &'
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
@ -98,8 +98,8 @@ xwayland enable
# Basics:
#
# Start a terminal
bindsym $mod+Return exec $term -e distrobox enter main
bindsym $mod+Shift+Return exec $term
bindsym $mod+Return exec sh open-terminal.sh main
bindsym $mod+Shift+Return exec sh open-terminal.sh
# Kill focused window
bindsym $mod+Shift+q kill
@ -303,10 +303,15 @@ gaps outer 10
#border
default_border pixel 2
#for_window [shell="^((?!xdg_shell).)*$"] title_format "%title :: %shell"
for_window [shell=".*"] title_format "%title :: %shell"
#set windows to float by default
for_window [class="Matplotlib"] floating enable
#for_window [class="Steam"] floating enable
#input config
input type:pointer accel_profile flat
input type:pointer pointer_accel -0.5

View File

@ -60,7 +60,8 @@ export SFEED_URL_FILE="$HOME/.local/share/sfeed/read"
#set programs
export EDITOR=nvim
export BROWSER="browser.sh"
#export BROWSER="browser.sh"
export BROWSER="com.brave.Browser"
#lf icons

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 373cbb591a4ecf0a2559c0bbc050a350c3b1871b