aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2018-11-22 14:34:13 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2018-11-22 14:34:13 +0100
commit20cdb4e7a69fd7655388ee76d32f3e8bb2acaeca (patch)
tree00fd527edb94499d83b1306bed9e35f8d58a8c00 /files
parent1782ff265f6b912160de96e17a216e469251684a (diff)
downloadconfigs-20cdb4e7a69fd7655388ee76d32f3e8bb2acaeca.tar.gz
configs-20cdb4e7a69fd7655388ee76d32f3e8bb2acaeca.zip
jue nov 22 14:34:15 CET 2018
Diffstat (limited to 'files')
-rw-r--r--files/i3/config10
-rw-r--r--files/qutebrowser/config.py11
-rw-r--r--files/ranger/rifle.conf2
-rw-r--r--files/rcs/.Xresources2
-rw-r--r--files/rcs/.bash_aliases21
5 files changed, 26 insertions, 20 deletions
diff --git a/files/i3/config b/files/i3/config
index ac6776c..2a01133 100644
--- a/files/i3/config
+++ b/files/i3/config
@@ -114,13 +114,16 @@ bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
-bindsym $mod+Control+s layout stacking
+bindsym $mod+Shift+w layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
+# toggle sticky
+bindsym $mod+Shift+s sticky toggle
+
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
@@ -177,13 +180,14 @@ client.urgent $red $black $white $red $red
# for window config
for_window [class="^.*"] border pixel 2
for_window [instance="floating"] floating enable border pixel 1
+for_window [title="floating"] floating enable border pixel 1
for_window [title="mpvfloat"] floating enable
for_window [title="mpvfloat"] sticky enable
for_window [title="mpvfloat"] border pixel 1
for_window [title="pqivfloat"] floating enable
for_window [title="pqivfloat"] sticky enable
for_window [title="pqivfloat"] border pixel 1
-assign [class="Transmission"] 5
+#assign [class="Transmission"] 5
# edge borders
hide_edge_borders both
@@ -228,7 +232,7 @@ bindsym $mod+XF86MonBrightnessDown exec bash ~/scripts/brightness.sh -$bigBright
## Programs
bindsym $mod+q exec qutebrowser
-bindsym $mod+Shift+s exec gnome-screenshot
+bindsym $mod+Control+s exec gnome-screenshot
bindsym $mod+r exec urxvt -e ranger
bindsym $mod+a exec urxvt -e alsamixer
bindsym $mod+n exec urxvt -e newsboat
diff --git a/files/qutebrowser/config.py b/files/qutebrowser/config.py
index 1154cbd..e660432 100644
--- a/files/qutebrowser/config.py
+++ b/files/qutebrowser/config.py
@@ -1533,21 +1533,22 @@ config.bind(';d', 'hint links download')
# open url with mpv
config.bind(',v', 'spawn i3 exec mpv {url}')
config.bind(',fv', 'hint links spawn i3 exec mpv {hint-url}')
-config.bind(',V', 'spawn i3 exec mpv --loop-file {url}')
+config.bind(',V', 'spawn i3 exec bash /home/inigo/scripts/mpvFloat.sh {url}')
+config.bind(',fV', 'hint links spawn i3 exec bash /home/inigo/scripts/mpvFloat.sh {hint-url}')
#download url's video in ~/videos/qutebrowser
config.bind(',d', 'spawn youtube-dl -o ~/videos/qutebrowser/%(title)s.%(ext)s {url}')
# same as previous, but showing urxvt
-config.bind(',D', 'spawn urxvt -e youtube-dl -o ~/videos/qutebrowser/%(title)s.%(ext)s {url}')
+config.bind(',D', 'spawn i3 exec bash /home/inigo/scripts/youtube-dlFloat.sh {url}')
# two same commands, using hints instead than current url
config.bind(',fd', 'hint links spawn youtube-dl -o ~/videos/qutebrowser/%(title)s.%(ext)s {hint-url}')
-config.bind(',fD', 'hint links spawn urxvt -e youtube-dl -o ~/videos/qutebrowser/%(title)s.%(ext)s {hint-url}')
+config.bind(',fD', 'hint links spawn i3 exec bash /home/inigo/scripts/youtube-dlFloat.sh {hint-url}')
# download url's audio in mp3 in ~/music/qutebrowser
config.bind(',a', 'spawn youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 {url}')
# same as previous, but showing urxvt
-config.bind(',A', 'spawn urxvt -e youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 {url}')
+config.bind(',A', 'spawn i3 exec bash /home/inigo/scripts/youtube-dlFloatAudio.sh {url}')
# two same commands, using hints instead than current url
config.bind(',fa', 'hint links spawn youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 {hint-url}')
-config.bind(',fA', 'hint links spawn urxvt -e youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 {hint-url}')
+config.bind(',fA', 'hint links spawn i3 exec bash /home/inigo/scripts/youtube-dlFloatAudio.sh {hint-url}')
# open images with pqiv
config.bind(',i', 'spawn i3 exec "pqiv -i {url}"')
config.bind(',fi', 'hint links spawn i3 exec "pqiv -i {hint-url}"')
diff --git a/files/ranger/rifle.conf b/files/ranger/rifle.conf
index bcf4c92..bc4803b 100644
--- a/files/ranger/rifle.conf
+++ b/files/ranger/rifle.conf
@@ -173,7 +173,7 @@ ext gif, has mpv, X, flag f = mpv --loop-playlist "$@"
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
-mime ^image, has pqiv, X, flag f = pqiv -- "$@"
+mime ^image, has pqiv, X, flag f = pqiv -i -- "$@"
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"
mime ^image, has mirage, X, flag f = mirage -- "$@"
diff --git a/files/rcs/.Xresources b/files/rcs/.Xresources
index b492e97..3a1c6a8 100644
--- a/files/rcs/.Xresources
+++ b/files/rcs/.Xresources
@@ -56,7 +56,7 @@ URxvt.foreground: White
URxvt.scrollBar: false
URxvt.cursorColor: #3f00ff
!URxvt.title: urxvt
-!URxvt.fading: 30
+URxvt.fading: 30
URxvt.transparent: true
URxvt.shading: 20
!URxvt.visualBell: true ! Visual signal when bell character processed
diff --git a/files/rcs/.bash_aliases b/files/rcs/.bash_aliases
index b00c739..e49b2b2 100644
--- a/files/rcs/.bash_aliases
+++ b/files/rcs/.bash_aliases
@@ -4,18 +4,19 @@ alias rmu="ranger ~/music"
alias rp="ranger ~/IIS/poland"
# config files
-alias cbash="vim .bashrc"
-alias caliases="vim .bash_aliases"
-alias cx="vim .Xresources"
-alias ci3="vim .config/i3/config"
-alias cv="vim .vimrc"
-alias cqb="vim .config/qutebrowser/config.py"
-alias cr="vim .config/ranger/rc.conf"
-alias crifle="vim .config/ranger/rifle.conf"
-alias ccmus="vim .config/cmus/autosave"
+alias cb="vim ~/.bashrc"
+alias cba="vim ~/.bash_aliases"
+alias cx="vim ~/.Xresources"
+alias ci3="vim ~/.config/i3/config"
+alias cv="vim ~/.vimrc"
+alias cqb="vim ~/.config/qutebrowser/config.py"
+alias cr="vim ~/.config/ranger/rc.conf"
+alias crifle="vim ~/.config/ranger/rifle.conf"
+alias ccmus="vim ~/.config/cmus/autosave"
+alias cg="vim ~/.gitconfig"
alias ydlmp3="youtube-dl -x --audio-format mp3"
alias starwars="telnet towel.blinkenlights.nl"
-alias upgrade="sudo apt-get udpate && sudo apt-get upgrade"
+alias upgrade="sudo apt-get update && sudo apt-get upgrade"