371 linhas
12 KiB
Plaintext
371 linhas
12 KiB
Plaintext
# @see: $ xmodmap
|
|
|
|
set $window Mod4
|
|
set $altleft Mod1
|
|
set $shift Shift
|
|
set $space space
|
|
set $enter Return
|
|
set $escape Escape
|
|
set $ctrl control
|
|
set $backspace BackSpace
|
|
set $left Left
|
|
set $up Up
|
|
set $right Right
|
|
set $down Down
|
|
set $tab Tab
|
|
|
|
set $mouseleft button1
|
|
set $mousemiddle button2
|
|
set $mouseright button3
|
|
set $mouseback button8
|
|
set $mousenext button9
|
|
|
|
set $wp1 "1. DBL"
|
|
set $wp2 "2. WWW"
|
|
set $wp3 "3. MAIL"
|
|
set $wp4 "4. IM"
|
|
set $wp5 "5"
|
|
set $wp6 "6. MEDIA"
|
|
set $wp7 "7. DEV"
|
|
set $wp8 "8. DEV"
|
|
set $wp9 "9. DEV"
|
|
set $wp10 "10"
|
|
set $wp11 "11"
|
|
set $wp12 "12"
|
|
|
|
# class border backgr. text indicator
|
|
client.focused #9B2A5D #000000 #ffffff #2e9ef4
|
|
client.focused_inactive #333333 #5f676a #ffffff #484e50
|
|
client.unfocused #333333 #222222 #888888 #292d2e
|
|
client.urgent #2f343a #87af15 #ffffff #900000
|
|
|
|
workspace_auto_back_and_forth yes
|
|
|
|
# @see fc-list, fc-cache -f -v
|
|
font pango:Bitstream Vera Sans Mono, 9
|
|
#
|
|
# Use Mouse+$window to drag floating windows to their wanted position
|
|
floating_modifier $window
|
|
|
|
# I3-GAPS
|
|
# gaps inner 5
|
|
# smart_gaps on
|
|
# /I3-GAPS
|
|
|
|
# start a terminal
|
|
# bindsym $window+$enter exec i3-sensible-terminal
|
|
#bindsym $window+$enter exec ~/bin/urxvt
|
|
bindsym $window+$enter exec alacritty
|
|
#bindsym $window+$enter exec urxvt
|
|
|
|
# kill focused window
|
|
bindsym $window+$shift+A kill
|
|
|
|
# start dmenu (a program launcher)
|
|
bindsym $window+d exec dmenu_run -nb '#333333' -nf '#ffffff' -sb '#982323' -p "$" -fn 'Bitstream Vera Sans Mono-9'
|
|
bindsym $window+$shift+d exec xfce4-appfinder
|
|
bindsym $window+$shift+g exec rofi -show run
|
|
|
|
# change focus
|
|
bindsym $window+j focus left
|
|
bindsym $window+k focus down
|
|
#bindsym $window+l focus u
|
|
bindsym $window+m focus right
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
bindsym $window+$left focus left
|
|
bindsym $window+$down focus down
|
|
bindsym $window+$up focus up
|
|
bindsym $window+$right focus right
|
|
|
|
# move focused window
|
|
bindsym $window+$shift+J move left
|
|
bindsym $window+$shift+K move down
|
|
bindsym $window+$shift+L move up
|
|
bindsym $window+$shift+M move right
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
bindsym $window+$shift+$left move left
|
|
bindsym $window+$shift+$down move down
|
|
bindsym $window+$shift+$up move up
|
|
bindsym $window+$shift+$right move right
|
|
|
|
bindsym $window+h split h
|
|
bindsym $window+v split v
|
|
|
|
bindsym $window+$shift+q kill
|
|
bindsym $window+f fullscreen
|
|
|
|
# change container layout (stacked, tabbed, default)
|
|
bindsym $window+s layout stacking
|
|
bindsym $window+z layout tabbed
|
|
bindsym $window+e layout default
|
|
|
|
# toggle tiling / floating
|
|
bindsym $window+$shift+$space floating toggle
|
|
|
|
bindsym $window+$space focus mode_toggle
|
|
|
|
# focus the parent container
|
|
bindsym $window+a focus parent
|
|
|
|
bindsym $window+b workspace back_and_forth
|
|
|
|
# Go to a workspace
|
|
bindsym $window+F1 workspace $wp1
|
|
bindsym $window+F2 workspace $wp2
|
|
bindsym $window+F3 workspace $wp3
|
|
bindsym $window+F4 workspace $wp4
|
|
bindsym $window+F5 workspace $wp5
|
|
bindsym $window+F6 workspace $wp6
|
|
bindsym $window+F7 workspace $wp7
|
|
bindsym $window+F8 workspace $wp8
|
|
bindsym $window+F9 workspace $wp9
|
|
bindsym $window+F10 workspace $wp10
|
|
bindsym $window+F11 workspace $wp11
|
|
bindsym $window+F12 workspace $wp12
|
|
bindsym $window+$shift+F1 move container to workspace $wp1
|
|
bindsym $window+$shift+F2 move container to workspace $wp2
|
|
bindsym $window+$shift+F3 move container to workspace $wp3
|
|
bindsym $window+$shift+F4 move container to workspace $wp4
|
|
bindsym $window+$shift+F5 move container to workspace $wp5
|
|
bindsym $window+$shift+F6 move container to workspace $wp6
|
|
bindsym $window+$shift+F7 move container to workspace $wp7
|
|
bindsym $window+$shift+F8 move container to workspace $wp8
|
|
bindsym $window+$shift+F9 move container to workspace $wp9
|
|
bindsym $window+$shift+F10 move container to workspace $wp10
|
|
bindsym $window+$shift+F11 move container to workspace $wp11
|
|
bindsym $window+$shift+F12 move container to workspace $wp12
|
|
bindsym $window+$shift+C reload
|
|
bindsym $window+$shift+R restart
|
|
bindsym $window+$shift+E exit
|
|
bindsym $window+r mode "resize"
|
|
bindsym --whole-window $window+$mousemiddle floating toggle
|
|
bindsym --whole-window $window+$mouseback move left
|
|
bindsym --whole-window $window+$mousenext move right
|
|
|
|
mode "resize" {
|
|
bindsym h resize shrink width 5 px or 5 ppt
|
|
bindsym j resize grow height 5 px or 5 ppt
|
|
bindsym u resize shrink height 5 px or 5 ppt
|
|
bindsym k resize grow width 5 px or 5 ppt
|
|
|
|
# same bindings, but for the arrow keys
|
|
bindsym $right resize shrink width 5 px or 5 ppt
|
|
bindsym $up resize grow height 5 px or 5 ppt
|
|
bindsym $down resize shrink height 5 px or 5 ppt
|
|
bindsym $left resize grow width 5 px or 5 ppt
|
|
|
|
bindsym $enter mode "default"
|
|
bindsym $escape mode "default"
|
|
}
|
|
|
|
bindsym Print exec ~/bin/screenshot
|
|
bindsym $altleft+F10 exec ~/bin/screenshot_zone
|
|
bindsym $window+Print exec ~/bin/upload_wall
|
|
# bindsym $window+$altleft+l exec ~/bin/lock
|
|
bindsym $window+$altleft+l exec i3lock-fancy
|
|
bindsym $window+$shift+t exec monitordisplay -t
|
|
bindsym $window+$backspace move scratchpad
|
|
bindsym $window+$shift+$backspace scratchpad show
|
|
bindsym XF86MonBrightness$up exec xbacklight + 7
|
|
bindsym XF86MonBrightness$down exec xbacklight - 7
|
|
bindsym $shift+$window+h exec xbacklight + 7
|
|
bindsym $shift+$window+n exec xbacklight - 7
|
|
bindsym $window+$altleft+$shift+n exec mpc next
|
|
bindsym $window+$altleft+$shift+h exec mpc prev
|
|
bindsym $window+$altleft+$shift+p exec mpc toggle
|
|
bindsym $window+$altleft+n exec playerctl -p spotify next
|
|
bindsym $window+$altleft+h exec playerctl -p spotify previous
|
|
bindsym $window+$altleft+p exec playerctl -p spotify play-pause
|
|
bindsym XF86HomePage exec ~/bin/uzbl
|
|
bindsym XF86AudioRaiseVolume exec amixer set Master 2%+
|
|
bindsym XF86AudioLowerVolume exec amixer set Master 2%-
|
|
bindsym $altleft+g exec amixer set Master 2%+
|
|
bindsym $altleft+b exec amixer set Master 2%-
|
|
bindsym $window+p exec ~/.i3/bin/i3_switch_workspace.php previous
|
|
bindsym $window+n exec ~/.i3/bin/i3_switch_workspace.php next
|
|
bindsym $altleft+F1 exec ~/.i3/bin/i3_switch_focus_container.php 1
|
|
bindsym $altleft+F2 exec ~/.i3/bin/i3_switch_focus_container.php 2
|
|
bindsym $altleft+F3 exec ~/.i3/bin/i3_switch_focus_container.php 3
|
|
bindsym $altleft+F4 exec ~/.i3/bin/i3_switch_focus_container.php 4
|
|
bindsym $altleft+F5 exec ~/.i3/bin/i3_switch_focus_container.php 5
|
|
bindsym $altleft+F6 exec ~/.i3/bin/i3_switch_focus_container.php 6
|
|
bindsym $window+x move workspace to output left
|
|
bindsym $window+c exec ~/.i3/bin/i3_switch_monitor_wrapper.sh
|
|
bindsym $altleft+$shift+h exec ~/.i3/bin/i3_move_mouse.sh left
|
|
bindsym $altleft+$shift+k exec ~/.i3/bin/i3_move_mouse.sh right
|
|
bindsym $altleft+$shift+u exec ~/.i3/bin/i3_move_mouse.sh up
|
|
bindsym $altleft+$shift+j exec ~/.i3/bin/i3_move_mouse.sh down
|
|
bindsym $window+$shift+y exec ~/.i3/bin/i3_mouse_click.sh
|
|
bindsym $altleft+$tab exec ~/.i3/bin/i3_switch_window.php
|
|
bindsym $ctrl+$shift+f exec ~/bin/search
|
|
bindsym $ctrl+$altleft+$shift+e exec sudo shutdown -h now
|
|
bindsym $ctrl+$altleft+$shift+r exec sudo shutdown -r now
|
|
bindsym $ctrl+$altleft+$shift+h exec systemctl suspend
|
|
bindsym $ctrl+$window+e exec pcmanfm
|
|
bindsym XF86Calculator exec qalculate
|
|
bindsym $window+l exec mlclipboard
|
|
bindsym $window+$shift+S exec i3-msg "sticky toggle"
|
|
|
|
|
|
#bindsym $window+$shift+p exec --no-startup-id ~/.i3/bin/promote-window.py
|
|
|
|
for_window [class=".*Steam.*"] floating enable
|
|
for_window [class=".*gnome-weather.*"] floating enable
|
|
for_window [title="CSSH "] floating enable
|
|
for_window [title="X2Go"] floating enable
|
|
for_window [title="florence"] floating enable
|
|
for_window [title="Yakuake"] floating enable
|
|
for_window [title="SM-G950F"] floating enable
|
|
for_window [title="OTPClient"] floating enable
|
|
for_window [title="Syncthing-GTK"] floating enable
|
|
for_window [title="FLOAT"] floating enable
|
|
#for_window [title="sms-send"] floating enable
|
|
for_window [title="Deluge"] floating enable
|
|
#for_window [title="VirtualBox"] floating enable
|
|
for_window [title="Thème du panel tint2"] floating enable
|
|
for_window [title="Gestionnaire de tâches"] floating enable
|
|
for_window [title="Liste des applications"] floating enable
|
|
for_window [title="crire un SMS"] floating enable
|
|
for_window [title="OBS"] floating enable
|
|
for_window [title="SimpleScreenRecorder"] floating enable
|
|
for_window [title="QuickSynergy"] floating enable
|
|
for_window [title="recordMyDesktop"] floating enable
|
|
for_window [title="Redmine - Desktop client"] floating enable
|
|
for_window [title="Sozi"] floating enable
|
|
for_window [title="Volti"] floating enable
|
|
for_window [title="Choqok"] floating enable
|
|
for_window [title="xmessage_upload"] floating enable
|
|
for_window [title="ouvrir une session"] floating enable
|
|
for_window [title="Wicd"] floating enable
|
|
for_window [title="Qalculate!"] floating enable
|
|
for_window [title="Gnuplot"] floating enable
|
|
for_window [title="Network Connect"] floating enable
|
|
for_window [title="Android Emulator"] floating enable
|
|
for_window [title="Guake"] floating enable
|
|
for_window [title="^Agenda$"] floating enable
|
|
for_window [title="^Wireguard GUI$"] floating enable
|
|
for_window [title=".*"] border 1pixel
|
|
|
|
bar {
|
|
status_command ~/make/i3blocks/i3blocks -c ~/.i3/bar/bar1.conf
|
|
position top
|
|
tray_output primary
|
|
|
|
output DP1
|
|
output DP3
|
|
output HDMI1
|
|
output eDP-1
|
|
output eDP1
|
|
|
|
colors {
|
|
background #000000
|
|
statusline #ffffff
|
|
#border bg text
|
|
# focused_workspace #a74068 #bd4875 #ffffff
|
|
# focused_workspace #05abba #07c0d4 #01282c
|
|
focused_workspace #333333 #333333 #07c0d4
|
|
active_workspace #5f676a #5f676a #ffffff
|
|
inactive_workspace #222222 #222222 #bababa
|
|
urgent_workspace #5aaad8 #6ac6ff #ffffff
|
|
}
|
|
}
|
|
|
|
bar {
|
|
status_command ~/make/i3blocks/i3blocks -c ~/.i3/bar/bar2.conf
|
|
workspace_buttons no
|
|
position bottom
|
|
tray_output none
|
|
|
|
output DP1
|
|
output DP3
|
|
output HDMI1
|
|
output eDP-1
|
|
output eDP1
|
|
|
|
colors {
|
|
background #000000
|
|
statusline #ffffff
|
|
#border bg text
|
|
# focused_workspace #a74068 #bd4875 #ffffff
|
|
# focused_workspace #05abba #07c0d4 #01282c
|
|
focused_workspace #333333 #333333 #07c0d4
|
|
active_workspace #5f676a #5f676a #ffffff
|
|
inactive_workspace #222222 #222222 #bababa
|
|
urgent_workspace #5aaad8 #6ac6ff #ffffff
|
|
}
|
|
}
|
|
|
|
#bar {
|
|
# status_command ~/.i3/processList.sh
|
|
# workspace_buttons no
|
|
# position bottom
|
|
# tray_output none
|
|
# output eDP-1
|
|
# output eDP1
|
|
# output HDMI1
|
|
# output DP1
|
|
# mode hide
|
|
# modifier $altleft
|
|
#
|
|
# colors {
|
|
# background #000000
|
|
# statusline #ffffff
|
|
# #border bg text
|
|
# focused_workspace #a74068 #bd4875 #ffffff
|
|
# active_workspace #333333 #5f676a #ffffff
|
|
# inactive_workspace #111111 #111111 #888888
|
|
# urgent_workspace #5aaad8 #6ac6ff #ffffff
|
|
# }
|
|
#}
|
|
|
|
exec ~/bin/pulseaudio-start
|
|
exec ~/bin/reload_wallpaper
|
|
exec ~/bin/remote_i3_server
|
|
exec ~/bin/picom-desk
|
|
exec rm ~/.cache/dmenu_run
|
|
# exec ~/make/with-ex-editor
|
|
# exec rofi -key-run 'SuperL+Alt+d' -Key-ssh 'SuperL+Alt+s' -key-window 'SuperL+Alt+w'
|
|
# exec flatpak run me.kozec.syncthingtk --minimized
|
|
exec syncthing-gtk -m
|
|
exec feh --bg-fill ~/wallpaper.jpg
|
|
exec setxkbmap fr oss
|
|
exec mpd
|
|
exec nextcloud
|
|
exec gpg-agent --daemon
|
|
exec nm-applet
|
|
exec blueman-applet
|
|
exec systemctl --user start xfce4-notifyd
|
|
exec sleep 3 && monitordisplay -s -m laptop
|
|
exec sleep 3 && monitordisplay -s -m hdmi
|
|
exec redshift-gtk -t 5500:3500 -m randr -l 47.51659:6.7809
|
|
exec xfce4-power-manager
|
|
exec kdeconnect-indicator
|
|
exec xbacklight + 100
|
|
exec ~/bin/joplin
|
|
exec xdg-mime default pcmanfm.desktop inode/directory
|
|
exec xdg-mime default pcmanfm.desktop inode/mount-point
|
|
#exec xdg-mime default firefox.desktop x-scheme-handler/https
|
|
exec xdg-mime default org.pwmt.zathura application/pdf
|
|
exec sudo /usr/local/bin/powertop-tuning
|
|
exec yakuake
|
|
#exec espanso service start --unmanaged
|
|
|
|
# exec sudo service alsa-utils stop && pulseaudio --start
|
|
# exec alsactl init -c 1
|
|
# exec start-pulseaudio-x11
|
|
# exec alsactl init
|
|
# exec pulseaudio -D && start-pulseaudio-x11
|
|
# exec start-pulseaudio-x11
|
|
# exec tint2
|
|
# exec xfce4-clipman
|
|
# exec volumeicon
|
|
# exec pasystray
|
|
# exec ~/bin/sshplus.py
|
|
# exec blueman-applet
|
|
# exec flatpak run com.github.bajoja.indicator-kdeconnect/x86_64/stable
|
|
# exec compton
|
|
# exec ~/make/picom/build/src/picom -c -b
|
|
|