1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

110 lines
3.0 KiB

## font
# font pango:Iosevka Fixed SS03 9
## i3 ModKeys
set $mod Mod1
set $cmod Mod4
## terminal
bindsym $cmod+Enter /usr/bin/xterm
set $work1 "Mercury"
set $work2 "Venus"
set $work3 "Earth"
set $work4 "Mars"
set $work5 "Jupiter"
set $work6 "Saturn"
set $work7 "Uranus"
set $work8 "Neptune"
set $work9 "Pluto"
# default workspaces to each monitor
workspace $work1 output DP-4
workspace $work2 output HDMI-0
# startup applications
exec_always --no-startup-id $HOME/.config/i3/polybar.sh
exec_always feh --bg-scale "/home/andrew/sync/tux-linux.png"
## i3 Opts
default_border pixel 2
for_window [class="XTerm"] border normal
#new_window pixel 2
# Floating mode
#floating_modifer $mod
# Focus keys
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# Move keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Move workspaces
bindsym $mod+1 workspace $work1
bindsym $mod+2 workspace $work2
bindsym $mod+3 workspace $work3
bindsym $mod+4 workspace $work4
bindsym $mod+5 workspace $work5
bindsym $mod+6 workspace $work6
bindsym $mod+7 workspace $work7
bindsym $mod+8 workspace $work8
bindsym $mod+9 workspace $work9
# resize windows
bindsym $mod+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
bindsym $mod+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
bindsym $mod+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
bindsym $mod+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $work1
bindsym $mod+Shift+2 move container to workspace $work2
bindsym $mod+Shift+3 move container to workspace $work3
bindsym $mod+Shift+4 move container to workspace $work4
bindsym $mod+Shift+5 move container to workspace $work5
bindsym $mod+Shift+6 move container to workspace $work6
bindsym $mod+Shift+7 move container to workspace $work7
bindsym $mod+Shift+8 move container to workspace $work8
bindsym $mod+Shift+9 move container to workspace $work9
# assign programs to workspaces
assign [class="Thunderbird"] $work3
# splits
bindsym $mod+o split h
bindsym $mod+v split v
# toggling view types
bindsym $mod+s layout stacking
bindsym $mod+p layout toggle split
bindsym $mod+f fullscreen toggle
bindsym $mod+g floating toggle
## i3 Session keys
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'"
# General
bindsym $mod+d exec rofi -show run
bindsym $mod+w exec rofi -show window
bindsym $mod+Shift+w kill
set $green #98971a
set $purple #B16286
set $darkgray #1d2021
client.focused #98971A #98971A #FFFFFF #B16286
client.focused_inactive #1D2021 #1D2021 #FFFFFF #B16286
client.unfocused #1D2021 #1D2021 #888888 #B16286
client.urgent #CC241D #CC241D #FFFFFF #CC241D
client.placeholder #000000 #0C0C0C #FFFFFF #B16286
client.background #FFFFFF