# This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # # i3 config file (v4) # # Please see http://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 #set $mod Mod1 set $left h set $down j set $up k set $right l set $flash ~/.config/i3/scripts/flash.sh #setting up lock-screen set $Locker i3lock --color "#000000" && sleep 1 #set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown set $mode_system System: --L --E --S --H --R --P mode "$mode_system" { bindsym l exec --no-startup-id $Locker, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default" bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default" bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default" bindsym r exec --no-startup-id systemctl reboot, mode "default" bindsym p exec --no-startup-id systemctl poweroff -i, mode "default" #back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+Delete mode "$mode_system" # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:Iosevka Term 13 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). #font pango:DejaVu Sans Mono 8 # Before i3 v4.8, we used to recommend this one as the default: # font -mic-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 # The font above is very space-efficient, that is, it looks good, sharp and # clear in small sizes. However, its unicode glyph coverage is limited, the old # X core fonts rendering does not support right-to-left and this being a bitmap # font, it doesn’t scale on retina/hidpi displays. # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # start a terminal bindsym $mod+Return exec urxvt # kill focused window bindsym $mod+Shift+q kill # start dmenu (a program launcher) bindsym $mod+d exec --no-startup-id dmenu_run -fn "iosevka term-13" -nb '#2F343F' -nf '#F3F4F5' -sb '#005252' -sf '#F3F4F5' -b # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # change focus bindsym $mod+$left focus left bindsym $mod+$down focus down bindsym $mod+$up focus up bindsym $mod+$right focus right focus_follows_mouse no # move focused window bindsym $mod+Shift+$left move left bindsym $mod+Shift+$down move down bindsym $mod+Shift+$up move up bindsym $mod+Shift+$right move right workspace_auto_back_and_forth yes # split in horizontal orientation bindsym $mod+g split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # toggle border # bindsym $mod+t border normal # bindsym $mod+y border pixel # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # focus the parent container bindsym $mod+a focus parent # focus the child container bindsym $mod+q focus child # move focused window to the scratchpad bindsym $mod+Shift+minus move scratchpad # show the scratchpad window # use mod+mouse to move or regular keybindings bindsym $mod+minus scratchpad show # flashing window bindsym $mod+BackSpace exec --no-startup-id $flash bindsym $mod+grave exec --no-startup-id $flash # set $workspace1 "1:Linux" # set $workspace2 "2:Editor" set $workspace3 "3" # set $workspace4 "4" # set $workspace5 "5:VideoRec" # set $workspace6 "6:Music" # set $workspace7 "7:Games" # set $workspace8 "8:FileManager" # set $workspace9 "9:Social" set $workspace10 "10" # switch to workspace bindsym $mod+1 workspace 1 bindsym $mod+2 workspace 2 bindsym $mod+3 workspace $workspace3 bindsym $mod+4 workspace 4 bindsym $mod+5 workspace 5 bindsym $mod+6 workspace 6 bindsym $mod+7 workspace 7 bindsym $mod+8 workspace 8 bindsym $mod+9 workspace 9 bindsym $mod+0 workspace $workspace10 bindsym $mod+Tab workspace next # move focused container to workspace bindsym $mod+Shift+1 move container to workspace 1 bindsym $mod+Shift+2 move container to workspace 2 bindsym $mod+Shift+3 move container to workspace $workspace3 bindsym $mod+Shift+4 move container to workspace 4 bindsym $mod+Shift+5 move container to workspace 5 bindsym $mod+Shift+6 move container to workspace 6 bindsym $mod+Shift+7 move container to workspace 7 bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+0 move container to workspace $workspace10 # assign [class="Firefox"] $workspace3 # assign [class="Vivaldi-stable"] $workspace3 assign [class="Chromium"] $workspace3 # assign [class="Simplescreenrecorder"] $workspace5 # assign [class="vokoscreen"] $workspace5 assign [class="qBittorrent"] $workspace10 # assign [class="yakyak"] $workspace9 # reload the configuration file bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode # Pressing left will shrink the window’s width. # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. bindsym $down resize shrink height 10 px or 10 ppt bindsym $up resize grow height 10 px or 10 ppt bindsym $left resize shrink width 05 px or 05 ppt bindsym $right resize grow width 05 px or 05 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 # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" set $bg-color #2F343F set $inactive-bg-color #2F343F set $text-color #F3F4F5 set $inactive-text-color #676E7D set $urgent-bg-color #E53935 set $bg-color2 #262626 set $inactive-bg-color2 #262626 set $text-color2 #D5C4A1 set $inactive-text-color2 #4E4E4E set $urgent-bg-color2 #E53935 # set $bg-color3 #A800FF set $bg-color3 #005252 set $border #F3F4F5 set $nav_color #524A42 set $ind_color #7D715C # Class border backgr text indicator child_border client.focused $bg-color2 $bg-color2 $text-color2 $ind_color client.unfocused $nav_color $nav_color $inactive-bg-color2 $ind_color client.focused_inactive $nav_color $nav_color $inactive-bg-color2 $ind_color client.urgent $urgent-bg-color2 $urgent-bg-color2 $text-color2 $ind_color # client.background #111111 #gaps set $default_gaps_inner 25 set $default_gaps_outer 15 gaps inner $default_gaps_inner gaps outer $default_gaps_outer workspace 2 gaps inner 10 workspace 2 gaps outer -4 # smart_gaps on # smart_borders on hide_edge_borders both # window borders new_window none # for_window [class="yakyak"] border pixel 2 # for_window [class="Vivaldi-stable"] border pixel 2 # for_window [class="Firefox"] border pixel 2 # for_window [class="Chromium"] border pixel 2 # for_window [class="qBittorrent"] border pixel 2 # for_window [class="Franz"] border pixel 2 # for_window [class="vokoscreen"] border pixel 2 # for_window [class="Gcolor2"] border pixel 2 for_window [class="Gcolor2"] floating disable set $truemute amixer sset Master mute set $mute amixer sset Master toggle set $inc amixer sset Master 3%+ set $dec amixer sset Master 3%- set $music_player urxvt -e ncmpcpp set $truepause mpv pause set $pause mpc toggle set $stop mpc stop set $play mpc play set $next mpc next set $prev mpc prev set $vol_inc mpc volume +3 set $vol_dec mpc volume -3 # bindsym $mod+shift+Delete exec --no-startup-id $truemute ; $truepause bindsym $mod+shift+x exec --no-startup-id i3lock --color "#000000" bindsym XF86AudioMute exec --no-startup-id $mute bindsym XF86AudioRaiseVolume exec --no-startup-id $inc bindsym XF86AudioLowerVolume exec --no-startup-id $dec bindsym $mod+m exec --no-startup-id $music_player bindsym $mod+Shift+s exec --no-startup-id $stop bindsym $mod+Shift+p exec --no-startup-id $play bindsym $mod+p exec --no-startup-id $pause bindsym $mod+bracketleft exec --no-startup-id $next bindsym $mod+bracketright exec --no-startup-id $prev bindsym $mod+Shift+plus exec --no-startup-id $vol_inc bindsym $mod+Shift+BackSpace exec --no-startup-id $vol_dec bindsym --release $mod+x exec scrot -s bindsym --release $mod+Shift+t exec --no-startup-id scrot -t 20 -d 5 exec_always --no-startup-id ~/.config/polybar/launch.sh