local changes to artixbook
This commit is contained in:
@@ -72,11 +72,11 @@ bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] exec -
|
||||
bindsym $mod+w exec --no-startup-id $BROWSER
|
||||
bindsym $mod+Shift+w exec $term -e nmtui
|
||||
|
||||
#bindsym $mod+e exec --no-startup-id element-desktop
|
||||
bindsym $mod+Shift+e exec --no-startup-id dmenuunicode
|
||||
#bindsym $mod+r exec --no-startup-id element-desktop
|
||||
bindsym $mod+Shift+r exec --no-startup-id dmenuunicode
|
||||
|
||||
bindsym $mod+r exec $term -e lf
|
||||
bindsym $mod+Shift+r exec $term -e ranger
|
||||
bindsym $mod+e exec $term -e lf
|
||||
bindsym $mod+Shift+e exec $term -e ranger
|
||||
|
||||
#bindsym $mod+y exec $term -e calcurse
|
||||
bindsym $mod+Shift+y exec --no-startup-id i3resize left
|
||||
|
||||
@@ -22,6 +22,7 @@ cmd open ${{
|
||||
image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\)\(_large\)*$" | sxiv -aio 2>/dev/null | lf-select ;;
|
||||
audio/*) mpv --audio-display=no $f ;;
|
||||
video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
|
||||
application/vnd.oasis.opendocument*|application/vnd.collabio.xodocuments*) setsid -f libreoffice $f >/dev/null 2>&1 ;;
|
||||
application/pdf|application/vnd*|application/epub*) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
||||
*) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
|
||||
esac
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"query:astro-interesting:tags # \"astro\" and (content # \"AGN\" or content =~ \"polari.*\") and unread = \"yes\"" astro
|
||||
"query:astro-interesting:tags # \"astro\" and (content # \"AGN\" or content =~ \"polari\") and unread = \"yes\"" astro
|
||||
"query:astro-open-new:tags # \"astro\" and tags # \"open-pub\" and unread = \"yes\"" astro open-pub
|
||||
"query:astro-priv-new:tags # \"astro\" and tags # \"priv-pub\" and unread = \"yes\"" astro priv-pub
|
||||
https://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/meetings/rssFeed astro meeting
|
||||
|
||||
@@ -66,10 +66,12 @@ case "$chosen" in
|
||||
chosen="${chosen%% *}"
|
||||
chosen="${chosen:1}" # This is a bashism.
|
||||
attemptmount || getmount
|
||||
partitiontype="$(lsblk -no "fstype" "$chosen")"
|
||||
partitiontype="$(sudo -A lsblk -no "fstype" "$chosen")"
|
||||
userid="$(id -u)"
|
||||
groupid="$(id -g)"
|
||||
case "$partitiontype" in
|
||||
"vfat") sudo -A mount -t vfat "$chosen" "$mp" -o rw,umask=0000;;
|
||||
*) sudo -A mount "$chosen" "$mp"; user="$(whoami)"; ug="$(groups | awk '{print $1}')"; sudo -A chown "$user":"$ug" "$mp";;
|
||||
"vfat") sudo -A mount -t vfat "$chosen" "$mp" -o rw,uid="$userid",gid="$groupid",umask=0000;;
|
||||
*) sudo -A mount "$chosen" "$mp"; sudo -A chown "$userid":"$groupid" "$mp";;
|
||||
esac
|
||||
# sudo -A mount "$chosen" "$mp" -o uid="$(id -u)",gid="$(id -g)"
|
||||
notify-send "💾Drive Mounted." "$chosen mounted to $mp."
|
||||
|
||||
Reference in New Issue
Block a user