# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

set $mod Mod1

new_Window normal
new_float pixel 0

# i3 colors

client.focused     #32cd32   #006400   #32cd32
Client.urgent      #32cd32   #006400   #ff0000
client.unfocused   #000000   #000000   #32cd32 

# i3 Font
font pango:FontAwesome 6

#for Floting mode
floating_minimum_size 75 x 50
floating_maximum_size -1 x -1

########################key bindings############################

####window Control bindings

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# kill focused window
bindsym $mod+q kill


#program key bindings 

# start a terminal
 

for_window [class="terminator"] border pixel 0
bindsym $mod+Return exec terminator
for_window [class="terminator"] border pixel 0

#gimp
bindsym $mod+g exec gimp

#press print scrn for screen shot
bindcode 107 exec xfce4-screenshooter

set $mode_launcher Launch: [i]3 Config [B]ashrc
bindsym $mod+? mode "$mode_launcher"
mode "$mode_launcher" {
bindsym i exec leafpad ~/.i3/config
bindsym b exec leafpad ~/ bashrc
bindsym Esc mode "default"
bindsym Return mode "default"
}






# Fuction key bindigs
bindsym $mod+F2 exec dmenu_run -b -l 15 -p Comand: -nf green -sf black -sb green
bindsym $mod+F3 exec xfce4-appfinder
bindsym $mod+F4 exec mate-search-tool
bindsym $mod+F5 exec caja
bindsym $mod+F6 exec terminator -e nano
bindsym $mod+F7 exec firefox
bindsym $mod+F8 exec eject
bindsym $mod+F9 exec  terminator -e htop
bindsym $mod+F10 exec "terminator ranger"
bindsym $mod+F11 exec xscreensaver-command -activate
bindsym $mod+F12 exec 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'"


bindsym $mod+r mode "resize"
# File manager
bindsym $mod+n exec caja
# Volume
bindcode $mod+117 exec amixer Master 5%-
bindcode $mod+112 exec amixer Master 5%+
hide_edge_borders vertical
#status_command i3status --config ~/.i3status.conf
#bindsym $mod+f floating toggle
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -b -l 15 -p Enter_Comand: -nf green -sf black -sb green     
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop

bindsym $mod+k exec xkill
# change focus
#bindsym $mod+j focus left
#bindsym $mod+k focus down
#bindsym $mod+l focus up
#bindsym $mod+semicolon focus right

# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

bindsym $mod+i border normal
bindsym $mod+o border 1pixel
bindsym $mod+p border none

# move focused window
#bindsym $mod+Shift+j move left
#bindsym $mod+Shift+k move down
#bindsym $mod+Shift+l move up
#bindsym $mod+Shift+semicolon move right

# alternatively, you can use the cursor 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

# split in horizontal orientation
bindsym $mod+h split h

# split in vertical orientation
bindsym $mod+v split V

# enter fullscreen mode for the focused container
bindsym $mod+W fullscreen

# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+t layout tabbed
bindsym $mod+e layout toggle split
# Toggle between stacking/tabbed/split:


# Toggle between stacking/tabbed/splith/splitv:
bindsym $mod+x layout toggle all



# Toggle floating/tiling
bindsym $mod+f 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

#Wo#FF0000rkspace Names 
set $tag1 "1: Main"
set $tag2 "2: System"
set $tag3 "3: Coding"
set $tag4 "4: Games"
set $tag5 "5: Ripping"
set $tag6 "6: Music"
set $tag7 "7: Files"
set $tag8 "8: Graphics"
set $tag9 "9: www"
Set $tag10 "10: Net"

# switch to workspace
bindsym $mod+1 workspace $tag1 
bindsym $mod+2 workspace $tag2
bindsym $mod+3 workspace $tag3
bindsym $mod+4 workspace $tag4
bindsym $mod+5 workspace $tag5
bindsym $mod+6 workspace $tag6
bindsym $mod+7 workspace $tag7
bindsym $mod+8 workspace $tag8
bindsym $mod+9 workspace $tag9
bindsym $mod+0 workspace $tag10

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $tag1
bindsym $mod+Shift+2 move container to workspace $tag2
bindsym $mod+Shift+3 move container to workspace $tag3
bindsym $mod+Shift+4 move container to workspace $tag4
bindsym $mod+Shift+5 move container to workspace $tag5
bindsym $mod+Shift+6 move container to workspace $tag6
bindsym $mod+Shift+7 move container to workspace $tag7
bindsym $mod+Shift+8 move container to workspace $tag8
bindsym $mod+Shift+9 move container to workspace $tag9
bindsym $mod+Shift+0 move container to workspace $tag10

# 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'"

# The middle button and a modifer over any part of the window kills the window
bindsym --whole-window $mod+button3 kill

# Take a screenshot upon pressing $mod+x (select an area)
#bindsym --release $mod+x exec --no-startup-id import /tmp/latest-screenshot.png

# 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"
}



# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {		
	position top
	workspace_buttons yes
	tray_output HDMI-0
	font pango:FontAwesome 11
	status_command i3status
	colors {
		background #000000
		Statusline #32cd32 
		
		focused_workspace   #32cd32   #32cd32   #000000
		active_workspace    #32cd32   #32cd32   #000000
		inactive_workspace  #32cd32   #000000   #32cd32
	}
	
}


# Startup programs
exec --no-startup-id nm-applet
#exec --no-startup-id feh --bg-fill ~/Pictures/Wallpapers/Alien/268765.jpg
#exec --no-startup-id xfce4-panel
exec --no-startup-id  blueman-manager
exec --no-startup-id hp-systray
exec --no-startup-id pasystray
exec --no-startup-id clipit
exec --no-startup-id xfce4-volumed
exec --no-startup-id xscreensaver -no-splash
exec --no-startup-id nitrogen --restore

