💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › slackware › .i3 › config… captured on 2024-08-25 at 09:13:39. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
config (7464B)
1 # This file has been auto-generated by i3-config-wizard(1). 2 # It will not be overwritten, so edit it as you like. 3 # 4 # Should you change your keyboard layout some time, delete 5 # this file and re-run i3-config-wizard(1). 6 # 7 8 # i3 config file (v4) 9 # 10 # Please see http://i3wm.org/docs/userguide.html for a complete reference! 11 12 set $mod Mod4 13 14 # Font for window titles. Will also be used by the bar unless a different font 15 # is used in the bar {} block below. 16 # This font is widely installed, provides lots of unicode glyphs, right-to-left 17 # text rendering and scalability on retina/hidpi displays (thanks to pango). 18 font pango:DejaVu Sans Mono 8 19 # Before i3 v4.8, we used to recommend this one as the default: 20 # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 21 # The font above is very space-efficient, that is, it looks good, sharp and 22 # clear in small sizes. However, its unicode glyph coverage is limited, the old 23 # X core fonts rendering does not support right-to-left and this being a bitmap 24 # font, it doesn’t scale on retina/hidpi displays. 25 26 # Use Mouse+$mod to drag floating windows to their wanted position 27 floating_modifier $mod 28 29 # start a terminal 30 #bindsym $mod+Return exec i3-sensible-terminal 31 #bindsym $mod+a exec i3-sensible-terminal 32 #bindsym $mod+a exec st 33 #bindsym $mod+Shift+a exec ~/tmp/st/stDark 34 #bindsym $mod+x exec mlterm -O none --bg=#000000 --fg=#E0E0E0 35 #bindsym $mod+x exec mlterm -O right --bg=#000000 --fg=#E0E0E0 36 #bindsym $mod+b exec xterm -fa "Liberation Mono:pixelsize=16:antialias=true:autohint=true" -xrm xterm*Color4:rgb:86/91/FF -xrm xterm*Color12:rgb:AF/B0/FF 37 #no italic - bindsym $mod+b exec xterm -fa "Terminus:pixelsize=17" -xrm xterm*Color4:rgb:86/91/FF -xrm xterm*Color12:rgb:AF/B0/FF 38 #no italic - bindsym $mod+Shift+b exec xterm -fa "Terminus:pixelsize=37" -xrm xterm*Color4:rgb:86/91/FF -xrm xterm*Color12:rgb:AF/B0/FF 39 bindsym $mod+a exec xterm -fa "Liberation Mono:pixelsize=16:antialias=true:auto" 40 #bindsym $mod+a exec xterm -fa "Monospace Regular:antialias=false" -fs 13 -xrm xterm*Color4:rgb:86/91/FF -xrm xterm*Color12:rgb:AF/B0/FF 41 #bindsym $mod+Shift+a exec xterm -fa "Monospace Regular:antialias=false" -fs 17 -xrm xterm*Color4:rgb:86/91/FF -xrm xterm*Color12:rgb:AF/B0/FF 42 43 #bad colors - xterm -xrm xterm*Background:rgb:1a/1a/1a -xrm xterm*Foreground:rgb:d6/d6/d6 -xrm xterm*Color0:rgb:00/00/00 -xrm xterm*Color1:rgb:9e/18/28 -xrm xterm*Color2:rgb:00/88/00 -xrm xterm*Color3:rgb:96/8a/38 -xrm xterm*Color4:rgb:41/41/71 -xrm xterm*Color5:rgb:96/3c/59 -xrm xterm*Color6:rgb:41/81/79 -xrm xterm*Color7:rgb:be/be/be -xrm xterm*Color8:rgb:66/66/66 -xrm xterm*Color9:rgb:cf/61/71 -xrm xterm*Color10:rgb:7c/bc/8c -xrm xterm*Color11:rgb:ff/f7/96 -xrm xterm*Color12:rgb:41/86/be -xrm xterm*Color13:rgb:cf/9e/be -xrm xterm*Color14:rgb:71/be/be -xrm xterm*Color15:rgb:ff/ff/ff 44 45 # kill focused window 46 bindsym $mod+q kill 47 48 # start dmenu (a program launcher) 49 #bindsym $mod+d exec dmenu_run 50 bindsym Control+Escape exec dmenu_run 51 52 # There also is the (new) i3-dmenu-desktop which only displays applications 53 # shipping a .desktop file. It is a wrapper around dmenu, so you need that 54 # installed. 55 # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop 56 57 # change focus 58 bindsym $mod+j focus left 59 bindsym $mod+k focus down 60 bindsym $mod+l focus up 61 bindsym $mod+semicolon focus right 62 63 # alternatively, you can use the cursor keys: 64 bindsym $mod+Left focus left 65 bindsym $mod+Down focus down 66 bindsym $mod+Up focus up 67 bindsym $mod+Right focus right 68 69 # move focused window 70 bindsym $mod+Shift+j move left 71 bindsym $mod+Shift+k move down 72 bindsym $mod+Shift+l move up 73 bindsym $mod+Shift+semicolon move right 74 75 # alternatively, you can use the cursor keys: 76 bindsym $mod+Shift+Left move left 77 bindsym $mod+Shift+Down move down 78 bindsym $mod+Shift+Up move up 79 bindsym $mod+Shift+Right move right 80 81 # split in horizontal orientation 82 bindsym $mod+h split h 83 84 # split in vertical orientation 85 bindsym $mod+v split v 86 87 # enter fullscreen mode for the focused container 88 bindsym $mod+m fullscreen 89 90 # change container layout (stacked, tabbed, toggle split) 91 bindsym $mod+s layout stacking 92 bindsym $mod+w layout tabbed 93 bindsym $mod+e layout toggle split 94 95 # toggle tiling / floating 96 bindsym $mod+Shift+space floating toggle 97 98 # change focus between tiling / floating windows 99 bindsym $mod+space focus mode_toggle 100 101 # focus the parent container 102 bindsym $mod+p focus parent 103 104 # focus the child container 105 #bindsym $mod+d focus child 106 107 # switch to workspace 108 bindsym $mod+1 workspace 1 109 bindsym $mod+2 workspace 2 110 bindsym $mod+3 workspace 3 111 bindsym $mod+4 workspace 4 112 bindsym $mod+5 workspace 5 113 bindsym $mod+6 workspace 6 114 bindsym $mod+7 workspace 7 115 bindsym $mod+8 workspace 8 116 bindsym $mod+9 workspace 9 117 bindsym $mod+0 workspace 10 118 119 # move focused container to workspace 120 bindsym $mod+F1 move container to workspace 1 121 bindsym $mod+F2 move container to workspace 2 122 bindsym $mod+F3 move container to workspace 3 123 bindsym $mod+F4 move container to workspace 4 124 bindsym $mod+F5 move container to workspace 5 125 bindsym $mod+F6 move container to workspace 6 126 bindsym $mod+F7 move container to workspace 7 127 bindsym $mod+F8 move container to workspace 8 128 bindsym $mod+F9 move container to workspace 9 129 #bindsym $mod+F0 move container to workspace 10 130 131 # reload the configuration file 132 bindsym $mod+Shift+c reload 133 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) 134 bindsym $mod+Shift+r restart 135 # exit i3 (logs you out of your X session) 136 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'" 137 138 # resize window (you can also use the mouse for that) 139 mode "resize" { 140 # These bindings trigger as soon as you enter the resize mode 141 142 # Pressing left will shrink the window’s width. 143 # Pressing right will grow the window’s width. 144 # Pressing up will shrink the window’s height. 145 # Pressing down will grow the window’s height. 146 bindsym j resize shrink width 10 px or 10 ppt 147 bindsym k resize grow height 10 px or 10 ppt 148 bindsym l resize shrink height 10 px or 10 ppt 149 bindsym semicolon resize grow width 10 px or 10 ppt 150 151 # same bindings, but for the arrow keys 152 bindsym Left resize shrink width 10 px or 10 ppt 153 bindsym Down resize grow height 10 px or 10 ppt 154 bindsym Up resize shrink height 10 px or 10 ppt 155 bindsym Right resize grow width 10 px or 10 ppt 156 157 # back to normal: Enter or Escape 158 bindsym Return mode "default" 159 bindsym Escape mode "default" 160 } 161 162 bindsym $mod+r mode "resize" 163 164 # Start i3bar to display a workspace bar (plus the system information i3status 165 # finds out, if available) 166 #bar { 167 # status_command i3status 168 #} 169 170 171 # MY CONFIG 172 exec_always --no-startup-id feh --bg-scale ~/.fluxbox/backgrounds/wallpaper_easydoneitnet.png 173 bindsym $mod+t exec thunar 174 # firefox 175 bindsym $mod+z exec firefox -ProfileManager -no-remote 176 #bindsym $mod+z exec palemoon -ProfileManager -no-remote 177 #bindsym $mod+d exec xfce4-mixer 178 bindsym $mod+d exec aumix 179 bindsym $mod+c exec edi_desktop 180 #bindsym $mod+t exec --no-startup-id i3-msg 'workspace 4;exec nautilus;workspace 4' 181 #bindsym $mod+z exec --no-startup-id i3-msg 'workspace 4;exec firefox -ProfileManager -no-remote;workspace 4' 182 #bindsym $mod+d exec --no-startup-id i3-msg 'workspace 4;exec xfce4-mixer;workspace 4' 183 #bindsym $mod+n exec gnome-screensaver-command -l