Compare commits
6 Commits
d10a139a8b
...
1d3bc14db3
| Author | SHA1 | Date | |
|---|---|---|---|
|
1d3bc14db3
|
|||
|
0effa44f7e
|
|||
|
6273769734
|
|||
|
42f770a3d7
|
|||
|
1f932481ca
|
|||
|
0716666322
|
@ -11,6 +11,9 @@ set -x QT_STYLE_OVERRIDE Oxygen
|
|||||||
|
|
||||||
{% if hostname == "buran" %}
|
{% if hostname == "buran" %}
|
||||||
set -x QT_QPA_PLATFORMTHEME qt5ct
|
set -x QT_QPA_PLATFORMTHEME qt5ct
|
||||||
|
|
||||||
|
# enable custom file picker in e.g. firefox
|
||||||
|
set -x GTK_USE_PORTAL 1
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
{% if username == "u0_a213" %}
|
{% if username == "u0_a213" %}
|
||||||
@ -60,7 +63,7 @@ starship init fish | source
|
|||||||
if status is-login
|
if status is-login
|
||||||
and set -q XDG_SESSION_TYPE XDG_VTNR
|
and set -q XDG_SESSION_TYPE XDG_VTNR
|
||||||
and test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1"
|
and test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1"
|
||||||
set -x XDG_SESSION_TYPE sway
|
set -x XDG_CURRENT_DESKTOP sway
|
||||||
exec sway
|
exec sway
|
||||||
end
|
end
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|||||||
@ -62,5 +62,5 @@ let-env NU_PLUGIN_DIRS = [
|
|||||||
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
|
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
|
||||||
|
|
||||||
mkdir ~/.cache/starship
|
mkdir ~/.cache/starship
|
||||||
starship init nu | save ~/.cache/starship/init.nu
|
starship init nu | save -f ~/.cache/starship/init.nu
|
||||||
zoxide init nushell | save ~/.cache/zoxide.nu
|
zoxide init nushell | save -f ~/.cache/zoxide.nu
|
||||||
|
|||||||
@ -5,6 +5,72 @@
|
|||||||
"command": "rust-analyzer",
|
"command": "rust-analyzer",
|
||||||
"filetypes": ["rust"],
|
"filetypes": ["rust"],
|
||||||
"rootPatterns": ["Cargo.toml"]
|
"rootPatterns": ["Cargo.toml"]
|
||||||
|
},
|
||||||
|
"python": {
|
||||||
|
"command": "pylsp",
|
||||||
|
"args": [
|
||||||
|
"-vv",
|
||||||
|
"--log-file",
|
||||||
|
"/tmp/lsp_python.log"
|
||||||
|
],
|
||||||
|
"trace.server": "verbose",
|
||||||
|
"filetypes": [
|
||||||
|
"python"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"pyls": {
|
||||||
|
"enable": true,
|
||||||
|
"trace": {
|
||||||
|
"server": "verbose"
|
||||||
|
},
|
||||||
|
"commandPath": "",
|
||||||
|
"configurationSources": [
|
||||||
|
"pycodestyle"
|
||||||
|
],
|
||||||
|
"plugins": {
|
||||||
|
"jedi_completion": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"jedi_hover": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"jedi_references": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"jedi_signature_help": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"jedi_symbols": {
|
||||||
|
"enabled": true,
|
||||||
|
"all_scopes": true
|
||||||
|
},
|
||||||
|
"mccabe": {
|
||||||
|
"enabled": true,
|
||||||
|
"threshold": 15
|
||||||
|
},
|
||||||
|
"preload": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"pycodestyle": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"pydocstyle": {
|
||||||
|
"enabled": false,
|
||||||
|
"match": "(?!test_).*\\.py",
|
||||||
|
"matchDir": "[^\\.].*"
|
||||||
|
},
|
||||||
|
"pyflakes": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"rope_completion": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"yapf": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,6 @@ endif
|
|||||||
|
|
||||||
" plugins
|
" plugins
|
||||||
call plug#begin('~/.local/share/nvim/plugged')
|
call plug#begin('~/.local/share/nvim/plugged')
|
||||||
Plug 'tpope/vim-fugitive'
|
|
||||||
Plug 'easymotion/vim-easymotion'
|
Plug 'easymotion/vim-easymotion'
|
||||||
Plug 'roxma/vim-hug-neovim-rpc'
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
Plug 'roxma/nvim-yarp'
|
Plug 'roxma/nvim-yarp'
|
||||||
|
|||||||
@ -311,11 +311,13 @@ bar {
|
|||||||
# use `swaymsg -t get_tree | grep "app_id"` to list window ids. can also grep for "name"
|
# use `swaymsg -t get_tree | grep "app_id"` to list window ids. can also grep for "name"
|
||||||
for_window [app_id=".*"] border pixel 2
|
for_window [app_id=".*"] border pixel 2
|
||||||
for_window [app_id="^volume_indicator$"] border pixel 0; floating enable; resize set 300 80; position center
|
for_window [app_id="^volume_indicator$"] border pixel 0; floating enable; resize set 300 80; position center
|
||||||
|
for_window [app_id="file_picker"] floating enable
|
||||||
for_window [app_id="zoom"] floating enable
|
for_window [app_id="zoom"] floating enable
|
||||||
|
for_window [app_id="org.keepassxc.KeePassXC"] floating enable
|
||||||
#for_window [name="Firefox - Delningsindikator"] floating enable
|
#for_window [name="Firefox - Delningsindikator"] floating enable
|
||||||
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
|
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||||
|
|||||||
@ -31,6 +31,6 @@ def elf-symbols [
|
|||||||
let section_start = ($section | get addr)
|
let section_start = ($section | get addr)
|
||||||
let section_end = ($section_start + ($section | get size))
|
let section_end = ($section_start + ($section | get size))
|
||||||
|
|
||||||
$symbols | where addr >= $section_start && addr < $section_end
|
$symbols | where addr >= $section_start and addr < $section_end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user