many: had this lying around in a stash idk
This commit is contained in:
parent
e19c5849ef
commit
2a8c1edfca
6 changed files with 14 additions and 12 deletions
|
@ -2,6 +2,7 @@
|
|||
# VERSION: 3.0
|
||||
SETUVAR __fish_init_2_39_8:\x1d
|
||||
SETUVAR __fish_init_2_3_0:\x1d
|
||||
SETUVAR __fish_initialized:2398
|
||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:\x2d\x2dbold
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/fish
|
||||
if pidof ddcutil
|
||||
exit 1
|
||||
end
|
||||
|
||||
xbacklight $argv[1..-1]
|
||||
set brightness (cat /sys/class/backlight/intel_backlight/brightness)
|
||||
set bar (seq -s "─" 0 (math $brightness / 42) | tr -d '[:digit:]')
|
||||
|
||||
|
@ -11,7 +8,7 @@ set body "$percentage\n $bar"
|
|||
set title ' Helderheid'
|
||||
|
||||
set file /tmp/notify-brightness.id
|
||||
set age (find "$file" -cmin -0,025)
|
||||
set age (find "$file" -cmin -0.025)
|
||||
if [ -n "$age" ]
|
||||
notify-send.sh -r (cat "$file") -t 1500 "$title" "$body"
|
||||
touch "$file"
|
||||
|
@ -20,5 +17,3 @@ else
|
|||
echo $id > "$file"
|
||||
chmod 600 "$file"
|
||||
end
|
||||
|
||||
ddcutil setvcp 10 $brightness
|
||||
|
|
|
@ -23,6 +23,8 @@ import re
|
|||
# http://fortawesome.github.io/Font-Awesome/icons/
|
||||
FA_CHROME = "\uF268"
|
||||
FA_CODE = "\uF121"
|
||||
FA_CODE_BRANCH = "\uF126"
|
||||
FA_DISCORD = "\uF392"
|
||||
FA_DOWNLOAD = "\uF019"
|
||||
FA_FILE_PDF_O = "\uF1C1"
|
||||
FA_FILE_TEXT_O = "\uF0F6"
|
||||
|
@ -50,10 +52,11 @@ XORG_ICONS = {
|
|||
"chromium": FA_CHROME,
|
||||
"code": FA_CODE,
|
||||
"code-oss": FA_CODE,
|
||||
"discord": FA_DISCORD,
|
||||
"emacs": FA_CODE,
|
||||
"evince": FA_FILE_PDF_O,
|
||||
"feh": FA_PICTURE_O,
|
||||
"Firefox": FA_FIREFOX,
|
||||
"firefox": FA_FIREFOX,
|
||||
"gimp-2.10": FA_PAINT_BRUSH,
|
||||
"gnome-calendar": FA_CALENDAR,
|
||||
"Gnome-terminal": FA_TERMINAL,
|
||||
|
@ -66,7 +69,6 @@ XORG_ICONS = {
|
|||
"libreoffice": FA_FILE_TEXT_O,
|
||||
"mupdf": FA_FILE_PDF_O,
|
||||
"nautilus": FA_FOLDER,
|
||||
"notion-nativefier-102b2f": FA_BOOK,
|
||||
"org.gnome.Nautilus": FA_FOLDER,
|
||||
"pulseeffects": FA_VOLUME_UP,
|
||||
"slic3r-gui": FA_CUBE,
|
||||
|
@ -114,6 +116,7 @@ WAYLAND_ICONS = {
|
|||
"Steam": FA_STEAM,
|
||||
"subl": FA_CODE,
|
||||
"subl3": FA_CODE,
|
||||
"sublime_merge": FA_CODE_BRANCH,
|
||||
"telegramdesktop": FA_TELEGRAM,
|
||||
"termite": FA_TERMINAL,
|
||||
"thunar": FA_FOLDER,
|
||||
|
|
|
@ -35,7 +35,7 @@ end
|
|||
set title "$icon Volume ($name)"
|
||||
|
||||
set file /tmp/notify-volume.id
|
||||
set age (find "$file" -cmin -0,025)
|
||||
set age (find "$file" -cmin -0.025)
|
||||
if [ -n "$age" ]
|
||||
notify-send.sh -r (cat "$file") -t 1500 "$title" "$body"
|
||||
touch "$file"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
default-timeout=10000
|
||||
layer=overlay
|
||||
|
||||
background-color=#292B2EFF
|
||||
border-color=#4DB6ACFF
|
||||
|
|
|
@ -115,7 +115,7 @@ bindsym $mod+e layout toggle split
|
|||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
# bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+d focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
@ -218,7 +218,7 @@ for_window [class="^jetbrains-toolbox$"] floating enable
|
|||
for_window [app_id="^gnome-calculator$"] floating enable
|
||||
for_window [app_id="^qemu$"] floating enable
|
||||
for_window [class="^jetbrains-" title="^win0$"] floating enable
|
||||
for_window [app_id="^thunar$" title="^Voortgang van bestandbewerking$"] floating enable
|
||||
for_window [title="^Select Folder$"] floating enable
|
||||
|
||||
# Light theme
|
||||
## class border backgr. text indic. child_border
|
||||
|
@ -259,6 +259,7 @@ bindsym $mod+r mode "resize"
|
|||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
icon_theme suru
|
||||
colors {
|
||||
# Light theme
|
||||
#background #fafafa
|
||||
|
@ -302,6 +303,7 @@ input "2:10:TPPS/2_IBM_TrackPoint" {
|
|||
|
||||
input type:keyboard {
|
||||
xkb_options caps:backspace,compose:ralt
|
||||
xkb_layout us
|
||||
}
|
||||
|
||||
exec --no-startup-id source /etc/profile
|
||||
|
|
Loading…
Reference in a new issue