Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #::::::::::::::: i3-GAPS ::::::::::::::::#
- # i3 config file (v4)
- # Please see http://i3wm.org/docs/userguide.html for a complete reference!
- set $mod Mod4
- #::::::::::::::: FONTS ::::::::::::::::#
- # Font for window titles. Will also be used by the bar unless a different font is used in the bar {} block below.
- # font pango:San Francisco Display 10
- font pango:Misc Tamsyn 12
- #::::::::::::::: i3-GAPS ::::::::::::::::#
- gaps inner 10
- gaps outer -4
- smart_gaps on
- smart_borders on
- for_window [class="^.*"] border pixel 0
- #::::::::::::::: TAGS ::::::::::::::::#
- set $workspace1 "1: TERMINAL"
- set $workspace2 "2: FILE MANAGER"
- set $workspace3 "3: WWW"
- set $workspace4 "4: MUSIC"
- set $workspace5 "5: VIRTUALBOX"
- set $workspace6 "6: KEEPASS"
- set $workspace7 "7: STEAM"
- set $workspace8 "8: TORRENT"
- set $workspace9 "9:"
- #::::::::::::::: ASSIGN (XPROP) ::::::::::::::::#
- assign [class="Deluge"] $workspace8
- assign [class="Filezilla"] $workspace8
- assign [class="chromium"] $workspace3
- assign [class="Firefox"] $workspace3
- assign [class="Deadbeef"] $workspace4
- assign [class="spotify"] $workspace4
- #assign [class="Terminator"] $workspace1
- assign [title="Steam"] → $workspace7
- for_window [title="Steam"] border none
- assign [class="keepassxc"] $workspace6
- #::::::::::::::: WORKSPACES ::::::::::::::::#
- workspace 1 output DVI-I-1
- workspace 2 output HDMI-0
- workspace 3 output DVI-I-1
- workspace 4 output HDMI-0
- workspace 5 output DVI-I-1
- workspace 6 output HDMI-0
- workspace 7 output DVI-I-1
- workspace 8 output HDMI-0
- workspace 9 output DVI-I-1
- workspace 0 output HDMI-0
- bindsym $mod+1 workspace $workspace1
- bindsym $mod+2 workspace $workspace2
- bindsym $mod+3 workspace $workspace3
- bindsym $mod+4 workspace $workspace4
- bindsym $mod+5 workspace $workspace5
- bindsym $mod+6 workspace $workspace6
- bindsym $mod+7 workspace $workspace7
- bindsym $mod+8 workspace $workspace8
- bindsym $mod+9 workspace $workspace9
- bindsym $mod+0 workspace $workspace10
- bindsym $mod+Shift+1 move container to workspace $workspace1
- bindsym $mod+Shift+2 move container to workspace $workspace2
- bindsym $mod+Shift+3 move container to workspace $workspace3
- bindsym $mod+Shift+4 move container to workspace $workspace4
- bindsym $mod+Shift+5 move container to workspace $workspace5
- bindsym $mod+Shift+6 move container to workspace $workspace6
- bindsym $mod+Shift+7 move container to workspace $workspace7
- bindsym $mod+Shift+8 move container to workspace $workspace8
- bindsym $mod+Shift+9 move container to workspace $workspace9
- bindsym $mod+Shift+0 move container to workspace $workspace10
- bindsym $mod+j focus left
- bindsym $mod+k focus down
- bindsym $mod+l focus up
- bindsym $mod+semicolon focus right
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- bindsym $mod+Shift+j move left
- bindsym $mod+Shift+k move down
- bindsym $mod+Shift+l move up
- bindsym $mod+Shift+semicolon move right
- bindsym $mod+Shift+Left move left
- bindsym $mod+Shift+Down move down
- bindsym $mod+Shift+Up move up
- bindsym $mod+Shift+Right move right
- # 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+d focus child
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # kill focused window
- bindsym $mod+Shift+q kill
- # split orientation
- bindsym $mod+h split h
- bindsym $mod+v split v
- # enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen toggle
- # 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 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 semicolon 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 $mod+r mode "resize"
- #::::::::::::::: COLORS ::::::::::::::::#
- set $bg-color #1f4a54
- set $inactive-bg-color #002b36
- set $text-color #eee8d5
- set $inactive-text-color #eee8d5
- set $urgent-bg-color #dc322f
- # border background text indicator
- client.focused $bg-color $bg-color $text-color #00ff00
- client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
- client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
- client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
- hide_edge_borders both
- #::::::::::::::: SHORTCUTS (xbindkeys -k)::::::::::::::::#
- bindsym $mod+Return exec terminator
- bindsym $mod+p exec scrot
- bindsym $mod+d exec rofi -show run
- bindsym $mod+o exec keepassxc
- bindsym $mod+i exec gnome-alsamixer
- #bindsym $mod+d exec rofi -show run -bg "#002b36" -opacity "90" -fg "#eee8d5" -hlbg "#cb4b16" -hlfg "#ffffff" -font "Gotham Narrow Light 20"
- #bindsym $mod+g exec gmrun
- #bindsym $mod+d exec dmenu_run
- #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
- #::::::::::::::: VOLUME ::::::::::::::::#
- bindsym $mod4+F3 exec "amixer sset Master '3%+'"
- bindsym $mod4+F2 exec "amixer sset Master '3%-'"
- bindsym $mod4+F1 exec "amixer set Master toggle"
- #::::::::::::::: SYSTEM ::::::::::::::::#
- # 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'"
- #::::::::::::::: LOGOUT PROMPTS ::::::::::::::::#
- set $Locker i3lock --color="002b36" && sleep 1
- set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown
- 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 r exec --no-startup-id systemctl reboot, mode "default"
- bindsym Shift+s 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+Pause mode "$mode_system"
- #::::::::::::::: i3BAR ::::::::::::::::#
- exec_always --no-startup-id ~/.config/polybar/launch.sh
- #bar {
- # #status_command conky
- # status_command i3blocks -c ~/.i3/i3blocks.conf
- # #status_command ~/.i3/scripts/i3status-cmus.sh
- # #mode dock
- # font pango: FontAwesome, Misc Tamsyn 12
- # position top
- # colors {
- # background $inactive-bg-color
- # separator #eee8d5
- # # border background text
- # focused_workspace #268bd2 #268bd2 $text-color
- # inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
- # urgent_workspace $urgent-bg-color $urgent-bg-color $text-color
- # }
- #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement