aboutsummaryrefslogtreecommitdiff
path: root/TMV/.config
diff options
context:
space:
mode:
Diffstat (limited to 'TMV/.config')
-rw-r--r--TMV/.config/aliasrc5
-rw-r--r--TMV/.config/i3/config17
2 files changed, 15 insertions, 7 deletions
diff --git a/TMV/.config/aliasrc b/TMV/.config/aliasrc
index 7407052..af8948d 100644
--- a/TMV/.config/aliasrc
+++ b/TMV/.config/aliasrc
@@ -13,7 +13,7 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
bat_pow='sudo upower -i /org/freedesktop/UPower/devices/battery_BAT0' \
la='ls -A' \
l='ls' \
- ll='ls -l' \
+ ll='ls -lt' \
display='sxiv' \
xbacklight='sudo xbacklight' \
nox='user_nox.py' \
@@ -26,6 +26,7 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
rm='rm -v' \
rmac='rmac.py' \
vv='cd ~/Videos && ls -A *' \
- pp='cd ~/Pictures && ls -A *'
+ pp='cd ~/Pictures && ls -A *' \
+ mm='cd ~/Music && ls -A *'
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.
diff --git a/TMV/.config/i3/config b/TMV/.config/i3/config
index a5d25d2..b7fe139 100644
--- a/TMV/.config/i3/config
+++ b/TMV/.config/i3/config
@@ -141,7 +141,7 @@ bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
# reload the configuration file
-bindsym $mod+Shift+c reload
+#bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
@@ -200,14 +200,15 @@ bindsym $mod+Shift+W exec notify-send -t 5000 -i /home/mas/Pictures/icons/firefo
bindsym $mod+Shift+X exec "i3-nagbar -t warning -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo poweroff'"
bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -f fixed -m 'You pressed the restarting shortcut. Do you really eant to restart you computer?' -B 'Yes, restart it.' 'sudo reboot'"
bindsym $mod+Shift+T exec notify-send -t 5000 -i /home/mas/Pictures/icons/tor.png "Opening" "<span color='#40ff00' font='26px'><b>tor</b></span>" ; exec tor
+bindsym $mod+Shift+P exec notify-send -t 5000 -i /home/mas/Pictures/icons/firefox.png "Opening" "<span color='#ff6600' font='26px'><b>firefox</b></span>" ; exec firefox --private-window
exec --no-startup-id feh --bg-scale /home/mas/Pictures/retrowave-pyramid.png
#exec --no-startup-id nox $(cat /home/mas/.config/nox/config)
# Sreen brightness controls
-bindsym XF86MonBrightnessUp exec xbacklight -inc 1 # increase screen brightness
-bindsym XF86MonBrightnessDown exec xbacklight -dec 1 # decrease screen brightness
+bindsym XF86MonBrightnessUp exec xbacklight -inc 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # increase screen brightness
+bindsym XF86MonBrightnessDown exec xbacklight -dec 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # decrease screen brightness
# class border backgr. text indicator child_border
client.focused #c583b6 #040217 #d52c70 #F54A94 #814db3
@@ -219,10 +220,8 @@ client.placeholder #20202D #20202D #FFFFFF #0C1746 #3C3C54
client.background #D52C70
#suspend and hibernate
-#bindsym $mod+Shift+S exec sudo zzz
bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'sudo zzz'"
-#bindsym $mod+Shift+Delete exec sudo ZZZ
bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo ZZZ'"
#a bit of trolling
@@ -351,6 +350,7 @@ mode "$mode_gaps_left" {
}
gaps inner 15
+######
bindsym $mod+Shift+N exec xterm -e "newsboat"
@@ -362,3 +362,10 @@ bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
#bindsym XF86AudioPrev exec playerctl previous
+
+#screenshot
+bindsym Print exec notify-send -t 5000 -i /home/mas/Pictures/icons/screenshot.png "Launching" "<span color='cyan' font='26px'><b>scrot</b></span>" ; exec scrot --silent --exec 'mv $f ~/Pictures && sxiv ~/Pictures/$f'
+bindsym $mod+Shift+C exec notify-send -t 5000 -i /home/mas/Pictures/icons/chromium.png "Opening" "<span color='#5D7FD2' font='26px'><b>chromium</b></span>" ; exec chromium
+
+bindsym $mod+F10 exec dmenumount
+bindsym $mod+F11 exec dmenuumount