update smol

This commit is contained in:
паша душный 2023-03-16 15:38:56 +03:00
parent e66013f716
commit 5478beac49
4 changed files with 46 additions and 27 deletions

View File

@ -25,6 +25,9 @@ exec --no-startup-id xgamma -b 0.9
## Compose-key
exec --no-startup-id setxkbmap -layout us -option compose:menu
## Caps to Esc
exec --no-startup-id setxkbmap -option caps:escape
## Redshift
exec --no-startup-id redshift -l 59:30
@ -149,10 +152,10 @@ bindcode $mod+40 exec "rofi -modi drun,run -show drun"
bindcode $mod+Shift+40 exec "rofi -show calc -modi calc -no-show-match -no-sort"
## change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
## alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
@ -161,10 +164,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
## move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
## alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
@ -173,10 +176,10 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
## split in horizontal orientation
bindsym $mod+h split h
# bindsym $mod+h split h
## split in vertical orientation
bindsym $mod+v split v
# bindsym $mod+v split v
## enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
@ -213,23 +216,29 @@ mode "resize" {
## Pressing right will grow the windows width.
## Pressing up will shrink the windows height.
## Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
bindsym h resize shrink width 5 px or 5 ppt
bindsym j resize grow height 5 px or 5 ppt
bindsym k resize shrink height 5 px or 5 ppt
bindsym l resize grow width 5 px or 5 ppt
## same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Left resize shrink width 5 px or 5 ppt
bindsym Down resize grow height 5 px or 5 ppt
bindsym Up resize shrink height 5 px or 5 ppt
bindsym Right resize grow width 5 px or 5 ppt
## same bindings, but for the arrow keys and more accurate
## same bindings, but for the arrow keys and more accurate
bindsym Shift+Left resize shrink width 1 px or 1 ppt
bindsym Shift+Down resize grow height 1 px or 1 ppt
bindsym Shift+Up resize shrink height 1 px or 1 ppt
bindsym Shift+Right resize grow width 1 px or 1 ppt
## same bindings, but more accurate
bindsym Shift+h resize shrink width 1 px or 1 ppt
bindsym Shift+j resize grow height 1 px or 1 ppt
bindsym Shift+k resize shrink height 1 px or 1 ppt
bindsym Shift+l resize grow width 1 px or 1 ppt
## back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
@ -355,6 +364,7 @@ assign [class="qutebrowser"] $ws1
for_window [class="mpv"] floating enable
for_window [class="AzPainter"] floating enable
for_window [class="feh"] floating enable
for_window [class="Sxiv"] floating enable
for_window [class="Zathura"] floating enable
for_window [class="imv"] floating enable
for_window [class="QjackCtl"] floating enable

View File

@ -643,7 +643,7 @@ enable_audio_bell no
#: The audio bell. Useful to disable it in environments that require
#: silence.
visual_bell_duration 0.0
visual_bell_duration 0.1
#: The visual bell duration (in seconds). Flash the screen when a bell
#: occurs for the specified number of seconds. Set to zero to disable.
@ -1226,7 +1226,7 @@ editor .
#: kitty will cycle through various known editors (vim, emacs, etc.)
#: and take the first one that exists on your system.
close_on_child_death no
close_on_child_death yes
#: Close the window when the child process (shell) exits. With the
#: default value no, the terminal will remain open when the child

View File

@ -102,7 +102,7 @@ font-2 = SymbolsNerdFont:size=10;1
modules-left = i3
modules-right = mpd mpdvol weather updates
modules-right = mpd mpdvol weather updates uptime
cursor-click = pointer
cursor-scroll = ns-resize
@ -203,7 +203,7 @@ format-offline = <label-offline>
; %date%
; %title%
; Default: %artist% - %title%
label-song = %artist% - %title%
label-song = %artist% - %title:0:80%
label-time = %elapsed% / %total%
label-offline = mpd is offline
@ -222,9 +222,15 @@ interval = 960
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
exec = ~/.config/polybar/scripts/updates.sh
interval = 3600
[module/uptime]
type = custom/script
exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
interval = 600
[module/mpdvol]
type = custom/script
exec = echo  $(mpc --host=192.168.0.186 status %volume%)

View File

@ -5,7 +5,8 @@
# If you want you can set this to $EDITOR to use your environment variable or
# vim if you want to specify the program directly.
# default="TUT_USE_INTERNAL"
editor="TUT_USE_INTERNAL"
# editor="TUT_USE_INTERNAL"
editor="vim"
# You need to press yes in a confirmation dialog before favoriting, boosting,
# etc.
@ -264,11 +265,13 @@ delete-temp-files=false
# The program to open images. TUT_OS_DEFAULT equals xdg-open on Linux, open on
# MacOS and start on Windows.
# default="TUT_OS_DEFAULT"
program="feh"
# program="feh"
program="sxiv"
# Arguments to pass to the program.
# default=""
args="--geometry 1100x650 --scale-down -B #fdf6e3"
# args="--geometry 1100x650 --scale-down -B #fdf6e3"
args="-ab -s f -g 960x540"
# If the program runs in the terminal set this to true.
# default=false