diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index 87bfb06..93b7a61 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -318,7 +318,7 @@ colors: # # Window opacity as a floating point number from `0.0` to `1.0`. # The value `0.0` is completely transparent and `1.0` is opaque. -background_opacity: 1 +background_opacity: 0.75 #selection: #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" diff --git a/awesome/init.fnl b/awesome/init.fnl index 80fb3e7..c93e32d 100644 --- a/awesome/init.fnl +++ b/awesome/init.fnl @@ -653,6 +653,7 @@ ;; MPV wasn't centering right (when (= c.class "mpv") (awful.placement.centered c)) (when (= c.class "imv") (awful.placement.centered c)) + (when (= c.class "Sxiv") (awful.placement.centered c)) (awful.client.focus.byidx 1) ;; Rounded windows done right diff --git a/awesome/keybindings.fnl b/awesome/keybindings.fnl index 2b932c9..d88663d 100644 --- a/awesome/keybindings.fnl +++ b/awesome/keybindings.fnl @@ -152,7 +152,7 @@ ;; Programs (awful.key [ modkey ] "d" (fn [] (awful.spawn "emacsclient -c -e '(dired-jump)'")) {:description "launch dired in new emacs frame" :group "apps" }) - (awful.key [ modkey shift ] "d" (fn [] (awful.spawn "dolphin")) + (awful.key [ modkey shift ] "d" (fn [] (awful.spawn "env QT_QPA_PLATFORMTHEME='qt5ct' dolphin")) {:description "launch dolphin file browser" :group "apps" }) (awful.key [ modkey ] "x" (fn [] (awful.spawn "emacsclient -c -e '(org-capture)'" {:floating true :placement awful.placement.centered :class "org-agenda" :instance "org-agenda"})) diff --git a/awesome/rules.fnl b/awesome/rules.fnl index cb3da5b..5834e7c 100644 --- a/awesome/rules.fnl +++ b/awesome/rules.fnl @@ -199,17 +199,24 @@ :rule_any { :class [ "fp64" + "vlc" + "Vlc" ] :instance [ "fp64" + "vlc" + "Vlc" ] :name [ - "Projection Window" + "Display Window" + "OpenLP" ] } :properties { :fullscreen true :raise true + :ontop true + :screen (screen.count) :placement (+ awful.placement.no_offscreen awful.placement.centered) } } diff --git a/imv/config b/imv/config index de3eb64..132f7d0 100644 --- a/imv/config +++ b/imv/config @@ -50,7 +50,7 @@ s = scaling next a = zoom actual r = reset -d = exec trash '$imv_current_file' +d = close; exec trash $imv_current_file; echo $imv_current_file deleted # Gif playback = next_frame diff --git a/lolcate/default/config.toml b/lolcate/default/config.toml index 03a5d6f..20f5bfb 100644 --- a/lolcate/default/config.toml +++ b/lolcate/default/config.toml @@ -13,9 +13,9 @@ dirs = [ "~/nextcloud", "~/.dotemacs", "~/.emacs.d", - "~/storage/tfc", - "~/storage/nextcloud", - "~/.dotfiles", + # "~/storage/tfc", + # "~/storage/nextcloud", + # "~/.dotfiles", "~/dotfiles", ] diff --git a/mpv/mpv.conf b/mpv/mpv.conf index b66d8dc..bd22714 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -7,6 +7,7 @@ geometry=70%:70% # input-ipc-server="/tmp/mpvsocket" hwdec=auto rtsp-transport=udp +speed=1.95 # ytdl-path=yt-dlp ytdl-format=bestvideo[height<=?720][fps<=?30]+bestaudio/best diff --git a/picom.conf b/picom.conf index dfdd07b..6fdb4b3 100644 --- a/picom.conf +++ b/picom.conf @@ -27,10 +27,10 @@ shadow-radius = 38; shadow-opacity = 1.0; # The left offset for shadows, in pixels. (defaults to -15) -shadow-offset-x = -20; +shadow-offset-x = -28; # The top offset for shadows, in pixels. (defaults to -15) -shadow-offset-y = -20; +shadow-offset-y = -28; # Avoid drawing shadows on dock/panel windows. This option is deprecated, # you should use the *wintypes* option in your config file instead. @@ -69,6 +69,7 @@ shadow-offset-y = -20; shadow-exclude = [ "name = 'Notification'", "name = 'Projection Window'", + "name = 'Display Window'", "name = 'Video'", "class_g = 'Conky'", "class_g = 'Rofi'", @@ -111,6 +112,7 @@ fade-out-step = 0.08; # don't need this, we disable fading for all normal windows with wintypes: {} fade-exclude = [ "name = 'Projection Window'", + "name = 'Display Window'", "name = 'Video'", "class_g = 'slop'" # maim ] @@ -154,6 +156,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'", "class_g = 'Bar'", # lemonbar "name = 'Projection Window'", + "name = 'Display Window'", "class_g = 'slop'", # maim "name = 'Video'", "class_g = 'mpv'" @@ -190,6 +193,7 @@ opacity-rule = [ "100:class_g = 'mpv'", "100:class_g = 'libreoffice'", "100:name = 'Projection Window'", + "100:name = 'Display Window'", "100:name = 'Video'", "100:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'", "0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'", diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 5645e34..8eb6a4f 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -2423,8 +2423,8 @@ config.bind("o", "set-cmd-text -s :open") # config.bind('', 'leave-mode', mode='command') # config.bind('', 'command-accept', mode='command') # config.bind('', 'completion-item-del', mode='command') -# config.bind('', 'completion-item-focus prev', mode='command') -# config.bind('', 'completion-item-focus next', mode='command') +config.bind('', 'completion-item-focus prev', mode='command') +config.bind('', 'completion-item-focus next', mode='command') # config.bind('', 'completion-item-focus --history prev', mode='command') ## Bindings for hint mode diff --git a/rofi/launchers-git/laptop-search.rasi b/rofi/launchers-git/laptop-search.rasi new file mode 100644 index 0000000..585f5a1 --- /dev/null +++ b/rofi/launchers-git/laptop-search.rasi @@ -0,0 +1,13 @@ +/*-*- mode: css; -*-*/ + + +configuration { + font: "VictorMono Nerd Font 22.0"; + show-icons: false; +} +@import "/home/chris/.config/rofi/config.rasi" + + +window { + width: 70%; +} diff --git a/scripts/batinfo b/scripts/batinfo new file mode 100755 index 0000000..b531dde --- /dev/null +++ b/scripts/batinfo @@ -0,0 +1,10 @@ +#!/bin/sh +capacity=$(cat /sys/class/power_supply/BAT1/capacity) +status=$(cat /sys/class/power_supply/BAT1/status) + +if [ $status = 'Charging' ]; then + + icon='' +fi + + echo $icon $capacity diff --git a/scripts/filesearch b/scripts/filesearch index 8378019..b1e9ed3 100755 --- a/scripts/filesearch +++ b/scripts/filesearch @@ -7,7 +7,7 @@ else #echo "this is not hidpi" fi -lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style-rbw.rasi | xargs -r0 xdg-open $@ & +lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style-search.rasi | xargs -r0 xdg-open $@ & c=0 while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do sleep .1 diff --git a/scripts/rifle-imv b/scripts/rifle-imv index cf2b95b..493cdca 100755 --- a/scripts/rifle-imv +++ b/scripts/rifle-imv @@ -41,7 +41,7 @@ abspath () { listfiles () { find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \ - '.*\(jpe?g\|bmp\|png\|gif\)$' -print0 | sort -z + '.*\(jpe?g\|bmp\|png\|gif\)$' -print0 | sort -z } target="$(abspath "$1")" diff --git a/sxiv/exec/key-handler b/sxiv/exec/key-handler index fa046cf..d2c0ea3 100755 --- a/sxiv/exec/key-handler +++ b/sxiv/exec/key-handler @@ -26,7 +26,7 @@ do readlink -f "$file" | tr -d '\n' | xclip -selection clipboard && notify-send "$(readlink -f "$file") copied to clipboard" & ;; "d") - [ "$(printf "No\\nYes" | rofi -dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;; + [ "$(printf "No\\nYes" | rofi -dmenu -i -p "Really delete $file?")" = "Yes" ] && trash "$file" && notify-send "$file deleted." ;; "g") ifinstalled gimp && setsid -f gimp "$file" ;; "i") notify-send "File information" "$(mediainfo "$file")" ;; esac