Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ###########
- # ###########
- # PPPPp ii ii ii ###########
- # p P oOOo eeee TTTTTTT cccc 3333 ###########
- # p P O O e e t II c II A N N II 3 ###########
- # PpppP O O e e t II c II A A N n N II 3 W W M M
- # P O O eeeee t II c II A A N n N II 333 W W M m m M
- # P O O e t II c II A aAa A N n N II 3 W w W M m m M
- # P O O e t II c II A A N n N II 3 W w w W M m M
- # p OooO eeee t II cccc II A A N N II 3333 W W M M
- # ###########
- #################################################################################################################
- # ###########
- # https://pastebin.com/u/poetician ###########
- # https://thenextpoetician.blogspot.com/ ###########
- # https://www.youtube.com/channel/UCmP5yzI3bT4EP5lyitpor8w ###########
- # ###########
- # Most of the work was done by Erik Dubois: ###########
- # ###########
- # https://arcolinux.info/ ########### URL:https://i3wm.org/
- # https://github.com/arcolinux ########### i3 version 4.18 (2020-02-18)
- # https://www.youtube.com/channel/UCJdmdUp5BrsWsYVQUylCMLg ########### © 2009 Michael Stapelberg
- # ########### and contributors
- #######################################################################################################
- ###########
- ########### Key Definitions ########### ###########
- ###########
- # Mod = WINDOWS / Super key / Mod4 ###########
- # Mod1 = ALT key
- # Control = CTRL key
- # Shift = SHIFT key
- # Escape = ESCAPE key
- # Return = ENTER or RETURN key
- # KP_Enter = Keypad ENTER key
- # Pause = PAUSE key
- # Print = PRINT key
- # Tab = TAB key
- ########### Define the $mod Variable Key ###########
- set $mod Mod4
- # set $mod Mod1
- ########### Define the Movement Keys ###########
- set $up l
- set $down k
- set $left j
- set $right semicolon
- ########## Dual Monitor Setup ##########
- set $firstMonitor DVI-D-0
- set $secondMonitor HDMI-A-0
- workspace 1 output $firstMonitor
- workspace 2 output $firstMonitor
- workspace 3 output $firstMonitor
- workspace 4 output $firstMonitor
- workspace 5 output $firstMonitor
- workspace 6 output $firstMonitor
- workspace 7 output $firstMonitor
- workspace 8 output $secondMonitor
- workspace 9 output $secondMonitor
- workspace 10 output $secondMonitor
- workspace 11 output $secondMonitor
- workspace 12 output $secondMonitor
- workspace 13 output $secondMonitor
- workspace 14 output $secondMonitor
- # Arandr is used for the configuration. So is this.
- exec xrandr --no-startup-id --output DVI-D-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 1920x0 --rotate normal
- ########### Reload Changed Configuration ###########
- # restart i3 in place (preserves the layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- # reload the configuration file
- bindsym $mod+Shift+c reload
- ########### Stopping Applications ###########
- # kill focused window
- bindsym $mod+q kill
- # Xkill focused window
- bindsym --release $mod+Escape exec xkill
- ########### How to Lockscreen, Logout, Reboot, etc ... ###########
- # Press $mod and X to exit - options appear in the toolbar
- bindsym $mod+X mode "$mode_system"
- bindsym control+mod1+Delete mode "$mode_system"
- set $mode_system System (h) hibernate (k) lock, (l) logout, (r) reboot, (s) shutdown (u) suspend
- 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"
- }
- bindsym $mod+Shift+comma exec betterlockscreen -u /usr/share/backgrounds/arcolinux/ -b -l
- ########### Bar Toggle ###########
- # bar toggle, hide or show
- bindsym $mod+b bar mode invisible
- bindsym $mod+m bar mode dock
- ########### Scratchpad ###########
- # move the currently focused window to the scratchpad
- bindsym Mod1+Shift+plus move scratchpad
- # Show the next scratchpad window or hide the focused scratchpad window.
- # If there are multiple scratchpad windows, this command cycles through them.
- bindsym Mod1+plus scratchpad show
- ########### Screenshots ############
- bindsym Print exec --no-startup-id scrot '_-%Y-%m-%d-%s_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
- bindsym Control+Print exec --no-startup-id xfce4-screenshooter
- ########### Title Font and Alignment ###########
- # 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 italic 12
- title_align center
- ########### Wallpaper Settings ###########
- # Sets wallpaper to load at startup
- # exec --no-startup-id feh --bg-fill ~/Pictures/Salon.jpg
- exec --no-startup-id variety
- ########################################################################
- ########### Bar and Workspace Appearance ###########
- ########################################################################
- # hide_edge_borders none|vertical|horizontal|both|smart
- # hide_edge_borders horizontal
- bar {
- height 33
- workspace_buttons yes
- font pango:Federation italic 12
- i3bar_command i3bar --transparency
- # tray_output HDMI-A-0
- # output HDMI-A-0
- # output primary DVI-D-0
- position top
- #position bottom
- # 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 hash-tag 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 hash-tagged out
- # in order for the system trayicons to show up in polybar
- colors {
- background #FF000000
- statusline #FF4f433f
- separator #FF4f433f
- # border backgr. text
- focused_workspace #FF000000 #FF000000 #899a99
- inactive_workspace #FF000000 #FF000000 #f4cd52
- urgent_workspace #FF000000 #FF000000 #f4cd52
- }
- }
- #Golden text on Tudor Brown background.
- # class border backgr. text indicator child-border
- client.placeholder #FF000000 #FF4f433f #281948 #FF000000 #281948
- client.background #FF000000 #FF4f433f #281948 #FF000000 #281948
- client.unfocused #FF000000 #80000000 #f4cd52 #FF000000 #281948
- client.focused #FF000000 #FF000000 #B87333 #FF000000 #6c71c4
- client.focused_inactive #FF000000 #BF000000 #f4cd52 #FF000000 #6c71c4
- client.urgent #11093e #8446d4 #a16b1c #11093e #8446d4
- ########### Colour Picker ###########
- # #222222
- # #ffffff #a9a9a9 #c2c2b8
- # #760b0b #900000
- # #089635 #104022 #054d23 #033317 #02180b
- # #281948 #110034 #11093e #261496 #8446d4 #6c71c4
- # #a16b1c #FFAF00 #e69722 #f4cd52
- # #cd7f32 Bronze
- # #B87333 Copper
- # #c0c0c0 Silver
- # #d4af37 Gold
- # #022051 Sapphire
- # #7C0A02 Barn Red
- # #E0115F Ruby
- # #dc143c Crimson
- # #e34234 Vermillion
- # #dda0ad Plum
- # #899a99 Pewter
- # #568203 Avocado
- # #2e5e5b Pine Green
- # #1f3d0c Deep Forest Green
- # #4f433f Tudor Brown
- # #FAEBD7 Antique White
- # Transparency values
- # 100% — FF
- # 95% — F2
- # 90% — E6
- # 85% — D9
- # 80% — CC
- # 75% — BF
- # 70% — B3
- # 65% — A6
- # 60% — 99
- # 55% — 8C
- # 50% — 80
- # 45% — 73
- # 40% — 66
- # 35% — 59
- # 30% — 4D
- # 25% — 40
- # 20% — 33
- # 15% — 26
- # 10% — 1A
- # 5% — 0D
- # 0% — 00
- ############################################################################
- ########### Workspace Names and Assignments ############
- ############################################################################
- ########### Workspaces named with variables avoids repetition ###########
- set $ws1 "1 "
- set $ws2 "2 𑢰 𑜞"
- set $ws3 "3 ℂ 𖣁"
- set $ws4 "4 𑣦"
- set $ws5 "5 𐎩"
- set $ws6 "6 ᮱"
- set $ws7 "7 "
- set $ws8 "8 "
- set $ws9 "9 𑣣"
- set $ws10 "𖭧 𑜆𖨎"
- set $ws11 "11 𖧫ꚳ"
- set $ws12 "12 ᰪℚ"
- set $ws13 "13:ᰛᰠ"
- set $ws14 "14:𐘝᰾"
- # 𖧹 𖧊 𖥭 𖥶 ᯼
- ########### Loading Applications in Designated Workspaces ###########
- assign [class="Firefox"] $ws1
- assign [class="Brave-browser"] $ws1
- assign [class="Nemo"] $ws2
- assign [class="code-oss"] $ws2
- assign [class="Cherrytree"] $ws3
- assign [class="stacer"] $ws3
- assign [class="libreoffice"] $ws4
- assign [class="kdenlive"] $ws5
- assign [class="Glimpse-0.1"] $ws6
- assign [class="Google Earth Pro"] $ws7
- assign [class="Meld"] $ws8
- assign [class="VirtualBox Manager"] $ws9
- assign [class="VirtualBox Machine"] $ws10
- assign [class="Hefftor_SkelApp.py"] $ws11
- assign [class="Hefftor_polybar_switcher.py"] $ws11
- assign [class="Hefftors-twm-color-changer.py"] $ws11
- assign [class="Hefftor-betterlockscreen-gui.py"] $ws11
- assign [class="Notepadqq"] $ws12
- assign [class="Joplin"] $ws12
- assign [class="vlc"] $ws13
- assign [class="Timeshift-gtk"] $ws13
- assign [class="Arcolinux-tweak-tool.py"] $ws13
- # assign [class="Gufw.py"] $ws13
- assign [class="Transmission-gtk"] $ws14
- assign [class="Xscreensaver-demo"] $ws14
- #############################################################
- ########### Floating or Tiled ###########
- #############################################################
- ########### Floating enabled / disabled; find class name with xprop; border option ###########
- for_window [class="ArcoLinux Conky Manager"] floating enable
- for_window [class="Arcolinux-tweak-tool.py"] floating enable
- for_window [class="Arcolinux-tweak-tool.py"] move position 2845 75
- # for_window [class="Cherrytree"] floating enable
- # for_window [class="Cherrytree"] move position 20 40
- # for_window [class="Cherrytree"] border pixel 8
- for_window [class="Create Snapshot"] floating enable
- for_window [class="digikam"] floating enable
- for_window [class="File-roller"] floating enable
- for_window [class="Galculator"] floating enable
- for_window [class="Gnome-disks"] floating disable
- for_window [class="^Gnome-font-viewer$"] floating enable
- for_window [class="^Gpick$"] floating enable
- for_window [class="Grub-customizer"] floating enable
- for_window [class="Gucharmap"] move scratchpad
- for_window [class="Gucharmap"] floating enable
- for_window [class="Gucharmap"] move position 1960 60
- # for_window [class="Gufw.py"] floating enable
- # for_window [class="Gufw.py"] move position 2780 80
- # for_window [class="Gufw.py"] move absolute position center
- # for_window [class="Gufw.py"] move scratchpad
- for_window [class="Hefftor-betterlockscreen-gui.py"] floating enable
- for_window [class="Hefftor-betterlockscreen-gui.py"] move position 3100 570
- # for_window [class="Hefftor_SkelApp.py"] move scratchpad
- # for_window [class="Hefftor_SkelApp.py"] move 400 200
- for_window [class="Hefftor_SkelApp.py"] floating enable
- # for_window [class="Hefftor_SkelApp.py"] move scratchpad
- for_window [class="Hefftor_SkelApp.py"] move absolute position 2594 240
- for_window [class="Hefftor_polybar_switcher.py"] floating enable
- for_window [class="Hefftor_polybar_switcher.py"] move position 1950 70
- for_window [class="Hefftors-twm-color-changer.py"] floating enable
- for_window [class="Hefftors-twm-color-changer.py"] move position 3100 60
- for_window [class="kdenlive"] move absolute position center
- for_window [class="Imagewriter"] floating enable
- for_window [class="Font-manager"] floating enable
- # for_window [class="qt5ct|Lxappearance] floating disable
- for_window [class="Pamac-manager"] floating enable
- # for_window [class="Pavucontrol"] floating enable
- # for_window [class="Peek"] floating disable
- # for_window [class="stacer"] floating enable
- # for_window [class="stacer"] move position 1020 36
- for_window [class="System-config-printer.py"] floating enable
- for_window [class="Termite"] floating enable
- for_window [class="Tilix"] floating enable
- for_window [class="Tilix"] move scratchpad
- for_window [class="Tilix"] move 800 160
- for_window [class="Timeshift-gtk"] floating enable
- for_window [class="Timeshift-gtk"] move position 1975 75
- # for_window [class="Timeshift-gtk"] move scratchpad
- # for_window [class="Transmission-gtk"] move scratchpad
- for_window [class="Transmission-gtk"] floating enable
- for_window [class="Transmission-gtk"] move position 2000 80
- # for_window [class="Transmission-gtk"] floating_minimum_size 600 x 200
- for_window [class="Transmission-gtk"] floating_maximum_size 700 x 300
- for_window [class="Usb-creator-gtk"] floating enable
- for_window [class="VirtualBox Manager"] floating enable
- # for_window [class="VirtualBox Manager"] move scratchpad
- for_window [class="VirtualBox Machine"] floating disable
- for_window [class="VirtualBox Manager"] move position 2380 40
- for_window [class="^Vlc$"] floating enable
- # for_window [class="^Vlc$"] move position 20 960
- # for_window [class="vlc"] floating_minimum_size 1640 x 160
- for_window [class="vlc"] floating_maximum_size 1800 x 180
- for_window [class="vlc"] move position 1928 930
- for_window [class="vokoscreenNG"] floating enable
- for_window [class="vokoscreenNG"] move scratchpad
- for_window [class="vokoscreenNG"] move position 1921 40
- for_window [class="Workrave"] floating enable
- for_window [class="Workrave"] move position 1940 60
- for_window [class="Xfce4-appfinder"] floating enable
- for_window [class="Xfce4-dict"] floating enable
- for_window [class="Xfce4-settings-manager"] floating enable
- for_window [class="Xfce4-taskmanager"] floating enable
- for_window [class="Xscreensaver-demo"] floating enable
- for_window [class="Xscreensaver-demo"] move position 2920 80
- for_window [class="Xscreensaver-demo"] floating_maximum_size 900 x 800
- # for_window [instance="gimp"] floating disable
- # for_window [instance="script-fu"] border normal
- # for_window [instance="Variety Preferences"] floating enable
- 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
- ########### Application Specific Border Settings ###########
- # for_window [class="Cherrytree"] border pixel 8
- # for_window [class="stacer"] border pixel 6
- # for_window [cleass="Imagewriter"] border pixel 12
- # for_window [class="Termite"] border pixel 12
- # for_window [class="vlc"] border pixel 12
- ########### Loading Applications at Startup ###########
- # exec i3-save-tree --workspace 13 > ~/.config/i3/workspace-13.json
- ########### Background Applications ###########
- exec killall picom &&
- exec --no-startup-id picom -b
- exec --no-startup-id mousetrap -t 1
- exec_always xscreensaver
- exec --no-startup-id xscreensaver-demo
- ########### Typical Applications ###########
- exec code-oss
- exec cherrytree
- exec firefox
- # exec glimpse-0.1
- # exec google-earth-pro
- # exec gucharmap
- exec joplin
- # exec kdenlive
- exec libreoffice
- # exec meld
- exec nemo
- # exec stacer
- exec transmission-gtk
- # exec virtualbox manager
- exec vlc
- ########### Tray Applications ###########
- # Applications that are not installed will not start
- # you may see a wheel - hashtag out things you do not want
- # Authentication dialog
- exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
- # Network
- exec --no-startup-id nm-applet
- # Num Lock activated
- exec_always --no-startup-id numlockx on
- # Parcellite
- exec parcellite
- # Redshift
- exec redshift
- # Screenkey
- # exec screenkey
- # Workrave
- exec workrave
- # Volume
- #exec --no-startup-id pasystray
- exec --no-startup-id volumeicon
- # Updater
- exec --no-startup-id pamac-tray
- # Dropbox
- exec --no-startup-id dropbox start
- # Megasync
- exec megasync
- # My-Weather-Indicator
- exec my-weather-indicator
- # Clipman
- # exec --no-startup-id xfce4-clipman
- # Conky
- # exec --no-startup-id conky -c ~/.config/i3/system-overview
- # Polybar
- # exec_always --no-startup-id ~/.config/polybar/launch.sh &
- ###########################################################################
- ########### Applications Keyboard Shortcuts ###########
- ###########################################################################
- ########### 4 Menu Options ###########
- # Start Rofi drun Mode
- bindsym $mod+g exec rofi -show drun -show-icons -theme arthur -lines 12 -columns 3 -eh 2 -width 74 -padding 200 -opacity "40"
- # Start Rofi Combi Mode
- bindsym $mod+F11 exec --no-startup-id rofi -show combi -show-icons -font "Federation 11"
- # Start Rofi Window Mode
- bindsym $mod+F12 exec --no-startup-id rofi -show window -show-icons
- # Start xfce-appfinder
- bindsym mod1+F3 exec --no-startup-id xfce4-appfinder
- ########### Not Workspace Related ###########
- # Terminal
- bindsym $mod+Return exec --no-startup-id termite;focus
- bindsym $mod+KP_Enter exec --no-startup-id termite;focus
- bindsym control+mod1+t exec --no-startup-id xfce4-terminal;focus
- bindsym control+mod1+Return exec --no-startup-id tilix;focus
- bindsym control+mod1+KP_Enter exec --no-startup-id termite;focus
- # ArcoLinux Tweak tool
- bindsym control+Shift+p exec Arcolinux-tweak-tool.py;focus
- # System monitor
- bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus
- # Settings
- bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager
- # Catfish
- bindsym control+mod1+c exec --no-startup-id catfish;focus
- # Rofi theme selector
- bindsym control+mod1+r exec --no-startup-id rofi-theme-selector
- # Htop
- # arcolinux conflict
- # bindsym $mod+h exec --no-startup-id htop;focus
- # Pavucontrol
- # arcolinux conflict
- # bindsym control+mod1+u exec --no-startup-id pavucontrol
- # Start xfce-appfinder
- bindsym control+mod1+a exec --no-startup-id xfce4-appfinder
- # Pamac-manager
- bindsym control+mod1+p exec --no-startup-id pamac-manager
- # Gnome-Screenshot
- bindsym control+PrintScr exec --np-startup-id gnome-Screenshot
- ########### Workspace Related ###########
- # Workspace 1 related
- bindsym $mod+F1 exec --no-startup-id firefox;focus
- # Workspace 2 related
- bindsym $mod+F2 exec --no-startup-id code-oss;focus
- bindsym $mod+Shift+Return exec --no-startup-id nemo;focus
- # Workspace 3 related
- bindsym $mod+F3 exec --nostartup-id Rhythmbox
- bindsym $mod+F10 exec --no-startup-id Cherrytree;focus
- # Workspace 4 related
- bindsym $mod+F4 exec --no-startup-id libreoffice
- # Workspace 5 related
- bindsym $mod+F5 exec --no-startup-id kdenlive
- # Workspace 6 related
- bindsym $mod+F6 exec --no-startup-id glimpse-0.1;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
- bindsym control+mod1+s exec --no-startup-id stacer;focus
- # Workspace 9 related
- bindsym $mod+F9 exec --no-startup-id meld;focus
- bindsym control+mod1+v exec VirtualBox Manager;focus
- # bindsym control+mod1+i exec --no-startup-id nitrogen;focus
- ##########################################################################
- ########### Workspace Switching Functions ############
- ##########################################################################
- # 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
- bindsym $mod+minus workspace $ws11
- bindsym $mod+equal workspace $ws12
- bindsym $mod+bracketleft workspace $ws13
- bindsym $mod+bracketright workspace $ws14
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
- bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
- bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
- bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
- bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
- bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
- bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
- bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
- bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
- bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
- bindsym $mod+Shift+minus move container to workspace $ws11
- bindsym $mod+Shift+equal move container to workspace $ws12
- bindsym $mod+Shift+bracketleft move container to workspace $ws13
- bindsym $mod+Shift+bracketright move container to workspace $ws14
- #################################################################
- ########### Navigating Containers ###########
- #################################################################
- # use mouse+$mod to drag floating windows to their new position
- floating_modifier $mod
- # toggle tiling / floating
- bindsym $mod+Shift+space floating toggle
- # change focus
- bindsym $mod+$left focus left
- bindsym $mod+$down focus down
- bindsym $mod+$up focus up
- bindsym $mod+$right 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+$left move left
- bindsym $mod+Shift+$down move down
- bindsym $mod+Shift+$up move up
- bindsym $mod+Shift+$right 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
- #################################################################
- ########### Navigating Workspaces ###########
- #################################################################
- # next/previous workspace
- bindsym Mod1+Tab workspace next
- bindsym Mod1+Shift+Tab workspace prev
- bindsym $mod+Tab workspace back_and_forth
- # navigate workspaces next / previous
- bindsym Mod1+Ctrl+Right workspace next
- bindsym Mod1+Ctrl+Left workspace prev
- # switch to workspace with urgent window automatically
- # for_window [urgent=latest] focus
- # switch back to previous workspace by pressing the same keybinding used to switch from it
- workspace_auto_back_and_forth yes
- # enable urgent workspace message delay to see what window sent it
- # force_display_urgency_hint 1000 ms
- #############################################################
- ########### Tiling Parameters ###########
- #############################################################
- # workspace_layout default|stacking|tabbed
- # orientation for new workspaces
- default_orientation horizontal
- # 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
- # change container layout (stacked, tabbed, toggle split)
- bindsym $mod+s layout stacking
- bindsym $mod+z layout tabbed
- bindsym $mod+e layout toggle split
- # change focus between tiling / floating windows
- bindsym $mod+space focus mode_toggle
- # focus the parent container
- bindsym $mod+a focus parent
- # focus the child "HHVH"
- # bindsym $mod+d focus child
- ######################################################################
- ########### Give Focus to Applications ###########
- ######################################################################
- for_window [class="code-oss"] focus
- # for_window [class="libreoffice-startcenter"] focus
- for_window [class="Firefox"] focus
- for_window [class="Gnome-terminal"] focus
- for_window [class="google-earth-pro"] focus
- for_window [class="meld"] focus
- for_window [class="Termite"] focus
- for_window [class="Terminator"] focus
- ##########################################################
- ########### Border Control ###########
- ##########################################################
- # default_border normal | none | pixel
- default_border pixel 5
- # default_floating_border normal | none| pixel
- default_floating_border pixel 12
- # hide_edge_borders none|vertical|horizontal|both|smart
- hide_edge_borders smart
- 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 12
- # new_window normal
- # new_window none
- new_float pixel 12
- # new_float normal
- # new_float none
- #############################################################################
- ########### Popup Control In Fullscreen Mode ###########
- #############################################################################
- # popup_during_fullscreen smart|ignore|leave_fullscreen
- popup_during_fullscreen smart
- ##########################################################
- ########### 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 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 $left resize shrink width 3 px or 3 ppt
- bindsym $down resize grow height 1 px or 1 ppt
- bindsym $up resize shrink height 1 px or 1 ppt
- bindsym $right resize grow width 3 px or 3 ppt
- # same bindings, but for the arrow keys
- bindsym Left resize shrink width 3 px or 3 ppt
- bindsym Down resize grow height 1 px or 1 ppt
- bindsym Up resize shrink height 1 px or 1 ppt
- bindsym Right resize grow width 3 px or 3 ppt
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- ########### Sticky Floating Windows ###########
- # make a terminal sticky that was started as a notepad
- for_window [instance=notepadqq] sticky enable
- #########################################################
- ########### i3 Next Gaps ############
- #########################################################
- # Settings for I3 next gap git
- # https://github.com/Airblader/i3/tree/gaps-next
- # delete or uncomment the following lines if you do not have it or do not want it
- for_window [class="^.*"] border pixel 8
- gaps inner 7
- gaps outer 7
- smart_gaps on
- smart_borders on
- ########### i3 gaps resizing ############
- set $mode_gaps Gaps: (o) outer, (i) inner
- set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
- set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
- bindsym $mod+Shift+g mode "$mode_gaps"
- mode "$mode_gaps" {
- bindsym o mode "$mode_gaps_outer"
- bindsym i mode "$mode_gaps_inner"
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- mode "$mode_gaps_inner" {
- bindsym plus gaps inner current plus 1
- bindsym minus gaps inner current minus 1
- bindsym 0 gaps inner current set 0
- bindsym Shift+plus gaps inner all plus 1
- bindsym Shift+minus gaps inner all minus 1
- bindsym Shift+0 gaps inner all set 0
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- mode "$mode_gaps_outer" {
- bindsym plus gaps outer current plus 1
- bindsym minus gaps outer current minus 1
- bindsym 0 gaps outer current set 0
- bindsym Shift+plus gaps outer all plus 1
- bindsym Shift+minus gaps outer all minus 1
- bindsym Shift+0 gaps outer all set 0
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- ###################################################################
- ########### Variety for Wallpapers ############
- ###################################################################
- # Variety keybindings mod1 = ALT
- # trash wallpaper
- bindsym mod1+t exec --no-startup-id variety -t
- # next wallpaper
- bindsym mod1+n exec --no-startup-id variety -n
- bindsym mod1+Right exec --no-startup-id variety -n
- # previous wallpaper
- bindsym mod1+p exec --no-startup-id variety -p
- bindsym mod1+Left exec --no-startup-id variety -p
- # favorite wallpaper
- bindsym mod1+f exec --no-startup-id variety -f
- # pause wallpaper
- bindsym mod1+Up exec --no-startup-id variety --pause
- # resume wallpaper
- bindsym mod1+Down exec --no-startup-id variety --resume
- ########### Variety with Pywal ###########
- # next wallpaper
- bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
- # previous wallpaper
- bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
- # trash wallpaper
- bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
- # Update Wallpaper
- bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
- ##########################################################
- ########### Audio Settings ###########
- ##########################################################
- bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
- bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
- bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
- #https://github.com/acrisci/playerctl/
- bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
- bindsym XF86AudioNext exec --no-startup-id playerctl next
- bindsym XF86AudioPrev exec --no-startup-id playerctl previous
- bindsym XF86AudioStop exec --no-startup-id playerctl stop
- ###############################################################
- ########### System Applications ###########
- ###############################################################
- exec --no-startup-id xfce4-power-manager &
- # ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3
- # IF xfsettingsd is activated you can not change themes
- #exec --no-startup-id xfsettingsd &
- exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
- ######################## The End - Now Start Again ########################
- ####################################################################################################################
- # All these words are empty baskets
- # Carried to the market square
- # Trading truth and lies in barter
- # Warranting warn buyer beware
- # All these words are reeds I wove
- # Taught to hold my pauper’s share
- # Show me yours before and after
- # Out in the open we may compare
- # All these words are on the table
- # Yoked to folly the shell game starts
- # Trick the eye they who are able
- # Cunning those the same the heart
- # All these words are fruits of labour
- # Bounty’s grace on harvest’s day
- # Test taste and judge the many flavours
- # Fill your need be on your way
- # All these words so meet and proper
- # Morning meals served hot or cold
- # Savour meaning old sharecropper
- # Recall the stories you were told
- # All these words are open caskets
- # Life goes on even nothing’s fair
- # Gather seeds for ever after
- # Till the breach sow to repair
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement