diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-04-15 11:00:24 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-04-15 11:00:24 +0200 |
commit | e74fab986448b9b4e707dd2ae7dd089b82fc73f0 (patch) | |
tree | 9a96b7e54e0fe3d71dec21d82c58cb6b8f877e5a /files | |
parent | cc03244fa6907135b51fc13f215665e4e88c29df (diff) | |
download | configs-e74fab986448b9b4e707dd2ae7dd089b82fc73f0.tar.gz configs-e74fab986448b9b4e707dd2ae7dd089b82fc73f0.zip |
Mon Apr 15 11:00:26 CEST 2019
Diffstat (limited to 'files')
-rw-r--r-- | files/i3/config | 30 | ||||
-rw-r--r-- | files/i3blocks/config | 20 | ||||
-rw-r--r-- | files/ranger/rc.conf | 5 | ||||
-rw-r--r-- | files/rcs/.Xresources | 4 | ||||
-rw-r--r-- | files/rcs/.vimrc | 4 | ||||
-rwxr-xr-x | files/sxiv/key-handler | 14 |
6 files changed, 55 insertions, 22 deletions
diff --git a/files/i3/config b/files/i3/config index 5eb5c3b..d940ef9 100644 --- a/files/i3/config +++ b/files/i3/config @@ -53,18 +53,29 @@ set $left h set $right l # define workspaces names -set $ws1 1 -set $ws2 2 -set $ws3 3 -set $ws4 4 +set $ws1 1:๐ป +set $ws2 2:๐พ +set $ws3 3:๐ +set $ws4 4:๐ฎ set $ws5 5 -set $ws6 6 +set $ws6 6:๐ต set $ws7 7 set $ws8 8 set $ws9 9 set $ws10 10 set $wst ๐ +#set $ws1 1:I +#set $ws2 2:II +#set $ws3 3:III +#set $ws4 4:IV +#set $ws5 5:V +#set $ws6 6:VI +#set $ws7 7:VII +#set $ws8 8:VIII +#set $ws9 9:IX +#set $ws10 10:X +#set $wst ๐ # use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -111,6 +122,10 @@ bindsym $mod+Shift+Right move right bindsym $mod+Control+$left workspace prev bindsym $mod+Control+$right workspace next +# blablabla cursor keys: +bindsym $mod+Control+Left workspace prev +bindsym $mod+Control+Right workspace next + # split in horizontal orientation bindsym $mod+b split h @@ -322,13 +337,14 @@ bindsym $mod+Shift+r mode "resize" # finds out, if available) bar { position top - font pango:inconsolata 8 + font pango:inconsolata 9 separator_symbol "ยท" +strip_workspace_numbers yes colors { background $black2 statusline $white2 separator $white2 - focused_workspace $blue $blue $black2 + focused_workspace $blue $black2 $blue inactive_workspace $black2 $black2 $blue urgent_workspace $black2 $magenta $white2 } diff --git a/files/i3blocks/config b/files/i3blocks/config index b3c9731..1810d1a 100644 --- a/files/i3blocks/config +++ b/files/i3blocks/config @@ -1,13 +1,17 @@ markup=pango #separator_block_width=0 -[fortune] -color=#ffffff -color=#bceebc -#background=#6da48e -command=echo "๐ฅ $(fortune -n 55 -s | sed 's/\n/ \/ /g')" +[emojis] +command=shufEmoji.sh 1 interval=once +#[fortune] +#color=#ffffff +#color=#bceebc +##background=#6da48e +#command=echo "๐ฅ $(fortune -n 55 -s | sed 's/\n/ \/ /g')" +#interval=once + [screenRec] command=~/scripts/i3blocks/i3rec.sh interval=once @@ -58,6 +62,12 @@ label=๐ฝ command=~/scripts/i3blocks/i3disk.sh interval=30 +[litter] +label=๐ฎ +command=du -sh $HOME/litter | cut -d' ' -f1 +interval=once +signal=14 + [date] #color=#000000 #background=#eb87ff diff --git a/files/ranger/rc.conf b/files/ranger/rc.conf index c5658cb..0c61f63 100644 --- a/files/ranger/rc.conf +++ b/files/ranger/rc.conf @@ -136,7 +136,7 @@ set display_tags_in_all_columns true set update_title true # Set the title to "ranger" in the tmux program? -set update_tmux_title false +set update_tmux_title true # Shorten the title if it gets long? The number defines how many # directories are displayed at once, 0 turns off this feature. @@ -245,6 +245,9 @@ alias travel scout -aefiklst # =================================================================== # Custom +map ,d shell rm.sh %s +map ,s shell tmux split-window -p 60 -c %d & +map ,S shell tmux new-window -a -t 1 -n shell -c %d & map ,w shell setBG.sh %f & map ,W console shell ~/scripts/floats/floatBgBrowser.sh %d/ & map ,p shell asPDF.sh %f diff --git a/files/rcs/.Xresources b/files/rcs/.Xresources index 5480ba4..c71f803 100644 --- a/files/rcs/.Xresources +++ b/files/rcs/.Xresources @@ -30,8 +30,10 @@ URxvt.shading: 12 URxvt.font: xft:inconsolata:size=10,xft:symbola ! Leaving this blank stops perl from being initialized -URxvt.perl-ext: +!URxvt.perl-ext: !URxvt.perl-ext-common: fullscreen, resize-font +URxvt.perl-ext-common: font-size +URxvt.keysym.C-equal: font-size:reset !URxvt.keysym.F11: perl:fullscreen:switch !URxvt.keysym.C-J: resize-font:smaller !URxvt.keysym.C-K: resize-font:bigger diff --git a/files/rcs/.vimrc b/files/rcs/.vimrc index 79e62c0..9e495d1 100644 --- a/files/rcs/.vimrc +++ b/files/rcs/.vimrc @@ -39,8 +39,10 @@ set incsearch set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* +let g:syntastic_enable_signs = 1 +let g:systastic_aggregate_errors = 1 let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_auto_loc_list = 1 +let g:syntastic_auto_loc_list = 2 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 diff --git a/files/sxiv/key-handler b/files/sxiv/key-handler index f7e44f5..de6873a 100755 --- a/files/sxiv/key-handler +++ b/files/sxiv/key-handler @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash case "$1" in "s") @@ -8,13 +8,13 @@ case "$1" in [ "$height" ] || exit 0 modifier="" [ "$(printf "Yes\nNo" | dmenu -i -p "Maintain aspect ratio?")" = "No" ] && modifier="!" - while read file + while read -r file do convert "$file" -resize "$width"x"$height""$modifier" "$width"x"$height""$modifier"_"$file" done ;; "y") text="" - while read file + while read -r file do text="$text""$file""\n" done @@ -22,7 +22,7 @@ case "$1" in dunstify "$(xsel -ob) copied to clipboard" ;; "Y") text="" - while read file + while read -r file do text="$text""$(readlink -f "$file")""\n" done @@ -37,7 +37,7 @@ f: Flop (horizontally). . f: Flip (vertically). . y: Yank filename to clipboard. . Y: Yank file path to clipboard. . -d: Delete file (with confirmation prompt). . +d: Move file to litter. . n: Rename file. . N: Open in a new instance of sxiv. . g: Open in gimp. . @@ -48,7 +48,7 @@ m: Move images to a chosen folder. . h: Show help. ." ;; esac -while read file +while read -r file do case "$1" in "w") setBG.sh "$file" ;; @@ -65,7 +65,7 @@ do convert -flip "$file" "$file" && dunstify "$file flipped" ;; "d") - [ "$(printf "No\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && dunstify "$file deleted." ;; + rm.sh "$file" && dunstify -i "$file" "$file moved to litter." ;; "n") newname="$(dmenu -p "New name of $file?")" [ "$newname" ] && newname="$newname"'.'"${file##*.}" && [ "$(printf "No\nYes" | dmenu -i -p "Rename $file to $newname?")" = "Yes" ] && mv "$file" "$newname" && dunstify "$file renamed to $newname." ;; |