config update
This commit is contained in:
parent
0ecad56b8e
commit
cf6147c7b4
8 changed files with 26 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
shadow-opacity = 0.8;
|
shadow-opacity = 1;
|
||||||
shadow = true;
|
shadow = true;
|
||||||
shadow-radius = 0;
|
shadow-radius = 0;
|
||||||
shadow-offset-x = -2;
|
shadow-offset-x = -2;
|
||||||
|
|
|
@ -46,7 +46,7 @@ set color_win_title_attr=default
|
||||||
set color_win_title_bg=default
|
set color_win_title_bg=default
|
||||||
set color_win_title_fg=white
|
set color_win_title_fg=white
|
||||||
set confirm_run=true
|
set confirm_run=true
|
||||||
set continue=false
|
set continue=true
|
||||||
set continue_album=true
|
set continue_album=true
|
||||||
set device=/dev/cdrom
|
set device=/dev/cdrom
|
||||||
set display_artist_sort_name=false
|
set display_artist_sort_name=false
|
||||||
|
|
|
@ -212,6 +212,9 @@ bindsym $mod+o exec zsh ~/.config/i3/scripts/screenshot.sh
|
||||||
bindsym $mod+x move absolute position center
|
bindsym $mod+x move absolute position center
|
||||||
bindsym $mod+p exec pqiv -c -c -i ~/ANNOTATIONS
|
bindsym $mod+p exec pqiv -c -c -i ~/ANNOTATIONS
|
||||||
bindsym $mod+b exec zsh ~/.config/i3/scripts/screencut.sh
|
bindsym $mod+b exec zsh ~/.config/i3/scripts/screencut.sh
|
||||||
|
bindsym $mod+Ctrl+g exec zsh ~/.config/i3/scripts/grabscreen.sh
|
||||||
|
bindsym $mod+Ctrl+r exec zsh ~/.config/i3/scripts/screenrec.sh
|
||||||
|
bindsym $mod+Ctrl+q exec killall ffmpeg
|
||||||
bindsym $mod+Shift+f exec firefox -P Work -no-remote
|
bindsym $mod+Shift+f exec firefox -P Work -no-remote
|
||||||
|
|
||||||
for_window [class="URxvt" floating] resize set 1400 850
|
for_window [class="URxvt" floating] resize set 1400 850
|
||||||
|
|
5
.config/i3/scripts/grabscreen.sh
Executable file
5
.config/i3/scripts/grabscreen.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
#sudo rmmod v4l2loopback
|
||||||
|
#sudo modprobe v4l2loopback video_nr=1,2
|
||||||
|
|
||||||
|
ffmpeg -f x11grab -show_region 1 -framerate 25 $(slop -f '-video_size %wx%h -i +%x,%y') -draw_mouse 1 -f v4l2 /dev/video2
|
2
.config/i3/scripts/screenrec.sh
Executable file
2
.config/i3/scripts/screenrec.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
ffmpeg -y -threads 4 -i /dev/video2 -vcodec mpeg4 MP4/`date +%s`.mp4
|
|
@ -189,6 +189,8 @@ filextype *.ps,*.eps,*.ps.gz
|
||||||
|
|
||||||
" Djvu
|
" Djvu
|
||||||
filextype *.djvu
|
filextype *.djvu
|
||||||
|
\ {View in qpdfview}
|
||||||
|
\ qpdfview %f &> /dev/null &,
|
||||||
\ {View in zathura}
|
\ {View in zathura}
|
||||||
\ zathura %f,
|
\ zathura %f,
|
||||||
\ {View in apvlv}
|
\ {View in apvlv}
|
||||||
|
|
12
.scripts/put.sh
Executable file
12
.scripts/put.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
mkdir -p /tmp/Nextcloud/
|
||||||
|
for f in $1/*; do
|
||||||
|
echo Processing $f ...
|
||||||
|
echo put \"$f\" > /tmp/Nextcloud/nxtcldsync.lst
|
||||||
|
echo close >> /tmp/Nextcloud/nxtcldsync.lst
|
||||||
|
echo exit >> /tmp/Nextcloud/nxtcldsync.lst
|
||||||
|
cadaver -r /tmp/Nextcloud/nxtcldsync.lst\
|
||||||
|
https://netdistortion.com/remote.php/dav/files/117/dump
|
||||||
|
echo "RETURN: " $?
|
||||||
|
rm /tmp/Nextcloud/nxtcldsync.lst
|
||||||
|
done
|
Loading…
Reference in a new issue