upd bigg
This commit is contained in:
parent
cdd176b352
commit
f11c775e3d
@ -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"
|
||||
|
@ -1668,7 +1668,8 @@ kitty_mod ctrl+shift
|
||||
#: the value of this option to alter all default shortcuts that use
|
||||
#: kitty_mod.
|
||||
|
||||
clear_all_shortcuts no
|
||||
# clear_all_shortcuts no
|
||||
clear_all_shortcuts yes
|
||||
|
||||
#: Remove all shortcut definitions up to this point. Useful, for
|
||||
#: instance, to remove the default shortcuts.
|
||||
@ -1839,8 +1840,8 @@ map kitty_mod+g show_last_command_output
|
||||
|
||||
#: New window
|
||||
|
||||
# map kitty_mod+enter new_window
|
||||
# map cmd+enter new_window
|
||||
# map kitty_mod+enter new_window
|
||||
# map cmd+enter new_window
|
||||
|
||||
#:: You can open a new kitty window running an arbitrary program, for
|
||||
#:: example::
|
||||
|
@ -211,16 +211,25 @@ interval = 3600
|
||||
|
||||
[module/uptime]
|
||||
type = custom/script
|
||||
exec = echo $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
|
||||
format-prefix = ""
|
||||
# exec = echo $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
|
||||
exec = uptime | sed 's/.*up //g;s/,.*user.*//g'
|
||||
interval = 60
|
||||
|
||||
[module/mpdvol]
|
||||
type = custom/script
|
||||
exec = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||
interval = 5
|
||||
scroll-up = mpc --host=192.168.0.186 volume +5
|
||||
scroll-down = mpc --host=192.168.0.186 volume -5
|
||||
click-left = mpc --host=192.168.0.186 toggleoutput 1
|
||||
type = custom/ipc
|
||||
interval = 10
|
||||
initial = 1
|
||||
|
||||
hook-0 = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||
hook-1 = mpc --host=192.168.0.186 volume +1 > /dev/null
|
||||
hook-2 = mpc --host=192.168.0.186 volume -1 > /dev/null
|
||||
hook-3 = mpc --host=192.168.0.186 toggleoutput 1 > /dev/null
|
||||
|
||||
# exec = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||
# scroll-up = mpc --host=192.168.0.186 volume +5
|
||||
# scroll-down = mpc --host=192.168.0.186 volume -5
|
||||
# click-left = mpc --host=192.168.0.186 toggleoutput 1
|
||||
|
||||
[module/ddcci]
|
||||
type = custom/script
|
||||
@ -242,7 +251,13 @@ menu-0-1 = Suspend
|
||||
menu-0-1-exec = systemctl suspend
|
||||
label-open =
|
||||
|
||||
|
||||
[module/openvpn]
|
||||
type = custom/script
|
||||
exec = hostname -i | sed 's#.*10\.8#10\.8#'
|
||||
exec-if = pgrep -x openvpn
|
||||
tail = true
|
||||
interval = 5
|
||||
format-prefix = " "
|
||||
|
||||
###############
|
||||
# INTERNAL #
|
||||
@ -468,14 +483,14 @@ ramp-coreload-5 = ▆
|
||||
ramp-coreload-6 = ▇
|
||||
ramp-coreload-7 = █
|
||||
|
||||
# [module/freq]
|
||||
# type = custom/script
|
||||
# format = <label> MHz
|
||||
# exec = cat /proc/cpuinfo | grep MHz | sed 's/cpu MHz//' | sed 's/://' | awk '{print int($1+0.5)}'
|
||||
# # tail = true
|
||||
# click-left = kill -USR1 %pid%
|
||||
# format-prefix = " "
|
||||
# interval = 3
|
||||
[module/freq]
|
||||
type = custom/script
|
||||
format = <label> MHz
|
||||
exec = cat /proc/cpuinfo | grep MHz | sed 's/cpu MHz//' | sed 's/://' | awk '{print int($1+0.5)}'
|
||||
# tail = true
|
||||
click-left = kill -USR1 %pid%
|
||||
format-prefix = " "
|
||||
interval = 3
|
||||
|
||||
[module/wireguard]
|
||||
type = internal/network
|
||||
@ -487,15 +502,15 @@ ping-interval = 5
|
||||
label-connected = %ifname% %local_ip%
|
||||
label-disconnected = %local_ip%
|
||||
|
||||
[module/openvpn]
|
||||
type = internal/network
|
||||
interface = tun0
|
||||
interface-type = wired
|
||||
interval = 3.0
|
||||
ping-interval = 5
|
||||
label-connected = %local_ip%
|
||||
label-disconnected =
|
||||
|
||||
# [module/tun0]
|
||||
# type = internal/network
|
||||
# interface = tun0
|
||||
# interface-type = wired
|
||||
# interval = 3.0
|
||||
# ping-interval = 5
|
||||
# label-connected = %local_ip%
|
||||
# label-disconnected =
|
||||
|
||||
[module/ethernet]
|
||||
type = internal/network
|
||||
interface = enp37s0
|
||||
|
Loading…
Reference in New Issue
Block a user