diff --git a/README b/README index ea1b8ba..8508a94 100644 --- a/README +++ b/README @@ -4,25 +4,30 @@ | | | | | |- | | |-' `-. `-' `-' `-' | ' ' `-' `-' -' [1] -Window Manager - bspwm[6], with tabs via tabbed[7] -Terminal - Kitty[3] -Browser - qutebrowser[4] -Panel - tint2[5] +| The Cape fox (Vulpes chama), also called the asse, cama fox or the silver-backed fox, is a small species of fox, native to southern Africa. -Screenshot in ./screenshot.png, if it pleases +Required +‾‾‾‾‾ +- bspwm +- sxhkd +- tint2 +- feh +- rofi +- mate-power-manager +- nm-applet +- alacritty +Programs I use with this setup +‾‾‾‾‾ +- sxiv +- ncspot +- flameshot Theme ‾‾‾‾‾ Right now I use a Kaolin Dark theme. Many themes are pulled directly from alternateved/kaolin-inspired[2] - Links ‾‾‾‾‾ 1. Ascii font is "Shimrod" from http://www.patorjk.com/software/taag (other cool small fonts are "script", and "stampatello") -2. https://github.com/alternateved/kaolin-inspired -3. https://sw.kovidgoyal.net/kitty -4. https://qutebrowser.org -5. https://wiki.archlinux.org/title/Tint2 -6. https://github.com/baskerville/bspwm -7. https://tools.suckless.org/tabbed +2. https://github.com/alternateved/kaolin-inspired \ No newline at end of file diff --git a/archive.sh b/archive.sh index a71a708..c342dd3 100755 --- a/archive.sh +++ b/archive.sh @@ -4,26 +4,21 @@ dir=$PWD scripts_subdir=$(echo "$PWD/scripts") rsync -a ~/pictures/wallpapers/* wallpapers/ +cp ~/.chama "$scripts_subdir/chama" cd config -rsync -a ~/.config/kitty . rsync -a --exclude 'bookmarks' ~/.config/qutebrowser . rsync -a ~/.config/bspwm . rsync -a ~/.config/sxhkd . rsync -a ~/.config/tint2/tint2rc tint2/ -rsync -a ~/.config/lxqt . -rsync -a ~/.config/rofi . -cp ~/.config/picom.conf . cd ~/bin cp \ bsp-float \ -bsp-floating-only \ bsp-smove \ -bsp-status \ bsp-toggle-visibility \ -ezmount \ pfetch \ +power \ qutesearch \ rofi-ask \ tabc-smart-detach \ diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 1646f6f..7558d83 100755 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -5,6 +5,7 @@ PATH="/home/dakedres/bin:$PATH" pgrep -x sxhkd > /dev/null || sxhkd & wmname LG3D & +greenclip daemon & bspc monitor -d I II III IV V @@ -34,4 +35,4 @@ bspc rule -a Screenkey manage=off xsetroot -cursor_name left_ptr & -export _JAVA_AWT_WM_NONREPARENTING=1 \ No newline at end of file +export _JAVA_AWT_WM_NONREPARENTING=1 diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf deleted file mode 100644 index 4d6f2d0..0000000 --- a/config/kitty/kitty.conf +++ /dev/null @@ -1,69 +0,0 @@ -# Theme: https://github.com/alternateved/kaolin-inspired/blob/main/kaolin-dark/kitty/Kaolin_Dark.conf - -shell fish -editor micro - -enable_audio_bell no - -font_family Ubuntu Mono -bold_font Ubuntu Medium -italic_font Ubuntu Italic -bold_italic_font Ubuntu Medium Italic -font_size 11.5 - -## name: Kaolin Dark -## author: Ogden Webb -## license: GNU GPLv3 -## blurb: Dark jade theme inspired by Sierra.vim. - -# The basic colors -foreground #E4E4E8 -background #18181B -selection_foreground #18181B -selection_background #E4E4E8 - -# Cursor colors -cursor #E4E4E8 -cursor_text_color #ffffff - -# kitty window border colors -active_border_color #4D9391 -inactive_border_color #4B5254 - -# Tab bar colors -active_tab_background #E4E4E8 -active_tab_foreground #18181B -inactive_tab_background #879193 -inactive_tab_foreground #18181B - -# black -color0 #4B5254 -color8 #879193 - -# red -color1 #CD5C60 -color9 #E36D5B - -# green -color2 #6FB593 -color10 #72CCBA - -# yellow -color3 #DBAC66 -color11 #F2C866 - -# blue -color4 #91B9C7 -color12 #97B8DE - -# magenta -color5 #845A84 -color13 #8C629C - -# cyan -color6 #4D9391 -color14 #5096AB - -# white -color7 #E4E4E8 -color15 #EFEFF1 diff --git a/config/lxqt/TimeDate.conf b/config/lxqt/TimeDate.conf deleted file mode 100644 index 79b42c6..0000000 --- a/config/lxqt/TimeDate.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -__userfile__=true diff --git a/config/lxqt/archiver.conf b/config/lxqt/archiver.conf deleted file mode 100644 index 8cac43a..0000000 --- a/config/lxqt/archiver.conf +++ /dev/null @@ -1,9 +0,0 @@ -[Sizes] -SplitterPos=200 -ViewsIconSize=24 -WindowSize=@Size(895 1070) - -[Window] -DirTree=true -StatusBar=true -ToolBar=true diff --git a/config/lxqt/filedialog.conf b/config/lxqt/filedialog.conf deleted file mode 100644 index 934cf71..0000000 --- a/config/lxqt/filedialog.conf +++ /dev/null @@ -1,14 +0,0 @@ -[Sizes] -SplitterPos=200 -WindowSize=@Size(700 500) - -[View] -BigIconSize=48 -Mode=Detailed -ScrollPerPixel=true -ShowThumbnails=true -SmallIconSize=24 -SortColumn=name -SortFolderFirst=true -SortOrder=ascending -ThumbnailIconSize=128 diff --git a/config/lxqt/globalkeyshortcuts.conf b/config/lxqt/globalkeyshortcuts.conf deleted file mode 100644 index 838db27..0000000 --- a/config/lxqt/globalkeyshortcuts.conf +++ /dev/null @@ -1,238 +0,0 @@ -[General] -AllowGrabBaseKeypad=true -AllowGrabBaseSpecial=false -AllowGrabLocks=false -AllowGrabMiscKeypad=true -AllowGrabMiscSpecial=true -MultipleActionsBehaviour=first -WindowSize=@Invalid() - -[Control%2BAlt%2BB.1] -Comment=Web browser -Enabled=true -Exec=xdg-open, about:blank - -[Control%2BAlt%2BDelete.2] -Comment=Task manager -Enabled=true -Exec=qps - -[Control%2BAlt%2BL.3] -Comment=lockscreen -Enabled=true -Exec=xdg-screensaver, lock - -[Control%2BAlt%2BT.4] -Comment=Launch Terminal -Enabled=true -Exec=qterminal - -[Meta%2B0.5] -Comment=Activate task 10 -Enabled=true -path=/panel/taskbar/task_10 - -[Meta%2B1.6] -Comment=Activate task 1 -Enabled=true -path=/panel/taskbar/task_1 - -[Meta%2B2.7] -Comment=Activate task 2 -Enabled=true -path=/panel/taskbar/task_2 - -[Meta%2B3.8] -Comment=Activate task 3 -Enabled=true -path=/panel/taskbar/task_3 - -[Meta%2B4.9] -Comment=Activate task 4 -Enabled=true -path=/panel/taskbar/task_4 - -[Meta%2B5.10] -Comment=Activate task 5 -Enabled=true -path=/panel/taskbar/task_5 - -[Meta%2B6.11] -Comment=Activate task 6 -Enabled=true -path=/panel/taskbar/task_6 - -[Meta%2B7.12] -Comment=Activate task 7 -Enabled=true -path=/panel/taskbar/task_7 - -[Meta%2B8.13] -Comment=Activate task 8 -Enabled=true -path=/panel/taskbar/task_8 - -[Meta%2B9.14] -Comment=Activate task 9 -Enabled=true -path=/panel/taskbar/task_9 - -[Meta%2BD.15] -Comment=Show desktop -Enabled=true -path=/panel/showdesktop/show_hide - -[Meta%2BE.16] -Comment=Pcmanfm -Enabled=true -Exec=pcmanfm-qt - -[Meta%2BF1.17] -Comment=Switch to desktop 1 -Enabled=true -path=/panel/desktopswitch/desktop_1 - -[Meta%2BF10.18] -Comment=Switch to desktop 10 -Enabled=true -path=/panel/desktopswitch/desktop_10 - -[Meta%2BF11.19] -Comment=Switch to desktop 11 -Enabled=true -path=/panel/desktopswitch/desktop_11 - -[Meta%2BF12.20] -Comment=Switch to desktop 12 -Enabled=true -path=/panel/desktopswitch/desktop_12 - -[Meta%2BF2.21] -Comment=Switch to desktop 2 -Enabled=true -path=/panel/desktopswitch/desktop_2 - -[Meta%2BF3.22] -Comment=Switch to desktop 3 -Enabled=true -path=/panel/desktopswitch/desktop_3 - -[Meta%2BF4.23] -Comment=Switch to desktop 4 -Enabled=true -path=/panel/desktopswitch/desktop_4 - -[Meta%2BF5.24] -Comment=Switch to desktop 5 -Enabled=true -path=/panel/desktopswitch/desktop_5 - -[Meta%2BF6.25] -Comment=Switch to desktop 6 -Enabled=true -path=/panel/desktopswitch/desktop_6 - -[Meta%2BF7.26] -Comment=Switch to desktop 7 -Enabled=true -path=/panel/desktopswitch/desktop_7 - -[Meta%2BF8.27] -Comment=Switch to desktop 8 -Enabled=true -path=/panel/desktopswitch/desktop_8 - -[Meta%2BF9.28] -Comment=Switch to desktop 9 -Enabled=true -path=/panel/desktopswitch/desktop_9 - -[Meta%2BR.29] -Comment=Show/hide runner -Enabled=true -path=/runner/show_hide_dialog - -[Print.30] -Comment=screen shot -Enabled=true -Exec=screengrab - -[Shift%2BControl%2BF6.31] -Comment=\x2600 \x2193 -Enabled=true -Exec=lxqt-config-brightness, -d - -[Shift%2BControl%2BF7.32] -Comment=\x2600 \x2191 -Enabled=true -Exec=lxqt-config-brightness, -i - -[Super_L.33] -Comment=Show/hide main menu -Enabled=true -path=/panel/mainmenu/show_hide - -[XF86AudioLowerVolume.34] -Comment=Decrease sound volume -Enabled=true -path=/panel/volume/down - -[XF86AudioMute.35] -Comment=Mute/unmute sound volume -Enabled=true -path=/panel/volume/mute - -[XF86AudioRaiseVolume.36] -Comment=Increase sound volume -Enabled=true -path=/panel/volume/up - -[XF86Calculator.37] -Comment=Launch calculator -Enabled=true -Exec=kcalc - -[XF86Eject.38] -Comment=Eject removable media -Enabled=true -path=/panel/mount/eject - -[XF86HomePage.39] -Comment=Launch browser -Enabled=true -Exec=xdg-open, about:blank - -[XF86Mail.40] -Comment=Launch mail -Enabled=true -Exec=trojita - -[XF86MonBrightnessDown.41] -Comment=\x2600 \x2193 -Enabled=true -Exec=lxqt-config-brightness, -d - -[XF86MonBrightnessUp.42] -Comment=\x2600 \x2191 -Enabled=true -Exec=lxqt-config-brightness, -i - -[XF86MyComputer.43] -Comment=Launch pcmanfm -Enabled=true -Exec=pcmanfm-qt - -[XF86PowerOff.44] -Comment=Power off key action -Enabled=true -path=/powermanager/keypoweroff - -[XF86Sleep.45] -Comment=Hibernate key action -Enabled=true -path=/powermanager/keyhibernate - -[XF86Suspend.46] -Comment=Suspend key action -Enabled=true -path=/powermanager/keysuspend diff --git a/config/lxqt/lxqt-config-appearance.conf b/config/lxqt/lxqt-config-appearance.conf deleted file mode 100644 index 1438990..0000000 --- a/config/lxqt/lxqt-config-appearance.conf +++ /dev/null @@ -1,4 +0,0 @@ -[General] -ControlGTKThemeEnabled=true -__userfile__=true -size=@Size(648 598) diff --git a/config/lxqt/lxqt-config-file-associations.conf b/config/lxqt/lxqt-config-file-associations.conf deleted file mode 100644 index 045a3dc..0000000 --- a/config/lxqt/lxqt-config-file-associations.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -size=@Size(600 400) diff --git a/config/lxqt/lxqt-config-input.conf b/config/lxqt/lxqt-config-input.conf deleted file mode 100644 index 90fb6cd..0000000 --- a/config/lxqt/lxqt-config-input.conf +++ /dev/null @@ -1,3 +0,0 @@ -[General] -__userfile__=true -size=@Size(861 622) diff --git a/config/lxqt/lxqt-config-monitor.conf b/config/lxqt/lxqt-config-monitor.conf deleted file mode 100644 index 79b42c6..0000000 --- a/config/lxqt/lxqt-config-monitor.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -__userfile__=true diff --git a/config/lxqt/lxqt-config.conf b/config/lxqt/lxqt-config.conf deleted file mode 100644 index 79303ed..0000000 --- a/config/lxqt/lxqt-config.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -size=@Size(1870 1070) diff --git a/config/lxqt/lxqt-powermanagement.conf b/config/lxqt/lxqt-powermanagement.conf deleted file mode 100644 index c80913a..0000000 --- a/config/lxqt/lxqt-powermanagement.conf +++ /dev/null @@ -1,6 +0,0 @@ -[General] -__userfile__=true -enableBatteryWatcher=true -enableIdlenessWatcher=true -enableLidWatcher=true -runCheckLevel=1 diff --git a/config/lxqt/lxqt-runner.conf b/config/lxqt/lxqt-runner.conf deleted file mode 100644 index 79b42c6..0000000 --- a/config/lxqt/lxqt-runner.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -__userfile__=true diff --git a/config/lxqt/lxqt.conf b/config/lxqt/lxqt.conf deleted file mode 100644 index 7634a4f..0000000 --- a/config/lxqt/lxqt.conf +++ /dev/null @@ -1,17 +0,0 @@ -[General] -__userfile__=true -icon_theme=ePapirus -theme=frost - -[Palette] -base_color=#18181b -highlight_color=#91b9c7 -highlighted_text_color=#ffffff -link_color=#9ba5a7 -link_visited_color=#845a84 -text_color=#e4e4e8 -window_color=#222225 -window_text_color=#e4e4e8 - -[Qt] -style=Breeze diff --git a/config/lxqt/notifications.conf b/config/lxqt/notifications.conf deleted file mode 100644 index 79b42c6..0000000 --- a/config/lxqt/notifications.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -__userfile__=true diff --git a/config/lxqt/panel.conf b/config/lxqt/panel.conf deleted file mode 100644 index e187a67..0000000 --- a/config/lxqt/panel.conf +++ /dev/null @@ -1,63 +0,0 @@ -[General] -__userfile__=true - -[desktopswitch] -alignment=Left -type=desktopswitch - -[mainmenu] -alignment=Left -type=mainmenu - -[mount] -alignment=Right -type=mount - -[panel1] -alignment=-1 -animation-duration=0 -background-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0) -background-image= -desktop=0 -font-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0) -hidable=false -hide-on-overlap=false -iconSize=22 -lineCount=1 -lockPanel=false -opacity=100 -panelSize=32 -position=Bottom -reserve-space=true -show-delay=0 -visible-margin=true -width=100 -width-percent=true - -[quicklaunch] -alignment=Left -type=quicklaunch - -[showdesktop] -alignment=Right -type=showdesktop - -[statusnotifier] -alignment=Right -type=statusnotifier - -[taskbar] -alignment=Left -type=taskbar - -[tray] -alignment=Right -type=tray - -[volume] -alignment=Right -type=volume - -[worldclock] -alignment=Right -type=worldclock diff --git a/config/lxqt/power.conf b/config/lxqt/power.conf deleted file mode 100644 index 79b42c6..0000000 --- a/config/lxqt/power.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -__userfile__=true diff --git a/config/lxqt/session.conf b/config/lxqt/session.conf deleted file mode 100644 index 7a3f692..0000000 --- a/config/lxqt/session.conf +++ /dev/null @@ -1,16 +0,0 @@ -[General] -__userfile__=true -window_manager=bspwm - -[Environment] -BROWSER=qutebrowser -GTK_CSD=0 -GTK_OVERLAY_SCROLLING=0 -GTK_USE_PORTAL=1 -SAL_USE_VCLPLUGIN=qt5 -SAL_VCL_QT5_USE_CAIRO=true -TERM=kitty - -[Mouse] -cursor_size=22 -cursor_theme=breeze_cursors diff --git a/config/lxqt/windowmanagers.conf b/config/lxqt/windowmanagers.conf deleted file mode 100644 index 79b42c6..0000000 --- a/config/lxqt/windowmanagers.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -__userfile__=true diff --git a/config/picom.conf b/config/picom.conf deleted file mode 100644 index 1fbc7b5..0000000 --- a/config/picom.conf +++ /dev/null @@ -1,436 +0,0 @@ -################################# -# Shadows # -################################# - - -# Enabled client-side shadows on windows. Note desktop windows -# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, -# unless explicitly requested using the wintypes option. -# -# shadow = false -shadow = true; - -# The blur radius for shadows, in pixels. (defaults to 12) -# shadow-radius = 12 -shadow-radius = 8; - -# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) -# shadow-opacity = .75 - -# The left offset for shadows, in pixels. (defaults to -15) -# shadow-offset-x = -15 -shadow-offset-x = -7; - -# The top offset for shadows, in pixels. (defaults to -15) -# shadow-offset-y = -15 -shadow-offset-y = -7; - -# Red color value of shadow (0.0 - 1.0, defaults to 0). -# shadow-red = 0 - -# Green color value of shadow (0.0 - 1.0, defaults to 0). -# shadow-green = 0 - -# Blue color value of shadow (0.0 - 1.0, defaults to 0). -# shadow-blue = 0 - -# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue) -# shadow-color = "#000000" - -# Specify a list of conditions of windows that should have no shadow. -# -# examples: -# shadow-exclude = "n:e:Notification"; -# -# shadow-exclude = [] -shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "_GTK_FRAME_EXTENTS@:c" -]; - -# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window. -# clip-shadow-above = [] - -# Specify a X geometry that describes the region in which shadow should not -# be painted in, such as a dock window region. Use -# shadow-exclude-reg = "x10+0+0" -# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. -# -# shadow-exclude-reg = "" - -# Crop shadow of a window fully on a particular monitor to that monitor. This is -# currently implemented using the X RandR extension. -# crop-shadow-to-monitor = false - - -################################# -# Fading # -################################# - - -# Fade windows in/out when opening/closing and when opacity changes, -# unless no-fading-openclose is used. -# fading = false -fading = true; - -# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) -# fade-in-step = 0.028 -fade-in-step = 0.09; - -# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) -# fade-out-step = 0.03 -fade-out-step = 0.09; - -# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) -# fade-delta = 10 - -# Specify a list of conditions of windows that should not be faded. -# fade-exclude = [] - -# Do not fade on window open/close. -# no-fading-openclose = false - -# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. -# no-fading-destroyed-argb = false - - -################################# -# Transparency / Opacity # -################################# - - -# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) -# inactive-opacity = 1 -inactive-opacity = 0.8; - -# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) -# frame-opacity = 1.0 -frame-opacity = 0.7; - -# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. -# inactive-opacity-override = true -inactive-opacity-override = false; - -# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) -# active-opacity = 1.0 - -# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) -# inactive-dim = 0.0 - -# Specify a list of conditions of windows that should never be considered focused. -# focus-exclude = [] -focus-exclude = [ "class_g = 'Cairo-clock'" ]; - -# Use fixed inactive dim value, instead of adjusting according to window opacity. -# inactive-dim-fixed = 1.0 - -# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, -# like `50:name *= "Firefox"`. picom-trans is recommended over this. -# Note we don't make any guarantee about possible conflicts with other -# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. -# example: -# opacity-rule = [ "80:class_g = 'URxvt'" ]; -# -# opacity-rule = [ -# "80:class_g = 'Rofi'" -# ] - - -################################# -# Corners # -################################# - -# Sets the radius of rounded window corners. When > 0, the compositor will -# round the corners of windows. Does not interact well with -# `transparent-clipping`. -corner-radius = 0 - -# Exclude conditions for rounded corners. -rounded-corners-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'" -]; - - -################################# -# Background-Blurring # -################################# - - -# Parameters for background blurring, see the *BLUR* section for more information. -# blur-method = -# blur-size = 12 -# -# blur-deviation = false -# -# blur-strength = 5 - -# Blur background of semi-transparent / ARGB windows. -# Bad in performance, with driver-dependent behavior. -# The name of the switch may change without prior notifications. -# -# blur-background = false - -# Blur background of windows when the window frame is not opaque. -# Implies: -# blur-background -# Bad in performance, with driver-dependent behavior. The name may change. -# -# blur-background-frame = false - - -# Use fixed blur strength rather than adjusting according to window opacity. -# blur-background-fixed = false - - -# Specify the blur convolution kernel, with the following format: -# example: -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; -# -# blur-kern = "" -blur-kern = "3x3box"; - - -# Exclude conditions for background blur. -# blur-background-exclude = [] -blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; - -################################# -# General Settings # -################################# - -# Enable remote control via D-Bus. See the man page for more details. -# dbus = true - -# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. -# daemon = false - -# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`. -# `xrender` is the default one. -# -# backend = "glx" -backend = "xrender"; - -# Use higher precision during rendering, and apply dither when presenting the -# rendered screen. Reduces banding artifacts, but might cause performance -# degradation. Only works with OpenGL. -dithered-present = false; - -# Enable/disable VSync. -# vsync = false -vsync = true; - -# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. -# dbus = false - -# Try to detect WM windows (a non-override-redirect window with no -# child that has 'WM_STATE') and mark them as active. -# -# mark-wmwin-focused = false -mark-wmwin-focused = true; - -# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. -# mark-ovredir-focused = false -mark-ovredir-focused = true; - -# Try to detect windows with rounded corners and don't consider them -# shaped windows. The accuracy is not very high, unfortunately. -# -# detect-rounded-corners = false -detect-rounded-corners = true; - -# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers -# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows. -# -# detect-client-opacity = false -detect-client-opacity = true; - -# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, -# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, -# provided that the WM supports it. -# -# use-ewmh-active-win = false - -# Unredirect all windows if a full-screen opaque window is detected, -# to maximize performance for full-screen windows. Known to cause flickering -# when redirecting/unredirecting windows. -# -# unredir-if-possible = false - -# Delay before unredirecting the window, in milliseconds. Defaults to 0. -# unredir-if-possible-delay = 0 - -# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. -# unredir-if-possible-exclude = [] - -# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows -# in the same group focused at the same time. -# -# detect-transient = false -detect-transient = true; - -# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same -# group focused at the same time. This usually means windows from the same application -# will be considered focused or unfocused at the same time. -# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too. -# -# detect-client-leader = false - -# Resize damaged region by a specific number of pixels. -# A positive value enlarges it while a negative one shrinks it. -# If the value is positive, those additional pixels will not be actually painted -# to screen, only used in blur calculation, and such. (Due to technical limitations, -# with use-damage, those pixels will still be incorrectly painted to screen.) -# Primarily used to fix the line corruption issues of blur, -# in which case you should use the blur radius value here -# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, -# with a 5x5 one you use `--resize-damage 2`, and so on). -# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. -# -# resize-damage = 1 - -# Specify a list of conditions of windows that should be painted with inverted color. -# Resource-hogging, and is not well tested. -# -# invert-color-include = [] - -# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. -# Might cause incorrect opacity when rendering transparent content (but never -# practically happened) and may not work with blur-background. -# My tests show a 15% performance boost. Recommended. -# -# glx-no-stencil = false - -# GLX backend: Avoid rebinding pixmap on window damage. -# Probably could improve performance on rapid window content changes, -# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). -# Recommended if it works. -# -# glx-no-rebind-pixmap = false - -# Disable the use of damage information. -# This cause the whole screen to be redrawn every time, instead of the part of the screen -# has actually changed. Potentially degrades the performance, but might fix some artifacts. -# The opposing option is use-damage -# -# no-use-damage = false -use-damage = true; - -# Use X Sync fence to sync clients' draw calls, to make sure all draw -# calls are finished before picom starts drawing. Needed on nvidia-drivers -# with GLX backend for some users. -# -# xrender-sync-fence = false - -# GLX backend: Use specified GLSL fragment shader for rendering window -# contents. Read the man page for a detailed explanation of the interface. -# -# window-shader-fg = "default" - -# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar -# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg. -# -# window-shader-fg-rule = [ -# "my_shader.frag:window_type != 'dock'" -# ] - -# Force all windows to be painted with blending. Useful if you -# have a glx-fshader-win that could turn opaque pixels transparent. -# -# force-win-blend = false - -# Do not use EWMH to detect fullscreen windows. -# Reverts to checking if a window is fullscreen based only on its size and coordinates. -# -# no-ewmh-fullscreen = false - -# Dimming bright windows so their brightness doesn't exceed this set value. -# Brightness of a window is estimated by averaging all pixels in the window, -# so this could comes with a performance hit. -# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) -# -# max-brightness = 1.0 - -# Make transparent windows clip other windows like non-transparent windows do, -# instead of blending on top of them. -# -# transparent-clipping = false - -# Specify a list of conditions of windows that should never have transparent -# clipping applied. Useful for screenshot tools, where you need to be able to -# see through transparent parts of the window. -# -# transparent-clipping-exclude = [] - -# Set the log level. Possible values are: -# "trace", "debug", "info", "warn", "error" -# in increasing level of importance. Case doesn't matter. -# If using the "TRACE" log level, it's better to log into a file -# using *--log-file*, since it can generate a huge stream of logs. -# -# log-level = "debug" -log-level = "warn"; - -# Set the log file. -# If *--log-file* is never specified, logs will be written to stderr. -# Otherwise, logs will to written to the given file, though some of the early -# logs might still be written to the stderr. -# When setting this option from the config file, it is recommended to use an absolute path. -# -# log-file = "/path/to/your/log/file" - -# Show all X errors (for debugging) -# show-all-xerrors = false - -# Write process ID to a file. -# write-pid-path = "/path/to/your/log/file" - -# Window type settings -# -# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: -# "unknown", "desktop", "dock", "toolbar", "menu", "utility", -# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", -# "tooltip", "notification", "combo", and "dnd". -# -# Following per window-type options are available: :: -# -# fade, shadow::: -# Controls window-type-specific shadow and fade settings. -# -# opacity::: -# Controls default opacity of the window type. -# -# focus::: -# Controls whether the window of this type is to be always considered focused. -# (By default, all window types except "normal" and "dialog" has this on.) -# -# full-shadow::: -# Controls whether shadow is drawn under the parts of the window that you -# normally won't be able to see. Useful when the window has parts of it -# transparent, and you want shadows in those areas. -# -# clip-shadow-above::: -# Controls whether shadows that would have been drawn above the window should -# be clipped. Useful for dock windows that should have no shadow painted on top. -# -# redir-ignore::: -# Controls whether this type of windows should cause screen to become -# redirected again after been unredirected. If you have unredir-if-possible -# set, and doesn't want certain window to cause unnecessary screen redirection, -# you can set this to `true`. -# - -wintypes: -{ - normal = { fade = false; } - tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; }; - dock = { shadow = false; clip-shadow-above = true; } - dnd = { shadow = false; } -}; \ No newline at end of file diff --git a/config/qutebrowser/autoconfig.yml b/config/qutebrowser/autoconfig.yml old mode 100644 new mode 100755 index f85f7df..e45b76b --- a/config/qutebrowser/autoconfig.yml +++ b/config/qutebrowser/autoconfig.yml @@ -1,43 +1,33 @@ # If a config.py file exists, this file is ignored unless it's explicitly loaded # via config.load_autoconfig(). For more information, see: -# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml +# https://github.com/qutebrowser/qutebrowser/blob/main/doc/help/configuring.asciidoc#loading-autoconfigyml # DO NOT edit this file by hand, qutebrowser will overwrite it. # Instead, create a config.py - see :help for details. config_version: 2 settings: + bindings.commands: + global: + normal: + gp: mode-enter passthrough content.autoplay: global: false - content.geolocation: - https://icl.churchofjesuschrist.org: true - https://myinstitute.churchofjesuschrist.org: true - https://www.acrevalue.com: true - https://www.findagrave.com: true content.media.audio_capture: - https://mictests.com: true - https://teams.microsoft.com: true - https://virtualspeech.com: true - content.media.audio_video_capture: - https://teams.microsoft.com: true - content.media.video_capture: - https://teams.microsoft.com: true - content.mouse_lock: - http://www.windows93.net: true + https://online-voice-recorder.com: true content.notifications.enabled: https://app.cinny.in: true content.register_protocol_handler: - https://calendar.google.com?cid=%25s: true https://mail.google.com?extsrc=mailto&url=%25s: true fonts.debug_console: global: default_size default_family fonts.default_family: global: Ubuntu fonts.prompts: - global: default_size sans-serif + global: 12 Inconsolata fonts.statusbar: - global: default_size Ubuntu Mono + global: 12 Nimbus Mono fonts.web.family.fixed: - global: Ubuntu Mono + global: Inconsolata fonts.web.family.serif: global: Ubuntu fonts.web.family.standard: diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py old mode 100644 new mode 100755 diff --git a/config/qutebrowser/greasemonkey/cinny-theme.js b/config/qutebrowser/greasemonkey/cinny-theme.js deleted file mode 100644 index c734354..0000000 --- a/config/qutebrowser/greasemonkey/cinny-theme.js +++ /dev/null @@ -1,57 +0,0 @@ -// ==UserScript== -// @name Cinny Theme -// @match *://app.cinny.in/* -{let style = document.createElement('style');style.innerHTML = `body, -.dark-theme, -.butter-theme, -.silver-theme { - --bg-surface: #0f0f0f; - --bg-surface-transparent: rgba(15, 15, 15, 0); - --bg-surface-low: #1a1a1a; - --bg-surface-low-transparent: rgba(26, 26, 26, 0); - --bg-surface-extra-low: #242424; - --bg-surface-extra-low-transparent: rgba(36, 36, 36, 0); - --bg-surface-hover: #242424; - --bg-surface-active: #333333; - --bg-surface-border: #333333; - --bg-primary: hsl(180, 42%, 70%); - --bg-primary-hover: hsl(180, 42%, 70%); - --bg-primary-active: hsl(180, 42%, 70%); - --bg-primary-border: hsl(180, 42%, 70%); - --bg-tooltip: #000; - --bg-badge: hsl(180, 30%, 90%); - --bg-ping: hsl(180, 30%, 90%); - --bg-ping-hover: hsl(180, 30%, 90%); - --bg-divider: #1a1a1a; - --tc-surface-high: hsl(180, 30%, 90%); - --tc-surface-normal: hsl(180, 16%, 83%); - --tc-surface-normal-low: hsl(180, 10%, 77%); - --tc-surface-low: hsl(180, 10%, 77%); - --tc-primary-high: hsl(180, 30%, 90%); - --tc-primary-normal: hsl(180, 16%, 83%); - --tc-primary-low: hsl(180, 10%, 77%); - --tc-code: #e565b1; - --tc-link: hsl(180, 42%, 70%); - --tc-badge: black; - --ic-surface-high: hsl(180, 30%, 90%); - --ic-surface-normal: hsl(180, 30%, 90%); - --ic-surface-low: hsl(180, 30%, 90%); - --ic-primary-normal: #ffffff; - --bg-overlay: rgba(0, 0, 0, 0.6); - --bg-overlay-low: rgba(0, 0, 0, 0.8); - --bs-popup: 0 0 16px rgba(0, 0, 0, 0.25); - --bs-surface-border: inset 0 0 0 1px var(--bg-surface-border); - --bs-surface-outline: 0 0 0 2px var(--bg-surface-border); - --bs-primary-border: inset 0 0 0 1px var(--bg-primary-border); - --bs-primary-outline: 0 0 0 2px var(--bg-primary-border); - --fs-h1: 35.6px; - --fs-h2: 23.6px; - --fs-s1: 17.6px; - --fs-b1: 14.6px; - --ls-b1: 0.14px; - --fs-b2: 13.2px; - --fs-b3: 11.2px; - --fw-normal: 350; - --font-primary: sans-serif; - --font-secondary: sans-serif; -}`; document.head.appendChild(style); } diff --git a/config/qutebrowser/qsettings/QtProject.conf b/config/qutebrowser/qsettings/QtProject.conf index 049bb39..37ee274 100644 --- a/config/qutebrowser/qsettings/QtProject.conf +++ b/config/qutebrowser/qsettings/QtProject.conf @@ -1,5 +1,8 @@ [FileDialog] -history=@Invalid() -lastVisited=file:///home/dakedres/Downloads -qtVersion=5.15.8 +history=file:///home/dakedres/Downloads, file:///home/dakedres/downloads, file:///home/dakedres/projects/wchs-slideshow, file:///mnt/SICKSTICK/WCHS - Pictures, file:///mnt/SICKSTICK/WCHS - Website Pictures +lastVisited=file:///mnt/SICKSTICK/WCHS - Website Pictures +qtVersion=6.5.2 +shortcuts=file:, file:///home/dakedres +sidebarWidth=90 +treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2l\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\x7f\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0) viewMode=Detail diff --git a/config/qutebrowser/qsettings/lxqt/filedialog.conf b/config/qutebrowser/qsettings/lxqt/filedialog.conf deleted file mode 100644 index 7ead021..0000000 --- a/config/qutebrowser/qsettings/lxqt/filedialog.conf +++ /dev/null @@ -1,15 +0,0 @@ -[Sizes] -SplitterPos=200 -WindowSize=@Size(989 756) - -[View] -BigIconSize=48 -Mode=Detailed -ScrollPerPixel=true -ShowHidden=true -ShowThumbnails=true -SmallIconSize=24 -SortColumn=type -SortFolderFirst=true -SortOrder=ascending -ThumbnailIconSize=128 diff --git a/config/qutebrowser/quickmarks b/config/qutebrowser/quickmarks index cde93fe..e69de29 100644 --- a/config/qutebrowser/quickmarks +++ b/config/qutebrowser/quickmarks @@ -1 +0,0 @@ -Uxn tutorial d2 https://compudanzas.net/uxn_tutorial_day_2.html diff --git a/config/qutebrowser/theme/copy.sh b/config/qutebrowser/theme/copy.sh deleted file mode 100755 index 7fc5070..0000000 --- a/config/qutebrowser/theme/copy.sh +++ /dev/null @@ -1,2 +0,0 @@ -lessc $1 out.css -echo -e "// ==UserScript==\n// @name Cinny Theme\n// @match *://app.cinny.in/*\n{let style = document.createElement('style');style.innerHTML = \`$(cat out.css)\`; document.head.appendChild(style); }" > ../greasemonkey/cinny-theme.js \ No newline at end of file diff --git a/config/qutebrowser/theme/dark.less b/config/qutebrowser/theme/dark.less deleted file mode 100644 index 837063b..0000000 --- a/config/qutebrowser/theme/dark.less +++ /dev/null @@ -1,67 +0,0 @@ - - -@hue: 180; - -@f_high: hsl(@hue, 30%, 90%); -@f_med: hsl(@hue, 16%, 83%); -@f_low: hsl(@hue, 10%, 77%); - - -@b_high: #333333; -@b_med: #242424; -@b_low: #1a1a1a; -@background: #0f0f0f; - -@b_inv: hsl(@hue, 42%, 70%); - -body, .dark-theme, .butter-theme, .silver-theme { - --bg-surface: @background; - --bg-surface-transparent: fade(@background, 0); - --bg-surface-low: @b_low; - --bg-surface-low-transparent: fade(@b_low, 0); - --bg-surface-extra-low: @b_med; - --bg-surface-extra-low-transparent: fade(@b_med, 0); - --bg-surface-hover: @b_med; - --bg-surface-active: @b_high; - --bg-surface-border: @b_high; - --bg-primary: @b_inv; - --bg-primary-hover: @b_inv; - --bg-primary-active: @b_inv; - --bg-primary-border: @b_inv; - --bg-tooltip: #000; - --bg-badge: @f_high; - --bg-ping: @f_high; - --bg-ping-hover: @f_high; - --bg-divider: @b_low; - --tc-surface-high: @f_high; - --tc-surface-normal: @f_med; - --tc-surface-normal-low: @f_low; - --tc-surface-low: @f_low; - --tc-primary-high: @f_high; - --tc-primary-normal: @f_med; - --tc-primary-low: @f_low; - --tc-code: #e565b1; - --tc-link: @b_inv; - --tc-badge: black; - --ic-surface-high: @f_high; - --ic-surface-normal: @f_high; - --ic-surface-low: @f_high; - --ic-primary-normal: #ffffff; - --bg-overlay: rgba(0, 0, 0, 60%); - --bg-overlay-low: rgba(0, 0, 0, 80%); - --bs-popup: 0 0 16px rgba(0, 0, 0, 25%); - --bs-surface-border: inset 0 0 0 1px var(--bg-surface-border); - --bs-surface-outline: 0 0 0 2px var(--bg-surface-border); - --bs-primary-border: inset 0 0 0 1px var(--bg-primary-border); - --bs-primary-outline: 0 0 0 2px var(--bg-primary-border); - --fs-h1: 35.6px; - --fs-h2: 23.6px; - --fs-s1: 17.6px; - --fs-b1: 14.6px; - --ls-b1: .14px; - --fs-b2: 13.2px; - --fs-b3: 11.2px; - --fw-normal: 350; - --font-primary: sans-serif; - --font-secondary: sans-serif; -} \ No newline at end of file diff --git a/config/qutebrowser/theme/fromTheme.sh b/config/qutebrowser/theme/fromTheme.sh deleted file mode 100755 index 5f64654..0000000 --- a/config/qutebrowser/theme/fromTheme.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "$(node process.js $1)$(cat tea.less)" > temp.less -lessc temp.less out.css -echo "document.head.innerHTML += \`\`" | xclip -selection c \ No newline at end of file diff --git a/config/qutebrowser/theme/light.less b/config/qutebrowser/theme/light.less deleted file mode 100644 index e9c73e7..0000000 --- a/config/qutebrowser/theme/light.less +++ /dev/null @@ -1,400 +0,0 @@ -// @background: #eff; -// @f_high: #100; -// @f_med: #211; -// @f_low: #322; -// @b_high: #bcc; -// @b_med: #cdd; -// @b_low: #dee; -// @b_inv: #0aa; - -// @f_high: hsl(180, 100%, 95%); -// @f_med: hsl(180, 90%, 90%); -// @f_low: hsl(180, 75%, 85%); -// @background: #111; -// @b_high: #2f2f2f; -// @b_med: #202020; -// @b_low: #1f1f1f; -// @b_high: #333; -// @b_med: @b_low; -// @b_low: #222; - -@f_high: #220000; -@f_med: #441100; -@f_low: #662200; - -// @b_high: hsl(0, 0%, 84%); -// @b_med: hsl(0,0%,88%); -// @b_low: hsl(0,0%,90%); -// @background: hsl(0,0%,94%); -@b_high: #d6d6d6; -@b_med: #e0e0e0; -@b_low: #e6e6e6; -@background: #f0f0f0; - -@b_inv: #b40; - -@primary: @f_high; // primary color used in main texts -@secondary: @f_med; // secondary color used in some texts and text based buttons -@tertiary: @f_med; // tertiary color used in other colored texts -@fg: @f_high; -@bg0: @background; -@bg1: @b_low; -@bg2: @b_med; -@bg3: @b_med; -@bg4: @b_high; -@red: hwb(357 45% 7%); -@orange: hwb(39 45% 13%); -@yellow: hwb(39 45% 13%); -@green: hwb(94 51% 21%); -@cyan: hwb(184 36% 24%); -@blue: #6cb6eb; -@purple: #d38aea; -@grey: #758094; -@red-bg: #55393d; -@green-bg: #394634; -@blue-bg: #354157; -@yellow-bg: #4e432f; -@button1: @b_inv; -@button2: @b_inv; -@button-red: @red; -@key: @red; -@operator: @purple; -@string: @green; -@value: @green; -@type: @yellow; -@function: @blue; -@special: @cyan; - -:root { - --is-dark-theme: true; - --color-primary: @primary; - --color-primary-contrast: @bg0; - --color-primary-dark-1: @primary; - --color-primary-dark-2: mix(@fg, @primary, 16.7%); - --color-primary-dark-3: mix(@fg, @primary, 33.3%); - --color-primary-dark-4: mix(@fg, @primary, 50%); - --color-primary-dark-5: mix(@fg, @primary, 66.6%); - --color-primary-dark-6: mix(@fg, @primary, 83.3%); - --color-primary-dark-7: @fg; - --color-primary-light-1: @primary; - --color-primary-light-2: mix(@bg2, @primary, 16.7%); - --color-primary-light-3: mix(@bg2, @primary, 33.3%); - --color-primary-light-4: mix(@bg2, @primary, 50%); - --color-primary-light-5: mix(@bg2, @primary, 66.6%); - --color-primary-light-6: mix(@bg2, @primary, 83.3%); - --color-primary-light-7: @bg2; - --color-primary-alpha-10: fade(@primary, 10%); - --color-primary-alpha-20: fade(@primary, 20%); - --color-primary-alpha-30: fade(@primary, 30%); - --color-primary-alpha-40: fade(@primary, 40%); - --color-primary-alpha-50: fade(@primary, 50%); - --color-primary-alpha-60: fade(@primary, 60%); - --color-primary-alpha-70: fade(@primary, 70%); - --color-primary-alpha-80: fade(@primary, 80%); - --color-primary-alpha-90: fade(@primary, 90%); - --color-secondary: @bg4; - --color-secondary-dark-1: @bg4; - --color-secondary-dark-2: mix(@fg, @bg4, 8.3%); - --color-secondary-dark-3: mix(@fg, @bg4, 16.7%); - --color-secondary-dark-4: mix(@fg, @bg4, 25%); - --color-secondary-dark-5: mix(@fg, @bg4, 33.3%); - --color-secondary-dark-6: mix(@fg, @bg4, 41.7%); - --color-secondary-dark-7: mix(@fg, @bg4, 50%); - --color-secondary-dark-8: mix(@fg, @bg4, 58.3%); - --color-secondary-dark-9: mix(@fg, @bg4, 66.7%); - --color-secondary-dark-10: mix(@fg, @bg4, 75%); - --color-secondary-dark-11: mix(@fg, @bg4, 83.3%); - --color-secondary-dark-12: mix(@fg, @bg4, 91.7%); - --color-secondary-dark-13: @fg; - --color-secondary-light-1: @bg4; - --color-secondary-light-2: @bg3; - --color-secondary-light-3: @bg2; - --color-secondary-light-4: @bg1; - --color-secondary-alpha-10: fade(@bg4, 10%); - --color-secondary-alpha-20: fade(@bg4, 20%); - --color-secondary-alpha-30: fade(@bg4, 30%); - --color-secondary-alpha-40: fade(@bg4, 40%); - --color-secondary-alpha-50: fade(@bg4, 50%); - --color-secondary-alpha-60: fade(@bg4, 60%); - --color-secondary-alpha-70: fade(@bg4, 70%); - --color-secondary-alpha-80: fade(@bg4, 80%); - --color-secondary-alpha-90: fade(@bg4, 90%); - /* colors */ - --color-red: @red; - --color-orange: @orange; - --color-yellow: @yellow; - --color-olive: @green; - --color-green: @green; - --color-teal: @cyan; - --color-blue: @blue; - --color-violet: @purple; - --color-purple: @purple; - --color-pink: @purple; - --color-brown: @orange; - --color-grey: @grey; - /* light variants */ - --color-red-light: @red; - --color-orange-light: @orange; - --color-yellow-light: @yellow; - --color-olive-light: @green; - --color-green-light: @green; - --color-teal-light: @cyan; - --color-blue-light: @blue; - --color-violet-light: @purple; - --color-purple-light: @purple; - --color-pink-light: @purple; - --color-brown-light: @orange; - --color-grey-light: @grey; - /* other colors */ - --color-black: @bg2; - --color-gold: @orange; - --color-white: @bg0; - --color-diff-removed-word-bg: mix(@red-bg, @red, 70%); - --color-diff-added-word-bg: mix(@green-bg, @green, 70%); - --color-diff-removed-row-bg: @red-bg; - --color-diff-moved-row-bg: @blue-bg; - --color-diff-added-row-bg: @green-bg; - --color-diff-removed-row-border: mix(@red-bg, @red, 50%); - --color-diff-moved-row-border: mix(@blue-bg, @blue, 50%); - --color-diff-added-row-border: mix(@green-bg, @green, 50%); - --color-diff-inactive: @bg2; - --color-error-border: mix(@red-bg, @red, 50%); - --color-error-bg: @red-bg; - --color-error-text: @red; - --color-success-border: mix(@green-bg, @green, 50%); - --color-success-bg: @green-bg; - --color-success-text: @green; - --color-warning-border: mix(@yellow-bg, @yellow, 50%); - --color-warning-bg: @yellow-bg; - --color-warning-text: @yellow; - --color-info-border: mix(@blue-bg, @blue, 50%); - --color-info-bg: @blue-bg; - --color-info-text: @blue; - /* target-based colors */ - --color-body: @bg0; - --color-box-header: @bg3; - // --color-box-header: @bg3; - --color-box-body: @bg1; - --color-box-body-highlight: @bg2; - --color-text-dark: @secondary; - --color-text: @fg; - --color-text-hover: fade(@fg, 80%); - --color-text-light: @tertiary; - --color-text-light-1: @tertiary; - --color-text-light-2: @secondary; - --color-text-light-3: @secondary; - --color-footer: @bg1; - --color-timeline: @bg4; - --color-input-text: @fg; - --color-input-background: @bg0; - --color-input-toggle-background: @bg1; - --color-input-border: @bg4; - --color-input-border-hover: mix(@bg4, @grey, 50%); - --color-navbar: @bg1; - --color-navbar-transparent: @bg1; - --color-nav-bg: @bg1; - --color-nav-hover-bg: @bg3; - --color-light: @bg1; - --color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled))); - --color-light-border: @bg4; - --color-hover: fade(@bg4, 50%); - --color-active: fade(@bg4, 50%); - --color-menu: @bg1; - --color-card: @bg1; - --color-markup-table-row: @bg3; - --color-markup-code-block: @bg0; - --color-button: @bg3; - --color-code-bg: @bg0; - --color-code-sidebar-bg: @bg1; - --color-shadow: #00000060; - --color-secondary-bg: @bg1; - --color-text-focus: #fff; - --color-expand-button: @bg2; - --color-placeholder-text: @tertiary; - --color-editor-line-highlight: @bg1; - --color-project-board-bg: @bg0; - --color-project-board-light-label: @primary; - --color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */ - --color-reaction-bg: #ffffff12; - --color-reaction-active-bg: var(--color-primary-alpha-40); - --color-header-bar: @bg1; - --color-label-bg: @bg4; - --color-label-text: @tertiary; - --color-label-active-bg: @bg4; - --color-accent: var(--color-primary-light-1); - --color-small-accent: var(--color-primary-light-5); - --color-active-line: @bg1; - --color-header-wrapper: @bg2; - - accent-color: var(--color-accent); - color-scheme: light; -} - -.chroma .nx { - color: @fg; -} -.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd { - color: @grey; -} -.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr { - color: @key; -} -.chroma .o, .chroma .ow { - color: @operator; -} -.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf { - color: @string; -} -.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl { - color: @value; -} -.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv { - color: @type; -} -.chroma .nf, .chroma .nb, .chroma .na { - color: @function; -} -.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se { - color: @special; -} - -/* primary buttons */ -.ui.primary.button, .ui.primary.buttons .button { - background: @button1; - background-color: @button1 !important; - color: @bg0; -} - -.ui.primary.button:hover, .ui.primary.buttons .button:hover { - background: fade(@button1, 80%); - background-color: fade(@button1, 80%) !important; - color: @bg0; -} - -.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button { - color: @bg0; - background-color: @button1; - border-color: @button1; -} - -.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover { - color: @bg0; - background-color: @button1; - border-color: @button1; -} - -/* secondary buttons */ -.ui.green.buttons .button, .ui.green.button { - background: @button2; - background-color: @button2; - color: @bg0; -} - -.ui.green.buttons .button:hover, .ui.green.button:hover { - background: fade(@button2, 80%); - background-color: fade(@button2, 80%); - color: @bg0; -} - -/* text based buttons (purple) */ -.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button { - color: @secondary; -} - -.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover { - color: @secondary; -} - -/* repo title && header */ -.repo-title { - color: @secondary; -} - -/* star number && fork number */ -.repo-buttons button[disabled] ~ .label, -.repo-buttons .ui.labeled.button.disabled > .label { - color: @primary; -} - -.ui.basic.labels .label, .ui.basic.label { - color: @primary; -} - -/* hover on commits, branch, tags in project home page */ -.repository .ui.segment.sub-menu .list .item a:hover, -.ui.tabular.menu .item:hover { - color: var(--color-text-hover); -} - -/* commit label */ -.ui.primary.labels .label, .ui.ui.ui.primary.label { - color: @bg0; -} - -/* issue label */ -.ui.green.labels .label, .ui.ui.ui.green.label { - color: @bg0; -} - -/* grey button (rss feed button in repository home page) */ -i.grey.icon.icon.icon.icon { - color: @grey -} - -/* scroll bar */ -* { - scrollbar-color: @secondary transparent !important; -} -::-webkit-scrollbar { - width: 10px; - height: 10px; -} -::-webkit-scrollbar-thumb { - box-shadow: inset 0 0 0 6px @secondary !important; - border: 2px solid transparent; - border-radius: 5px !important; -} -::-webkit-scrollbar-thumb:window-inactive { - box-shadow: inset 0 0 0 6px @secondary !important; -} -::-webkit-scrollbar-thumb:hover { - box-shadow: inset 0 0 0 6px @secondary !important; -} -::-webkit-scrollbar-corner { - background: transparent; -} - -/* red buttons */ -.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button { - background: @button-red; - background-color: @button-red; - color: @bg0; -} - -.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover { - background: fade(@button-red, 80%); - background-color: fade(@button-red, 80%); - color: @bg0; -} - -/* grey buttons */ -.ui.labels a.label, a.ui.label { - background-color: @bg1; -} - -.ui.labels a.label:hover, a.ui.label:hover { - background-color: @bg0; -} - -/* orange buttons */ -.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button { - background: @orange; - background-color: @orange; - color: @bg0; -} - -.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover { - background: fade(@orange, 80%); - background-color: fade(@orange, 80%); - color: @bg0; -} \ No newline at end of file diff --git a/config/qutebrowser/theme/out.css b/config/qutebrowser/theme/out.css deleted file mode 100644 index b93e3c5..0000000 --- a/config/qutebrowser/theme/out.css +++ /dev/null @@ -1,54 +0,0 @@ -body, -.dark-theme, -.butter-theme, -.silver-theme { - --bg-surface: #0f0f0f; - --bg-surface-transparent: rgba(15, 15, 15, 0); - --bg-surface-low: #1a1a1a; - --bg-surface-low-transparent: rgba(26, 26, 26, 0); - --bg-surface-extra-low: #242424; - --bg-surface-extra-low-transparent: rgba(36, 36, 36, 0); - --bg-surface-hover: #242424; - --bg-surface-active: #333333; - --bg-surface-border: #333333; - --bg-primary: hsl(180, 42%, 70%); - --bg-primary-hover: hsl(180, 42%, 70%); - --bg-primary-active: hsl(180, 42%, 70%); - --bg-primary-border: hsl(180, 42%, 70%); - --bg-tooltip: #000; - --bg-badge: hsl(180, 30%, 90%); - --bg-ping: hsl(180, 30%, 90%); - --bg-ping-hover: hsl(180, 30%, 90%); - --bg-divider: #1a1a1a; - --tc-surface-high: hsl(180, 30%, 90%); - --tc-surface-normal: hsl(180, 16%, 83%); - --tc-surface-normal-low: hsl(180, 10%, 77%); - --tc-surface-low: hsl(180, 10%, 77%); - --tc-primary-high: hsl(180, 30%, 90%); - --tc-primary-normal: hsl(180, 16%, 83%); - --tc-primary-low: hsl(180, 10%, 77%); - --tc-code: #e565b1; - --tc-link: hsl(180, 42%, 70%); - --tc-badge: black; - --ic-surface-high: hsl(180, 30%, 90%); - --ic-surface-normal: hsl(180, 30%, 90%); - --ic-surface-low: hsl(180, 30%, 90%); - --ic-primary-normal: #ffffff; - --bg-overlay: rgba(0, 0, 0, 0.6); - --bg-overlay-low: rgba(0, 0, 0, 0.8); - --bs-popup: 0 0 16px rgba(0, 0, 0, 0.25); - --bs-surface-border: inset 0 0 0 1px var(--bg-surface-border); - --bs-surface-outline: 0 0 0 2px var(--bg-surface-border); - --bs-primary-border: inset 0 0 0 1px var(--bg-primary-border); - --bs-primary-outline: 0 0 0 2px var(--bg-primary-border); - --fs-h1: 35.6px; - --fs-h2: 23.6px; - --fs-s1: 17.6px; - --fs-b1: 14.6px; - --ls-b1: 0.14px; - --fs-b2: 13.2px; - --fs-b3: 11.2px; - --fw-normal: 350; - --font-primary: sans-serif; - --font-secondary: sans-serif; -} diff --git a/config/qutebrowser/theme/process.js b/config/qutebrowser/theme/process.js deleted file mode 100644 index c2ed8b8..0000000 --- a/config/qutebrowser/theme/process.js +++ /dev/null @@ -1,14 +0,0 @@ -const Path = require('path') -const fs = require('fs') - -let target = process.argv[2] - -let path = Path.isAbsolute(target) ? target : Path.join(process.cwd(), target) - -let out = fs.readFileSync(path).toString('utf-8').replaceAll( - / <\w+ .*? id='([a-z_]+)' fill='#([A-Za-z0-9]+)'><\/\w+>/g, - '@$1: #$2;' -) -.split('\n').filter(line => line.startsWith('@')).join('\n') - -console.log(out) \ No newline at end of file diff --git a/config/qutebrowser/theme/tea.less b/config/qutebrowser/theme/tea.less deleted file mode 100644 index 9acfc47..0000000 --- a/config/qutebrowser/theme/tea.less +++ /dev/null @@ -1,389 +0,0 @@ -// -// to -// @$1: #$2; - -// @background: #0A0F14; -// @f_high: #FFFFFF; -// @f_med: #98D1CE; -// @f_low: #EDB54B; -// @f_inv: #C33027; -// @b_high: #093748; -// @b_med: #081F2D; -// @b_low: #10151B; -// @b_inv: #8FAF9F; - -// @background: #E0B1CB; -// @f_high: #231942; -// @f_med: #48416d; -// @f_low: #917296; -// @f_inv: #E0B1CB; -// @b_high: #5E548E; -// @b_med: #FFFFFF; -// @b_low: #BE95C4; -// @b_inv: #9F86C0; - -@primary: @f_high; // primary color used in main texts -@secondary: @f_med; // secondary color used in some texts and text based buttons -@tertiary: @f_med; // tertiary color used in other colored texts -@fg: @f_high; -@bg0: @background; -@bg1: @b_low; -@bg2: @b_med; -@bg3: @b_high; -@bg4: @b_high; -@red: #ec7279; -@orange: #deb974; -@yellow: #deb974; -@green: #a0c980; -@cyan: #5dbbc1; -@blue: #6cb6eb; -@purple: #d38aea; -@grey: #758094; -@red-bg: #55393d; -@green-bg: #394634; -@blue-bg: #354157; -@yellow-bg: #4e432f; -@button1: @b_inv; -@button2: @b_inv; -@button-red: @red; -@key: @red; -@operator: @purple; -@string: @green; -@value: @green; -@type: @yellow; -@function: @blue; -@special: @cyan; - -:root { - --is-dark-theme: true; - --color-primary: @primary; - --color-primary-contrast: @bg0; - --color-primary-dark-1: @primary; - --color-primary-dark-2: mix(@fg, @primary, 16.7%); - --color-primary-dark-3: mix(@fg, @primary, 33.3%); - --color-primary-dark-4: mix(@fg, @primary, 50%); - --color-primary-dark-5: mix(@fg, @primary, 66.6%); - --color-primary-dark-6: mix(@fg, @primary, 83.3%); - --color-primary-dark-7: @fg; - --color-primary-light-1: @primary; - --color-primary-light-2: mix(@bg2, @primary, 16.7%); - --color-primary-light-3: mix(@bg2, @primary, 33.3%); - --color-primary-light-4: mix(@bg2, @primary, 50%); - --color-primary-light-5: mix(@bg2, @primary, 66.6%); - --color-primary-light-6: mix(@bg2, @primary, 83.3%); - --color-primary-light-7: @bg2; - --color-primary-alpha-10: fade(@primary, 10%); - --color-primary-alpha-20: fade(@primary, 20%); - --color-primary-alpha-30: fade(@primary, 30%); - --color-primary-alpha-40: fade(@primary, 40%); - --color-primary-alpha-50: fade(@primary, 50%); - --color-primary-alpha-60: fade(@primary, 60%); - --color-primary-alpha-70: fade(@primary, 70%); - --color-primary-alpha-80: fade(@primary, 80%); - --color-primary-alpha-90: fade(@primary, 90%); - --color-secondary: @bg4; - --color-secondary-dark-1: @bg4; - --color-secondary-dark-2: mix(@fg, @bg4, 8.3%); - --color-secondary-dark-3: mix(@fg, @bg4, 16.7%); - --color-secondary-dark-4: mix(@fg, @bg4, 25%); - --color-secondary-dark-5: mix(@fg, @bg4, 33.3%); - --color-secondary-dark-6: mix(@fg, @bg4, 41.7%); - --color-secondary-dark-7: mix(@fg, @bg4, 50%); - --color-secondary-dark-8: mix(@fg, @bg4, 58.3%); - --color-secondary-dark-9: mix(@fg, @bg4, 66.7%); - --color-secondary-dark-10: mix(@fg, @bg4, 75%); - --color-secondary-dark-11: mix(@fg, @bg4, 83.3%); - --color-secondary-dark-12: mix(@fg, @bg4, 91.7%); - --color-secondary-dark-13: @fg; - --color-secondary-light-1: @bg4; - --color-secondary-light-2: @bg3; - --color-secondary-light-3: @bg2; - --color-secondary-light-4: @bg1; - --color-secondary-alpha-10: fade(@bg4, 10%); - --color-secondary-alpha-20: fade(@bg4, 20%); - --color-secondary-alpha-30: fade(@bg4, 30%); - --color-secondary-alpha-40: fade(@bg4, 40%); - --color-secondary-alpha-50: fade(@bg4, 50%); - --color-secondary-alpha-60: fade(@bg4, 60%); - --color-secondary-alpha-70: fade(@bg4, 70%); - --color-secondary-alpha-80: fade(@bg4, 80%); - --color-secondary-alpha-90: fade(@bg4, 90%); - /* colors */ - --color-red: @red; - --color-orange: @orange; - --color-yellow: @yellow; - --color-olive: @green; - --color-green: @green; - --color-teal: @cyan; - --color-blue: @blue; - --color-violet: @purple; - --color-purple: @purple; - --color-pink: @purple; - --color-brown: @orange; - --color-grey: @grey; - /* light variants */ - --color-red-light: @red; - --color-orange-light: @orange; - --color-yellow-light: @yellow; - --color-olive-light: @green; - --color-green-light: @green; - --color-teal-light: @cyan; - --color-blue-light: @blue; - --color-violet-light: @purple; - --color-purple-light: @purple; - --color-pink-light: @purple; - --color-brown-light: @orange; - --color-grey-light: @grey; - /* other colors */ - --color-black: @bg2; - --color-gold: @orange; - --color-white: @bg0; - --color-diff-removed-word-bg: mix(@red-bg, @red, 70%); - --color-diff-added-word-bg: mix(@green-bg, @green, 70%); - --color-diff-removed-row-bg: @red-bg; - --color-diff-moved-row-bg: @blue-bg; - --color-diff-added-row-bg: @green-bg; - --color-diff-removed-row-border: mix(@red-bg, @red, 50%); - --color-diff-moved-row-border: mix(@blue-bg, @blue, 50%); - --color-diff-added-row-border: mix(@green-bg, @green, 50%); - --color-diff-inactive: @bg2; - --color-error-border: mix(@red-bg, @red, 50%); - --color-error-bg: @red-bg; - --color-error-text: @red; - --color-success-border: mix(@green-bg, @green, 50%); - --color-success-bg: @green-bg; - --color-success-text: @green; - --color-warning-border: mix(@yellow-bg, @yellow, 50%); - --color-warning-bg: @yellow-bg; - --color-warning-text: @yellow; - --color-info-border: mix(@blue-bg, @blue, 50%); - --color-info-bg: @blue-bg; - --color-info-text: @blue; - /* target-based colors */ - --color-body: @bg0; - --color-box-header: @bg3; - // --color-box-header: @bg3; - --color-box-body: @bg1; - --color-box-body-highlight: @bg2; - --color-text-dark: @secondary; - --color-text: @fg; - --color-text-hover: fade(@fg, 80%); - --color-text-light: @tertiary; - --color-text-light-1: @tertiary; - --color-text-light-2: @secondary; - --color-text-light-3: @secondary; - --color-footer: @bg1; - --color-timeline: @bg4; - --color-input-text: @fg; - --color-input-background: @bg0; - --color-input-toggle-background: @bg1; - --color-input-border: @bg4; - --color-input-border-hover: mix(@bg4, @grey, 50%); - --color-navbar: @bg1; - --color-navbar-transparent: @bg1; - --color-nav-bg: @bg1; - --color-nav-hover-bg: @bg3; - --color-light: @bg1; - --color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled))); - --color-light-border: @bg4; - --color-hover: fade(@bg4, 50%); - --color-active: fade(@bg4, 50%); - --color-menu: @bg1; - --color-card: @bg1; - --color-markup-table-row: @bg3; - --color-markup-code-block: @bg0; - --color-button: @bg3; - --color-code-bg: @bg0; - --color-code-sidebar-bg: @bg1; - --color-shadow: #00000060; - --color-secondary-bg: @bg1; - --color-text-focus: #fff; - --color-expand-button: @bg2; - --color-placeholder-text: @tertiary; - --color-editor-line-highlight: @bg1; - --color-project-board-bg: @bg0; - --color-project-board-light-label: @primary; - --color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */ - --color-reaction-bg: #ffffff12; - --color-reaction-active-bg: var(--color-primary-alpha-40); - --color-header-bar: @bg1; - --color-label-bg: @bg4; - --color-label-text: @tertiary; - --color-label-active-bg: @bg4; - --color-accent: var(--color-primary-light-1); - --color-small-accent: var(--color-primary-light-5); - --color-active-line: @bg1; - --color-header-wrapper: @bg2; - - accent-color: var(--color-accent); - color-scheme: dark; -} - -.chroma .nx { - color: @fg; -} -.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd { - color: @grey; -} -.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr { - color: @key; -} -.chroma .o, .chroma .ow { - color: @operator; -} -.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf { - color: @string; -} -.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl { - color: @value; -} -.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv { - color: @type; -} -.chroma .nf, .chroma .nb, .chroma .na { - color: @function; -} -.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se { - color: @special; -} - -/* primary buttons */ -.ui.primary.button, .ui.primary.buttons .button { - background: @button1; - background-color: @button1 !important; - color: @bg0; -} - -.ui.primary.button:hover, .ui.primary.buttons .button:hover { - background: fade(@button1, 80%); - background-color: fade(@button1, 80%) !important; - color: @bg0; -} - -.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button { - color: @bg0; - background-color: @button1; - border-color: @button1; -} - -.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover { - color: @bg0; - background-color: @button1; - border-color: @button1; -} - -/* secondary buttons */ -.ui.green.buttons .button, .ui.green.button { - background: @button2; - background-color: @button2; - color: @bg0; -} - -.ui.green.buttons .button:hover, .ui.green.button:hover { - background: fade(@button2, 80%); - background-color: fade(@button2, 80%); - color: @bg0; -} - -/* text based buttons (purple) */ -.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button { - color: @secondary; -} - -.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover { - color: @secondary; -} - -/* repo title && header */ -.repo-title { - color: @secondary; -} - -/* star number && fork number */ -.repo-buttons button[disabled] ~ .label, -.repo-buttons .ui.labeled.button.disabled > .label { - color: @primary; -} - -.ui.basic.labels .label, .ui.basic.label { - color: @primary; -} - -/* hover on commits, branch, tags in project home page */ -.repository .ui.segment.sub-menu .list .item a:hover, -.ui.tabular.menu .item:hover { - color: var(--color-text-hover); -} - -/* commit label */ -.ui.primary.labels .label, .ui.ui.ui.primary.label { - color: @bg0; -} - -/* issue label */ -.ui.green.labels .label, .ui.ui.ui.green.label { - color: @bg0; -} - -/* grey button (rss feed button in repository home page) */ -i.grey.icon.icon.icon.icon { - color: @grey -} - -/* scroll bar */ -* { - scrollbar-color: @secondary transparent !important; -} -::-webkit-scrollbar { - width: 10px; - height: 10px; -} -::-webkit-scrollbar-thumb { - box-shadow: inset 0 0 0 6px @secondary !important; - border: 2px solid transparent; - border-radius: 5px !important; -} -::-webkit-scrollbar-thumb:window-inactive { - box-shadow: inset 0 0 0 6px @secondary !important; -} -::-webkit-scrollbar-thumb:hover { - box-shadow: inset 0 0 0 6px @secondary !important; -} -::-webkit-scrollbar-corner { - background: transparent; -} - -/* red buttons */ -.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button { - background: @button-red; - background-color: @button-red; - color: @bg0; -} - -.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover { - background: fade(@button-red, 80%); - background-color: fade(@button-red, 80%); - color: @bg0; -} - -/* grey buttons */ -.ui.labels a.label, a.ui.label { - background-color: @bg1; -} - -.ui.labels a.label:hover, a.ui.label:hover { - background-color: @bg0; -} - -/* orange buttons */ -.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button { - background: @orange; - background-color: @orange; - color: @bg0; -} - -.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover { - background: fade(@orange, 80%); - background-color: fade(@orange, 80%); - color: @bg0; -} \ No newline at end of file diff --git a/config/qutebrowser/theme/temp.less b/config/qutebrowser/theme/temp.less deleted file mode 100644 index 58c76f2..0000000 --- a/config/qutebrowser/theme/temp.less +++ /dev/null @@ -1,397 +0,0 @@ -@background: #d09090; -@f_high: #000000; -@f_med: #fffafa; -@f_low: #6ea2a1; -@f_inv: #ff1493; -@b_high: #7fffd4; -@b_med: #6ADEDC; -@b_low: #b08686; -@b_inv: #7fffd4;// -// to -// @$1: #$2; - -// @background: #0A0F14; -// @f_high: #FFFFFF; -// @f_med: #98D1CE; -// @f_low: #EDB54B; -// @f_inv: #C33027; -// @b_high: #093748; -// @b_med: #081F2D; -// @b_low: #10151B; -// @b_inv: #8FAF9F; - -// @background: #E0B1CB; -// @f_high: #231942; -// @f_med: #48416d; -// @f_low: #917296; -// @f_inv: #E0B1CB; -// @b_high: #5E548E; -// @b_med: #FFFFFF; -// @b_low: #BE95C4; -// @b_inv: #9F86C0; - -@primary: @f_high; // primary color used in main texts -@secondary: @f_med; // secondary color used in some texts and text based buttons -@tertiary: @f_med; // tertiary color used in other colored texts -@fg: @f_high; -@bg0: @background; -@bg1: @b_low; -@bg2: @b_med; -@bg3: @b_high; -@bg4: @b_high; -@red: #ec7279; -@orange: #deb974; -@yellow: #deb974; -@green: #a0c980; -@cyan: #5dbbc1; -@blue: #6cb6eb; -@purple: #d38aea; -@grey: #758094; -@red-bg: #55393d; -@green-bg: #394634; -@blue-bg: #354157; -@yellow-bg: #4e432f; -@button1: @b_inv; -@button2: @b_inv; -@button-red: @red; -@key: @red; -@operator: @purple; -@string: @green; -@value: @green; -@type: @yellow; -@function: @blue; -@special: @cyan; - -:root { - --is-dark-theme: true; - --color-primary: @primary; - --color-primary-contrast: @bg0; - --color-primary-dark-1: @primary; - --color-primary-dark-2: mix(@fg, @primary, 16.7%); - --color-primary-dark-3: mix(@fg, @primary, 33.3%); - --color-primary-dark-4: mix(@fg, @primary, 50%); - --color-primary-dark-5: mix(@fg, @primary, 66.6%); - --color-primary-dark-6: mix(@fg, @primary, 83.3%); - --color-primary-dark-7: @fg; - --color-primary-light-1: @primary; - --color-primary-light-2: mix(@bg2, @primary, 16.7%); - --color-primary-light-3: mix(@bg2, @primary, 33.3%); - --color-primary-light-4: mix(@bg2, @primary, 50%); - --color-primary-light-5: mix(@bg2, @primary, 66.6%); - --color-primary-light-6: mix(@bg2, @primary, 83.3%); - --color-primary-light-7: @bg2; - --color-primary-alpha-10: fade(@primary, 10%); - --color-primary-alpha-20: fade(@primary, 20%); - --color-primary-alpha-30: fade(@primary, 30%); - --color-primary-alpha-40: fade(@primary, 40%); - --color-primary-alpha-50: fade(@primary, 50%); - --color-primary-alpha-60: fade(@primary, 60%); - --color-primary-alpha-70: fade(@primary, 70%); - --color-primary-alpha-80: fade(@primary, 80%); - --color-primary-alpha-90: fade(@primary, 90%); - --color-secondary: @bg4; - --color-secondary-dark-1: @bg4; - --color-secondary-dark-2: mix(@fg, @bg4, 8.3%); - --color-secondary-dark-3: mix(@fg, @bg4, 16.7%); - --color-secondary-dark-4: mix(@fg, @bg4, 25%); - --color-secondary-dark-5: mix(@fg, @bg4, 33.3%); - --color-secondary-dark-6: mix(@fg, @bg4, 41.7%); - --color-secondary-dark-7: mix(@fg, @bg4, 50%); - --color-secondary-dark-8: mix(@fg, @bg4, 58.3%); - --color-secondary-dark-9: mix(@fg, @bg4, 66.7%); - --color-secondary-dark-10: mix(@fg, @bg4, 75%); - --color-secondary-dark-11: mix(@fg, @bg4, 83.3%); - --color-secondary-dark-12: mix(@fg, @bg4, 91.7%); - --color-secondary-dark-13: @fg; - --color-secondary-light-1: @bg4; - --color-secondary-light-2: @bg3; - --color-secondary-light-3: @bg2; - --color-secondary-light-4: @bg1; - --color-secondary-alpha-10: fade(@bg4, 10%); - --color-secondary-alpha-20: fade(@bg4, 20%); - --color-secondary-alpha-30: fade(@bg4, 30%); - --color-secondary-alpha-40: fade(@bg4, 40%); - --color-secondary-alpha-50: fade(@bg4, 50%); - --color-secondary-alpha-60: fade(@bg4, 60%); - --color-secondary-alpha-70: fade(@bg4, 70%); - --color-secondary-alpha-80: fade(@bg4, 80%); - --color-secondary-alpha-90: fade(@bg4, 90%); - /* colors */ - --color-red: @red; - --color-orange: @orange; - --color-yellow: @yellow; - --color-olive: @green; - --color-green: @green; - --color-teal: @cyan; - --color-blue: @blue; - --color-violet: @purple; - --color-purple: @purple; - --color-pink: @purple; - --color-brown: @orange; - --color-grey: @grey; - /* light variants */ - --color-red-light: @red; - --color-orange-light: @orange; - --color-yellow-light: @yellow; - --color-olive-light: @green; - --color-green-light: @green; - --color-teal-light: @cyan; - --color-blue-light: @blue; - --color-violet-light: @purple; - --color-purple-light: @purple; - --color-pink-light: @purple; - --color-brown-light: @orange; - --color-grey-light: @grey; - /* other colors */ - --color-black: @bg2; - --color-gold: @orange; - --color-white: @bg0; - --color-diff-removed-word-bg: mix(@red-bg, @red, 70%); - --color-diff-added-word-bg: mix(@green-bg, @green, 70%); - --color-diff-removed-row-bg: @red-bg; - --color-diff-moved-row-bg: @blue-bg; - --color-diff-added-row-bg: @green-bg; - --color-diff-removed-row-border: mix(@red-bg, @red, 50%); - --color-diff-moved-row-border: mix(@blue-bg, @blue, 50%); - --color-diff-added-row-border: mix(@green-bg, @green, 50%); - --color-diff-inactive: @bg2; - --color-error-border: mix(@red-bg, @red, 50%); - --color-error-bg: @red-bg; - --color-error-text: @red; - --color-success-border: mix(@green-bg, @green, 50%); - --color-success-bg: @green-bg; - --color-success-text: @green; - --color-warning-border: mix(@yellow-bg, @yellow, 50%); - --color-warning-bg: @yellow-bg; - --color-warning-text: @yellow; - --color-info-border: mix(@blue-bg, @blue, 50%); - --color-info-bg: @blue-bg; - --color-info-text: @blue; - /* target-based colors */ - --color-body: @bg0; - --color-box-header: @bg3; - // --color-box-header: @bg3; - --color-box-body: @bg1; - --color-box-body-highlight: @bg2; - --color-text-dark: @secondary; - --color-text: @fg; - --color-text-hover: fade(@fg, 80%); - --color-text-light: @tertiary; - --color-text-light-1: @tertiary; - --color-text-light-2: @secondary; - --color-text-light-3: @secondary; - --color-footer: @bg1; - --color-timeline: @bg4; - --color-input-text: @fg; - --color-input-background: @bg0; - --color-input-toggle-background: @bg1; - --color-input-border: @bg4; - --color-input-border-hover: mix(@bg4, @grey, 50%); - --color-navbar: @bg1; - --color-navbar-transparent: @bg1; - --color-nav-bg: @bg1; - --color-nav-hover-bg: @bg3; - --color-light: @bg1; - --color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled))); - --color-light-border: @bg4; - --color-hover: fade(@bg4, 50%); - --color-active: fade(@bg4, 50%); - --color-menu: @bg1; - --color-card: @bg1; - --color-markup-table-row: @bg3; - --color-markup-code-block: @bg0; - --color-button: @bg3; - --color-code-bg: @bg0; - --color-code-sidebar-bg: @bg1; - --color-shadow: #00000060; - --color-secondary-bg: @bg1; - --color-text-focus: #fff; - --color-expand-button: @bg2; - --color-placeholder-text: @tertiary; - --color-editor-line-highlight: @bg1; - --color-project-board-bg: @bg0; - --color-project-board-light-label: @primary; - --color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */ - --color-reaction-bg: #ffffff12; - --color-reaction-active-bg: var(--color-primary-alpha-40); - --color-header-bar: @bg1; - --color-label-bg: @bg4; - --color-label-text: @tertiary; - --color-label-active-bg: @bg4; - --color-accent: var(--color-primary-light-1); - --color-small-accent: var(--color-primary-light-5); - --color-active-line: @bg1; - --color-header-wrapper: @bg2; - - accent-color: var(--color-accent); - color-scheme: dark; -} - -.chroma .nx { - color: @fg; -} -.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd { - color: @grey; -} -.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr { - color: @key; -} -.chroma .o, .chroma .ow { - color: @operator; -} -.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf { - color: @string; -} -.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl { - color: @value; -} -.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv { - color: @type; -} -.chroma .nf, .chroma .nb, .chroma .na { - color: @function; -} -.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se { - color: @special; -} - -/* primary buttons */ -.ui.primary.button, .ui.primary.buttons .button { - background: @button1; - background-color: @button1 !important; - color: @bg0; -} - -.ui.primary.button:hover, .ui.primary.buttons .button:hover { - background: fade(@button1, 80%); - background-color: fade(@button1, 80%) !important; - color: @bg0; -} - -.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button { - color: @bg0; - background-color: @button1; - border-color: @button1; -} - -.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover { - color: @bg0; - background-color: @button1; - border-color: @button1; -} - -/* secondary buttons */ -.ui.green.buttons .button, .ui.green.button { - background: @button2; - background-color: @button2; - color: @bg0; -} - -.ui.green.buttons .button:hover, .ui.green.button:hover { - background: fade(@button2, 80%); - background-color: fade(@button2, 80%); - color: @bg0; -} - -/* text based buttons (purple) */ -.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button { - color: @secondary; -} - -.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover { - color: @secondary; -} - -/* repo title && header */ -.repo-title { - color: @secondary; -} - -/* star number && fork number */ -.repo-buttons button[disabled] ~ .label, -.repo-buttons .ui.labeled.button.disabled > .label { - color: @primary; -} - -.ui.basic.labels .label, .ui.basic.label { - color: @primary; -} - -/* hover on commits, branch, tags in project home page */ -.repository .ui.segment.sub-menu .list .item a:hover, -.ui.tabular.menu .item:hover { - color: var(--color-text-hover); -} - -/* commit label */ -.ui.primary.labels .label, .ui.ui.ui.primary.label { - color: @bg0; -} - -/* issue label */ -.ui.green.labels .label, .ui.ui.ui.green.label { - color: @bg0; -} - -/* grey button (rss feed button in repository home page) */ -i.grey.icon.icon.icon.icon { - color: @grey -} - -/* scroll bar */ -* { - scrollbar-color: @secondary transparent !important; -} -::-webkit-scrollbar { - width: 10px; - height: 10px; -} -::-webkit-scrollbar-thumb { - box-shadow: inset 0 0 0 6px @secondary !important; - border: 2px solid transparent; - border-radius: 5px !important; -} -::-webkit-scrollbar-thumb:window-inactive { - box-shadow: inset 0 0 0 6px @secondary !important; -} -::-webkit-scrollbar-thumb:hover { - box-shadow: inset 0 0 0 6px @secondary !important; -} -::-webkit-scrollbar-corner { - background: transparent; -} - -/* red buttons */ -.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button { - background: @button-red; - background-color: @button-red; - color: @bg0; -} - -.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover { - background: fade(@button-red, 80%); - background-color: fade(@button-red, 80%); - color: @bg0; -} - -/* grey buttons */ -.ui.labels a.label, a.ui.label { - background-color: @bg1; -} - -.ui.labels a.label:hover, a.ui.label:hover { - background-color: @bg0; -} - -/* orange buttons */ -.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button { - background: @orange; - background-color: @orange; - color: @bg0; -} - -.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover { - background: fade(@orange, 80%); - background-color: fade(@orange, 80%); - color: @bg0; -} diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi deleted file mode 100644 index c74465b..0000000 --- a/config/rofi/config.rasi +++ /dev/null @@ -1,6 +0,0 @@ -configuration { - modes: [ combi ]; - combi-modes: [ window, drun, run, dmenu ]; -} - -@theme "theme" \ No newline at end of file diff --git a/config/rofi/theme.rasi b/config/rofi/theme.rasi deleted file mode 100644 index 59ba0bd..0000000 --- a/config/rofi/theme.rasi +++ /dev/null @@ -1,159 +0,0 @@ -// Kaolin Dark theme for Rofi -// by Dakedres -// edited from a theme by Qball - -* { - base00: #18181B; - base01: #222225; - base02: #4B5254; - base03: #545C5E; - base04: #879193; - base05: #9ba5a7; - base06: #d0d0d4; - base07: #E4E4E8; - base08: #CD5C60; - base09: #DBAC66; - base0A: #F2C866; - base0B: #6FB593; - base0C: #4D9391; - base0D: #91B9C7; - base0E: #845A84; - base0F: #E36D5B; - - foreground: @base05; - normal-foreground: @foreground; - alternate-normal-foreground: @foreground; - selected-urgent-foreground: rgba ( 245, 245, 245, 100 % ); - urgent-foreground: rgba ( 215, 95, 0, 100 % ); - alternate-urgent-background: rgba ( 208, 208, 208, 100 % ); - active-foreground: rgba ( 0, 95, 135, 100 % ); - selected-active-foreground: rgba ( 245, 245, 245, 100 % ); - background: @base00; - normal-background: @base00; - alternate-normal-background: @base01; - selected-normal-background: @base0C; - selected-normal-foreground: @base07; - border-color: @base02; - spacing: 2; - separator: @border-color; - urgent-background: rgba ( 245, 245, 245, 100 % ); - selected-urgent-background: rgba ( 215, 95, 0, 100 % ); - alternate-urgent-foreground: @urgent-foreground; - background-color: rgba ( 0, 0, 0, 0 % ); - active-background: @base0C; - alternate-active-background: @active-background; - selected-active-background: @active-background; -} -window { - location: north; - anchor: north; - background-color: @background; - border: 1; - padding: 5; - y-offset: 20; - c: "Ubuntu Mono 11"; -} -mainbox { - border: 0; - padding: 0; -} -message { - border: 2px 0px 0px ; - border-color: @separator; - padding: 1px ; -} -textbox { - text-color: @foreground; -} -listview { - fixed-height: 0; - border: 2px 0px 0px ; - border-color: @separator; - spacing: 2px ; - scrollbar: true; - padding: 2px 0px 0px ; -} -element { - border: 0; - padding: 1px ; -} -element-text { - background-color: inherit; - text-color: inherit; -} -element.normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} -element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -element.normal.active { - background-color: @active-background; - text-color: @active-foreground; -} -element.selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} -element.selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} -element.alternate.normal { - background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; -} -element.alternate.urgent { - background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; -} -element.alternate.active { - background-color: @alternate-active-background; - text-color: @alternate-active-foreground; -} -scrollbar { - width: 4px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -mode-switcher { - border: 2px 0px 0px ; - border-color: @separator; -} -button.selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -inputbar { - spacing: 0; - text-color: @normal-foreground; - padding: 1px ; -} -case-indicator { - spacing: 0; - text-color: @normal-foreground; -} -entry { - spacing: 0; - text-color: @normal-foreground; -} -prompt { - spacing: 0; - text-color: @normal-foreground; -} -inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em ; - text-color: @normal-foreground; -} diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index ab1f572..613a13a 100755 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -4,11 +4,11 @@ # Open kitty alt + Return - kitty + alacritty # Open floating kitty alt + shift + Return - bsp-float kitty + bsp-float alacritty # launch program alt + @space @@ -37,6 +37,37 @@ alt + v alt + shift + v greenclip clear +# Increase volume +XF86AudioRaiseVolume + amixer -D default sset Master 5%+ + +# Decrease volume +XF86AudioLowerVolume + amixer -D default sset Master 5%- + +# Toggle audio mute +XF86AudioMute + amixer -D default set Master 1+ toggle + +# Play/pause track +XF86AudioPlay + playerctl play-pause + +# Previus track +XF86AudioNext + playerctl next + +# Previous track +XF86AudioPrev + playerctl previous + +# Stop track +XF86AudioStop + playerctl stop + +super + {Up,Down} + xdotool key {Page_Up,Page_Down} + # # bspwm hotkeys # @@ -142,13 +173,11 @@ alt + ctrl + shift + space # move/resize # -# Resize a window by moving one of its side outward/inward -alt + s ; {h,j,k,l,Left,Down,Up,Right} - STEP=20; SELECTION={1,2,3,4,1,2,3,4}; \ - bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \ - bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION) - -# move a floating window +# Expand/contract a window by moving one of its side outward/inward +alt + s; {h,j,k,l,Left,Down,Up,Right} + bspc node -z {left -20 0,right 20 0,top 0 -20,bottom 0 20,left -20 0,right 20 0,top 0 -20,bottom 0 20} + +move a floating window alt + {h,j,k,l} bspc node -v {-30 0,0 20,0 -30,20 0} @@ -173,4 +202,4 @@ alt + t # toggle autoattach in tabbed container alt + shift + t - tabc autoattach $(bspc query -N -n) \ No newline at end of file + tabc autoattach $(bspc query -N -n) diff --git a/config/tint2/tint2rc b/config/tint2/tint2rc old mode 100755 new mode 100644 index 9e5caa4..37133c9 --- a/config/tint2/tint2rc +++ b/config/tint2/tint2rc @@ -1,4 +1,4 @@ -#---- Generated by tint2conf b81d ---- +#---- Generated by tint2conf b43d ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- @@ -81,7 +81,7 @@ border_color_pressed = #000000 100 #------------------------------------- # Panel panel_items = PT:S:C: -panel_size = 100% 40 +panel_size = 100% 35 panel_margin = 0 0 panel_padding = 2 0 2 panel_background_id = 1 @@ -121,7 +121,6 @@ taskbar_always_show_all_desktop_tasks = 0 taskbar_name_padding = 1 0 taskbar_name_background_id = 0 taskbar_name_active_background_id = 2 -taskbar_name_font = Ubuntu Ultra-Bold 10 taskbar_name_font_color = #e3e3e3 100 taskbar_name_active_font_color = #ffffff 100 taskbar_distribute_size = 1 @@ -190,7 +189,7 @@ clock_background_id = 0 clock_tooltip = clock_tooltip_timezone = clock_lclick_command = -clock_rclick_command = orage +clock_rclick_command = clock_mclick_command = clock_uwheel_command = clock_dwheel_command = @@ -252,7 +251,6 @@ button_rclick_command = button_mclick_command = button_uwheel_command = button_dwheel_command = -button_font = Ubuntu 10 button_font_color = #ffffff 100 button_padding = 0 7 button_background_id = 0 diff --git a/scripts/chama b/scripts/chama new file mode 100755 index 0000000..89fc280 --- /dev/null +++ b/scripts/chama @@ -0,0 +1,10 @@ +BROWSER=qutebrowser + +feh --bg-scale /home/dakedres/pictures/blur-pseudo-mono.png +setxkbmap -option caps:swapescape + +pipewire & +tint2 & +mate-power-manager & +nm-applet & +dbus-run-session bspwm diff --git a/scripts/power b/scripts/power new file mode 100755 index 0000000..66c0cc9 --- /dev/null +++ b/scripts/power @@ -0,0 +1,40 @@ +#!/bin/sh + +lang_pc_shutdown="Shutdown" +lang_pc_reboot="Reboot" +lang_pc_logout="Log out" +lang_pc_lock="Lock" +lang_notification_name="Power manager" +lang_notificaton_shutdown="A power off request has been sent. The computer should shut down in a moment." + +# Icons +lang_pc_shutdown="🚪 $lang_pc_shutdown" +lang_pc_reboot="🔃 $lang_pc_reboot" +lang_pc_logout="👥 $lang_pc_logout" +lang_pc_lock="🔒 $lang_pc_lock" + +selected=$( + printf "%s\n%s\n%s\n%s\n" \ + "$lang_pc_shutdown" "$lang_pc_reboot" "$lang_pc_logout" | + rofi -dmenu -p "powermenu" -lines 4 +) + +case $selected in + "$lang_pc_shutdown") + notify-send "$lang_notification_name" "$lang_notificaton_shutdown" + shutdown -h now + ;; + + "$lang_pc_reboot") + notify-send "$lang_notification_name" "$lang_notificaton_shutdown" + reboot + ;; + + "$lang_pc_logout") + bspc quit + ;; + + "$lang_pc_lock") + light-locker-command --lock + ;; +esac diff --git a/scripts/qutesearch b/scripts/qutesearch index 98ce7e7..4ecd999 100755 --- a/scripts/qutesearch +++ b/scripts/qutesearch @@ -1,6 +1,6 @@ #!/bin/sh db=$HOME/.local/share/qutebrowser/history.sqlite -url=$(sqlite3 "$db" "select title,url from History" | tac | awk '!a[$0]++' | rofi -dmenu | awk -F '|' '{print $NF}') +url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}') [ -z "$url" ] && exit qutebrowser --target window "$url" diff --git a/scripts/tabc-smart-detach b/scripts/tabc-smart-detach index e00c722..5467080 100755 --- a/scripts/tabc-smart-detach +++ b/scripts/tabc-smart-detach @@ -6,4 +6,4 @@ if [ "$(tabc printclass $id)" == "tabbed" ]; then tabc detach $id; else \ tabc attach $id $(bspc query -N -n $1); -fi +fi \ No newline at end of file diff --git a/scripts/web b/scripts/web index 1304db8..a550a88 100755 --- a/scripts/web +++ b/scripts/web @@ -1,2 +1,2 @@ echo "$1" -chromium --new-window --app="$1" +ungoogled-chromium --new-window --app="$1" diff --git a/wallpapers/blur-pseudo-dithered.png b/wallpapers/blur-pseudo-dithered.png new file mode 100644 index 0000000..de5636c Binary files /dev/null and b/wallpapers/blur-pseudo-dithered.png differ diff --git a/wallpapers/blur-pseudo-mono.png b/wallpapers/blur-pseudo-mono.png new file mode 100644 index 0000000..b96e5aa Binary files /dev/null and b/wallpapers/blur-pseudo-mono.png differ