Add background image to configuration.

This commit is contained in:
Danila Fedorin 2020-07-13 21:43:26 -07:00
parent dbd151e0d6
commit aa132119c7
1 changed files with 6 additions and 2 deletions

View File

@ -30,7 +30,7 @@ font pango:Source Code Pro 8
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec alacritty
# kill focused window
bindsym $mod+Shift+q kill
@ -134,7 +134,8 @@ 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'"
# 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'"
bindsym $mod+Shift+e exec i3-msg exit
# resize window (you can also use the mouse for that)
mode "resize" {
@ -172,7 +173,10 @@ bindsym $mod+r mode "resize"
# Polybar
exec_always --no-startup-id ~/.polybar.sh
# Compton
exec_always --no-startup-id compton
# Wallpaper
exec_always feh --bg-scale ~/background.jpg
# Remove window borders
for_window [class="^.*"] border pixel 0
# Set up gaps