feat: color picker + switch language by Alt+Shift
This commit is contained in:
@ -36,6 +36,8 @@ client.focused "#2c2c2c" "#212121" "#fefefe" "#ffffff" "#2c2c2c"
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
|
||||
output DP-2 mode 2560x1440@165.001Hz
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
# Example configuration:
|
||||
@ -77,7 +79,7 @@ input type:touchpad {
|
||||
# Set keyboard layouts
|
||||
input "type:keyboard" {
|
||||
xkb_layout us,ru
|
||||
xkb_options grp:win_space_toggle
|
||||
xkb_options grp:alt_shift_toggle
|
||||
}
|
||||
|
||||
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||
@ -101,6 +103,9 @@ input "type:keyboard" {
|
||||
# Start your launcher
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Color Picker
|
||||
bindsym $mod+c exec grim -g "$(slurp -p)" -t ppm - | convert - -format "%[pixel:p{0,0}]" txt:- | tail -n 1 | cut -d " " -f 4 | wl-copy
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
|
Reference in New Issue
Block a user