aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-10-29 20:03:46 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-10-29 20:03:46 +0100
commit0f43850d545f0768ef37161faea0b5449aadb749 (patch)
treeb6959be3f20e4d656c14acaac5473188ac32236e
parent4d272380c76ef36556b5eafe9830c842a49ed0a1 (diff)
downloadconfigs-0f43850d545f0768ef37161faea0b5449aadb749.tar.gz
configs-0f43850d545f0768ef37161faea0b5449aadb749.zip
Minor changes.
-rw-r--r--files/compton/compton.conf13
-rw-r--r--files/i3/config4
-rw-r--r--files/qutebrowser/config.py2
-rw-r--r--files/rcs/.bash_vars8
-rw-r--r--files/rcs/.bashrc1
-rw-r--r--files/rcs/.profile9
-rw-r--r--files/zathura/zathurarc3
7 files changed, 25 insertions, 15 deletions
diff --git a/files/compton/compton.conf b/files/compton/compton.conf
index eede8d5..faa2ac6 100644
--- a/files/compton/compton.conf
+++ b/files/compton/compton.conf
@@ -81,6 +81,7 @@ shadow-exclude = [
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
+ "name *= 'dunst'",
"name *= 'compton'",
"name *= 'Chromium'",
"name *= 'Chrome'",
@@ -104,7 +105,7 @@ shadow-ignore-shaped = false;
#
#################################
-inactive-opacity = 0.4;
+#inactive-opacity = 0.8;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
@@ -124,6 +125,10 @@ blur-background-exclude = [
"window_type = 'desktop'"
];
+opacity-rule = [
+ "70:class_g = 'URxvt' && !focused",
+];
+
#################################
#
# Fading
@@ -133,7 +138,7 @@ blur-background-exclude = [
# Fade windows during opacity changes.
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
-fade-delta = 3;
+fade-delta = 2.8;
# Opacity change between steps while fading in. (default 0.028).
fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
@@ -189,10 +194,10 @@ unredir-if-possible = true;
focus-exclude = [ ];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
-detect-transient = true;
+detect-transient = false;
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
-detect-client-leader = true;
+detect-client-leader = false;
#################################
#
diff --git a/files/i3/config b/files/i3/config
index 2e9411d..296696d 100644
--- a/files/i3/config
+++ b/files/i3/config
@@ -82,7 +82,7 @@ floating_modifier $mod
# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec urxvt -title "floating" -e tmux
-bindsym $mod+Shift+Return exec -title "floating" urxvt
+bindsym $mod+Shift+Return exec urxvt -e tmux
# kill focused window
bindsym $mod+Shift+q kill
@@ -277,8 +277,8 @@ bindsym $mod+w exec firefox https://web.whatsapp.com/
bindsym $mod+s exec screenshot.sh
bindsym Print exec screenshot.sh
bindsym $mod+a exec screenshot.sh -a
+bindsym $mod+Shift+a exec screenshot.sh -c
bindsym $mod+r exec urxvt -title "floating" -e ranger
-bindsym $mod+Shift+a exec urxvt -title "floating" -e alsamixer
bindsym $mod+c exec ~/scripts/dmenuTerm.sh
bindsym $mod+d exec ~/scripts/dmenuDic.sh
bindsym $mod+m exec ~/scripts/dmenuMount.sh
diff --git a/files/qutebrowser/config.py b/files/qutebrowser/config.py
index c8690c4..88106ae 100644
--- a/files/qutebrowser/config.py
+++ b/files/qutebrowser/config.py
@@ -1572,7 +1572,7 @@ config.bind(',Fv', 'hint all spawn i3-msg exec mpv {hint-url}')
config.bind(',V', 'spawn i3-msg exec /home/taamas/scripts/floats/mpvFloat.sh {url}')
config.bind(',fV', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/mpvFloat.sh {hint-url}')
config.bind(',FV', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/mpvFloat.sh {hint-url}')
-#download url's video in ~/videos/qutebrowser
+#download url's video
config.bind(',d', 'spawn youtube-dl --all-subs --embed-subs -o ~/downloads/videos/%(title)s.%(ext)s {url}')
# same as previous, but showing urxvt
config.bind(',D', 'spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloat.sh {url}')
diff --git a/files/rcs/.bash_vars b/files/rcs/.bash_vars
index 4a4a997..59bd4a5 100644
--- a/files/rcs/.bash_vars
+++ b/files/rcs/.bash_vars
@@ -24,7 +24,7 @@ export CONFIG_FOLDER_LOGS="$HOME/logs"
export XDG_CONFIG_HOME="$HOME/.config"
# Colors for grep
-export GREP_COLORS='ms=04;32;49:mc=04;32;49:sl=:cx=:fn=35:ln=34:bn=34:se=36'
+export GREP_COLORS='ms=04;32;49:mc=04;32;49:sl=:cx=:fn=01;34;49:ln=34:bn=34:se=36'
# Colors for gcc
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
@@ -34,7 +34,7 @@ export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quo
################
# java
-export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
+export JAVA_HOME="/usr/lib/jvm/default/"
PATH="${PATH}:${JAVA_HOME}/bin"
# add scripts folder to path
@@ -45,6 +45,10 @@ PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
# add cargo bins folder to path
PATH="$PATH:$HOME/.cargo/bin"
+
+# add pip local bins to path
+PATH="$PATH:$HOME/.local/bin"
+
# export final PATH
export PATH
diff --git a/files/rcs/.bashrc b/files/rcs/.bashrc
index 19af209..85b0a96 100644
--- a/files/rcs/.bashrc
+++ b/files/rcs/.bashrc
@@ -58,6 +58,5 @@ wd="$pur"
umode="$blue"
PS1="${keys}[${pur}\u${keys}@${pur}\h${keys}]${wd}\w${umode}\$${def} "
-# Alias definitions.
# Aliases are defined in $HOME/.bash_aliases for convenience.
[ -f "$HOME/.bash_aliases" ] && . "$HOME/.bash_aliases"
diff --git a/files/rcs/.profile b/files/rcs/.profile
index 5b7e441..bb116d9 100644
--- a/files/rcs/.profile
+++ b/files/rcs/.profile
@@ -9,9 +9,7 @@
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
- if [ -f "$HOME/.bashrc" ]; then
- . "$HOME/.bashrc"
- fi
+ [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
fi
# Source environment variables
@@ -32,6 +30,11 @@ elif [ "$(tty)" = "/dev/tty3" ] && [ ! "$(pgrep -x xfce4-session)" ]; then
cat "$HOME/.xinitrcxfce4" > "$HOME/.xinitrc"
neofetch --config "$XDG_CONFIG_HOME/neofetch/neofetchLogin.conf"
exec startx >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startxerr.log"
+elif [ "$(tty)" = "/dev/tty4" ] && [ ! "$(pgrep -x gnome-session)" ]; then
+ echo ""
+ cat "$HOME/.xinitrcgnome" > "$HOME/.xinitrc"
+ neofetch --config "$XDG_CONFIG_HOME/neofetch/neofetchLogin.conf"
+ exec startx >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startxerr.log"
elif [ "$(tty | egrep -e "/dev/tty.*")" ]; then
tmux new -s "$(tty | cut -d'/' -f3)"
fi
diff --git a/files/zathura/zathurarc b/files/zathura/zathurarc
index 926bb4d..df7b6a6 100644
--- a/files/zathura/zathurarc
+++ b/files/zathura/zathurarc
@@ -1,8 +1,7 @@
set page-padding 1
set selection-clipboard clipboard
set statusbar-home-tilde true
-#set statusbar-bg "#00FF00"
-#set statusbar-fg "#0000FF"
+
map u scroll half-up
map d scroll half-down
map D toggle_page_mode