added keybind for xcolor
This commit is contained in:
parent
43b15731f0
commit
23dbddefa0
|
@ -183,9 +183,9 @@ font pango:DejaVu Sans Mono 8
|
|||
bindsym $mod+x exec --no-startup-id "~/dotfiles/scripts/screen_off $lock_command_nof"
|
||||
bindsym $mod+shift+x exec --no-startup-id "$lock_command"; exec --no-startup-id "systemctl suspend"
|
||||
|
||||
# disable screen going to sleep with mod+c, enable screen going to sleep with mod+shift+c
|
||||
bindsym $mod+c exec --no-startup-id "xset s off -dpms; notify-send --expire-time=500 'screen blanking off'"
|
||||
bindsym $mod+shift+c exec --no-startup-id "xset +dpms; notify-send --expire-time=500 'screen blanking on'"
|
||||
# disable screen going to sleep with mod+b, enable screen going to sleep with mod+shift+c
|
||||
bindsym $mod+b exec --no-startup-id "xset s off -dpms; notify-send --expire-time=500 'screen blanking off'"
|
||||
bindsym $mod+shift+b exec --no-startup-id "xset +dpms; notify-send --expire-time=500 'screen blanking on'"
|
||||
|
||||
# change brightness
|
||||
bindsym $mod+control+plus exec --no-startup-id "xbacklight -inc 10; notify-send --expire-time=500 Brightness\ $(xbacklight -get | cut --delimiter=. -f 1)"
|
||||
|
@ -195,6 +195,9 @@ font pango:DejaVu Sans Mono 8
|
|||
bindsym $mod+s exec --no-startup-id "maim ~/Pictures/$(date +%s).png"
|
||||
bindsym $mod+shift+s exec --no-startup-id "maim -i $(xdotool getactivewindow) ~/Pictures/$(date +%s).png"
|
||||
|
||||
#colour picker with xcolor
|
||||
bindsym --release $mod+c exec --no-startup-id "xcolor -s"
|
||||
|
||||
#mpd controls
|
||||
bindsym $mod+mod1+p exec --no-startup-id "mpc toggle"
|
||||
bindsym $mod+mod1+plus exec --no-startup-id "mpc volume +1"
|
||||
|
|
|
@ -88,7 +88,7 @@ vim.cmd 'colorscheme moonfly'
|
|||
map('', '<leader>h', ':nohls<CR>', opts)
|
||||
--open nvim-tree with leader+t
|
||||
map('n', '<leader>t', ':NvimTreeToggle<CR>', opts)
|
||||
--open symbols-outline with leader+s
|
||||
--open symbols-outline with leader+o
|
||||
map('n', '<leader>o', ':SymbolsOutline<CR>', opts)
|
||||
--telescope stuff
|
||||
map('n', '<leader>ff', ':lua require "telescope".extensions.file_browser.file_browser()<CR>', opts)
|
||||
|
|
Loading…
Reference in a new issue