Compare commits

..

No commits in common. "beb82491cbac38b0d2c1f57613d3e235045e49ef" and "32c8859c456a3acd6b8daee90e2eb3c6ea6f7b9d" have entirely different histories.

11 changed files with 16 additions and 53 deletions

View File

@ -119,9 +119,7 @@ return require('packer').startup({ function(use)
require('dressing').setup({ require('dressing').setup({
input = { input = {
default_prompt = '', default_prompt = '',
win_options = { winhighlight = 'NormalFloat:Normal',
winhighlight = 'NormalFloat:Normal',
},
}, },
}) })
vim.cmd [[highlight link FloatTitle NonText]] vim.cmd [[highlight link FloatTitle NonText]]

View File

@ -264,7 +264,7 @@ label = %percentage_used%%
[module/wlan] [module/wlan]
type = internal/network type = internal/network
interface = wlo1 interface = wlp45s0
interval = 3.0 interval = 3.0
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>

View File

@ -1,3 +0,0 @@
#!/bin/bash
oled-brightness "$@"

View File

@ -1,32 +0,0 @@
#!/bin/sh
BR_DIR="/sys/class/backlight/intel_backlight/"
test -d "$BR_DIR" || exit 0
MIN=0
MAX=$(cat "$BR_DIR/max_brightness")
VAL=$(cat "$BR_DIR/brightness")
if [ "$1" = down ]; then
VAL=$((VAL-4096))
else
VAL=$((VAL+4096))
fi
if [ "$VAL" -lt $MIN ]; then
VAL=$MIN
elif [ "$VAL" -gt $MAX ]; then
VAL=$MAX
fi
PERCENT=`echo "$VAL / $MAX" | bc -l`
export XAUTHORITY=$HOME/.Xauthority # CHANGE "ivo" TO YOUR USER
export DISPLAY=:0
echo "xrandr --output eDP-1 --brightness $PERCENT" > /tmp/oled-brightness.log
xrandr --output eDP-1 --brightness $PERCENT
echo $VAL | sudo tee "$BR_DIR/brightness"

View File

@ -70,10 +70,10 @@ XF86AudioPrev
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
XF86MonBrightnessUp XF86MonBrightnessUp
ctl-brightness up brightnessctl s 16+
XF86MonBrightnessDown XF86MonBrightnessDown
ctl-brightness down brightnessctl s 16-
# spotify # spotify
super + ctrl + alt + Up super + ctrl + alt + Up

View File

@ -26,9 +26,9 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[usenames,dvipsnames]{xcolor} \RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{bm} \RequirePackage{bm}
\RequirePackage{siunitx}[=v2] \RequirePackage{siunitx}
\RequirePackage{physics} \RequirePackage{physics}
\RenewCommandCopy\qty\SI% \let\qty\SI%
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{xifthen} \RequirePackage{xifthen}
\RequirePackage{import} \RequirePackage{import}

View File

@ -25,9 +25,9 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[usenames,dvipsnames]{xcolor} \RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{bm} \RequirePackage{bm}
\RequirePackage{siunitx}[=v2] \RequirePackage{siunitx}
\RequirePackage{physics} \RequirePackage{physics}
\RenewCommandCopy\qty\SI% \let\qty\SI%
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{xifthen} \RequirePackage{xifthen}
\RequirePackage{import} \RequirePackage{import}

View File

@ -22,9 +22,9 @@
\RequirePackage{geometry} \RequirePackage{geometry}
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[usenames,dvipsnames]{xcolor} \RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{siunitx}[=v2] \RequirePackage{siunitx}
\RequirePackage{physics} \RequirePackage{physics}
\RenewCommandCopy\qty\SI% \let\qty\SI%
\RequirePackage{bm} \RequirePackage{bm}
\RequirePackage{pgfplots} \RequirePackage{pgfplots}
\pgfplotsset{ \pgfplotsset{

View File

@ -25,9 +25,9 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[usenames,dvipsnames]{xcolor} \RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{bm} \RequirePackage{bm}
\RequirePackage{siunitx}[=v2] \RequirePackage{siunitx}
\RequirePackage{physics} \RequirePackage{physics}
\RenewCommandCopy\qty\SI% \let\qty\SI%
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{xifthen} \RequirePackage{xifthen}
\RequirePackage{import} \RequirePackage{import}

View File

@ -25,9 +25,9 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[usenames,dvipsnames]{xcolor} \RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{bm} \RequirePackage{bm}
\RequirePackage{siunitx}[=v2] \RequirePackage{siunitx}
\RequirePackage{physics} \RequirePackage{physics}
\RenewCommandCopy\qty\SI% \let\qty\SI%
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{xifthen} \RequirePackage{xifthen}
\RequirePackage{import} \RequirePackage{import}

View File

@ -25,9 +25,9 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[usenames,dvipsnames]{xcolor} \RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{bm} \RequirePackage{bm}
\RequirePackage{siunitx}[=v2] \RequirePackage{siunitx}
\RequirePackage{physics} \RequirePackage{physics}
\RenewCommandCopy\qty\SI% \let\qty\SI%
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{xifthen} \RequirePackage{xifthen}
\RequirePackage{import} \RequirePackage{import}