upd bigg
This commit is contained in:
parent
cdd176b352
commit
f11c775e3d
3 changed files with 64 additions and 48 deletions
|
@ -42,9 +42,12 @@ exec --no-startup-id picom -b
|
|||
## Autotiling
|
||||
exec_always --no-startup-id autotiling
|
||||
|
||||
## Keyboard layouts
|
||||
## Keyboard All
|
||||
exec_always --no-startup-id setxkbmap -layout us,ru
|
||||
exec_always --no-startup-id xkb-switch --i3
|
||||
exec_always --no-startup-id setxkbmap -option compose:sclk
|
||||
exec_always --no-startup-id setxkbmap -option caps:escape
|
||||
exec_always --no-startup-id setxkbmap -option altwin:menu_win
|
||||
|
||||
## xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
## screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
|
@ -58,15 +61,9 @@ exec_always --no-startup-id xset -dpms
|
|||
# exec --no-startup-id feh --bg-fill ~/pics/wp/2b16x9.jpg ~/pics/wp/2b4x3.png
|
||||
exec --no-startup-id nitrogen --restore
|
||||
|
||||
## First panel
|
||||
## Panels
|
||||
exec_always --no-startup-id ~/.config/i3/polybar.sh &
|
||||
|
||||
## Compose-key
|
||||
exec_always --no-startup-id setxkbmap -option compose:menu
|
||||
|
||||
## Caps to Esc
|
||||
exec_always --no-startup-id setxkbmap -option caps:escape
|
||||
|
||||
## Transmission
|
||||
exec --no-startup-id transmission-daemon
|
||||
|
||||
|
@ -79,19 +76,19 @@ exec --no-startup-id mousetrap -t 5
|
|||
bindsym $mod+Escape exec --no-startup-id kitty -1 ikhal
|
||||
|
||||
## Play/Pause music
|
||||
bindsym $mod+F1 exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
|
||||
## Stop music
|
||||
bindsym $mod+F2 exec --no-startup-id playerctl stop
|
||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
||||
|
||||
## Next/Prev music
|
||||
bindsym $mod+F3 exec --no-startup-id playerctl previous
|
||||
bindsym $mod+F4 exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
|
||||
## MPD Volume control
|
||||
bindsym $mod+F7 exec --no-startup-id mpc --host=192.168.0.186 volume -5
|
||||
bindsym $mod+F8 exec --no-startup-id mpc --host=192.168.0.186 volume +5
|
||||
bindsym $mod+F6 exec --no-startup-id mpc --host=192.168.0.186 toggleoutput 1
|
||||
bindsym XF86AudioRaiseVolume exec polybar-msg action "#mpdvol.hook.1" && polybar-msg action "#mpdvol.hook.0"
|
||||
bindsym XF86AudioLowerVolume exec polybar-msg action "#mpdvol.hook.2" && polybar-msg action "#mpdvol.hook.0"
|
||||
bindsym XF86Tools exec polybar-msg action "#mpdvol.hook.3" && polybar-msg action "#mpdvol.hook.0"
|
||||
|
||||
## Toggle keyboard layout
|
||||
bindsym $mod+space exec --no-startup-id xkb-switch --next
|
||||
|
@ -106,8 +103,8 @@ bindsym --release Ctrl+Print exec --no-startup-id scrot -s --delay 2
|
|||
bindsym --release Shift+Print exec --no-startup-id scrot --focused
|
||||
|
||||
## Notifications show
|
||||
bindsym $mod+F9 exec --no-startup-id dunstctl history-pop
|
||||
bindsym $mod+Shift+F9 exec --no-startup-id dunstctl close-all
|
||||
bindsym XF86Explorer exec --no-startup-id dunstctl history-pop
|
||||
bindsym Shift+XF86Explorer exec --no-startup-id dunstctl close-all
|
||||
|
||||
## Switch to urgent window
|
||||
bindsym $mod+x [urgent=latest] focus
|
||||
|
@ -120,9 +117,12 @@ bindsym $mod+F5 scratchpad show
|
|||
|
||||
## Use pactl to adjust volume in PulseAudio.
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym $mod+F12 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1% && $refresh_i3status
|
||||
bindsym $mod+F11 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1% && $refresh_i3status
|
||||
bindsym $mod+F12 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
||||
bindsym $mod+F11 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
||||
bindsym $mod+F10 exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1% && $refresh_i3status
|
||||
bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1% && $refresh_i3status
|
||||
bindsym $mod+XF86Tools exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
# bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
|
||||
## Use Mouse+$mod to drag floating windows to their wanted position
|
||||
|
@ -349,7 +349,7 @@ mode "$mode_system" {
|
|||
$(/home/username/.config/script/rtcdate.sh), mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
|
||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||
|
||||
## exit: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue