Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-----------
- # VARIABLES
- #-----------
- set $mod Mod1
- # Term
- bindsym $mod+Return exec termite
- bindsym $mod+o exec termite --geometry=632x510
- bindsym $mod+shift+o exec termite -e vim --geometry=632x510
- # Sizes
- set $bordersize 1
- set $fr 90
- set $frf 15
- set $tr 6
- set $trf 1
- set $gsi 30
- set $gso 0
- # Colors
- # archblue #1793D1
- # debianred #D70A53
- # plasmagreen #18B092
- # matrixgreen #00FF00
- # mintgreen #5FAA24
- # numixredorange #C84433
- # ubuntuorange #F37320
- # vertexdark #2C6FF0
- set $fgcolor #E6E1DC
- set $sfgcolor #0A9DFB
- set $swbgcolor #404040
- set $hfgcolor #000020
- set $bdcolor #00B9C1
- #set $bdcolor #06619E
- #set $bgcolor #0F0E0D
- set $bgcolor #080808
- set $iacolor #0a0a0a
- set $ubgcolor #C41F0C
- set $ufgcolor #0a0a0a
- # Fonts
- set $font1 pango:gohufont 7
- set $fontbar pango:gohufont 7
- # Workspaces
- set $ws1 1:
- set $ws2 2:II
- set $ws3 3:
- set $ws4 4:
- set $ws5 5:
- set $ws6 6:
- set $ws7 7:
- set $ws8 8:
- set $ws9 9:
- set $ws10 10:
- set $ws11 11:
- set $ws12 12:X
- # HJKL
- set $left h
- set $down j
- set $up k
- set $right l
- #---------------
- # CONFIGURATION
- #---------------
- floating_modifier $mod
- focus_follows_mouse yes
- popup_during_fullscreen smart
- workspace_layout default
- workspace_auto_back_and_forth no
- force_focus_wrapping no
- #------------
- # APPEARANCE
- #------------
- # Set window appearence border bg fg urgent
- client.focused $bdcolor $bdcolor $sfgcolor $bdcolor
- client.focused_inactive $iacolor $iacolor $fgcolor $iacolor
- client.unfocused $bdcolor $iacolor $fgcolor $iacolor
- font $font1
- # Configure window borders/
- hide_edge_borders none
- new_float pixel $bordersize
- new_window pixel $bordersize
- # Window rules
- for_window [class="^.*"] border pixel $bordersize
- for_window [title="Volume Control"] floating enable
- for_window [class="Speedcrunch"] floating enable
- for_window [class="TeamSpeak"] floating enable
- for_window [class="Feh"] floating enable
- for_window [class="Sxiv"] fullscreen enable
- for_window [class="cool-retro-term"] border none
- for_window [class="Gpick"] floating enable
- for_window [class="Lxappearance"] floating enable
- for_window [class="Qjackctl"] floating enable, move position mouse
- for_window [class="Cadence"] floating enable
- for_window [class="Pidgin"] floating enable
- for_window [class="Thunar"] floating enable, move position mouse
- for_window [class="Qjackctl"] floating enable
- for_window [title="JACK Audio Connection Kit"] floating enable
- for_window [title="qutebrowser"] border none
- for_window [class="Nitrogen"] floating enable
- for_window [instance="gcolor2"] move absolute position 1406 px 0 px
- for_window [class="Deluge"] border none
- for_window [class="vivaldi"] border none
- for_window [class="Zathura"] border none, workspace $ws2
- for_window [title="LibreOffice"] border none, workspace $ws3
- for_window [title="GNU Image Manipulation Program"] border none, workspace $ws4
- for_window [class="brogue"] border none, workspace $ws5, floating disable
- for_window [title="Dungeon Crawl Stone Soup"] border none, workspace $ws5, floating disable
- for_window [title="Chromium"] border none, workspace $ws6
- for_window [class="Steam"] floating enable
- for_window [title="OpenGL"] fullscreen enable, floating disable, border none
- for_window [class="mpv"] border none, floating enable, fullscreen enable, workspace $ws8
- for_window [class="Firefox"] border none
- for_window [class="Renoise"] border none
- for_window [class="Nitrogen"] floating enable, workspace $ws11
- # Workspace assignments
- assign [title="Deluge"] $ws1
- assign [class="Zathura"] $ws2
- assign [title="LibreOffice"] $ws3
- assign [title="GNU Image Manipulation Program"] $ws4
- assign [class="brogue"] $ws5
- assign [title="Dungeon Crawl Stone Soup"] $ws5
- assign [title="Chromium"] $ws6
- assign [class="(?)Steam"] $ws7
- assign [title="OpenGL"] $ws7
- assign [class="mpv"] $ws8
- assign [class="Firefox"] $ws9
- assign [class="Renoise"] $ws10
- assign [class="Nitrogen"] $ws11
- # Right Urxvt 100char
- # for_window [class="^URxvt$" instance="^SideTerm$"] resize shrink width 270 px or 18 ppt
- # bindsym $mod+shift+bracketright exec urxvt -name SideTerm
- # Tiny Urxvt
- bindsym $mod+shift+Return exec urxvt -g 45x5 -name floating
- for_window [instance="^floating$" class="^URxvt$"] floating enable, move position 1646px 0px
- # Rofi Launcher
- bindsym ctrl+slash exec rofi -show run -font "gohufont 7" -fg "$fgcolor" -bg "$bgcolor" -hlfg "$bdcolor" -hlbg "#000000" -fg-active "#009FC7" -bg-active "#222222" -hlfg-active "#009fc7" -hlbg-active "#000000" -bc "#080808" -opacity 73 -width 30
- # Rofi Switcher
- bindsym ctrl+apostrophe exec rofi -show window -font "gohufont 7" -fg "$fgcolor" -bg "$bgcolor" -hlfg "$bdcolor" -hlbg "#000000" -fg-active "#009FC7" -bg-active "#222222" -hlfg-active "#009fc7" -hlbg-active "#000000" -bc "#080808" -opacity 73 -width 30
- # Dmenu
- bindsym $mod+Shift+slash exec "dmenu_run -i -fn gohufont-7:normal -nb '$bgcolor' -nf '$fgcolor' -sb '$hfgcolor' -sf '$sfgcolor' -h 20 -w 800 -x 218 -y 1061"
- bindsym $mod+slash exec --no-startup-id j4-dmenu-desktop --dmenu="dmenu -i -fn gohufont-7:normal -nb '$bgcolor' -nf '$fgcolor' -sb '$hfgcolor' -sf '$sfgcolor' -h 20 -w 800 -x 218 -y 1061"
- #---------------------
- # GENERAL KEYBINDINGS
- #---------------------
- bindsym $mod+Shift+d exec killall dunst && exec dunst && exec notify-send "restart dunst"
- # Layout mode
- bindsym $mod+e layout stacking
- bindsym $mod+a layout tabbed
- bindsym $mod+shift+e layout default
- bindsym $mod+s layout toggle split
- bindsym $mod+f fullscreen toggle
- bindsym $mod+n split h
- bindsym $mod+t split v
- bindsym $mod+Shift+space floating toggle
- bindsym $mod+space focus mode_toggle
- bindsym $mod+button3 floating toggle
- bindsym $mod+apostrophe border pixel $bordersize
- bindsym $mod+shift+apostrophe border none
- bindsym $mod+shift+f border toggle
- bindsym $mod+shift+s sticky toggle
- bindsym $mod+q kill
- bindsym --whole-window $mod+button2 kill
- bindsym $mod+x workspace back_and_forth
- bindsym $mod+Tab workspace back_and_forth
- # bindsym $mod+Control+Tab
- bindsym $mod+bracketright move right ; resize shrink width 0 px or 17 ppt
- bindsym $mod+shift+bracketright resize grow width 0 px or 17 ppt
- # switch to workspace
- bindsym $mod+1 workspace $ws1
- bindsym $mod+2 workspace $ws2
- bindsym $mod+3 workspace $ws3
- bindsym $mod+4 workspace $ws4
- bindsym $mod+5 workspace $ws5
- bindsym $mod+6 workspace $ws6
- bindsym $mod+7 workspace $ws7
- bindsym $mod+8 workspace $ws8
- bindsym $mod+9 workspace $ws9
- bindsym $mod+z workspace $ws9
- bindsym $mod+0 workspace $ws10
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $ws1
- bindsym $mod+Shift+2 move container to workspace $ws2
- bindsym $mod+Shift+3 move container to workspace $ws3
- bindsym $mod+Shift+4 move container to workspace $ws4
- bindsym $mod+Shift+5 move container to workspace $ws5
- bindsym $mod+Shift+6 move container to workspace $ws6
- bindsym $mod+Shift+7 move container to workspace $ws7
- bindsym $mod+Shift+8 move container to workspace $ws8
- bindsym $mod+Shift+9 move container to workspace $ws9
- bindsym $mod+Shift+0 move container to workspace $ws10
- # switch to next/previous workspace (left/right)
- bindsym $mod+comma workspace prev
- bindsym $mod+period workspace next
- # Focus Keybindings #
- # bindsym $mod+a focus parent
- # bindsym $mod+shift+a focus child
- bindsym $mod+$left focus left
- bindsym $mod+$down focus down
- bindsym $mod+$up focus up
- bindsym $mod+$right focus right
- # bindsym $mod+Left focus left
- # bindsym $mod+Down focus down
- # bindsym $mod+Up focus up
- # bindsym $mod focus right
- # Movement Keybindings #
- # Home row
- bindsym $mod+Shift+$left move left 60 px
- bindsym $mod+Shift+$down move down 60 px
- bindsym $mod+Shift+$up move up 60 px
- bindsym $mod+Shift+$right move right 60 px
- # Arrows
- # bindsym $mod+Shift+Left move left
- # bindsym $mod+Shift+Down move down
- # bindsym $mod+Shift+Up move up
- # bindsym $mod+Shift+Right move right
- # make the currently focused window a scratchpad
- bindsym $mod+Shift+m move scratchpad
- bindsym $mod+m scratchpad show
- # 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+x exec "i3-nagbar -t warning -m 'A guttural moan erupts from the chasm. You feel your blood run cold, and your trousers run hot. The Forgotten Beast Oggez Rashas rises from the depths!' -b 'Fly!' 'i3-msg exit'"
- #------------------
- # MODE KEYBINDINGS
- #------------------
- mode "resize" {
- # HNEI: Coarse adjustment
- bindsym l resize shrink width $fr px or $tr ppt
- bindsym j resize grow height $fr px or $tr ppt
- bindsym k resize shrink height $fr px or $tr ppt
- bindsym h resize grow width $fr px or $tr ppt
- # HNEI: Fine adjustment
- bindsym shift+l resize shrink width $frf px or $trf ppt
- bindsym shift+j resize grow height $frf px or $trf ppt
- bindsym shift+k resize shrink height $frf px or $trf ppt
- bindsym shift+h resize grow width $frf px or $trf ppt
- # Arrow keys: Coarse adjustment
- bindsym Right resize shrink width 90 px or 10 ppt
- bindsym Up resize grow height 90 px or 10 ppt
- bindsym Down resize shrink height 90 px or 10 ppt
- bindsym Left resize grow width 90 px or 10 ppt
- # Arrow keys: Fine adjustment
- bindsym shift+Right resize shrink width 15 px or 2 ppt
- bindsym shift+Up resize grow height 15 px or 2 ppt
- bindsym shift+Down resize shrink height 15 px or 2 ppt
- bindsym shift+Left resize grow width 15 px or 2 ppt
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- bindsym space mode "default"
- }
- bindsym $mod+r mode "resize"
- #------
- # GAPS
- #------
- # gaps inner $gsi
- # gaps outer $gso
- bindsym $mod+g mode "$mode_gaps"
- # set $mode_gaps Gaps: (o) outer, (i) inner
- set $mode_gaps gaps
- # set $mode_gaps_outer Outer Gaps: n|e|h (local), Shift + n|e|h (global)
- set $mode_gaps_outer
- # set $mode_gaps_inner Inner Gaps: n|e|h (local), Shift + n|e|h (global)
- set $mode_gaps_inner
- #gaps off
- bindsym $mod+bracketleft gaps inner all set 1;gaps outer all set 0;border pixel $bordersize
- #gaps on
- bindsym $mod+shift+bracketleft gaps inner all set $gsi;gaps outer all set $gso;border pixel $bordersize
- mode "$mode_gaps" {
- bindsym o mode "$mode_gaps_outer"
- bindsym i mode "$mode_gaps_inner"
- bindsym Return mode "default"
- bindsym Escape mode "default"
- bindsym space mode "default"
- }
- mode "$mode_gaps_inner" {
- bindsym j gaps inner current plus 5
- bindsym k gaps inner current minus 5
- bindsym h gaps inner current set 0
- bindsym Shift+j gaps inner all plus 5
- bindsym Shift+k gaps inner all minus 5
- bindsym Shift+h gaps inner all set 0
- bindsym Return mode "default"
- bindsym Escape mode "default"
- bindsym space mode "default"
- }
- mode "$mode_gaps_outer" {
- bindsym j gaps outer current plus 5
- bindsym k gaps outer current minus 5
- bindsym h gaps outer current set 0
- bindsym Shift+j gaps outer all plus 5
- bindsym Shift+k gaps outer all minus 5
- bindsym Shift+h gaps outer all set 0
- bindsym Return mode "default"
- bindsym Escape mode "default"
- bindsym space mode "default"
- }
- # Pomodoro 25 min, Zelda LTTP SFX
- bindsym Mod4+p exec mpv ~/scripts/zeldapomodoro/LTTP_Item.wav && sleep 1500 && notify-send "♥ ♥ ♥" && mpv ~/scripts/zeldapomodoro/LTTP_Get_Fairy.wav &
- #-----
- # BAR
- #-----
- bindsym $mod+Shift+b bar mode toggle
- bar {
- strip_workspace_numbers yes
- status_command i3blocks
- position bottom
- font $fontbar
- height 20
- colors {
- background $bgcolor
- statusline $fgcolor
- # Workspace Colors #border #bg #text
- inactive_workspace $bgcolor $bgcolor $fgcolor
- focused_workspace $bgcolor $bgcolor $sfgcolor
- urgent_workspace $ufgcolor $ubgcolor $ufgcolor
- }
- }
- exec --no-startup-id i3lock -i ~/images/wallpapers/active/loginarch.png &
- exec --no-startup-id firefox &
- # program launcher
- # mode "launch" {
- # These bindings will launch programs
- #
- # bindsym f exec firefox
- # bindsym c exec chromium
- # bindsym v exec gvim
- # bindsym t exec urxvt
- #
- # back to normal: Enter or Escape
- #
- # bindsym Return mode "default"
- # bindsym Escape mode "default"
- #}
- #
- # bindsym $mod+a mode "launch"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement