Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set $mod Mod4
- font pango:monospace 8
- exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
- # $mod+mouse to drag
- floating_modifier $mod
- bindsym $mod+Return exec i3-sensible-terminal
- # kill focused window
- bindsym $mod+Shift+q kill
- # start rofi
- bindsym $mod+d exec rofi -show run -theme ~/.config/rofi/main.rasi
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus 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
- #splitting screens
- bindsym $mod+h split h
- bindsym $mod+v split v
- # set workspaces
- set $ws1 "1: Terminal"
- set $ws2 "2: Browser"
- set $ws3 "3: IDE"
- set $ws4 "4: TeamViewer"
- set $ws5 "5"
- set $ws6 "6"
- set $ws7 "7"
- set $ws8 "8"
- set $ws9 "9"
- set $ws10 "10: VMs"
- # Monitor workspace assignment
- set $leftMon DVI-I-1
- set $rightMon DVI-D-0
- workspace $ws1 output $leftMon
- workspace $ws2 output $rightMon
- workspace $ws3 output $leftMon
- # 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+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
- #assign workspaces:
- assign [class="Terminator"] $ws1
- assign [class="Brave"] $ws2
- assign [class="Code"] $ws3
- assign [class="Processing"] $ws3
- assign [class="TeamViewer"] $ws4
- assign [class="VirtualBox Machine"] $ws10
- assign [class="VirtualBox Manager"] $ws10
- # reload the configuration file
- bindsym $mod+Shift+c reload
- # restart i3 inplace
- bindsym $mod+Shift+r restart
- # exit i3
- 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'"
- # resize
- bindsym $mod+Shift+l resize shrink width 10 px or 10 ppt
- bindsym $mod+Shift+k resize grow height 10 px or 10 ppt
- bindsym $mod+Shift+j resize shrink height 10 px or 10 ppt
- bindsym $mod+Shift+h resize grow width 10 px or 10 ppt
- new_window pixel 0
- #smart_borders on
- for_window [class="^.*"] = border pixel 0
- # Colours
- set $hunterGreen #34704A
- set $royalBlue #082459
- set $celestialBlue #3F99C6
- set $robinEggBlue #97E5DF
- set $middleBlue #61DBDD
- set $white #FFFFFF
- # <colorclass> <border> <background> <text> <indicator> <child_border>
- client.focused $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
- client.focused_inactive $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
- client.unfocused $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
- client.urgent $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
- client.placeholder $celestialBlue $celestialBlue $white $middleBlue $celestialBlue
- # Gaps
- #smart_gaps on
- gaps inner 20
- gaps outer -5
- workspace $w3 gaps inner 0
- workspace $w3 gaps outer 0
- bindsym $mod+l exec i3lock
- exec_always ~/.config/polybar/launch.sh
- exec_always feh --bg-scale ~/Images/Wallpapers/MushroomTown.jpg
- exec --no-startup-id compton -c --config ~/.config/compton/compton.conf
- exec --no-startup-id brave
- exec --no-startup-id terminator
Advertisement
Add Comment
Please, Sign In to add comment