small improvements in query feed and nvim-lsp

This commit is contained in:
Tibeuleu
2024-08-08 00:03:29 +02:00
parent f3e13c4f6f
commit 019afe836f
4 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ set $shutdown doas_askpass openrc-shutdown -h now
set $reboot doas_askpass openrc-shutdown -r now
set $netrefresh --no-startup-id doas_askpass rc-service NetworkManager restart
set $nettoggle --no startup-id [ $(doas rc-service NetworkManager | awk '{print $3}') != 'stopped' ] && doas rc-service NetworkManager stop || doas rc-service NetworkManager start
set $hibernate loginctl suspend && slock
set $hibernate loginctl suspend
# #---Gaps---# #
for_window [class="^.*"] border pixel 2
@@ -278,7 +278,7 @@ bindsym XF86Launch1 exec --no-startup-id xset dpms force off
# #---Extra XF86 Keys---# #
bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle && pkill -RTMIN+10 i3blocks
bindsym XF86AudioMicMute exec --no-startup-id amixer sset Capture toggle
bindsym XF86AudioLowerVolume exec --no-startup-id amixer sset Master 5%- && pkill -RTMIN+10 i3blocks
bindsym XF86AudioLowerVolume exec --no-startup-id amixer sset Master 5%- && pkill -RTMIN+10 i3blocks
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id amixer sset Master 1%- && pkill -RTMIN+10 i3blocks
bindsym Control+XF86AudioLowerVolume exec --no-startup-id amixer sset Master 10%- && pkill -RTMIN+10 i3blocks
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer sset Master 5%+ && pkill -RTMIN+10 i3blocks
@@ -298,7 +298,7 @@ bindsym XF86Bluetooth exec doas rfkill unblock bluetooth | $term bluetoothctl
##bindsym XF86Paste exec
##bindsym XF86Cut exec
##bindsym XF86MenuKB exec
bindsym XF86Calculator exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24
#bindsym XF86Calculator exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24
##bindsym XF86Sleep This binding is typically mapped by systemd automatically.
##bindsym XF86WakeUp exec
bindsym XF86PowerOff exec --no-startup-id sysact
@@ -307,7 +307,7 @@ bindsym XF86PowerOff exec --no-startup-id sysact
##bindsym XF86Xfer exec
##bindsym XF86WWW exec --no-startup-id $BROWSER
##bindsym XF86DOS exec
bindsym XF86ScreenSaver exec exec --no-startup-id lockscreen
bindsym XF86ScreenSaver exec exec --no-startup-id slock
##bindsym XF86RotateWindows exec
##bindsym XF86TaskPane exec
##bindsym XF86Favorites exec
@@ -341,12 +341,12 @@ bindsym XF86AudioMedia exec --no-startup-id $term -e ncmpcpp
##bindsym XF86Launch8 exec
##bindsym XF86Launch9 exec
bindsym XF86TouchpadToggle exec --no-startup-id toggletouchpad
bindsym XF86TouchpadOn exec --no-startup-id synclient TouchpadOff=0
bindsym XF86TouchpadOff exec --no-startup-id synclient TouchpadOff=1
#bindsym XF86TouchpadOn exec --no-startup-id synclient TouchpadOff=0
#bindsym XF86TouchpadOff exec --no-startup-id synclient TouchpadOff=1
bindsym XF86Suspend exec --no-startup-id lockscreen
bindsym XF86Close kill
#bindsym XF86WebCam exec --no-startup-id camtoggle
bindsym XF86Mail exec --no-startup-id thunderbird
#bindsym XF86Mail exec --no-startup-id thunderbird
#bindsym XF86Messenger exec $term -e weechat
#bindsym XF86Search exec $BROWSER https://duckduckgo.com
##bindsym XF86Go exec

View File

@@ -1,4 +1,4 @@
"query:to-read:flags # \"p\""
"query:astro-interesting:tags # \"Astro\" and (content # \"agn\" or content =~ \"polari\") and unread = \"yes\"" Astro
"query:linux-new:tags # \"Linux\" and unread = \"yes\"" Linux
"query:news-new:tags # \"News\" and unread = \"yes\"" News
"query:news-new:tags # \"Presse_Alternative\" or tags # \"Presse_Traditionnelle\" or tags # \"Strasbourg\" and unread = \"yes\"" Presse_Alternative Presse_Traditionnelle

View File

@@ -47,7 +47,7 @@ local servers = {
unsafeFixes = false, -- Whether or not to offer unsafe fixes as code actions. Ignored with the "Fix All" action
-- Rules that are ignored when a pyproject.toml or ruff.toml is present:
lineLength = 80, -- Line length to pass to ruff checking and formatting
lineLength = 160, -- Line length to pass to ruff checking and formatting
exclude = { "__about__.py" }, -- Files to be excluded by ruff checking
select = { "F" }, -- Rules to be enabled by ruff
ignore = { "D210" }, -- Rules to be ignored by ruff

View File

@@ -10,7 +10,7 @@ esac
cmds="\
🔒 lock slock
🐻 hibernate ${hib:-doas_askpass systemctl suspend}
🐻 hibernate ${hib:-doas_askpass loginctl suspend}
🔃 reboot ${reb:-doas_askpass reboot}
🖥 shutdown ${shut:-doas_askpass shutdown -h now}"