Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### DO NOT EDIT THIS FILE, IT IS GENERATED.
- #### EDIT THE FILES HERE: /home/sqrl/.config/i3/config.d/*
- ###############################
- #### VARIABLES ####
- ###############################
- # Mod4 = Windows Key, Command Key, $mod
- # Mod1 = Alt, $other
- set $mod Mod4
- set $modalt Mod1
- font pango:DejaVu Sans Mono 8
- # set workspace labels
- set $WS1 "1:"
- set $WS2 "2:"
- set $WS3 "3:"
- set $WS4 "4:"
- set $WS5 "5:"
- set $WS6 "6"
- set $WS7 "7"
- set $WS8 "8:"
- set $WS9 "9:"
- set $WS10 "10:"
- ###########################
- #### APPLICATIONS ####
- ###########################
- #### BINDS ####
- bindsym $mod+F1 exec --no-startup-id chromium
- bindsym $mod+F2 exec --no-startup-id subl3
- bindsym $mod+F3 exec --no-startup-id spotify
- bindsym $mod+F4 exec |--no-startup-id steam
- bindsym $mod+Shift+Return exec --no-startup-id thunar
- bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus
- bindsym control+mod1+u exec --no-startup-id pavucontrol
- bindsym Print exec --no-startup-id flameshot gui
- #### STARTUP ####
- exec spotify
- exec discord
- exec discord-canary
- exec steam
- exec flameshot
- exec_always --no-startup-id compton --config ~/.config/i3/config.d/compton.conf
- exec ckb-next
- exec thunderbird
- #################################
- #### BASE CONFIG ####
- #################################
- #Mouse Window Focus
- focus_follows_mouse no
- #Mouse+$mod to drag floating windows to a position
- floating_modifier $mod
- # i3 shorcuts for reload/restart/exit
- bindsym $mod+Shift+$modalt+r exec ~/.config/i3/config.d/create-config
- bindsym $mod+Shift+r restart
- exec --no-startup-id setxkbmap gb
- ############################
- #### COLORS ####
- ############################
- # class border backgr. text indicator
- client.focused #000000 #c6ff00 #000000 #dddddd
- client.focused_inactive #333333 #333333 #c6ff00 #ffffff
- client.unfocused #333333 #333333 #888888 #292d2e
- client.urgent #2f343a #900000 #ffffff #900000
- ######################################
- #### CONTAINER CONFIG ####
- ######################################
- # change focus
- bindsym $mod+h focus left
- bindsym $mod+j focus down
- bindsym $mod+k focus up
- bindsym $mod+l focus right
- for_window [class="^.*"] border pixel 0
- for_window [title="^synapse$"] border pixel 0
- for_window [class="^mpv$"] border pixel 0
- # Floating windows
- for_window [title="^Authy$"] floating enable
- for_window [class="^mpv$"] floating enable
- for_window [title="^Image Viewer$"] floating enable
- for_window [title="^Web Inspector.*"] floating enable
- # move focused window
- bindsym $mod+$modalt+H move left
- bindsym $mod+$modalt+J move down
- bindsym $mod+$modalt+K move up
- bindsym $mod+$modalt+L move right
- # don't move to another screen when changing focus
- force_focus_wrapping yes
- # zoom
- bindsym $mod+f fullscreen
- # change container layout (stacked, tabbed, default)
- bindsym $mod+z layout stacking
- bindsym $mod+t layout tabbed
- bindsym $mod+e layout default
- # toggle tiling/floating
- bindsym $mod+$modalt+space floating toggle
- # change focus between tiling/floating windows
- bindsym $modalt+space focus mode_toggle
- hide_edge_borders both
- new_window pixel 5
- workspace_auto_back_and_forth yes
- # Jump to urgent window
- bindsym $mod+$modalt+x [urgent=latest] focus
- # kill focused window
- bindsym $mod+Q kill
- bindsym $mod+Shift+Q kill
- #################################
- #### GAPS CONFIG ####
- #################################
- gaps inner 10
- gaps outer 12
- smart_gaps on
- smart_borders no_gaps
- for_window [class="^.*"] border pixel 0
- #################################
- #### BAR CONFIG ####
- #################################
- bar {
- height 25
- workspace_buttons yes
- font pango:DejaVu Sans Mono 12
- position top
- status_command i3blocks -c ~/.config/i3/config.d/i3blocks
- colors {
- background #2F2F2F
- statusline #eeeeee
- separator #666666
- # border backgr. text
- focused_workspace #a9a9a9 #5f676a #eeeeee
- active_workspace #a9a9a9 #5f676a #a9a9a9
- inactive_workspace #a9a9a9 #222222 #a9a9a9
- urgent_workspace #a9a9a9 #d42121 #FFFFFF
- }
- }
- ###########################
- #### MENUS ####
- ###########################
- #exit
- bindsym $mod+X mode "$mode_system"
- set $mode_system System: loc(k), (l)ogout, s(u)spend, (h)ibernate, (r)eboot, (s)hutdown
- mode "$mode_system" {
- bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
- bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
- bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
- bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
- bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
- bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- ##########################
- #### ROFI ####
- ##########################
- bindsym $mod+Shift+d exec rofi -show run
- bindsym $mod+d exec rofi -show run
- #####################################
- #### TERMINAL CONFIG ####
- #####################################
- bindsym $mod+Return exec termite
- # horizontal split (left/right)
- bindsym $mod+Shift+H split h
- bindsym $mod+Shift+$modalt+H split h; exec termite
- # vertical split (up/down)
- bindsym $mod+Shift+V split v
- bindsym $mod+Shift+$modalt+V split v; exec termite
- ######################################
- #### WORKSPACE CONFIG ####
- ######################################
- # next/previous workspace
- bindsym $modalt+Tab focus right
- bindsym $modalt+Shift+Tab focus left
- bindsym $mod+Tab workspace back_and_forth
- # open 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+0 workspace $WS10
- # move focused container to workspace
- bindsym $modalt+1 move container to workspace $WS1
- bindsym $modalt+2 move container to workspace $WS2
- bindsym $modalt+3 move container to workspace $WS3
- bindsym $modalt+4 move container to workspace $WS4
- bindsym $modalt+5 move container to workspace $WS5
- bindsym $modalt+6 move container to workspace $WS6
- bindsym $modalt+7 move container to workspace $WS7
- bindsym $modalt+8 move container to workspace $WS8
- bindsym $modalt+9 move container to workspace $WS9
- bindsym $$modalt+0 move container to workspace $WS10
- bindsym $mod+m move workspace to output right
- assign [class="Chromium|Google-chrome"] $WS1
- assign [class="discord|discord-canary"] $WS2
- assign [class="Subl3"] $WS3
- assign [class="steam"] $WS4
- assign [class="spotify|Spotify|Spotify-beta|spotify-beta"] $WS5
- assign [class="dota2"] $WS6
- assign [class="ckb-next"] $WS8
- assign [class="Thunderbird"] $WS9
- for_window [class="Spotify"] move to workspace $WS5
- for_window [class="Steam|steam"] move to workspace $WS4
- for_window [class="Subl3"] move to workspace $WS3
- for_window [class="thunar"] move to workspace $WS3
- for_window [class="Thunderbird"] move to workspace $WS9
- ####################################
- #### XF86 SHORTCUTS ####
- ####################################
- bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 2 +5%
- bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 2 -5%
- bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 2 toggle
- bindsym XF86AudioPlay exec playerctl play-pause
- bindsym XF86AudioPause exec playerctl play-pause
- bindsym XF86AudioNext exec playerctl next
- bindsym XF86AudioPrev exec playerctl previous
- bindsym XF86AudioStop exec playerctl stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement