aboutsummaryrefslogtreecommitdiff
path: root/dot_config
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2024-11-08 22:47:15 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2024-11-08 22:47:15 +0100
commit70274919e2d27a37a9a604e062a961e2d25f2dfa (patch)
tree4931df53c8adb9a6d81f2067db9082d6d7525fea /dot_config
parentb3e1a73b842173e85f503be2314d5d571732755d (diff)
Updates bashrc, aliasrc, i3 config, mpv config and vimrcHEADmaster
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/aliasrc1
-rw-r--r--dot_config/i3/config7
-rw-r--r--dot_config/mpv/mpv.conf9
3 files changed, 13 insertions, 4 deletions
diff --git a/dot_config/aliasrc b/dot_config/aliasrc
index 22ec1e4..8acf451 100644
--- a/dot_config/aliasrc
+++ b/dot_config/aliasrc
@@ -25,3 +25,4 @@ alias mpv='mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)' \
ipa='ip -c a' \
wget='wget --hsts-file="$XDG_DATA_HOME"/wget-hsts' \
scd='echo "YOU USED SCD, BE CAREFUL" ; cd' \
+ adb='HOME="$XDG_DATA_HOME"/android adb' \
diff --git a/dot_config/i3/config b/dot_config/i3/config
index 1caf83b..084c199 100644
--- a/dot_config/i3/config
+++ b/dot_config/i3/config
@@ -40,8 +40,9 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
-# start a terminal
+# Two ways to start a terminal
bindsym $mod+Return exec $TERMINAL
+bindsym Ctrl+Shift+Escape exec $TERMINAL
# kill focused window
bindsym $mod+Shift+q kill
@@ -224,7 +225,7 @@ bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the sus
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 /bin/ZZZ'"
# What happens when we hit the power button
-bindsym XF86PowerOff exec xcowsay "$(fortune -s)"
+bindsym XF86PowerOff exec xcowsay "$(date +%H:%M:%S && cat /sys/class/power_supply/BAT0/capacity && pactl get-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo | cut -d' ' -f5-6)"
######GAPS######
set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
@@ -363,7 +364,7 @@ bindsym XF86AudioNext exec playerctl next
#bindsym XF86AudioPrev exec playerctl previous
# Screenshot with scrot
-#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/screenshots && sxiv ~/Pictures/screenshots/$f'
+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/screenshots && sxiv ~/Pictures/screenshots/$f'
# (C)hromium
bindsym $mod+Shift+C exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/chromium.png "Opening" "<span color='#5D7FD2' font='26px'><b>chromium</b></span>" ; exec chromium
diff --git a/dot_config/mpv/mpv.conf b/dot_config/mpv/mpv.conf
index 0310c27..5cf8b77 100644
--- a/dot_config/mpv/mpv.conf
+++ b/dot_config/mpv/mpv.conf
@@ -1,5 +1,12 @@
save-position-on-quit
+profile=high-quality
+video-sync=display-resample
+interpolation
+hwdec=auto
+
+[extension.gif]
+osc=no
+loop-file
[pyradio]
volume=100
-