Erik Dubois
4 years ago
10 changed files with 32 additions and 350 deletions
@ -1,7 +1,7 @@ |
|||||||
[Autologin] |
[Autologin] |
||||||
Relogin=false |
Relogin=false |
||||||
User=liveuser |
User=liveuser |
||||||
Session=i3 |
Session=dwmalci |
||||||
|
|
||||||
[Theme] |
[Theme] |
||||||
Current=breeze |
Current=breeze |
||||||
|
@ -1,314 +0,0 @@ |
|||||||
##################################################################################################################### |
|
||||||
##################################################################################################################### |
|
||||||
################# Start of all the settings ################# |
|
||||||
##################################################################################################################### |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# KEY DEFINITIONS TO REMEMBER |
|
||||||
|
|
||||||
# $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 variable/key ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# Key to rule them all : Super(Windows) or Alt key? |
|
||||||
|
|
||||||
# Mod4 = Windows or Super key on keyboard |
|
||||||
# Mod1 = Alt key on keyboard |
|
||||||
|
|
||||||
#Set Alt key |
|
||||||
#set $mod Mod1 |
|
||||||
|
|
||||||
#set Super key |
|
||||||
set $mod Mod4 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# Define the movements keys - variables ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
|
|
||||||
#This is setup for qwerty |
|
||||||
set $up l |
|
||||||
set $down k |
|
||||||
set $left j |
|
||||||
set $right semicolon |
|
||||||
|
|
||||||
#This is setup for azerty |
|
||||||
#set $up l |
|
||||||
#set $down k |
|
||||||
#set $left j |
|
||||||
#set $right m |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# Single and Dual screen ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
|
|
||||||
# setting variables for later use |
|
||||||
# use xrandr and/or arandr to know the names of your monitors |
|
||||||
# use this line to tell which monitor is on the right |
|
||||||
# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto |
|
||||||
#exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 |
|
||||||
#exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto |
|
||||||
#exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto |
|
||||||
#exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto |
|
||||||
#exec --no-startup-id xrandr --output HDMI-2 --right-of HDMI-1 --auto |
|
||||||
exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto |
|
||||||
|
|
||||||
|
|
||||||
# my current setup |
|
||||||
|
|
||||||
#set $firstMonitor DP3 |
|
||||||
#set $secondMonitor LVDS1 |
|
||||||
|
|
||||||
#set $firstMonitor DVI-I-0 |
|
||||||
#set $secondMonitor HDMI-0 |
|
||||||
|
|
||||||
|
|
||||||
#set $firstMonitor DVI-0 |
|
||||||
#set $secondMonitor DVI-1 |
|
||||||
|
|
||||||
#set $firstMonitor DVI-I-1 |
|
||||||
#set $secondMonitor DVI-D-1 |
|
||||||
|
|
||||||
#set $firstMonitor HDMI-1 |
|
||||||
#set $secondMonitor HDMI-2 |
|
||||||
|
|
||||||
set $firstMonitor HDMI1 |
|
||||||
set $secondMonitor HDMI2 |
|
||||||
|
|
||||||
workspace 1 output $firstMonitor |
|
||||||
workspace 2 output $firstMonitor |
|
||||||
workspace 3 output $firstMonitor |
|
||||||
workspace 4 output $firstMonitor |
|
||||||
workspace 5 output $firstMonitor |
|
||||||
workspace 6 output $secondMonitor |
|
||||||
workspace 7 output $secondMonitor |
|
||||||
workspace 8 output $secondMonitor |
|
||||||
workspace 9 output $secondMonitor |
|
||||||
workspace 10 output $secondMonitor |
|
||||||
|
|
||||||
# switch to workspace |
|
||||||
bindsym $mod+1 workspace 1 |
|
||||||
bindsym $mod+2 workspace 2 |
|
||||||
bindsym $mod+3 workspace 3 |
|
||||||
bindsym $mod+4 workspace 4 |
|
||||||
bindsym $mod+5 workspace 5 |
|
||||||
bindsym $mod+6 workspace 6 |
|
||||||
bindsym $mod+7 workspace 7 |
|
||||||
bindsym $mod+8 workspace 8 |
|
||||||
bindsym $mod+9 workspace 9 |
|
||||||
bindsym $mod+0 workspace 10 |
|
||||||
|
|
||||||
# move focused container to workspace |
|
||||||
bindsym $mod+Shift+1 move container to workspace 1; workspace 1 |
|
||||||
bindsym $mod+Shift+2 move container to workspace 2; workspace 2 |
|
||||||
bindsym $mod+Shift+3 move container to workspace 3; workspace 3 |
|
||||||
bindsym $mod+Shift+4 move container to workspace 4; workspace 4 |
|
||||||
bindsym $mod+Shift+5 move container to workspace 5; workspace 5 |
|
||||||
bindsym $mod+Shift+6 move container to workspace 6; workspace 6 |
|
||||||
bindsym $mod+Shift+7 move container to workspace 7; workspace 7 |
|
||||||
bindsym $mod+Shift+8 move container to workspace 8; workspace 8 |
|
||||||
bindsym $mod+Shift+9 move container to workspace 9; workspace 9 |
|
||||||
bindsym $mod+Shift+0 move container to workspace 10; workspace 10 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# how to exit, logoff, suspend, ... ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
bindsym $mod+r exec --no-startup-id systemctl reboot |
|
||||||
bindsym $mod+s exec --no-startup-id systemctl poweroff |
|
||||||
bindsym $mod+x exec --no-startup-id systemctl poweroff |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# reload changed configuration ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# 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 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# Stopping an application ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# kill focused window |
|
||||||
bindsym $mod+Shift+q kill |
|
||||||
bindsym $mod+q kill |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# Moving around in i3 ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted 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 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# moving around 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 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# Tiling parameters ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# 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) |
|
||||||
# qwerty/azerty issue for letter z |
|
||||||
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 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# choose the font ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font |
|
||||||
# is used in the bar {} block below. |
|
||||||
# choose your font |
|
||||||
font pango:Noto Mono Regular 13 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# autostart - execute applications at boot time ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# USER APPLICATIONS TO START AT BOOT |
|
||||||
|
|
||||||
# ALCI launch calamares |
|
||||||
exec --no-startup-id dex /etc/xdg/autostart/calamares.desktop |
|
||||||
|
|
||||||
#Authentication dialog |
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# applications keyboard shortcuts ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
#not workspace related |
|
||||||
# terminal |
|
||||||
bindsym $mod+Return exec --no-startup-id xterm;focus |
|
||||||
bindsym $mod+KP_Enter exec --no-startup-id xterm;focus |
|
||||||
bindsym control+mod1+t exec --no-startup-id xterm; focus |
|
||||||
bindsym control+mod1+Return exec --no-startup-id xterm; focus |
|
||||||
bindsym control+mod1+KP_Enter exec --no-startup-id xterm; focus |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# screenshots ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
bindsym Print exec --no-startup-id scrot 'alci-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' |
|
||||||
bindsym Control+Print exec --no-startup-id xfce4-screenshooter |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# bar toggle ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# bar toggle, hide or show |
|
||||||
bindsym $mod+b bar mode toggle |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# border control ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
# Border control |
|
||||||
hide_edge_borders both |
|
||||||
bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle |
|
||||||
|
|
||||||
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 |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# Popups control ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
#Popups during fullscreen mode |
|
||||||
popup_during_fullscreen smart |
|
||||||
|
|
||||||
##################################################################################################################### |
|
||||||
################# i3 gaps next ################# |
|
||||||
##################################################################################################################### |
|
||||||
|
|
||||||
|
|
||||||
for_window [class="^.*"] border pixel 2 |
|
||||||
gaps inner 5 |
|
||||||
gaps outer 5 |
|
||||||
smart_gaps on |
|
||||||
#smart_borders on |
|
||||||
|
|
Loading…
Reference in new issue