diff --git a/bin/wackysnap b/bin/wackysnap new file mode 100755 index 0000000..f1cde54 --- /dev/null +++ b/bin/wackysnap @@ -0,0 +1,71 @@ +#!/usr/bin/env bash + +# ---------------------------------------------------------------------------- +# --- Simple screenshot script using maim and AwesomeWM API +# -- +# -- Accepts `area` and `full` string args +# -- +# -- For more details check `man maim` +# -- +# -- @author manilarome <gerome.matilla07@gmail.com> +# -- @copyright 2020 manilarome +# -- @script snap +# ---------------------------------------------------------------------------- + +screenshot_dir=$(xdg-user-dir PICTURES)/Screenshots/ + +# Check save directory +# Create it if it doesn't exist +function check_dir() { + if [ ! -d "$screenshot_dir" ]; + then + mkdir -p "$screenshot_dir" + fi +} + +# Main function +function shot() { + + check_dir + + file_loc="${screenshot_dir}$(date +%Y%m%d_%H%M%S).png" + + maim_command="$1" + notif_message="$2" + + # Execute maim command + ${maim_command} "${file_loc}" + + # Exit if the user cancels the screenshot + # So it means there's no new screenshot image file + if [ ! -f "${file_loc}" ]; + then + exit; + fi + + # Copy to clipboard + xclip -selection clipboard -t image/png -i "${screenshot_dir}"/`ls -1 -t "${screenshot_dir}" | head -1` & + +} + +# Check the args passed +if [ -z "$1" ] || ([ "$1" != 'full' ] && [ "$1" != 'area' ]); +then + echo " + Requires an argument: + area - Area screenshot + full - Fullscreen screenshot + + Example: + ./snap area + ./snap full + " +elif [ "$1" = 'full' ]; +then + msg="Full screenshot saved and copied to clipboard!" + shot 'maim -u -m 1' "${msg}" +elif [ "$1" = 'area' ]; +then + msg='Area screenshot saved and copied to clipboard!' + shot 'maim -u -s -n -m 1' "${msg}" +fi diff --git a/cfg/eww/eww.scss b/cfg/eww/eww.scss new file mode 100644 index 0000000..468ef5f --- /dev/null +++ b/cfg/eww/eww.scss @@ -0,0 +1,77 @@ +$background: #2f343f; +$background-alt: #434852; +$foreground: #ddd; +$accent: #bf616a; + +/** Global *******************************************/ +* +{ + all: unset; +} + + +/** Generic window ***********************************/ +.genwin +{ + background-color: $background; + color: $foreground; +} + +/** System ********************************************/ +.icon +{ + font-family: "feather"; + font-size : 18px; + font-weight : normal; +} + +scale trough +{ + all: unset; + background-color: $background-alt; + border-radius: 6px; + min-height: 5px; + min-width: 250px; +} + +scale trough highlight +{ + all: unset; + border-radius: 6px; + background-color: $accent; +} + +/** Weather ***************************************/ +.weathicon +{ + font-family: "JetBrainsMono Nerd Font"; + margin: 0 25 0 35; + font-size: 38; + color: $accent; +} + +.weathtemp +{ + font-family: roboto; + font-size: 24; + margin-top: -3; +} + +.weathdesc +{ + font-family: roboto; + font-size: 18; + margin-top: -6; +} + +/** Date ***************************************/ +.day-text +{ + margin-top: 16; + font-size: 28; +} + +.month-text +{ + font-size: 18; +} \ No newline at end of file diff --git a/cfg/eww/eww.yuck b/cfg/eww/eww.yuck new file mode 100644 index 0000000..ef10031 --- /dev/null +++ b/cfg/eww/eww.yuck @@ -0,0 +1,118 @@ +;; Special thanks to: https://github.com/rxyhn + +;; resource_usage vars +(defpoll CPU_USAGE :interval "1s" "~/.config/eww/scripts/sys_info --cpu") +(defpoll MEM_USAGE :interval "1s" "~/.config/eww/scripts/sys_info --mem") +(defpoll current-brightness :interval "1s" "brightnessctl -m | awk -F, '{print substr($4, 0, length($4)-1)}' | tr -d '%'") +(defpoll current-volume :interval "1s" "amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'") +(defpoll current-battery :interval "1s" "cat /sys/class/power_supply/BAT1/capacity") +(defpoll BAT_STATUS :interval "1s" "~/.config/eww/scripts/battery") + +;; Weather vars +(defpoll weathericon :interval "1h" "~/.config/eww/scripts/weather --icon") +(defpoll tempt :interval "1h" "~/.config/eww/scripts/weather --temp" ) +(defpoll descr :interval "1h" "~/.config/eww/scripts/weather --desc") + +;; Date vars +(defpoll date :interval "1s" "date '+%d'") +(defpoll month :interval "1s" "date '+%b'") + +;; ******************************************************************************** + +;; resource_usage +(defwidget resource_usage [] + (box :class "genwin" + :vexpand "false" + :hexpand "false" + (box :orientation "v" + :spacing 25 + :halign "center" + :valign "center" + :space-evenly "false" + :vexpand "false" + :hexpand "false" + + (box :class "bar" + :orientation "h" + :spacing 20 + :space-evenly "false" + :vexpand "false" + :hexpand "false" + (label :class "icon" :text "") + (scale + :min 0 + :max 100 + :value CPU_USAGE + :active "false")) + + (box :class "bar" + :orientation "h" + :spacing 20 + :space-evenly "false" + :vexpand "false" + :hexpand "false" + (label :class "icon" :text "") + (scale :min 0 + :max 100 + :value MEM_USAGE + :active "false")) + + (box :class "bar" + :orientation "h" + :spacing 20 + :space-evenly "false" + :vexpand "false" + :hexpand "false" + (label :class "icon" :text BAT_STATUS) + (scale + :min 0 + :max 100 + :value current-battery + :active "false"))))) + +;; weather +(defwidget weather [] + (box :class "genwin" + :orientation "h" + :space-evenly "false" + :spacing 25 + (label :class "weathicon" :text weathericon) + (box :orientation "v" + :space-evenly "false" + :spacing 5 + :valign "center" + :halign "end" + (label :class "weathtemp" :text "${tempt}°C") + (label :class "weathdesc" :wrap "true" :text descr)))) + +;; date +(defwidget date [] + (box :class "genwin" + :orientation "v" + :space-evenly "false" + (label :text {date} :class "day-text" :limit-width 20) + (label :text {month} :class "month-text" :limit-width 20))) + +;; resource_usage +(defwindow resource_usage :stacking "bg" :focusable "false" :screen 1 :windowtype "dock" + :geometry (geometry :x "998" + :y 18 + :width 350 + :height 145) + (resource_usage)) + +;; weather +(defwindow weather :stacking "bg" :focusable "false" :screen 1 :windowtype "dock" + :geometry (geometry :x 1113 + :y 178 + :width 235 + :height 100) + (weather)) + +;; date +(defwindow date :stacking "bg" :focusable "false" :screen 1 :windowtype "dock" + :geometry (geometry :x 998 + :y 178 + :width 100 + :height 100) + (date)) \ No newline at end of file diff --git a/cfg/eww/scripts/battery b/cfg/eww/scripts/battery new file mode 100755 index 0000000..ccc41bd --- /dev/null +++ b/cfg/eww/scripts/battery @@ -0,0 +1,7 @@ +#!/bin/bash + +if cat /sys/class/power_supply/BAT1/status | grep -q "Discharging"; then + printf ""; +else + printf ""; +fi \ No newline at end of file diff --git a/cfg/eww/scripts/sys_info b/cfg/eww/scripts/sys_info new file mode 100755 index 0000000..64a50ff --- /dev/null +++ b/cfg/eww/scripts/sys_info @@ -0,0 +1,78 @@ +#!/bin/bash + +## Files and Data +PREV_TOTAL=0 +PREV_IDLE=0 +cpuFile="/tmp/.cpu_usage" + +## Get CPU usage +get_cpu() { + if [[ -f "${cpuFile}" ]]; then + fileCont=$(cat "${cpuFile}") + PREV_TOTAL=$(echo "${fileCont}" | head -n 1) + PREV_IDLE=$(echo "${fileCont}" | tail -n 1) + fi + + CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics. + unset CPU[0] # Discard the "cpu" prefix. + IDLE=${CPU[4]} # Get the idle CPU time. + + # Calculate the total CPU time. + TOTAL=0 + + for VALUE in "${CPU[@]:0:4}"; do + let "TOTAL=$TOTAL+$VALUE" + done + + if [[ "${PREV_TOTAL}" != "" ]] && [[ "${PREV_IDLE}" != "" ]]; then + # Calculate the CPU usage since we last checked. + let "DIFF_IDLE=$IDLE-$PREV_IDLE" + let "DIFF_TOTAL=$TOTAL-$PREV_TOTAL" + let "DIFF_USAGE=(1000*($DIFF_TOTAL-$DIFF_IDLE)/$DIFF_TOTAL+5)/10" + echo "${DIFF_USAGE}" + else + echo "?" + fi + + # Remember the total and idle CPU times for the next check. + echo "${TOTAL}" > "${cpuFile}" + echo "${IDLE}" >> "${cpuFile}" +} + +## Get Used memory +get_mem() { + printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}') +} + +## Get Brightness +get_blight() { + CARD=`ls /sys/class/backlight | head -n 1` + + if [[ "$CARD" == *"amdgpu_"* ]]; then + BNESS=`brightnessctl i | grep '%' | awk -F'(' '{print $2}' | awk -F'%' '{print $1}'` + LIGHT=${BNESS%.*} + else + BNESS=`blight -d $CARD get brightness` + PERC="$(($BNESS*100/255))" + LIGHT=${PERC%.*} + fi + + echo "$LIGHT" +} + +## Get Battery +get_battery() { + BAT=`ls /sys/class/power_supply | grep BAT | head -n 1` + cat /sys/class/power_supply/${BAT}/capacity +} + +## Execute accordingly +if [[ "$1" == "--cpu" ]]; then + get_cpu +elif [[ "$1" == "--mem" ]]; then + get_mem +elif [[ "$1" == "--blight" ]]; then + get_blight +elif [[ "$1" == "--bat" ]]; then + get_battery +fi diff --git a/cfg/eww/scripts/weather b/cfg/eww/scripts/weather new file mode 100755 index 0000000..4ce5630 --- /dev/null +++ b/cfg/eww/scripts/weather @@ -0,0 +1,203 @@ +#!/bin/sh + +# go here to get api and documentation https://openweathermap.org/api + + +# Documentation for weather quote below +# https://openweathermap.org/weather-conditions#Weather-Condition-Codes-2 +# Documentation of Icons to use for weather +# https://erikflowers.github.io/weather-icons/api-list.html + +updateweather() { +[ -d /tmp/weather ] || mkdir /tmp/weather +KEY="30689c795a0e1db1afef08740a97c479" +ID="1185241" +UNIT="metric" +weat=$(curl -sf "https://api.openweathermap.org/data/2.5/weather?id="$ID"&appid="$KEY"&units="$UNIT"") + +ID=$(echo "$weat" | jq -r ".weather[].id") + +desc="" +icon="" + +if [ "$ID" = 200 ]; then + desc="Thunderstorm With Light Rain" + icon="" +elif [ "$ID" = 201 ]; then + desc="Thunderstorm With Rain" + icon="" +elif [ "$ID" = 202 ]; then + desc="Thunderstorm With Heavy Rain" + icon="" +elif [ "$ID" = 210 ]; then + desc="Light Thunderstorm" + icon="" +elif [ "$ID" = 211 ]; then + desc="Thunderstorm" + icon="" +elif [ "$ID" = 212 ]; then + desc="Heavy Thunderstorm" + icon="" +elif [ "$ID" = 221 ]; then + desc="Ragged Thunderstorm" + icon="" +elif [ "$ID" = 230 ]; then + desc="Thunderstorm With Light Drizzle" + icon="" +elif [ "$ID" = 231 ]; then + desc="Thunderstorm With Drizzle" + icon="" +elif [ "$ID" = 232 ]; then + desc="Thunderstorm With Heavy Drizzle" + icon="" +elif [ "$ID" = 300 ]; then + desc="Light Intensity Drizzle" + icon="" +elif [ "$ID" = 301 ]; then + desc="Drizzle" + icon="" +elif [ "$ID" = 302 ]; then + desc="Heavy Intensity Drizzle" + icon="" +elif [ "$ID" = 310 ]; then + desc="Light Intensity Drizzle Rain" + icon="" +elif [ "$ID" = 311 ]; then + desc="Drizzle Rain" + icon="" +elif [ "$ID" = 312 ]; then + desc="Heavy Intensity Drizzle Rain" + icon="" +elif [ "$ID" = 313 ]; then + desc="Shower Rain And Drizzle" + icon="" +elif [ "$ID" = 314 ]; then + desc="Heavy Shower Rain And Drizzle" + icon="" +elif [ "$ID" = 321 ]; then + desc="Shower Drizzle" + icon="" +elif [ "$ID" = 500 ]; then + desc="Light Rain" + icon="" +elif [ "$ID" = 501 ]; then + desc="Moderate Rain" + icon="" +elif [ "$ID" = 502 ]; then + desc="Heavy Intensity Rain" + icon="" +elif [ "$ID" = 503 ]; then + desc="Very Heavy Rain" + icon="" +elif [ "$ID" = 504 ]; then + desc="Extreme Rain" + icon="" +elif [ "$ID" = 511 ]; then + desc="Freezing Rain" + icon="" +elif [ "$ID" = 520 ]; then + desc="Light Intensity Shower Rain" + icon="" +elif [ "$ID" = 521 ]; then + desc="Shower Rain" + icon="" +elif [ "$ID" = 522 ]; then + desc="Heavy Intensity Shower Rain" + icon="" +elif [ "$ID" = 531 ]; then + desc="Ragged Shower Rain" + icon="" +elif [ "$ID" = 600 ]; then + desc="Light Snow" + icon="" +elif [ "$ID" = 601 ]; then + desc="Snow" + icon="" +elif [ "$ID" = 602 ]; then + desc="Heavy Snow" + icon="" +elif [ "$ID" = 611 ]; then + desc="Sleet" + icon="" +elif [ "$ID" = 612 ]; then + desc="Light Shower Sleet" + icon="" +elif [ "$ID" = 613 ]; then + desc="Shower Sleet" + icon="" +elif [ "$ID" = 615 ]; then + desc="Light Rain And Snow" + icon="" +elif [ "$ID" = 616 ]; then + desc="Rain And Snow" + icon="" +elif [ "$ID" = 620 ]; then + desc="Light Shower Snow" + icon="" +elif [ "$ID" = 621 ]; then + desc="Shower Snow" + icon="" +elif [ "$ID" = 622 ]; then + desc="Heavy Shower Snow" + icon="" +elif [ "$ID" = 701 ]; then + desc="Mist" + icon="" +elif [ "$ID" = 711 ]; then + desc="Smoke" + icon="" +elif [ "$ID" = 721 ]; then + desc="Haze" + icon="" +elif [ "$ID" = 731 ]; then + desc="Sand/ Dust Whirls" + icon="" +elif [ "$ID" = 741 ]; then + desc="Fog" + icon="" +elif [ "$ID" = 751 ]; then + desc="Sand" + icon="" +elif [ "$ID" = 761 ]; then + desc="Dust" + icon="" +elif [ "$ID" = 762 ]; then + desc="Volcanic Ash" + icon="" +elif [ "$ID" = 771 ]; then + desc="Squalls" + icon="" +elif [ "$ID" = 781 ]; then + desc="Tornado" + icon="" +elif [ "$ID" = 800 ]; then + desc="Clear Sky" + icon="" +elif [ "$ID" = 801 ]; then + desc="Few Clouds" + icon="" +elif [ "$ID" = 802 ]; then + desc="Scattered Clouds" + icon="" +elif [ "$ID" = 803 ]; then + desc="Broken Clouds" + icon="" +elif [ "$ID" = 804 ]; then + desc="Overcast Clouds" + icon="" +fi +if [ "$desc" = "" ]; then + desc="N/A" + icon="" +fi +echo "$weat" | jq ".main.temp" | cut -d "." -f 1 > /tmp/weather/temp +echo "$desc" > /tmp/weather/description +echo "$icon" > /tmp/weather/icon +} + +case $1 in + --icon) cat /tmp/weather/icon ;; + --desc) cat /tmp/weather/description ;; + --temp) cat /tmp/weather/temp ;; + *) updateweather ;; +esac \ No newline at end of file diff --git a/cfg/kitty/colors.conf b/cfg/kitty/colors.conf new file mode 100644 index 0000000..d213ae4 --- /dev/null +++ b/cfg/kitty/colors.conf @@ -0,0 +1,62 @@ +background #000000 +foreground #F8F8F2 +cursor #F8F8F2 + +# Black +color0 #3D4C5F +color8 #56687E + +# Red +color1 #EE4F84 +color9 #F48FB1 + +# Green +color2 #53E2AE +color10 #A1EFD3 + +# Yellow +color3 #F1FF52 +color11 #F1FA8C + +# Blue +color4 #6498EF +color12 #92B6F4 + +# Magenta +color5 #985EFF +color13 #BD99FF + +# Cyan +color6 #24D1E7 +color14 #87DFEB + +# White +color7 #E5E5E5 +color15 #F8F8F2 + + + +# The foreground for selections +selection_foreground #F8F8F2 + +# The background for selections +selection_background #8ab4f2 + +# Emacs terminal background +color17 #323F4E + +# Emacs terminal modeline +color23 #1a1a1a + +# The color for the border of the active window +active_border_color #F1FA8C + +# The color for the border of inactive windows +inactive_border_color #56687E + +url_color #6498EF + +active_tab_foreground #F8F8F2 +active_tab_background #24D1E7 +inactive_tab_foreground #F8F8F2 +inactive_tab_background #1a1a1a diff --git a/cfg/kitty/kitty.conf b/cfg/kitty/kitty.conf new file mode 100644 index 0000000..63f402a --- /dev/null +++ b/cfg/kitty/kitty.conf @@ -0,0 +1,126 @@ +# Colors +include colors.conf + +# Fonts +font_family MesloLGS NF +italic_font auto +bold_font auto +bold_italic_font auto +font_size 10.5 + +adjust_line_height 0 +adjust_column_width 0 +box_drawing_scale 0.001, 1, 1.5, 2 + +# Cursor +cursor_shape underline +cursor_blink_interval -1 +cursor_stop_blinking_after 15.0 + +# Scrollback +scrollback_lines 10000 +scrollback_pager usr/bin/less +wheel_scroll_multiplier 5.0 + +# URLs +url_style double +open_url_modifiers ctrl+shift +open_url_with default +copy_on_select yes + +# Selection +rectangle_select_modifiers ctrl+shift +select_by_word_characters :@-./_~?&=%+# + +# Mouse +click_interval 0.5 +mouse_hide_wait 0 +focus_follows_mouse no + +# Performance +repaint_delay 20 +input_delay 2 +sync_to_monitor no + +# Bell +visual_bell_duration 0.0 +enable_audio_bell yes +bell_on_tab yes + +# Window +remember_window_size no +initial_window_width 700 +initial_window_height 400 +window_border_width 0 +window_margin_width 12 +window_padding_width 10 +inactive_text_alpha 1.0 +background_opacity 0.40 +placement_strategy center +hide_window_decorations no + +# Layouts +enabled_layouts * + +# Tabs +tab_bar_edge bottom +tab_bar_style powerline +tab_bar_margin_width 0.0 +tab_separator " ┇ " +active_tab_font_style bold +inactive_tab_font_style normal + +# Shell +shell . +close_on_child_death no +allow_remote_control yes +term xterm-kitty + +# Keys +map ctrl+shift+v paste_from_clipboard +map ctrl+shift+s paste_from_selection +map ctrl+shift+c copy_to_clipboard +map shift+insert paste_from_selection + +map ctrl+shift+up scroll_line_up +map ctrl+shift+down scroll_line_down +map ctrl+shift+k scroll_line_up +map ctrl+shift+j scroll_line_down +map ctrl+shift+page_up scroll_page_up +map ctrl+shift+page_down scroll_page_down +map ctrl+shift+home scroll_home +map ctrl+shift+end scroll_end +map ctrl+shift+h show_scrollback + +map ctrl+shift+enter new_window +map ctrl+shift+n new_os_window +map ctrl+shift+w close_window +map ctrl+shift+] next_window +map ctrl+shift+[ previous_window +map ctrl+shift+f move_window_forward +map ctrl+shift+b move_window_backward +map ctrl+shift+` move_window_to_top +map ctrl+shift+1 first_window +map ctrl+shift+2 second_window +map ctrl+shift+3 third_window +map ctrl+shift+4 fourth_window +map ctrl+shift+5 fifth_window +map ctrl+shift+6 sixth_window +map ctrl+shift+7 seventh_window +map ctrl+shift+8 eighth_window +map ctrl+shift+9 ninth_window +map ctrl+shift+0 tenth_window + +map ctrl+shift+right next_tab +map ctrl+shift+left previous_tab +map ctrl+shift+t new_tab +map ctrl+shift+q close_tab +map ctrl+shift+l next_layout +map ctrl+shift+. move_tab_forward +map ctrl+shift+, move_tab_backward +map ctrl+shift+alt+t set_tab_title + +map ctrl+shift+equal increase_font_size +map ctrl+shift+minus decrease_font_size +map ctrl+shift+backspace restore_font_size +map ctrl+shift+f6 set_font_size 16.0 diff --git a/cfg/rofi/config.rasi b/cfg/rofi/config.rasi new file mode 100644 index 0000000..f425ae1 --- /dev/null +++ b/cfg/rofi/config.rasi @@ -0,0 +1,160 @@ +configuration { + location: 0; + font: "JetBrainsMonoMedium Nerd Font 10"; + display-run: " "; +} + +* { + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; +} +window { + border: 0px; + border-color: @red; + border-radius: 0px; + padding: 30; + width: 40%; + height: 30%; + border-color: @border; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 0px 0px 0px; + border-color: @separatorcolor; + padding: 1px; +} +textbox { + text-color: @foreground; +} +listview { + lines: 15; + columns: 1; + fixed-height: 0; + border: 0px 0px 0px ; + border-color: @separatorcolor; + spacing: 0px; + scrollbar: false; + padding: 2px 0px 0px ; + background: @background; +} +element { + border: 0; + padding: 10px; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element normal.urgent { + background-color: @red; + text-color: @background; +} +element normal.active { + background-color: @green; + text-color: @background; +} +element selected.normal { + background-color: @blue; + border-radius: 10px; + text-color: @background; +} +element selected.urgent { + background-color: @red; + text-color: @background; +} +element selected.active { + background-color: @yellow; + text-color: @background; +} +element alternate.normal { + background-color: @background; + text-color: @foreground; +} +element alternate.urgent { + background-color: @green; + text-color: @background; +} +element alternate.active { + background-color: @green; + text-color: @background; +} +element-text { + cursor: inherit; + highlight: inherit; + text-color: inherit; +} +element-icon { + size: 1.0000em; + cursor: inherit; + text-color: inherit; +} + +scrollbar { + width: 0px; + border: 0; + handle-color: @yellow; + handle-width: 8px; + padding: 0; +} +sidebar { + border: 0px 0px 0px; + padding: 5px 0 0; + border-color: @separatorcolor; +} +button { + spacing: 0; + background: @background; + text-color: @foreground; +} +button.selected { + background-color: @border; + border-radius: 50px; + text-color: @background; +} +case-indicator { + spacing: 0; + text-color: @foreground; +} +entry { + spacing: 10px; + padding: 10px; + text-color: @foreground; + placeholder: "Search"; + placeholder-color: @foreground; +} +prompt { + spacing: 10px; + padding: 10px; + text-color: @foreground; +} +inputbar { + background-color: @background; + margin: 0px 0px 10px; + border: 10px; + border-radius: 0px; + border-color: @background; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 10px 0.3em 0em 0em; + text-color: @foreground; +} diff --git a/cfg/rofi/themes/applications.rasi b/cfg/rofi/themes/applications.rasi new file mode 100644 index 0000000..74e9cac --- /dev/null +++ b/cfg/rofi/themes/applications.rasi @@ -0,0 +1,87 @@ +* { + font: "JetBrainsMonoMedium Nerd Font 10"; + + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; + + background-color: transparent; + text-color: @foreground; + padding: 0px; + margin: 0px; + width: 40%; + height: 50%; +} + + +window { + fullscreen: false; + padding: 1em; + background-color: @background; +} + +mainbox { + padding: 0px; +} + +prompt { enabled: false; } + +entry { + placeholder: "Search"; + placeholder-color: @foreground; + expand: true; + padding: 1.5%; + border-radius: 8px; + background-color: @background; +} + +inputbar { + children: [ prompt, entry ]; + background-image: url("images/pattern.png"); + expand: false; + border-radius: 10px; + padding: 50px 50px 50px 300px; +} + +listview { + margin: 20px 120px; + spacing: 10px; + columns: 4; + fixed-columns: true; +} + +element, element-text, element-icon { + cursor: pointer; +} + +element { + padding: 8px; + spacing: 4px; + orientation: vertical; + border-radius: 16px; +} + +element selected { + background-color: @border; +} + +element-icon { + size: 3em; + horizontal-align: 0.5; +} + +element-text { + horizontal-align: 0.5; +} \ No newline at end of file diff --git a/cfg/rofi/themes/dock.rasi b/cfg/rofi/themes/dock.rasi new file mode 100644 index 0000000..99b5575 --- /dev/null +++ b/cfg/rofi/themes/dock.rasi @@ -0,0 +1,74 @@ +* { + font: "JetBrainsMono Nerd Font 30"; + + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; + + background-color: transparent; + text-color: @foreground; + padding: 0px; + margin: 0px; + lines: 1; + columns: 7; +} + +window { + fullscreen: false; + padding: 20px; + background-color: @background; + background-image: url("images/pattern_dock.png"); +} + +mainbox { + padding: 50px; + children: [listview]; + background-color: @background; + border-radius: 10px; +} + +listview { + border-color: @separatorcolor; + spacing: 0px; + scrollbar: false; + background: @background; +} + +element, element-text, element-icon { + cursor: pointer; +} + +element { + padding: 20px; + spacing: 0px; + orientation: horizontal; + horizontal-align: 1; + border-radius: 10px; +} + +element selected { + text-color: @background; + color: @background; + background-color: @border; +} + +element-icon { + horizontal-align: 0.5; +} + +element-text { + horizontal-align: 0.45; + padding: 0px 0px 0px 0px; +} \ No newline at end of file diff --git a/cfg/rofi/themes/dock_double_border.rasi b/cfg/rofi/themes/dock_double_border.rasi new file mode 100644 index 0000000..ad880fb --- /dev/null +++ b/cfg/rofi/themes/dock_double_border.rasi @@ -0,0 +1,77 @@ +* { + font: "JetBrainsMono Nerd Font 30"; + + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; + + background-color: transparent; + text-color: @foreground; + padding: 0px; + margin: 0px; + lines: 1; + columns: 7; +} + +window { + fullscreen: false; + padding: 20px; + background-color: @background; + border: 20px; + border-color: @background; + border-radius: 10px; + background-image: url("images/pattern_dock.png"); +} + +mainbox { + padding: 10px; + children: [listview]; + background-color: @background; + border-radius: 10px; +} + +listview { + border-color: @separatorcolor; + spacing: 0px; + scrollbar: false; + background: @background; +} + +element, element-text, element-icon { + cursor: pointer; +} + +element { + padding: 20px; + spacing: 0px; + orientation: horizontal; + horizontal-align: 1; + border-radius: 10px; +} + +element selected { + text-color: @background; + color: @background; + background-color: @border; +} + +element-icon { + horizontal-align: 0.5; +} + +element-text { + horizontal-align: 0.45; + padding: 0px 0px 0px 0px; +} \ No newline at end of file diff --git a/cfg/rofi/themes/generic.rasi b/cfg/rofi/themes/generic.rasi new file mode 100644 index 0000000..eeb4421 --- /dev/null +++ b/cfg/rofi/themes/generic.rasi @@ -0,0 +1,86 @@ +* { + font: "JetBrainsMonoMedium Nerd Font 10"; + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; + + background-color: transparent; + text-color: @foreground; + padding: 0px; + margin: 0px; + width: 40%; + height: 50%; +} + + +window { + fullscreen: false; + padding: 1em; + background-color: @background; +} + +mainbox { + padding: 0px; +} + +prompt { enabled: false; } + +entry { + placeholder: "Search"; + placeholder-color: @foreground; + expand: true; + padding: 1.5%; + border-radius: 8px; + background-color: @background; +} + +inputbar { + children: [prompt, entry ]; + background-image: url("images/pattern.png"); + expand: false; + border-radius: 10px; + padding: 50px 50px 50px 300px; +} + +listview { + columns: 1; + lines: 4; + cycle: false; + dynamic: true; + layout: vertical; + padding: 30px 200px 30px 30px; +} + +element, element-text, element-icon { + cursor: pointer; +} + +element { + padding: 15px; + spacing: 4px; + orientation: vertical; + border-radius: 8px; +} + +element selected { + background-color: @border; +} + +element-icon { +} + +element-text { + +} \ No newline at end of file diff --git a/cfg/rofi/themes/images/pattern.png b/cfg/rofi/themes/images/pattern.png new file mode 100644 index 0000000..198b6dc Binary files /dev/null and b/cfg/rofi/themes/images/pattern.png differ diff --git a/cfg/rofi/themes/images/pattern_big.png b/cfg/rofi/themes/images/pattern_big.png new file mode 100644 index 0000000..76b933a Binary files /dev/null and b/cfg/rofi/themes/images/pattern_big.png differ diff --git a/cfg/rofi/themes/images/pattern_dock.png b/cfg/rofi/themes/images/pattern_dock.png new file mode 100644 index 0000000..d8815e2 Binary files /dev/null and b/cfg/rofi/themes/images/pattern_dock.png differ diff --git a/cfg/rofi/themes/launchpad.rasi b/cfg/rofi/themes/launchpad.rasi new file mode 100644 index 0000000..4df0f25 --- /dev/null +++ b/cfg/rofi/themes/launchpad.rasi @@ -0,0 +1,89 @@ +* { + font: "JetBrainsMonoMedium Nerd Font 10"; + + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; + + background-color: transparent; + text-color: @foreground; + padding: 0px; + margin: 0px; +} + + +window { + fullscreen: true; + padding: 1em; + background-color: @background; +} + +mainbox { + padding: 8px; +} + +inputbar { + background-color: @blue; + margin: 0px calc( 27% - 120px ); + padding: 2px 4px; + spacing: 4px; + font-size: 30px; + + border: 20px; + border-radius: 10px; + border-color: @blue; + children: [entry]; +} + +prompt { + enabled: false; +} + +entry { + placeholder: "Search"; + placeholder-color: @foreground; +} + +listview { + margin: 48px calc( 50% - 560px ); + spacing: 48px; + columns: 6; + fixed-columns: true; +} + +element, element-text, element-icon { + cursor: pointer; +} + +element { + padding: 8px; + spacing: 4px; + + orientation: vertical; + border-radius: 16px; +} + +element selected { + background-color: @border; +} + +element-icon { + size: 4em; + horizontal-align: 0.5; +} + +element-text { + horizontal-align: 0.5; +} \ No newline at end of file diff --git a/cfg/rofi/themes/music.rasi b/cfg/rofi/themes/music.rasi new file mode 100644 index 0000000..594168a --- /dev/null +++ b/cfg/rofi/themes/music.rasi @@ -0,0 +1,90 @@ +* { + font: "JetBrainsMono Nerd Font 50"; + + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; + + background-color: transparent; + text-color: @foreground; + padding: 0px; + margin: 0px; + lines: 1; + columns: 4; +} + +window { + fullscreen: false; + padding: 20px; + background-color: @background; +} + +mainbox { + padding: 8px; + children: [inputbar, listview]; +} + +prompt { + padding: 15px; + font: "JetBrainsMono Nerd Font 15"; + expand: false; + background-color: @background; + border-radius: 10px; +} + +inputbar { + children: [ prompt ]; + expand: false; + border-radius: 10px; + padding: 50px; + background-image: url("images/pattern_big.png"); + padding: 50px 50px 50px 500px; +} + +listview { + border: 0px 0px 0px ; + border-color: @separatorcolor; + spacing: 0px; + scrollbar: false; + padding: 50px 0px; + background: @background; +} + +element, element-text, element-icon { + cursor: pointer; +} + +element { + padding: 20px; + spacing: 0px; + orientation: horizontal; + horizontal-align: 1; + border-radius: 10px; +} + +element selected { + text-color: @background; + color: @background; + background-color: @border; +} + +element-icon { + horizontal-align: 0.5; +} + +element-text { + horizontal-align: 0.5; + padding: 0px 0px 0px 0px; +} \ No newline at end of file diff --git a/cfg/rofi/themes/powermenu.rasi b/cfg/rofi/themes/powermenu.rasi new file mode 100644 index 0000000..578929c --- /dev/null +++ b/cfg/rofi/themes/powermenu.rasi @@ -0,0 +1,90 @@ +* { + font: "JetBrainsMono Nerd Font 50"; + + red: #BF616A; + darkred: #BF616A; + green : #A3BE8C; + darkgreen: #A3BE8C; + yellow: #EBCB8B; + darkyellow: #EBCB8B; + blue: #5E81AC; + darkblue: #5E81AC; + purple: #B48EAD; + darkpurple: #B48EAD; + cyan: #88C0D0; + darkcyan: #88C0D0; + foreground: #D8DEE9; + background: #2E3440; + border: #434C5E; + + background-color: transparent; + text-color: @foreground; + padding: 0px; + margin: 0px; + lines: 1; + columns: 4; +} + +window { + fullscreen: false; + padding: 20px; + background-color: @background; +} + +mainbox { + padding: 8px; + children: [inputbar, listview]; +} + +prompt { + padding: 15px; + font: "JetBrainsMono Nerd Font 15"; + expand: false; + background-color: @background; + border-radius: 10px; + +} + +inputbar { + children: [ prompt ]; + expand: false; + border-radius: 10px; + background-image: url("images/pattern_big.png"); + padding: 50px 50px 50px 450px; +} + +listview { + border: 0px 0px 0px; + border-color: @separatorcolor; + spacing: 0px; + scrollbar: false; + padding: 50px 0px; + background: @background; +} + +element, element-text, element-icon { + cursor: pointer; +} + +element { + padding: 20px; + spacing: 0px; + orientation: horizontal; + horizontal-align: 1; + border-radius: 10px; +} + +element selected { + text-color: @background; + color: @background; + background-color: @border; +} + +element-icon { + horizontal-align: 0.5; +} + +element-text { + horizontal-align: 0.5; + padding: 0px 0px 0px 0px; +} \ No newline at end of file diff --git a/cfg/sxhkd/sxhkdrc b/cfg/sxhkd/sxhkdrc index ad579e7..ea433df 100755 --- a/cfg/sxhkd/sxhkdrc +++ b/cfg/sxhkd/sxhkdrc @@ -12,19 +12,19 @@ super + Escape pkill -USR1 -x sxhkd #screenshot super + shift + s - snap area + wackysnap area # EWW Keybinds super + e - eww -c ~/.config/eww/systray open settings-panel + eww -c ~/.config/eww/systray open settings-panel super + shift + e eww -c ~/.config/eww/systray close settings-panel super + Print - maim "/home/$USER/Pictures/$(date).png" -super + shift + x - maim -s -o "/home/$USER/Pictures/$(date).png" + maim "/home/$USER/Pictures/$(date).png" +super + shift + x + maim -u -s -n -m 1' "${msg} # # bspwm hotkeys # @@ -129,7 +129,7 @@ super + alt + shift + {h,j,k,l} # move a floating window super + {Left,Down,Up,Right} bspc node -v {-20 0,0 20,0 -20,20 0} - + # move a window to another monitor super + shift + {Left,Down,Up,Right} dir={west,south,north,east}; \ diff --git a/cfg/tint2/horizontal-dark-transparent.tint2rc b/cfg/tint2/horizontal-dark-transparent.tint2rc new file mode 100644 index 0000000..11a58bd --- /dev/null +++ b/cfg/tint2/horizontal-dark-transparent.tint2rc @@ -0,0 +1,246 @@ +#---- Generated by tint2conf c44f ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: Panel +rounded = 5 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #000000 80 +border_color = #555555 80 +background_color_hover = #000000 80 +border_color_hover = #555555 80 +background_color_pressed = #000000 80 +border_color_pressed = #555555 80 + +# Background 2: Default task, Iconified task +rounded = 5 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #777777 0 +border_color = #777777 0 +background_color_hover = #777777 4 +border_color_hover = #cccccc 30 +background_color_pressed = #333333 4 +border_color_pressed = #777777 30 + +# Background 3: Active task +rounded = 5 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #555555 10 +border_color = #ffffff 60 +background_color_hover = #cccccc 10 +border_color_hover = #ffffff 60 +background_color_pressed = #555555 10 +border_color_pressed = #ffffff 60 + +# Background 4: Urgent task +rounded = 5 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #aa4400 100 +border_color = #aa7733 100 +background_color_hover = #aa4400 100 +border_color_hover = #aa7733 100 +background_color_pressed = #aa4400 100 +border_color_pressed = #aa7733 100 + +# Background 5: Tooltip +rounded = 2 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffaa 100 +border_color = #999999 100 +background_color_hover = #ffffaa 100 +border_color_hover = #999999 100 +background_color_pressed = #ffffaa 100 +border_color_pressed = #999999 100 + +# Background 6: Inactive desktop name +rounded = 2 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #777777 0 +border_color = #777777 30 +background_color_hover = #777777 4 +border_color_hover = #cccccc 30 +background_color_pressed = #777777 0 +border_color_pressed = #777777 30 + +# Background 7: Active desktop name +rounded = 2 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #555555 10 +border_color = #ffffff 60 +background_color_hover = #555555 10 +border_color_hover = #ffffff 60 +background_color_pressed = #555555 10 +border_color_pressed = #ffffff 60 + +#------------------------------------- +# Panel +panel_items = LTSC +panel_size = 100% 32 +panel_margin = 0 0 +panel_padding = 4 2 4 +panel_background_id = 1 +wm_menu = 1 +panel_dock = 0 +panel_pivot_struts = 0 +panel_position = bottom center horizontal +panel_layer = normal +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0 +autohide_hide_timeout = 0.5 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 0 +mouse_effects = 1 +font_shadow = 0 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 0 +scale_relative_to_dpi = 0 +scale_relative_to_screen_height = 0 + +#------------------------------------- +# Taskbar +taskbar_mode = single_desktop +taskbar_hide_if_empty = 0 +taskbar_padding = 0 0 2 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_hide_different_desktop = 0 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 6 3 +taskbar_name_background_id = 6 +taskbar_name_active_background_id = 7 +taskbar_name_font = sans Bold 9 +taskbar_name_font_color = #dddddd 100 +taskbar_name_active_font_color = #dddddd 100 +taskbar_distribute_size = 1 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 1 +task_centered = 1 +urgent_nb_of_blink = 100000 +task_maximum_size = 140 35 +task_padding = 4 3 4 +task_font = sans 8 +task_tooltip = 1 +task_thumbnail = 0 +task_thumbnail_size = 210 +task_font_color = #eeeeee 100 +task_icon_asb = 100 0 0 +task_background_id = 2 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = none +mouse_right = close +mouse_scroll_up = prev_task +mouse_scroll_down = next_task + +#------------------------------------- +# System tray (notification area) +systray_padding = 0 0 2 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 22 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 0 0 2 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 22 +launcher_icon_asb = 100 0 0 +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = tint2conf.desktop +launcher_item_app = firefox.desktop +launcher_item_app = /usr/share/applications/kitty.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M +time2_format = %A %d %B +time1_font = sans Bold 8 +time1_timezone = +time2_timezone = +time2_font = sans 7 +clock_font_color = #eeeeee 100 +clock_padding = 1 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = orage +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 10 +battery_low_cmd = xmessage 'tint2: Battery low!' +battery_full_cmd = +bat1_font = sans 8 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +bat1_format = +bat2_format = +battery_padding = 1 0 +battery_background_id = 0 +battery_hide = 101 +battery_lclick_command = +battery_rclick_command = +battery_mclick_command = +battery_uwheel_command = +battery_dwheel_command = +ac_connected_cmd = +ac_disconnected_cmd = + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 2 2 +tooltip_background_id = 5 +tooltip_font_color = #222222 100 +tooltip_font = sans 9 + diff --git a/cfg/tint2/horizontal-dark-transparent.tint2rc.backup.1645321008 b/cfg/tint2/horizontal-dark-transparent.tint2rc.backup.1645321008 new file mode 100644 index 0000000..a2f4569 --- /dev/null +++ b/cfg/tint2/horizontal-dark-transparent.tint2rc.backup.1645321008 @@ -0,0 +1,230 @@ +#---- Generated by tint2conf 3947 ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: Panel +rounded = 5 +border_width = 1 +border_sides = TBLR +background_color = #000000 80 +border_color = #555555 80 +background_color_hover = #000000 80 +border_color_hover = #555555 80 +background_color_pressed = #000000 80 +border_color_pressed = #555555 80 + +# Background 2: Default task, Iconified task +rounded = 5 +border_width = 1 +border_sides = TBLR +background_color = #777777 0 +border_color = #777777 0 +background_color_hover = #777777 4 +border_color_hover = #cccccc 30 +background_color_pressed = #333333 4 +border_color_pressed = #777777 30 + +# Background 3: Active task +rounded = 5 +border_width = 1 +border_sides = TBLR +background_color = #555555 10 +border_color = #ffffff 60 +background_color_hover = #cccccc 10 +border_color_hover = #ffffff 60 +background_color_pressed = #555555 10 +border_color_pressed = #ffffff 60 + +# Background 4: Urgent task +rounded = 5 +border_width = 1 +border_sides = TBLR +background_color = #aa4400 100 +border_color = #aa7733 100 +background_color_hover = #aa4400 100 +border_color_hover = #aa7733 100 +background_color_pressed = #aa4400 100 +border_color_pressed = #aa7733 100 + +# Background 5: Tooltip +rounded = 2 +border_width = 1 +border_sides = TBLR +background_color = #ffffaa 100 +border_color = #999999 100 +background_color_hover = #ffffaa 100 +border_color_hover = #999999 100 +background_color_pressed = #ffffaa 100 +border_color_pressed = #999999 100 + +# Background 6: Inactive desktop name +rounded = 2 +border_width = 1 +border_sides = TBLR +background_color = #777777 0 +border_color = #777777 30 +background_color_hover = #777777 4 +border_color_hover = #cccccc 30 +background_color_pressed = #777777 0 +border_color_pressed = #777777 30 + +# Background 7: Active desktop name +rounded = 2 +border_width = 1 +border_sides = TBLR +background_color = #555555 10 +border_color = #ffffff 60 +background_color_hover = #555555 10 +border_color_hover = #ffffff 60 +background_color_pressed = #555555 10 +border_color_pressed = #ffffff 60 + +#------------------------------------- +# Panel +panel_items = LTSC +panel_size = 100% 32 +panel_margin = 0 0 +panel_padding = 4 2 4 +panel_background_id = 1 +wm_menu = 1 +panel_dock = 0 +panel_position = bottom center horizontal +panel_layer = normal +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0 +autohide_hide_timeout = 0.5 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 0 +mouse_effects = 1 +font_shadow = 0 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 0 + +#------------------------------------- +# Taskbar +taskbar_mode = single_desktop +taskbar_hide_if_empty = 0 +taskbar_padding = 0 0 2 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_hide_different_desktop = 0 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 6 3 +taskbar_name_background_id = 6 +taskbar_name_active_background_id = 7 +taskbar_name_font = sans bold 9 +taskbar_name_font_color = #dddddd 100 +taskbar_name_active_font_color = #dddddd 100 +taskbar_distribute_size = 1 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 1 +task_centered = 1 +urgent_nb_of_blink = 100000 +task_maximum_size = 140 35 +task_padding = 4 3 4 +task_font = sans 8 +task_tooltip = 1 +task_font_color = #eeeeee 100 +task_icon_asb = 100 0 0 +task_background_id = 2 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = none +mouse_right = close +mouse_scroll_up = prev_task +mouse_scroll_down = next_task + +#------------------------------------- +# System tray (notification area) +systray_padding = 0 0 2 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 22 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 0 0 2 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 22 +launcher_icon_asb = 100 0 0 +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = tint2conf.desktop +launcher_item_app = firefox.desktop +launcher_item_app = iceweasel.desktop +launcher_item_app = chromium-browser.desktop +launcher_item_app = google-chrome.desktop +launcher_item_app = x-terminal-emulator.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M +time2_format = %A %d %B +time1_font = sans bold 8 +time1_timezone = +time2_timezone = +time2_font = sans 7 +clock_font_color = #eeeeee 100 +clock_padding = 1 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = orage +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 10 +battery_low_cmd = xmessage 'tint2: Battery low!' +battery_full_cmd = +bat1_font = sans 8 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +bat1_format = +bat2_format = +battery_padding = 1 0 +battery_background_id = 0 +battery_hide = 101 +battery_lclick_command = +battery_rclick_command = +battery_mclick_command = +battery_uwheel_command = +battery_dwheel_command = +ac_connected_cmd = +ac_disconnected_cmd = + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 2 2 +tooltip_background_id = 5 +tooltip_font_color = #222222 100 +tooltip_font = sans 9 + diff --git a/cfg/tint2/tint2rc b/cfg/tint2/tint2rc index 099f0cf..c5ee7cf 100644 --- a/cfg/tint2/tint2rc +++ b/cfg/tint2/tint2rc @@ -1,4 +1,4 @@ -#---- Generated by tint2conf 465b ---- +#---- Generated by tint2conf 450f ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- @@ -18,7 +18,7 @@ border_color_hover = #000000 0 background_color_pressed = #1b2224 100 border_color_pressed = #000000 0 -# Background 2: Button, Clock +# Background 2: Button, Clock, Launcher, Launcher icon, Systray rounded = 15 border_width = 0 border_sides = TBLR @@ -46,7 +46,7 @@ border_color_pressed = #000000 0 #------------------------------------- # Panel -panel_items = PPPPPP:C +panel_items = PPPPPP:CSF panel_size = 95% 45 panel_margin = 3 10 panel_padding = 5 5 5 @@ -58,11 +58,11 @@ panel_position = center right vertical panel_layer = top panel_monitor = all panel_shrink = 1 -autohide = 1 +autohide = 0 autohide_show_timeout = 0 autohide_hide_timeout = 2 autohide_height = 1 -strut_policy = none +strut_policy = follow_size panel_window_name = tint2 disable_transparency = 0 mouse_effects = 0 @@ -113,18 +113,18 @@ mouse_scroll_down = none #------------------------------------- # System tray (notification area) systray_padding = 0 0 0 -systray_background_id = 0 +systray_background_id = 2 systray_sort = ascending systray_icon_size = 0 systray_icon_asb = 100 0 0 -systray_monitor = primary +systray_monitor = 2 systray_name_filter = #------------------------------------- # Launcher launcher_padding = 0 0 0 -launcher_background_id = 0 -launcher_icon_background_id = 0 +launcher_background_id = 2 +launcher_icon_background_id = 2 launcher_icon_size = 0 launcher_icon_asb = 100 0 0 launcher_icon_theme_override = 0 @@ -143,7 +143,7 @@ clock_padding = 0 4 clock_background_id = 2 clock_tooltip = clock_tooltip_timezone = -clock_lclick_command = +clock_lclick_command = tint2conf clock_rclick_command = clock_mclick_command = clock_uwheel_command = diff --git a/cfg/tint2/tint2rc.backup.1645320885 b/cfg/tint2/tint2rc.backup.1645320885 new file mode 100644 index 0000000..d2176cb --- /dev/null +++ b/cfg/tint2/tint2rc.backup.1645320885 @@ -0,0 +1,201 @@ +#---- Generated by tint2conf aeaf ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: Panel +rounded = 0 +border_width = 0 +border_sides = TBLR +background_color = #000000 60 +border_color = #000000 30 +background_color_hover = #000000 60 +border_color_hover = #000000 30 +background_color_pressed = #000000 60 +border_color_pressed = #000000 30 + +# Background 2: Default task, Iconified task +rounded = 4 +border_width = 1 +border_sides = TBLR +background_color = #777777 20 +border_color = #777777 30 +background_color_hover = #aaaaaa 22 +border_color_hover = #eaeaea 44 +background_color_pressed = #555555 4 +border_color_pressed = #eaeaea 44 + +# Background 3: Active task +rounded = 4 +border_width = 1 +border_sides = TBLR +background_color = #777777 20 +border_color = #ffffff 40 +background_color_hover = #aaaaaa 22 +border_color_hover = #eaeaea 44 +background_color_pressed = #555555 4 +border_color_pressed = #eaeaea 44 + +# Background 4: Urgent task +rounded = 4 +border_width = 1 +border_sides = TBLR +background_color = #aa4400 100 +border_color = #aa7733 100 +background_color_hover = #cc7700 100 +border_color_hover = #aa7733 100 +background_color_pressed = #555555 4 +border_color_pressed = #aa7733 100 + +# Background 5: Tooltip +rounded = 1 +border_width = 1 +border_sides = TBLR +background_color = #222222 100 +border_color = #333333 100 +background_color_hover = #ffffaa 100 +border_color_hover = #000000 100 +background_color_pressed = #ffffaa 100 +border_color_pressed = #000000 100 + +#------------------------------------- +# Panel +panel_items = LTSC +panel_size = 100% 30 +panel_margin = 0 0 +panel_padding = 2 0 2 +panel_background_id = 1 +wm_menu = 1 +panel_dock = 0 +panel_position = bottom center horizontal +panel_layer = top +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0 +autohide_hide_timeout = 0.5 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 1 +mouse_effects = 1 +font_shadow = 0 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 0 + +#------------------------------------- +# Taskbar +taskbar_mode = single_desktop +taskbar_hide_if_empty = 0 +taskbar_padding = 0 0 2 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_hide_different_desktop = 0 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 4 2 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font_color = #e3e3e3 100 +taskbar_name_active_font_color = #ffffff 100 +taskbar_distribute_size = 0 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 1 +task_centered = 1 +urgent_nb_of_blink = 100000 +task_maximum_size = 150 35 +task_padding = 2 2 4 +task_tooltip = 1 +task_thumbnail = 0 +task_thumbnail_size = 210 +task_font_color = #ffffff 100 +task_background_id = 2 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = none +mouse_right = close +mouse_scroll_up = toggle +mouse_scroll_down = iconify + +#------------------------------------- +# System tray (notification area) +systray_padding = 0 4 2 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 24 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 2 4 2 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 24 +launcher_icon_asb = 100 0 0 +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = tint2conf.desktop +launcher_item_app = firefox.desktop +launcher_item_app = iceweasel.desktop +launcher_item_app = chromium-browser.desktop +launcher_item_app = google-chrome.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M +time2_format = %A %d %B +time1_timezone = +time2_timezone = +clock_font_color = #ffffff 100 +clock_padding = 2 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = +clock_rclick_command = orage +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 10 +battery_low_cmd = xmessage 'tint2: Battery low!' +battery_full_cmd = +battery_font_color = #ffffff 100 +bat1_format = +bat2_format = +battery_padding = 1 0 +battery_background_id = 0 +battery_hide = 101 +battery_lclick_command = +battery_rclick_command = +battery_mclick_command = +battery_uwheel_command = +battery_dwheel_command = +ac_connected_cmd = +ac_disconnected_cmd = + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 4 4 +tooltip_background_id = 5 +tooltip_font_color = #dddddd 100 + diff --git a/cfg/tint2/tint2rc.backup.1645321020 b/cfg/tint2/tint2rc.backup.1645321020 new file mode 100644 index 0000000..d7050c7 --- /dev/null +++ b/cfg/tint2/tint2rc.backup.1645321020 @@ -0,0 +1,254 @@ +#---- Generated by tint2conf bb4a ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +# Gradient 1 +gradient = vertical +start_color = #2d2d2d 80 +end_color = #000000 80 +color_stop = 70.000000 #1c1c1c 80 + +#------------------------------------- +# Backgrounds +# Background 1: Panel +rounded = 0 +border_width = 1 +border_sides = T +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #000000 80 +border_color = #333333 80 +gradient_id = 1 +background_color_hover = #000000 80 +border_color_hover = #555555 80 +background_color_pressed = #000000 80 +border_color_pressed = #555555 80 + +# Background 2: Default task, Iconified task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 100 +background_content_tint_weight = 25 +background_color = #777777 0 +border_color = #777777 100 +background_color_hover = #464646 100 +border_color_hover = #cccccc 30 +background_color_pressed = #1e1e1e 100 +border_color_pressed = #777777 30 + +# Background 3: Active task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 100 +background_content_tint_weight = 100 +background_color = #ffffff 100 +border_color = #d9d9d9 100 +background_color_hover = #ffffff 73 +border_color_hover = #d9d9d9 100 +background_color_pressed = #989898 73 +border_color_pressed = #d9d9d9 100 + +# Background 4: Urgent task +rounded = 0 +border_width = 0 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #aa4400 100 +border_color = #aa7733 100 +background_color_hover = #aa4400 100 +border_color_hover = #aa7733 100 +background_color_pressed = #aa4400 100 +border_color_pressed = #aa7733 100 + +# Background 5: Tooltip +rounded = 2 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffaa 100 +border_color = #999999 100 +background_color_hover = #ffffaa 100 +border_color_hover = #999999 100 +background_color_pressed = #ffffaa 100 +border_color_pressed = #999999 100 + +# Background 6: Inactive desktop name +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #777777 0 +border_color = #777777 0 +background_color_hover = #bdbdbd 21 +border_color_hover = #cccccc 100 +background_color_pressed = #777777 21 +border_color_pressed = #777777 100 + +# Background 7: Active desktop name +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 21 +border_color = #d9d9d9 100 +background_color_hover = #ffffff 21 +border_color_hover = #d9d9d9 100 +background_color_pressed = #a9a9a9 21 +border_color_pressed = #d9d9d9 100 + +#------------------------------------- +# Panel +panel_items = LTSC +panel_size = 100% 32 +panel_margin = 0 0 +panel_padding = 4 0 4 +panel_background_id = 1 +wm_menu = 1 +panel_dock = 0 +panel_position = bottom center horizontal +panel_layer = normal +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0 +autohide_hide_timeout = 0.5 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 0 +mouse_effects = 1 +font_shadow = 0 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 0 + +#------------------------------------- +# Taskbar +taskbar_mode = multi_desktop +taskbar_hide_if_empty = 0 +taskbar_padding = 0 0 0 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_hide_different_desktop = 0 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 4 0 +taskbar_name_background_id = 6 +taskbar_name_active_background_id = 7 +taskbar_name_font = sans bold 9 +taskbar_name_font_color = #dddddd 100 +taskbar_name_active_font_color = #dddddd 100 +taskbar_distribute_size = 1 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 0 +task_centered = 1 +urgent_nb_of_blink = 100000 +task_maximum_size = 120 35 +task_padding = 4 3 4 +task_font = Sans 8 +task_tooltip = 1 +task_thumbnail = 0 +task_thumbnail_size = 210 +task_font_color = #c6c6c6 100 +task_active_font_color = #ffffff 100 +task_icon_asb = 100 0 0 +task_background_id = 2 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = none +mouse_right = close +mouse_scroll_up = prev_task +mouse_scroll_down = next_task + +#------------------------------------- +# System tray (notification area) +systray_padding = 0 0 2 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 22 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 0 0 2 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 22 +launcher_icon_asb = 100 0 0 +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = tint2conf.desktop +launcher_item_app = firefox.desktop +launcher_item_app = iceweasel.desktop +launcher_item_app = chromium-browser.desktop +launcher_item_app = google-chrome.desktop +launcher_item_app = x-terminal-emulator.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M +time2_format = %A %d %B +time1_font = sans bold 8 +time1_timezone = +time2_timezone = +time2_font = sans 7 +clock_font_color = #eeeeee 100 +clock_padding = 1 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = orage +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 10 +battery_low_cmd = notify-send "battery low" +battery_full_cmd = +bat1_font = sans 8 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +bat1_format = +bat2_format = +battery_padding = 1 0 +battery_background_id = 0 +battery_hide = 101 +battery_lclick_command = +battery_rclick_command = +battery_mclick_command = +battery_uwheel_command = +battery_dwheel_command = +ac_connected_cmd = +ac_disconnected_cmd = + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 2 2 +tooltip_background_id = 5 +tooltip_font_color = #222222 100 +tooltip_font = sans 9 + diff --git a/cfg/tint2/tint2rc.backup.1645413559 b/cfg/tint2/tint2rc.backup.1645413559 new file mode 100644 index 0000000..3383f9f --- /dev/null +++ b/cfg/tint2/tint2rc.backup.1645413559 @@ -0,0 +1,138 @@ +# Background 1 +rounded = 5 +border_width = 0 +border_sides = TBLR +background_color = #131a1c 100 +background_color_hover = #181f21 100 +background_color_pressed = #1b2224 100 + +# Background 2 +rounded = 15 +border_width = 0 +border_sides = TBLR +background_color = #22292b 100 + +# Background 3 +rounded = 7 +border_width = 0 +border_sides = TBLR +background_color =#bab3e5 100 + +# Panel +panel_items = PPPPP:EEEC +panel_size = 98% 45 +panel_padding = 5 5 5 +panel_margin = 3 10 +panel_background_id = 1 +panel_position = bottom right vertical +panel_monitor = all +panel_window_name = tint2 +panel_shrink = 0 +panel_layer = normal + +# Launcher +button = new +button_text = 󰮯 +button_lclick_command = eww -c ~/.config/eww/systray open settings-panel +button_rclick_command = killall eww +button_mclick_command = +button_uwheel_command = +button_dwheel_command = +button_font = CaskaydiaCove Nerd Font 12 +button_font_color = #181f21 100 +button_padding = 10 30 +button_background_id = 3 +button_centered = 1 +button_max_icon_size = 0 +button_margin = 1 1 + +#Button 1 +button = new +button_text =  +button_lclick_command = wmctrl -s 1 +button_uwheel_command = wmctrl -s 1 +button_font = CaskaydiaCove Nerd Font 11 +button_font_color = #e06e6e 100 +button_padding = 8 35 +button_center = 0 +button_background_id = 1 + +#Button 2 +button = new +button_text =  +button_lclick_command = wmctrl -s 2 +button_uwheel_command = wmctrl -s 2 +button_font = CaskaydiaCove Nerd Font 11 +button_font_color = #e5c76b 100 +button_padding = 6 30 +button_center = 1 +button_background_id = 1 + +#Button 2 +button = new +button_text =  +button_lclick_command = wmctrl -s 3 +button_uwheel_command = wmctrl -s 3 +button_font = CaskaydiaCove Nerd Font 11 +button_font_color = #8ccf7e 100 +button_padding = 8 30 +button_center = 1 +button_background_id = 1 + +# Button 4 +button = new +button_text =  +button_lclick_command = wmctrl -s 4 +button_uwheel_command = wmctrl -s 4 +button_font = CaskaydiaCove Nerd Font 11 +button_font_color = #67b0e8 100 +button_padding = 8 30 +button_center = 1 +button_background_id = 1 + +# Battery +execp = new +execp_command = status bat +execp_interval = 30 +execp_font = CaskaydiaCove Nerd Font 10 +execp_font_color = #e5c76b 100 +execp_padding = 10 10 +execp_background_id = 2 + +# Clock +time1_format = %H %M +time1_font = CaskaydiaCove Nerd Font 11 +clock_font_color = #bdc3c2 100 +clock_background_id = 1 +clock_padding = 0 8 + +# Wifi +execp = new +execp_command = status wifi +execp_interval = 30 +execp_font = CaskaydiaCove Nerd Font 10 +execp_padding = 10 10 +execp_font_color = #8ad8ef 100 +execp_background_id = 1 + +# Volume +execp = new +execp_command = status vol +execp_interval = 30 +execp_font = CaskaydiaCove Nerd Font 10 +execp_padding = 5 6 +execp_font_color = #67b0e8 100 +execp_background_id = 2 + +# Separator +separator = new +separator_background_id = 1 +separator_color = #181f21 100 +separator_padding = 160 + +# Separator 2 +separator = new +separator_background_id = #bdc3c2 80 +separator_size = 2 +separator_style = line +separator_padding = 0