mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-19 16:27:45 +02:00
Compare commits
No commits in common. "42c68318501a6558b5c21f3240c814e920ea5371" and "b8a39fd5f6295faa0d66d3d125c62d23db4aea58" have entirely different histories.
42c6831850
...
b8a39fd5f6
@ -119,7 +119,7 @@ let g:bookmark_highlight_lines = 1
|
|||||||
lua << EOF
|
lua << EOF
|
||||||
-- Add additional capabilities supported by nvim-cmp
|
-- Add additional capabilities supported by nvim-cmp
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
|
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
||||||
|
|
||||||
-- Set completeopt to have a better completion experience
|
-- Set completeopt to have a better completion experience
|
||||||
vim.o.completeopt = 'menuone,noselect'
|
vim.o.completeopt = 'menuone,noselect'
|
||||||
|
@ -6,8 +6,6 @@ super + f
|
|||||||
$TERMINAL -e $FILE
|
$TERMINAL -e $FILE
|
||||||
super + m
|
super + m
|
||||||
thunderbird
|
thunderbird
|
||||||
super + x
|
|
||||||
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
|
|
||||||
super + shift + r
|
super + shift + r
|
||||||
dmenu_run -c -l 20
|
dmenu_run -c -l 20
|
||||||
super + F5
|
super + F5
|
||||||
@ -26,9 +24,6 @@ super + F11
|
|||||||
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
||||||
super + F12
|
super + F12
|
||||||
prompt "Reboot computer?" "sudo -A reboot now"
|
prompt "Reboot computer?" "sudo -A reboot now"
|
||||||
super + Print
|
|
||||||
maimpick
|
|
||||||
|
|
||||||
XF86Launch1
|
XF86Launch1
|
||||||
xset dpms force off
|
xset dpms force off
|
||||||
XF86AudioMute
|
XF86AudioMute
|
||||||
@ -43,4 +38,3 @@ XF86MonBrightnessDown
|
|||||||
light -U 15
|
light -U 15
|
||||||
XF86MonBrightnessUp
|
XF86MonBrightnessUp
|
||||||
light -A 15
|
light -A 15
|
||||||
|
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Requires maim. It lets you choose the kind of screenshot to take,
|
|
||||||
# including copying the image or even highlighting an area to copy.
|
|
||||||
|
|
||||||
output="$HOME/downloads/screenshot-$(date '+%y%m%d-%H%M-%S').png"
|
|
||||||
xclip_cmd="xclip -sel clip -t image/png"
|
|
||||||
|
|
||||||
case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (clipboard)\\ncurrent window (clipboard)\\nfull screen (clipboard)\\ncolor picker (clipboard)" | dmenu -l 6 -i -p "Screenshot which area?")" in
|
|
||||||
"a selected area") maim -s $output ;;
|
|
||||||
"current window") maim -i "$(xdotool getactivewindow)" $output ;;
|
|
||||||
"full screen") maim $output ;;
|
|
||||||
"a selected area (clipboard)") maim -s | ${xclip_cmd} ;;
|
|
||||||
"current window (clipboard)") maim -i "$(xdotool getactivewindow)" | ${xclip_cmd} ;;
|
|
||||||
"full screen (clipboard)") maim | ${xclip_cmd} ;;
|
|
||||||
"color picker (clipboard)") maim -st 0 | convert - -resize 1x1\! -format '%[pixel:p{0,0}]' info:- | ${xclip_cmd} ;;
|
|
||||||
esac
|
|
||||||
|
|
24
README.md
24
README.md
@ -43,25 +43,23 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
|
|||||||
|
|
||||||
| ModKey | Shift | Key | Function |
|
| ModKey | Shift | Key | Function |
|
||||||
| ------ | ----- | ----------------- | --------------------------------------------------------- |
|
| ------ | ----- | ----------------- | --------------------------------------------------------- |
|
||||||
| Super | | Return | Spawn terminal |
|
| Super | | Return | Spawn terminal |
|
||||||
| Super | | b | Spawn browser |
|
| Super | | b | Spawn browser |
|
||||||
| Super | Shift | b | Toggle dwmbar |
|
| Super | Shift | b | Toggle dwmbar |
|
||||||
| Super | | f | Spawn filemanager |
|
| Super | | f | Spawn filemanager |
|
||||||
| Super | | i | Spawn intellij-idea-ultimate-edition |
|
| Super | | i | Spawn intellij-idea-ultimate-edition |
|
||||||
| Super | | m | Spawn thunderbird |
|
| Super | | m | Spawn thunderbird |
|
||||||
| Super | | p | Spawn ncmpcpp in st |
|
| Super | | p | Spawn ncmpcpp in st |
|
||||||
| Super | Shift | r | (dmenu) dmenu\_run |
|
| Super | Shift | r | (dmenu) dmenu\_run |
|
||||||
| Super | Shift | r | Restart sxkd |
|
| Super | | s | (dmenu) startpagesearch |
|
||||||
| Super | | s | (dmenu) Startpagesearch |
|
| Super | | F5 | enable 2 Screen Monitor |
|
||||||
| Super | | F5 | Enable 2 Screen Monitor |
|
| Super | | F6 | toggle touchpad |
|
||||||
| Super | | F6 | Toggle touchpad |
|
| Super | | F7 | (dmenu) mounting drives |
|
||||||
| Super | | F7 | (dmenu) Mounting drives |
|
| Super | | F8 | (dmenu) unmounting drives |
|
||||||
| Super | | F8 | (dmenu) Unmounting drives |
|
|
||||||
| Super | | F9 | Restart NetworkManager |
|
| Super | | F9 | Restart NetworkManager |
|
||||||
| Super | | F10 | (dmenu) Prompt, if yes: slock |
|
| Super | | F10 | (dmenu) prompt, if yes: slock |
|
||||||
| Super | | F11 | (dmenu) Prompt, if yes: reboot |
|
| Super | | F11 | (dmenu) prompt, if yes: reboot |
|
||||||
| Super | | F12 | (dmenu) Prompt, if yes: shutdown |
|
| Super | | F12 | (dmenu) prompt, if yes: shutdown |
|
||||||
| Super | | Print | (dmenu) Prompt to take a screenshot |
|
|
||||||
| | | AudioMute | Volume mute |
|
| | | AudioMute | Volume mute |
|
||||||
| | | AudioMicMute | Mic Mute |
|
| | | AudioMicMute | Mic Mute |
|
||||||
| | | AudioLowerVolume | Volume lower |
|
| | | AudioLowerVolume | Volume lower |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user