backgrounds stuff
This commit is contained in:
parent
528a1a5a45
commit
a8faada3ae
|
@ -55,6 +55,8 @@ floating_modifier $mod
|
|||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec alacritty
|
||||
bindsym $mod+Shift+Return exec alacritty -e tmux a
|
||||
bindsym $mod+Ctrl+Return exec alacritty -e tmux
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
@ -151,7 +153,7 @@ exec --no-startup-id element-desktop
|
|||
exec --no-startup-id telegram-desktop
|
||||
exec --no-startup-id slack
|
||||
|
||||
exec_always xwallpaper --no-randr --maximize /usr/share/backgrounds/wallpaper.png
|
||||
exec_always xwallpaper --no-randr --maximize /home/naiji/.local/share/backgrounds/wallpaper.png
|
||||
|
||||
# Resizing windows by 10 in i3 using keyboard only
|
||||
bindsym $mod+Ctrl+l resize shrink width 5 px or 5 ppt
|
||||
|
@ -197,7 +199,7 @@ bar {
|
|||
bindsym $mod+0 mode "$mode_system"
|
||||
set $mode_system (l)ock, (e)xit, (s)uspend, (r)eboot, (Shift+s)hutdown
|
||||
mode "$mode_system" {
|
||||
bindsym l exec i3lock -i /usr/share/backgrounds/wallpaper.png, mode "default"
|
||||
bindsym l exec i3lock -i /home/naiji/.local/share/backgrounds/wallpaper.png, mode "default"
|
||||
bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
||||
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||||
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||||
|
|
|
@ -4,6 +4,7 @@ image/jpeg=nsxiv.desktop
|
|||
image/webp=nsxiv.desktop
|
||||
image/gif=nsxiv.desktop
|
||||
audio/flac=mpv.desktop
|
||||
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop
|
||||
|
||||
[Added Associations]
|
||||
image/png=nsxiv.desktop;
|
||||
|
@ -12,3 +13,4 @@ image/jpeg=nsxiv.desktop;
|
|||
image/gif=nsxiv.desktop;
|
||||
audio/flac=mpv.desktop;
|
||||
inode/directory=mpv.desktop;
|
||||
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop;
|
||||
|
|
|
@ -25,7 +25,6 @@ Videos/
|
|||
.freetalk/
|
||||
.gnupg/
|
||||
.icons/
|
||||
.local/share/
|
||||
.local/state/
|
||||
.mono/
|
||||
.mozilla/
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
mkdir -p ~/.local/
|
||||
mkdir -p ~/.local/share/
|
||||
mkdir -p ~/.local/share/backgrounds/
|
||||
|
||||
convert $1 ~/.local/share/backgrounds/full.png
|
||||
magick ~/.local/share/backgrounds/full.png -resize $(xrandr | grep '*' | cut -f 1 -d x)x$(xrandr | grep '*' | cut -f 2 -d x | cut -f 1 -d ' ')^ ~/.local/share/backgrounds/wallpaper.png
|
||||
xwallpaper --zoom ~/.local/share/backgrounds/wallpaper.png
|
||||
|
||||
sudo mkdir -p /usr/share/backgrounds/
|
||||
sudo cp ~/.local/share/backgrounds/wallpaper.png /usr/share/backgrounds/wallpaper.png
|
Binary file not shown.
After Width: | Height: | Size: 2.0 MiB |
Binary file not shown.
After Width: | Height: | Size: 2.0 MiB |
Loading…
Reference in New Issue