add wall paper

This commit is contained in:
Pim Kunis 2023-02-25 17:15:36 +01:00
parent 65fa6575d4
commit e8fe352cc8
8 changed files with 39 additions and 5 deletions

View file

@ -16,7 +16,6 @@ My current setup is [Linux Mint Vera](https://linuxmint.com/edition.php?id=302)
- firefox config? extensions? host own synchronizer? - firefox config? extensions? host own synchronizer?
- i3 stutters - i3 stutters
- disable system reports - disable system reports
- wallpaper
#### Neovim #### Neovim

View file

@ -0,0 +1,4 @@
[xin_-1]
file=/home/pim/Pictures/wallpapers/orphans.png
mode=0
bgcolor=#000000

View file

@ -23,6 +23,8 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# and nm-applet is a desktop environment-independent system tray GUI for it. # and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id nitrogen --restore
# Use pactl to adjust volume in PulseAudio. # Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
@ -145,8 +147,8 @@ bindsym $mod+Escape exec i3lock
set $mode_screen Screen layout: [h]ome [m]obile set $mode_screen Screen layout: [h]ome [m]obile
bindsym $mod+s mode "$mode_screen" bindsym $mod+s mode "$mode_screen"
mode "$mode_screen" { mode "$mode_screen" {
bindsym h exec ~/.config/i3/scripts/home.sh, mode "default" bindsym h exec --no-startup-id ~/.config/i3/scripts/home.sh, mode "default"
bindsym m exec ~/.config/i3/scripts/mobile.sh, mode "default" bindsym m exec --no-startup-id ~/.config/i3/scripts/mobile.sh, mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
bindsym Return mode "default" bindsym Return mode "default"

View file

@ -0,0 +1,12 @@
[geometry]
posx=0
posy=18
sizex=1916
sizey=1161
[nitrogen]
view=icon
recurse=true
sort=alpha
icon_caps=false
dirs=/home/pim/Pictures/wallpapers;

View file

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
xrandr --output eDP-1 --off --output DP-1 --primary --mode 1920x1200 --pos 0x0 --rotate normal --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off xrandr --output eDP-1 --off --output DP-1 --primary --mode 1920x1200 --pos 0x0 --rotate normal --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off && nitrogen --restore

View file

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off && nitrogen --restore

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 KiB

View file

@ -5,6 +5,7 @@
- i3-wm - i3-wm
- rofi - rofi
- i3lock - i3lock
- nitrogen
- name: Create i3 config directory - name: Create i3 config directory
file: file:
path: ~/.config/i3 path: ~/.config/i3
@ -18,3 +19,19 @@
src: "{{ role_path }}/files/scripts" src: "{{ role_path }}/files/scripts"
dest: ~/.config/i3 dest: ~/.config/i3
mode: preserve mode: preserve
- name: Copy wallpapers
copy:
src: "{{ role_path }}/files/wallpapers"
dest: ~/Pictures
- name: Create nitrogen config directory
file:
path: ~/.config/nitrogen
state: directory
- name: Copy nitrogen.cfg
copy:
src: "{{ role_path }}/files/nitrogen.cfg"
dest: ~/.config/nitrogen/nitrogen.cfg
- name: Copy bg-saved.cfg
copy:
src: "{{ role_path }}/files/bg-saved.cfg"
dest: ~/.config/nitrogen/bg-saved.cfg