Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### PPPPPp 0 0 0
- ### p p
- ### pppppP ooo eee TTTTT II cccc II a N N II 3333
- ### p O O e e t II c II A N a N II 3 W W M m m M
- ### p O O eeee t II c II A A N a N II 333 W w W M m M
- ### P O O e t II c II A a A N aN II 3 W w w W M M
- ### p ooo eee t II cccc II A A N N II 3333 W W M M
- ###<><><><> This Cobbled Configuration Is For Linux Mint 19.2 <><><><><><>##
- ###<><><><> i3 config file (version 4.14.1) <><><><><><><><><><><><><><>##
- ###<><><><> Documentation https://i3wm.org/docs/userguide.html <><><>##
- ####################################################################
- ######<><><><> Definitions | Preliminary Settings <><><><><><><>##
- # $Mod = WINDOWS key or Super key or Mod4
- # Mod1 = ALT key
- # Control = CTRL key
- # Shift = SHIFT key
- # Escape = ESCAPE key
- # Return = ENTER or RETURN key
- # KP_Enter = Keypad Enter
- # Pause = PAUSE key
- # Print = PRINT key
- # Tab = TAB key
- ############ Define the $mod key variable
- set $mod Mod4
- ############ Set wallpaper to load at startup
- #exec --no-startup-id feh --bg-fill ~/Pictures/Salon.jpg
- exec --no-startup-id variety
- ############ Font for window titles. Will also be used by the bar unless a different font
- # is used in the bar {} block below.
- font pango:Federation 13
- ############ Start a terminal
- bindsym $mod+Return exec gnome-terminal
- ############ Kill focused window
- bindsym $mod+q kill
- ############<><><><> Restart, Reload, Exit <><><><><><><><><><><><><><>#
- ############ Restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- ############ Reload the configuration file
- bindsym $mod+Shift+c reload
- ############ 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'"
- ############ Press $mod+x to exit - options in toolbar
- bindsym $mod+x mode "$mode_system"
- bindsym control+mod1+Delete mode "$mode_system"
- set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown
- 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"
- }
- ############<><><><> bar toggle, hide or show #<><><><><><><><><><><><>#
- bindsym $mod+b bar mode toggle
- ############<><><><> Scratchpad #<><><><><><><><><><><><><><><><><><><>#
- ############ Make the currently focused window a scratchpad
- bindsym $mod+Shift+minus move scratchpad
- bindsym $mod+backslash scratchpad show
- ############<><><><> Screen Locking #<><><><><><><><><><><><><><><><><>#
- ############ Display the selected image to load with the lock screen, replacing the white screen
- bindsym $mod+shift+g exec i3lock -i ~/Pictures/BloodEnemies.png
- ############<><><><> Application Launchers <><><><><><><><><><><><><><>#
- ############ Rofi (Prefered Mode)
- bindsym $mod+g exec rofi -show drun -theme arthur -lines 15 -columns 4 -eh 2 -width 70 -padding 40 -opacity "60" -bw 0 -bc "#033317" -bg #a16b1c"" -fg "#02180b" -hlbg "#ffefcc" -font "Federation 12" -hlfg "#9575cd"
- ############ Rofi (Window Mode)
- bindsym $mod+F11 exec --no-startup-id rofi -show-icons -show window -font "Federation 10"
- ############ Rofi (Combi Mode)
- bindsym $mod+F12 exec --no-startup-id rofi -show combi -lines 33
- ############ Dmenu (Enabled Redundantly)
- #bindsym $mod+d exec dmenu_run
- bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
- ############ Rofi Clipboard Manager (Requires investigation)
- #rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
- ########################################################################
- ############<><><><> Startbar <><><><><><><><><><><><><><><><><><><><>##
- bar {
- #height 24
- workspace_buttons yes
- font pango: Bauhaus 11
- position top
- #position bottom
- #system icons
- #tray_output none
- #tray_output $firstMonitor
- #tray_output $secondMonitor
- # OPTION 1 : i3status
- # type status_command i3status without the config file and
- # you will get the standard i3status bar
- # Second one is the standard statusbar with my personal settings
- #status_command i3status
- #status_command i3status -c ~/.config/i3/i3status.conf
- # OPTION 2 : i3blocks
- # https://github.com/vivien/i3blocks
- # another way to provide text in the statusbar
- # put hastag in front if not installed
- #status_command i3blocks
- #status_command i3blocks -c ~/.config/i3/i3blocks.conf
- #status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf
- #status_command i3blocks -c ~/.config/i3/i3blocks-original.conf
- #status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf
- # OPTION 3 : conky
- # You can also replace the istatus bar with a conky
- # start-conky-i3statusbar.sh is started and conky will follow
- # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
- # conky configuration is in conky-i3statusbar
- status_command ~/.config/i3/start-conky-i3statusbar.sh
- # OPTION 4 : polybar
- # polybar is launched elsewhere - search for the word
- # from the opening of the "bar {...}" till the end has to go or hashtagged out
- # in order for the system trayicons to show up in polybar
- colors {
- background #281948
- statusline #f4cd52
- separator #e69722
- # border backgr. text
- focused_workspace #6c71c4 #6c71c4 #281948
- active_workspace #6c71c4 #6c71c4 #281948
- inactive_workspace #281948 #281948 #f4cd52
- urgent_workspace #281948 #11093e #a16b1c
- }
- }
- # class border backgr. text indicator
- client.placeholder #f4cd52 #281948 #242424
- client.background #f4cd52 #281948 #242424
- client.unfocused #033317 #281948 #f4cd52 #ffffff
- client.focused #033317 #6c71c4 #281948 #222222
- client.focused_inactive #222222 #281948 #f4cd52 #222222
- client.urgent #11093e #261496 #a16b1c #11093e
- ###### Colour Picker
- # #222222
- # #ffffff #a9a9a9 #c2c2b8
- # #760b0b #900000
- # #089635 #104022 #054d23 #033317 #02180b
- # #281948 #110034 #11093e #261496 #8446d4 #6c71c4
- # #a16b1c #e69722 #FFAF00 #f4cd52
- ####################################################################
- #########<><><><> Workspace Settings <><><><><><><><><><><><><><><>#
- set $ws1 "1"
- set $ws2 "2"
- set $ws3 "3"
- #set $ws3 "3 π π"
- set $ws4 "4"
- set $ws5 "5"
- #set $ws5 "5 π½"
- set $ws6 "6"
- set $ws7 "7"
- set $ws8 "8"
- set $ws9 "9"
- set $ws10 "10"
- ############ For apps to load in designated workspaces ###
- assign [class="libreoffice"] "1"
- assign [class="Gucharmap"] "1"
- assign [class="atom"] "2"
- assign [class="Nemo"] "2"
- assign [class="Rhythmbox"] "3"
- assign [class="vlc"] "3"
- #assign [class="Rhythmbox"] "3 π π"
- #assign [class="vlc"] "3 π π"
- assign [class="Firefox"] "4"
- #assign [class="Thunderbird"] "4 ο©"
- assign [class="kdenlive"] "5"
- assign [class="GNU Image Manipulation Program"] "6"
- assign [class="Google Earth Pro"] "7"
- assign [class="Cherrytree"] "8"
- assign [class="stacer"] "8"
- assign [class="Meld"] "9"
- ############ The apps that load at startup ###
- exec mintupdate.py
- exec_always compton -c
- exec cherrytree
- exec firefox
- #exec gimp
- exec google-earth-pro
- exec gucharmap
- exec kdenlive
- exec libreoffice
- exec megasync
- exec meld
- exec nemo
- exec parcellite
- exec redshift
- #exec rhythmbox
- exec vlc
- exec workrave
- exec screenkey
- exec shutter
- exec stacer
- #exec Thunderbird
- ####################################################################
- ###############<><><><><> Workspace Relate Settings <><><><><><><>##
- ###############<><><><> Floating or tiled <><><><><><><><><><><><>##
- #floating enabled from some programs - find with xprop
- for_window [class="Bleachbit"] floating disable
- for_window [class="Brasero"] floating disable
- for_window [class="Cherrytree"] floating disable
- for_window [class="Galculator"] floating enable
- for_window [class="Gnome-disks"] floating disable
- for_window [class="^Gnome-font-viewer$"] floating enable
- for_window [class="Gnome-terminal"] floating enable
- for_window [class="^Gpick$"] floating enable
- for_window [class="Gucharmap"] floating enable
- for_window [class="Hexchat"] floating disable
- for_window [class="Imagewriter"] floating enable
- for_window [class="Font-manager"] floating enable
- #for_window [class="qt5ct|Lxappearance] floating enable
- for_window [class="Nitrogen"] floating disable
- for_window [class="Pavucontrol"] floating disable
- for_window [class="Peek"] floating enable
- for_window [class="stacer"] floating enable
- for_window [class="System-config-printer.py"] floating enable
- for_window [class="Termite"] floating enable
- for_window [class="Unetbootin.elf"] floating enable
- for_window [class="Usb-creator-gtk"] floating enable
- for_window [class="^Vlc$"] floating disable
- for_window [class="Xfce4-appfinder"] floating enable
- for_window [class="Xfce4-settings-manager"] floating disable
- for_window [class="Xfce4-taskmanager"] floating enable
- #for_window [instance="gimp"] floating disable
- for_window [instance="script-fu"] border normal
- for_window [instance="variety"] floating disable
- for_window [title="Copying"] floating enable
- for_window [title="Deleting"] floating enable
- for_window [title="Moving"] floating enable
- for_window [title="^Terminator Preferences$"] floating enable
- #for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable
- for_window [window_role="pop-up"] floating enable
- for_window [window_role="^Preferences$"] floating enable
- for_window [window_role="setup"] floating enable
- ###############<><><><> Workspace Operations <><><><><><><><><><>###
- ############ Define workspace variables
- 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
- ###############<><><><> Workspace related keybinding settings <><>##
- #workspace 1 related
- bindsym $mod+F1 exec --no-startup-id firefox
- #workspace 2 related
- bindsym $mod+F2 exec --no-startup-id code;focus
- bindsym $mod+F8 exec --no-startup-id Nemo;focus
- bindsym $mod+Shift+Return exec --no-startup-id code;focus
- #Workspace 3 related
- bindsym $mod+F3 exec --nostartup-id Rhythmbox
- bindsym $mod+F7 exec --nostartup-id vlc
- #workspace 4 related
- bindsym $mod+F4 exec --no-startup-id libreoffice;focus
- #workspace 5 related
- bindsym $mod+F5 exec --no-startup-id kdenlive
- #workspace 6 related
- bindsym $mod+F6 exec --no-startup-id gimp;focus
- #workspace 7 related
- #bindsym $mod+F7 exec --no-startup-id google earth pro;focus
- #workspace 8 related
- bindsym control+mod1+b exec --no-startup-id Thunar;focus
- #workspace 9 related
- bindsym $mod+F9 exec --no-startup-id meld;focus
- bindsym control+mod1+i exec --no-startup-id nitrogen;focus
- #workspace 10 related
- bindsym $mod+F10 exec --no-startup-id stacer;focus
- bindsym control+mod1+s exec --no-startup-id stacer;focus
- ####################################################################
- ###############<><><><> Screen Layout <><><><><><><><><><><><><><>##
- ############ 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
- ###############<><><><> Screen Splitting <><><><><><><><><><><><><>#
- ############ 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+f fullscreen toggle
- ############ Use Mouse+$mod to drag floating windows to their new position
- floating_modifier $mod
- ###############<><><><> Focus <><><><><><><><><><><><><><><><><><>#
- ############ 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
- ############ 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
- ############ focus the parent container
- bindsym $mod+a focus parent
- ############ focus the child container
- #bindsym $mod+d focus child
- ###############<><><><> Keybindings to resize windows <><><><><><><>#
- # resize window (you can also use the mouse for that)
- bindsym $mod+r mode "resize"
- mode "resize" {
- # These bindings trigger as soon as you enter 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 5 px or 5 ppt
- bindsym k resize grow height 5 px or 5 ppt
- bindsym l resize shrink height 5 px or 5 ppt
- bindsym semicolon resize grow width 5 px or 5 ppt
- # same bindings, but for the arrow keys
- bindsym Left resize shrink width 5 px or 5 ppt
- bindsym Down resize grow height 5 px or 5 ppt
- bindsym Up resize shrink height 5 px or 5 ppt
- bindsym Right resize grow width 5 px or 5 ppt
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- ####################################################################
- #################<><><><> Border control <><><><><><><><><><><><><>#
- # Border control
- hide_edge_borders both
- bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle
- #changing border style
- bindsym $mod+t border normal
- bindsym $mod+y border 1pixel
- bindsym $mod+u border none
- #new_window pixel 1
- new_window normal
- #new_window none
- #new_float pixel 1
- new_float normal
- #new_float none
- ####################################################################
- #########<><><><> Tray Icons <><><><><><><><><><><><><><><><><><><>#
- # volume
- exec --no-startup-id pasystray
- exec --no-startup-id volumeicon
- ####################################################################
- #########<><><><> Media <><><><><><><><><><><><><><><><><><><<><><>#
- # Pulse Audio controls
- bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
- bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
- bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
- # Media player controls
- bindsym XF86AudioPlay exec playerctl play
- bindsym XF86AudioPause exec playerctl pause
- bindsym XF86AudioNext exec playerctl next
- bindsym XF86AudioPrev exec playerctl previous
- ####################################################################
- ######### Archival ######
- # Start i3bar to display a workspace bar (and system information i3status
- # finds out, if available)
- #bar {
- # mode hide
- # hidden_state hide
- # modifier Mod1
- # position top
- # #position bottom
- # #i3bar_command i3bar --transparency
- # colors {
- # background $#a16b1c
- # statusline $#f2ea9b
- # separator $#f4cd52
- ## Border Background Text
- # focused_workspace #054d23 #033317 #f4cd52
- # active_workspace #089635 #5f676a #ffffff
- # inactive_workspace #333333 #02180b #f4cd52
- # urgent_workspace #000000 #f4cd52 #8446d4
- # binding_mode #2f343a #900000 #ffffff
- # }
- # status_command i3blocks -c ~/.config/i3/conky-i3status.conf
- #}
- #
- # Widow Colours
- # Border Background Text Indicator
- # client.focused #033317 #033317 #c0b7f9 #c0b7f9
- # client.focused_inactive #135853 #135853 #f4cd52 #c0b7f9
- # client.unfocused #02180b #02180b #f4cd52 #c0b7f9
- # client.urgent #f4cd52 #a16b1c #101218 #c0b7f9
- #########<><><><> Colour Picker <><><><><><><><><><><><><><><><><><><>###
- # #760b0b
- # #3e51db #261496
- # #a16b1c #a16b1c
- # #089635 #101218 #71a304
- # #104022 #054d23 #02180b
- # #63ba86 #033317
- # #d1d4e0 #c2c2b8 #c0b7f9 #8446d4 #561b08
- # #f4cd52 #ffefcc #f2ea9b #eae6be
- #########################################################################
- #########<><><><><><><><><><><><><><> The End <><><><><><><><><><><><>###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement