This commit is contained in:
паша душный 2023-03-16 15:44:37 +03:00
parent 5478beac49
commit cdd176b352
4 changed files with 55 additions and 35 deletions

View File

@ -55,7 +55,8 @@ exec_always --no-startup-id xset s off
exec_always --no-startup-id xset -dpms exec_always --no-startup-id xset -dpms
## Wallpaper ## Wallpaper
exec --no-startup-id feh --bg-fill ~/pics/wp/2b16x9.jpg ~/pics/wp/2b4x3.png # exec --no-startup-id feh --bg-fill ~/pics/wp/2b16x9.jpg ~/pics/wp/2b4x3.png
exec --no-startup-id nitrogen --restore
## First panel ## First panel
exec_always --no-startup-id ~/.config/i3/polybar.sh & exec_always --no-startup-id ~/.config/i3/polybar.sh &
@ -63,6 +64,9 @@ exec_always --no-startup-id ~/.config/i3/polybar.sh &
## Compose-key ## Compose-key
exec_always --no-startup-id setxkbmap -option compose:menu exec_always --no-startup-id setxkbmap -option compose:menu
## Caps to Esc
exec_always --no-startup-id setxkbmap -option caps:escape
## Transmission ## Transmission
exec --no-startup-id transmission-daemon exec --no-startup-id transmission-daemon
@ -148,10 +152,10 @@ bindsym $mod+ctrl+d exec "rofi -show emoji -modi emoji"
bindcode $mod+Shift+40 exec "rofi -show calc -modi calc -no-show-match -no-sort" bindcode $mod+Shift+40 exec "rofi -show calc -modi calc -no-show-match -no-sort"
## change focus ## change focus
bindsym $mod+j focus left bindsym $mod+h focus left
bindsym $mod+k focus down bindsym $mod+j focus down
bindsym $mod+l focus up bindsym $mod+k focus up
bindsym $mod+semicolon focus right bindsym $mod+l focus right
## alternatively, you can use the cursor keys: ## alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
@ -160,10 +164,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right bindsym $mod+Right focus right
## move focused window ## move focused window
bindsym $mod+Shift+j move left bindsym $mod+Shift+h move left
bindsym $mod+Shift+k move down bindsym $mod+Shift+j move down
bindsym $mod+Shift+l move up bindsym $mod+Shift+k move up
bindsym $mod+Shift+semicolon move right bindsym $mod+Shift+l move right
## alternatively, you can use the cursor keys: ## alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
@ -172,10 +176,10 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right bindsym $mod+Shift+Right move right
## split in horizontal orientation ## split in horizontal orientation
bindsym $mod+h split h # bindsym $mod+h split h
## split in vertical orientation ## split in vertical orientation
bindsym $mod+v split v # bindsym $mod+v split v
## enter fullscreen mode for the focused container ## enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
@ -210,10 +214,10 @@ mode "resize" {
## Pressing right will grow the windows width. ## Pressing right will grow the windows width.
## Pressing up will shrink the windows height. ## Pressing up will shrink the windows height.
## Pressing down will grow the windows height. ## Pressing down will grow the windows height.
bindsym j resize shrink width 5 px or 5 ppt bindsym h resize shrink width 5 px or 5 ppt
bindsym k resize grow height 5 px or 5 ppt bindsym j resize grow height 5 px or 5 ppt
bindsym l resize shrink height 5 px or 5 ppt bindsym k resize shrink height 5 px or 5 ppt
bindsym semicolon resize grow width 5 px or 5 ppt bindsym l resize grow width 5 px or 5 ppt
## same bindings, but for the arrow keys ## same bindings, but for the arrow keys
bindsym Left resize shrink width 5 px or 5 ppt bindsym Left resize shrink width 5 px or 5 ppt
@ -227,6 +231,12 @@ mode "resize" {
bindsym Shift+Up resize shrink 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 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 ## back to normal: Enter or Escape or $mod+r
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
@ -330,7 +340,7 @@ bindsym $mod+Pause mode "$mode_system"
# username bigg= NOPASSWD: /usr/bin/rtcwake # username bigg= NOPASSWD: /usr/bin/rtcwake
### ###
set $mode_system System (l) lock, (e) logout, (s) suspend, (w) wake at 7:15, (r) reboot, (Shift+s) shutdown, (h) hibernate set $mode_system System (l) lock, (e) logout, (s) suspend, (w) wake at 8:15, (r) reboot, (Shift+s) shutdown, (h) hibernate
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id $Locker, mode "default" bindsym l exec --no-startup-id $Locker, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default"
@ -419,6 +429,7 @@ assign [class="qutebrowser"] $ws11
for_window [class="mpv"] floating enable for_window [class="mpv"] floating enable
for_window [class="feh"] floating enable for_window [class="feh"] floating enable
for_window [class="Sxiv"] floating enable
for_window [class="Mojosetup"] floating enable for_window [class="Mojosetup"] floating enable
workspace_auto_back_and_forth yes workspace_auto_back_and_forth yes

View File

@ -16,6 +16,11 @@ bold_font Fira Mono Bold
italic_font auto italic_font auto
bold_italic_font auto bold_italic_font auto
# font_family OverpassMono Nerd Font
# bold_font OverpassMono Nerd Font Bold
# italic_font OverpassMono Nerd Font Italic
# bold_italic_font OverpassMono Nerd Font Semibold
#: You can specify different fonts for the bold/italic/bold-italic #: You can specify different fonts for the bold/italic/bold-italic
#: variants. To get a full list of supported fonts use the `kitty #: variants. To get a full list of supported fonts use the `kitty
#: +list-fonts` command. By default they are derived automatically, by #: +list-fonts` command. By default they are derived automatically, by
@ -255,7 +260,7 @@ cursor_stop_blinking_after 15.0
#: Scrollback {{{ #: Scrollback {{{
scrollback_lines 512000 scrollback_lines 1048576
#: Number of lines of history to keep in memory for scrolling back. #: Number of lines of history to keep in memory for scrolling back.
#: Memory is allocated on demand. Negative numbers are (effectively) #: Memory is allocated on demand. Negative numbers are (effectively)
@ -643,7 +648,7 @@ enable_audio_bell no
#: The audio bell. Useful to disable it in environments that require #: The audio bell. Useful to disable it in environments that require
#: silence. #: silence.
visual_bell_duration 0.0 visual_bell_duration 0.1
#: The visual bell duration (in seconds). Flash the screen when a bell #: The visual bell duration (in seconds). Flash the screen when a bell
#: occurs for the specified number of seconds. Set to zero to disable. #: occurs for the specified number of seconds. Set to zero to disable.
@ -1214,7 +1219,7 @@ shell .
#: --login and --interactive to ensure that the shell starts in #: --login and --interactive to ensure that the shell starts in
#: interactive mode and reads its startup rc files. #: interactive mode and reads its startup rc files.
editor . editor vim
#: The terminal based text editor (such as vim or nano) to use when #: The terminal based text editor (such as vim or nano) to use when
#: editing the kitty config file or similar tasks. #: editing the kitty config file or similar tasks.
@ -1226,7 +1231,8 @@ editor .
#: kitty will cycle through various known editors (vim, emacs, etc.) #: kitty will cycle through various known editors (vim, emacs, etc.)
#: and take the first one that exists on your system. #: and take the first one that exists on your system.
close_on_child_death no # close_on_child_death no
close_on_child_death yes
#: Close the window when the child process (shell) exits. With the #: Close the window when the child process (shell) exits. With the
#: default value no, the terminal will remain open when the child #: default value no, the terminal will remain open when the child
@ -1833,8 +1839,8 @@ map kitty_mod+g show_last_command_output
#: New window #: New window
map kitty_mod+enter new_window # map kitty_mod+enter new_window
map cmd+enter new_window # map cmd+enter new_window
#:: You can open a new kitty window running an arbitrary program, for #:: You can open a new kitty window running an arbitrary program, for
#:: example:: #:: example::
@ -1864,8 +1870,8 @@ map cmd+enter new_window
#: New OS window #: New OS window
map kitty_mod+n new_os_window # map kitty_mod+n new_os_window
map cmd+n new_os_window # map cmd+n new_os_window
#:: Works like new_window above, except that it opens a top-level OS #:: Works like new_window above, except that it opens a top-level OS
#:: window. In particular you can use new_os_window_with_cwd to open #:: window. In particular you can use new_os_window_with_cwd to open

View File

@ -347,7 +347,7 @@ format-offline = <label-offline>
; %date% ; %date%
; %title% ; %title%
; Default: %artist% - %title% ; Default: %artist% - %title%
label-song = %artist% - %title% label-song = %artist% - %title:0:100%
label-time = %elapsed% / %total% label-time = %elapsed% / %total%

View File

@ -5,7 +5,8 @@
# If you want you can set this to $EDITOR to use your environment variable or # If you want you can set this to $EDITOR to use your environment variable or
# vim if you want to specify the program directly. # vim if you want to specify the program directly.
# default="TUT_USE_INTERNAL" # 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, # You need to press yes in a confirmation dialog before favoriting, boosting,
# etc. # etc.
@ -265,12 +266,14 @@ delete-temp-files=false
# The program to open images. TUT_OS_DEFAULT equals xdg-open on Linux, open on # The program to open images. TUT_OS_DEFAULT equals xdg-open on Linux, open on
# MacOS and start on Windows. # MacOS and start on Windows.
# default="TUT_OS_DEFAULT" # default="TUT_OS_DEFAULT"
program="feh" program="sxiv"
# program="feh"
# program="kitty" # program="kitty"
# Arguments to pass to the program. # Arguments to pass to the program.
# default="" # default=""
args="--geometry 1800x1000 --scale-down -B #fdf6e3" # args="--geometry 1800x1000 --scale-down -B #fdf6e3"
args="-ab -s f -g 1280x720"
# args="+kitten icat" # args="+kitten icat"
# If the program runs in the terminal set this to true. # If the program runs in the terminal set this to true.