# 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). # ########################### # xbindkeys -k # # xprop | grep -i 'class' # ########################### # i3 config file (v4) # # Please see http://i3wm.org/docs/userguide.html for a complete reference! # set modifiers ## ## Win to be used to issue commands application related, like launching programs ## Alt to be used to issue commands desktop related, like modifying layout of windows ## Ctrl in combination with the other two, to issue special commands. set $win Mod4 set $alt Mod1 set $ctrl Ctrl # title alignment #title_align center #set $rofi "rofi -show run -font 'Droid Sans Mono 10' -theme Monokai -width 40 -location 2 -lines 7 -bw 2 -yoffset -2" #set $rofissh "rofi -show ssh -font 'Droid Sans Mono 10' -theme Monokai" # Workspace names # # to display names or symbols instead of plain workspace numbers you can use # # something like: set $ws1 1:mail # # set $ws2 2:x # set $ws1 "1:web" set $ws2 "2:editor" set $ws3 "3:console" set $ws4 "4:ssh" set $ws5 "5:graphic" set $ws6 "6:editor2" set $ws7 "7:chat" set $ws8 "8:music" # per workspace gaps workspace $ws1 gaps inner 0 workspace $ws1 gaps outer 0 workspace $ws2 gaps inner 0 workspace $ws2 gaps outer 0 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:"Droid Sans 10" # Use Mouse+$win to drag floating windows to their wanted position floating_modifier $win # start a terminal bindsym $alt+Return exec urxvt # custom binding bindsym Shift+$ctrl+l exec --no-startup-id xclip -o | qrencode -o - | feh -Z - bindsym Print exec --no-startup-id blackpearl-scrotmenu.sh bindsym $alt+Menu exec --no-startup-id blackpearl-utilsmenu.sh bindsym $alt+Escape --release exec xkill bindsym $win+e exec pcmanfm-qt #bindsym $win+x exec --no-startup-id i3-exit bindsym $win+s exec --no-startup-id wol d4:c9:ef:f1:c9:24 bindsym $win+l exec --no-startup-id i3lock-fancy bindsym $win+t exec flatpak run io.typora.Typora bindsym $win+w exec vivaldi bindsym XF86Calculator exec kcalc bindsym XF86Sleep exec i3suspend bindsym $win+Shift+w exec "vivaldi --incognito" bindsym $win+h exec --no-startup-id blackpearl-sshmenu.sh bindsym $win+r exec atom bindsym XF86HomePage exec --no-startup-id blackpearl-appsmenu.sh bindsym $win+p exec uxterm -T "spt" -geometry 90x30+800+30 -e spt bindsym $win+Shift+t exec flatpak run org.telegram.desktop # window switching bindings bindsym $alt+Tab exec --no-startup-id "blackpearl-window.sh desktop" bindsym $alt+Ctrl+Tab exec --no-startup-id "blackpearl-window.sh all" # volume binding bindsym XF86AudioMute exec --no-startup-id pamixer -t bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5 bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5 # kill focused window #bindsym $ctrl+Shift+q kill # start dmenu (a program launcher) bindsym $alt+F2 exec --no-startup-id blackpearl-runner.sh # change focus bindsym $alt+j focus left bindsym $alt+k focus down bindsym $alt+l focus up bindsym $alt+ograve focus right # alternatively, you can use the cursor keys: bindsym $alt+Left focus left bindsym $alt+Down focus down bindsym $alt+Up focus up bindsym $alt+Right focus right # move focused window bindsym $alt+Shift+j move left bindsym $alt+Shift+k move down bindsym $alt+Shift+l move up bindsym $alt+Shift+ograve move right # alternatively, you can use the cursor keys: bindsym $alt+Shift+Left move left bindsym $alt+Shift+Down move down bindsym $alt+Shift+Up move up bindsym $alt+Shift+Right move right # split in horizontal orientation bindsym $alt+h split h;exec notify-send 'split horizontally' # split in vertical orientation bindsym $alt+v split v;exec notify-send 'split vertically' # enter fullscreen mode for the focused container bindsym $alt+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $alt+s layout stacking;exec notify-send 'layout stacking' bindsym $alt+w layout tabbed;exec notify-send 'layout tabbed' bindsym $alt+e layout toggle split;exec notify-send 'layout split' # toggle tiling / floating bindsym $alt+Shift+space floating toggle # change focus between tiling / floating windows bindsym $alt+space focus mode_toggle # focus the parent container bindsym $alt+a focus parent # focus the child container #bindsym $win+d focus child # switch to workspace bindsym Ctrl+F1 workspace $ws1 bindsym Ctrl+F2 workspace $ws2 bindsym Ctrl+F3 workspace $ws3 bindsym Ctrl+F4 workspace $ws4 bindsym Ctrl+F5 workspace $ws5 bindsym Ctrl+F6 workspace $ws6 bindsym Ctrl+F7 workspace $ws7 bindsym Ctrl+F8 workspace $ws8 # move focused container to workspace bindsym $win+Shift+1 move container to workspace $ws1 bindsym $win+Shift+2 move container to workspace $ws2 bindsym $win+Shift+3 move container to workspace $ws3 bindsym $win+Shift+4 move container to workspace $ws4 bindsym $win+Shift+5 move container to workspace $ws5 bindsym $win+Shift+6 move container to workspace $ws6 bindsym $win+Shift+7 move container to workspace $ws7 bindsym $win+Shift+8 move container to workspace $ws8 # navigate workspaces #bindsym $win+Home workspace $ws1 #bindsym $win+End workspace $ws8 bindsym $win+Prior workspace prev bindsym $win+Next workspace next # navigate workspaces next / previous #bindsym $win+Ctrl+j workspace prev #bindsym $win+Ctrl+ograve workspace next #bindsym $win+Ctrl+Right workspace next #bindsym $win+Ctrl+Left workspace prev # assign programs to specific workspaces assign [title="ssh"] $ws4 assign [class="URxvt"] $ws3 assign [class="Atom"] $ws2 assign [class="Typora"] $ws6 assign [class="Vivaldi-stable"] $ws1 assign [class="Telegram"] $ws7 assign [class="gimp-2.10"] $ws5 assign [title="^spt$"] $ws8 # open specific apps in floating mode for_window [class="kcalc"] floating enable border pixel 1 for_window [class="lxsudo"] floating enable border pixel 1 for_window [title="^spt$"] floating enable border pixel 1 # switch to workspace with urgent window automatically for_window [urgent=latest] focus client.focused #349f86 #349f85 #000088 #00C1FF client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C client.urgent #00C1FF #00C1FF #000088 #00C1FF # window borders hide_edge_borders both for_window [class="^.*"] border pixel 0 gaps outer 0 gaps inner 10 workspace $ws1 gaps inner 0 workspace $ws2 gaps inner 0 workspace $ws5 gaps inner 0 # reload the configuration file bindsym $alt+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $alt+Shift+r restart # exit i3 (logs you out of your X session) #bindsym $win+Shift+e exec "i3-nagbar -t warning -m 'Exit i3? This will end your session.' -b 'Yes, exit i3' 'i3-msg exit'" # Set shut down, restart and locking features bindsym $win+x exec --no-startup-id blackpearl-powermenu.sh # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode 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 ograve resize grow width 10 px or 10 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 $win+Ctrl+r mode "resize" set $wine_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) set $wine_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) bindsym $win+Shift+g mode "$wine_gaps" mode "$wine_gaps" { bindsym o mode "$wine_gaps_outer" bindsym i mode "$wine_gaps_inner" bindsym Return mode "$wine_gaps" bindsym Escape mode "default" } mode "$wine_gaps_outer" { bindsym plus gaps outer current plus 5 bindsym minus gaps outer current minus 5 bindsym 0 gaps outer current set 0 bindsym Shift+plus gaps outer all plus 5 bindsym Shift+minus gaps outer all minus 5 bindsym Shift+0 gaps outer all set 0 bindsym Return mode "$wine_gaps" bindsym Escape mode "default" } mode "$wine_gaps_inner" { bindsym plus gaps inner current plus 5 bindsym minus gaps inner current minus 5 bindsym 0 gaps inner current set 0 bindsym Shift+plus gaps inner all plus 5 bindsym Shift+minus gaps inner all minus 5 bindsym Shift+0 gaps inner all set 0 bindsym Return mode "$wine_gaps" bindsym Escape mode "default" } # start kdeconnect exec --no-startup-id kdeconnect-indicator # start tint2 i3status exec --no-startup-id tint2 -c ~/.config/tint2/i3status.tint2rc # start tint2 bar exec --no-startup-id tint2 -c ~/.config/tint2/minima.tint2rc # start pulseaudio daemon exec --no-startup-id start-pulseaudio-x11 # start networkmanager applet exec --no-startup-id nm-applet # start lxqt-notificationd exec --no-startup-id lxqt-notificationd #exec --no-startup-id dunst # start keepassxc #exec --no-startup-id keepassxc # start qtpass exec --no-startup-id qtpass # start audio icon exec --no-startup-id pnmixer