From 9f8ac8a84ee232c5cffee9dc0adccb686888f4b7 Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Sat, 25 Feb 2023 12:12:09 -0400 Subject: [PATCH] updated --- new-config/.bash_profile | 5 +- new-config/.config/hypr/hyprland.conf | 149 +- new-config/.config/rofi/scripts/rofi_blue | 317 ++++ new-config/.config/rofi/scripts/rofi_power | 8 +- new-config/.config/rofi/scripts/rofi_scrot | 8 +- new-config/.config/rofi/scripts/rofi_wall | 53 + new-config/.config/tut/config.toml | 1283 +++++++++++++++++ new-config/.config/waybar/config | 16 +- new-config/.config/waybar/power-profiles | 10 + new-config/.config/waybar/style.css | 42 +- new-config/.config/wezterm/wezterm.lua | 2 +- .../{.local/bin/hyprland_session => .winitrc} | 0 12 files changed, 1787 insertions(+), 106 deletions(-) create mode 100755 new-config/.config/rofi/scripts/rofi_blue create mode 100755 new-config/.config/rofi/scripts/rofi_wall create mode 100644 new-config/.config/tut/config.toml create mode 100755 new-config/.config/waybar/power-profiles rename new-config/{.local/bin/hyprland_session => .winitrc} (100%) diff --git a/new-config/.bash_profile b/new-config/.bash_profile index 42a289acd..da13e7f19 100644 --- a/new-config/.bash_profile +++ b/new-config/.bash_profile @@ -9,8 +9,7 @@ ### STARTING XSESSION if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ] then - #startx -- vt1 -keeptty &>/dev/null - sh "./.local/bin/hyprland_session" + sh $HOME/.winitrc logout fi @@ -21,4 +20,4 @@ export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}" export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:="$HOME/.config"}" ### BASHRC -source "$HOME"/.bashrc # Load the bashrc +source "$HOME"/.bashrc # Load the bashrc diff --git a/new-config/.config/hypr/hyprland.conf b/new-config/.config/hypr/hyprland.conf index 74da1e13a..595f3b80f 100644 --- a/new-config/.config/hypr/hyprland.conf +++ b/new-config/.config/hypr/hyprland.conf @@ -4,9 +4,9 @@ exec-once /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = /usr/lib/xdg-desktop-portal exec-once = /usr/lib/xdg-desktop-portal-wlr exec-once = dunst --config ~/.config/dunst/dunstrc +exec-once = $HOME/.wbg exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data -exec-once = hyprpaper exec-once = waybar # Monitors @@ -14,65 +14,65 @@ monitor=,preferred,auto,1 # Input input { - kb_layout = us,es - kb_options = grp:shift_caps_toggle - follow_mouse = 1 - touchpad { - natural_scroll = yes - } - sensitivity = -0.2 # -1.0 - 1.0, 0 means no modification. + kb_layout = us,es + kb_options = grp:shift_caps_toggle + follow_mouse = 1 + touchpad { + natural_scroll = yes + } + sensitivity = -0.2 # -1.0 - 1.0, 0 means no modification. } # General general { - gaps_in = 5 - gaps_out = 5 - border_size = 3 - col.active_border = rgb(9d0006) rgb(fb4934) 45deg - col.inactive_border = rgb(504945) - layout = master + gaps_in = 5 + gaps_out = 10 + border_size = 3 + col.active_border = rgb(9d0006) rgb(fb4934) 45deg + col.inactive_border = rgb(504945) + layout = master } # Decorations decoration { - rounding = 5 - blur = yes - blur_size = 3 - blur_passes = 1 - blur_new_optimizations = on - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + rounding = 7 + blur = yes + blur_size = 3 + blur_passes = 1 + blur_new_optimizations = on + drop_shadow = yes + shadow_range = 4 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) } # Animations animations { - enabled = yes - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - animation = windows, 1, 7, myBezier - animation = windowsOut, 1, 7, default, popin 80% - animation = border, 1, 10, default - animation = borderangle, 1, 8, default - animation = fade, 1, 7, default - animation = workspaces, 1, 6, default + enabled = yes + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default } # Dwindle layout config dwindle { - pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below - preserve_split = yes # you probably want this + pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = yes # you probably want this } # Master layout config master { - no_gaps_when_only = true - new_is_master = false + no_gaps_when_only = true + new_is_master = false } # Mouse gestures gestures { - workspace_swipe = on + workspace_swipe = on } # Misc @@ -85,25 +85,16 @@ misc { } device:epic mouse V1 { - sensitivity = -0.5 + sensitivity = -0.5 } -# Window rules -# Example windowrule v1 -# windowrule = float, ^(kitty)$ -# Example windowrule v2 -# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more - $supMod = SUPER $altMod = ALT $conMod = CONTROL -# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $supMod, RETURN, exec, wezterm bind = $supMod, Q, killactive, bind = $supMod_$conMod_SHIFT, Q, exit, -bind = $supMod, R, exec, pkill rofi || rofi -show drun bind = $supMod, B, exec, pkill waybar || waybar bind = $supMod, V, togglefloating, bind = $supMod, P, pseudo, # dwindle @@ -128,8 +119,8 @@ bind = $supMod, I, layoutmsg, addmaster bind = $supMod, D, layoutmsg, removemaster # change the master orientation -bind = $supMod, h, layoutmsg, orientationnext -bind = $supMod, l, layoutmsg, orientationprev +bind = $supMod, l, layoutmsg, orientationnext +bind = $supMod, h, layoutmsg, orientationprev # Switch workspaces with supMod + [0-9] bind = $supMod, 1, workspace, 1 @@ -143,32 +134,6 @@ bind = $supMod, 8, workspace, 8 bind = $supMod, 9, workspace, 9 bind = $supMod, 0, workspace, 10 -# Apps -bind = $supMod, E, exec, wezterm start --class editor -- ./.local/bin/lvim -bind = $supMod, W, exec, firefox -bind = $supMod, F, exec, wezterm start --class file_manager -- ranger -bind = $supMod, M, exec, wezterm start --class music_player -- cmus -bind = $supMod, P, exec, keepassxc -bind = $supMod, G, exec, retroarch - -# Quick terminal scripts/commands -bind = $supMod_$altMod, T, exec, wezterm start --class tut -- tut -bind = $supMod_$altMod, F, exec, wezterm start --class flix_cli -- flix-cli -bind = $supMod_$altMod, A, exec, wezterm start --class ani_cli -- ani-cli -bind = $supMod_$altMod, Y, exec, wezterm start --class ytfzf -- ytfzf -flstT chafa -bind = $supMod_$altMod, M, exec, wezterm start --class ytfzf_music -- ytfzf -mlstT chafa -bind = $supMod_$altMod, P, exec, wezterm start --class pulsemixer -- pulsemixer -bind = $supMod_$altMod, O, exec, wezterm start --class alsamixer -- alsamixer -bind = $supMod_$altMod, R, exec, wezterm start --class newsboat -- newsboat - -# Quick rofi scripts -bind = $supMod_SHIFT, W, exec, $HOME/.config/rofi/scripts/rofi_wifi -bind = $supMod_SHIFT, E, exec, $HOME/.config/rofi/scripts/rofi_emoji -bind = $supMod_SHIFT, S, exec, $HOME/.config/rofi/scripts/rofi_scrot -bind = $supMod_$conMod_SHIFT, S, exec, $HOME/.config/rofi/scripts/rofi_scrot -s -bind = $supMod_SHIFT, Q, exec, $HOME/.config/rofi/scripts/rofi_power -bind = $supMod_SHIFT, C, exec, cliphist list | rofi -dmenu -p "  Clipboard " | cliphist decode | wl-copy - # Move active window to a workspace with supMod + SHIFT + [0-9] bind = $supMod SHIFT, 1, movetoworkspace, 1 bind = $supMod SHIFT, 2, movetoworkspace, 2 @@ -201,10 +166,40 @@ bindl=, XF86AudioPrev, exec, playerctl previous bindl=, XF86AudioStop, exec, playerctl stop bindl=, XF86News, exec, wezterm start --class newsboat -- newsboat - # Brightness control -bindl=, XF86MonBrightnessUp, exec, light -A 10 -bindl=, XF86MonBrightnessDown, exec, light -U 10 +bindl=, XF86MonBrightnessUp, exec, brightnessctl s 10%+ +bindl=, XF86MonBrightnessDown, exec, brightnessctl s 10%- # Display configuration bindl=, XF86Display, exec, wdisplays + +# Rofi menus +binde = $supMod_SHIFT, D, exec, pkill rofi || rofi -show drun +binde = $supMod_SHIFT, W, exec, pkill rofi || $HOME/.config/rofi/scripts/rofi_wall +binde = $supMod_SHIFT, I, exec, pkill rofi || $HOME/.config/rofi/scripts/rofi_wifi +binde = $supMod_SHIFT, E, exec, pkill rofi || $HOME/.config/rofi/scripts/rofi_emoji +binde = $supMod_SHIFT, S, exec, pkill rofi || $HOME/.config/rofi/scripts/rofi_scrot +binde = $supMod_$conMod, S, exec, pkill rofi || $HOME/.config/rofi/scripts/rofi_scrot -s +binde = $supMod_SHIFT, Q, exec, pkill rofi || $HOME/.config/rofi/scripts/rofi_power +binde = $supMod_SHIFT, B, exec, pkill rofi || $HOME/.config/rofi/scripts/rofi_blue +binde = $supMod_SHIFT, C, exec, pkill rofi || cliphist list | rofi -dmenu -p "  Clipboard " | cliphist decode | wl-copy + +# Quick terminal scripts/commands +binde = $supMod_$altMod, T, exec, wezterm start --class tut -- tut +binde = $supMod_$altMod, F, exec, wezterm start --class flix_cli -- flix-cli +binde = $supMod_$altMod, A, exec, wezterm start --class ani_cli -- ani-cli +binde = $supMod_$altMod, Y, exec, wezterm start --class ytfzf -- ytfzf -flstT chafa +binde = $supMod_$altMod, M, exec, wezterm start --class ytfzf_music -- ytfzf -mlstT chafa +binde = $supMod_$altMod, P, exec, wezterm start --class pulsemixer -- pulsemixer +binde = $supMod_$altMod, O, exec, wezterm start --class alsamixer -- alsamixer +binde = $supMod_$altMod, R, exec, wezterm start --class newsboat -- newsboat +binde = $supMod_$altMod, B, exec, wezterm start --class btop -- btop +binde = $supMod_$altMod, H, exec, wezterm start --class htop -- htop + +# Apps +binde = $supMod, E, exec, wezterm start --class editor -- ./.local/bin/lvim +binde = $supMod, W, exec, firefox +binde = $supMod, F, exec, wezterm start --class file_manager -- ranger +binde = $supMod, M, exec, wezterm start --class music_player -- cmus +binde = $supMod, P, exec, keepassxc +binde = $supMod, G, exec, retroarch diff --git a/new-config/.config/rofi/scripts/rofi_blue b/new-config/.config/rofi/scripts/rofi_blue new file mode 100755 index 000000000..588b40856 --- /dev/null +++ b/new-config/.config/rofi/scripts/rofi_blue @@ -0,0 +1,317 @@ +#!/usr/bin/env bash +# __ _ _ _ _ _ _ +# _ __ ___ / _(_) | |__ | |_ _ ___| |_ ___ ___ | |_| |__ +# | '__/ _ \| |_| |_____| '_ \| | | | |/ _ \ __/ _ \ / _ \| __| '_ \ +# | | | (_) | _| |_____| |_) | | |_| | __/ || (_) | (_) | |_| | | | +# |_| \___/|_| |_| |_.__/|_|\__,_|\___|\__\___/ \___/ \__|_| |_| +# +# Author: Nick Clyde (clydedroid) +# +# A script that generates a rofi menu that uses bluetoothctl to +# connect to bluetooth devices and display status info. +# +# Inspired by networkmanager-dmenu (https://github.com/firecat53/networkmanager-dmenu) +# Thanks to x70b1 (https://github.com/polybar/polybar-scripts/tree/master/polybar-scripts/system-bluetooth-bluetoothctl) +# +# Depends on: +# Arch repositories: rofi, bluez-utils (contains bluetoothctl) + +# Constants +divider="---------" +goback="Back" + +# Checks if bluetooth controller is powered on +power_on() { + if bluetoothctl show | grep -q "Powered: yes"; then + return 0 + else + return 1 + fi +} + +# Toggles power state +toggle_power() { + if power_on; then + bluetoothctl power off + show_menu + else + if rfkill list bluetooth | grep -q 'blocked: yes'; then + rfkill unblock bluetooth && sleep 3 + fi + bluetoothctl power on + show_menu + fi +} + +# Checks if controller is scanning for new devices +scan_on() { + if bluetoothctl show | grep -q "Discovering: yes"; then + echo "Scan: on" + return 0 + else + echo "Scan: off" + return 1 + fi +} + +# Toggles scanning state +toggle_scan() { + if scan_on; then + kill $(pgrep -f "bluetoothctl scan on") + bluetoothctl scan off + show_menu + else + bluetoothctl scan on & + echo "Scanning..." + sleep 5 + show_menu + fi +} + +# Checks if controller is able to pair to devices +pairable_on() { + if bluetoothctl show | grep -q "Pairable: yes"; then + echo "Pairable: on" + return 0 + else + echo "Pairable: off" + return 1 + fi +} + +# Toggles pairable state +toggle_pairable() { + if pairable_on; then + bluetoothctl pairable off + show_menu + else + bluetoothctl pairable on + show_menu + fi +} + +# Checks if controller is discoverable by other devices +discoverable_on() { + if bluetoothctl show | grep -q "Discoverable: yes"; then + echo "Discoverable: on" + return 0 + else + echo "Discoverable: off" + return 1 + fi +} + +# Toggles discoverable state +toggle_discoverable() { + if discoverable_on; then + bluetoothctl discoverable off + show_menu + else + bluetoothctl discoverable on + show_menu + fi +} + +# Checks if a device is connected +device_connected() { + device_info=$(bluetoothctl info "$1") + if echo "$device_info" | grep -q "Connected: yes"; then + return 0 + else + return 1 + fi +} + +# Toggles device connection +toggle_connection() { + if device_connected "$1"; then + bluetoothctl disconnect "$1" + device_menu "$device" + else + bluetoothctl connect "$1" + device_menu "$device" + fi +} + +# Checks if a device is paired +device_paired() { + device_info=$(bluetoothctl info "$1") + if echo "$device_info" | grep -q "Paired: yes"; then + echo "Paired: yes" + return 0 + else + echo "Paired: no" + return 1 + fi +} + +# Toggles device paired state +toggle_paired() { + if device_paired "$1"; then + bluetoothctl remove "$1" + device_menu "$device" + else + bluetoothctl pair "$1" + device_menu "$device" + fi +} + +# Checks if a device is trusted +device_trusted() { + device_info=$(bluetoothctl info "$1") + if echo "$device_info" | grep -q "Trusted: yes"; then + echo "Trusted: yes" + return 0 + else + echo "Trusted: no" + return 1 + fi +} + +# Toggles device connection +toggle_trust() { + if device_trusted "$1"; then + bluetoothctl untrust "$1" + device_menu "$device" + else + bluetoothctl trust "$1" + device_menu "$device" + fi +} + +# Prints a short string with the current bluetooth status +# Useful for status bars like polybar, etc. +print_status() { + if power_on; then + printf '' + + paired_devices_cmd="devices Paired" + # Check if an outdated version of bluetoothctl is used to preserve backwards compatibility + if (( $(echo "$(bluetoothctl version | cut -d ' ' -f 2) < 5.65" | bc -l) )); then + paired_devices_cmd="paired-devices" + fi + + mapfile -t paired_devices < <(bluetoothctl $paired_devices_cmd | grep Device | cut -d ' ' -f 2) + counter=0 + + for device in "${paired_devices[@]}"; do + if device_connected "$device"; then + device_alias=$(bluetoothctl info "$device" | grep "Alias" | cut -d ' ' -f 2-) + + if [ $counter -gt 0 ]; then + printf ", %s" "$device_alias" + else + printf " %s" "$device_alias" + fi + + ((counter++)) + fi + done + printf "\n" + else + echo "" + fi +} + +# A submenu for a specific device that allows connecting, pairing, and trusting +device_menu() { + device=$1 + + # Get device name and mac address + device_name=$(echo "$device" | cut -d ' ' -f 3-) + mac=$(echo "$device" | cut -d ' ' -f 2) + + # Build options + if device_connected "$mac"; then + connected="Connected: yes" + else + connected="Connected: no" + fi + paired=$(device_paired "$mac") + trusted=$(device_trusted "$mac") + options="$connected\n$paired\n$trusted\n$divider\n$goback\nExit" + + # Open rofi menu, read chosen option + chosen="$(echo -e "$options" | $rofi_command "$device_name")" + + # Match chosen option to command + case "$chosen" in + "" | "$divider") + echo "No option chosen." + ;; + "$connected") + toggle_connection "$mac" + ;; + "$paired") + toggle_paired "$mac" + ;; + "$trusted") + toggle_trust "$mac" + ;; + "$goback") + show_menu + ;; + esac +} + +# Opens a rofi menu with current bluetooth status and options to connect +show_menu() { + # Get menu options + if power_on; then + power="Power: on" + + # Human-readable names of devices, one per line + # If scan is off, will only list paired devices + devices=$(bluetoothctl devices | grep Device | cut -d ' ' -f 3-) + + # Get controller flags + scan=$(scan_on) + pairable=$(pairable_on) + discoverable=$(discoverable_on) + + # Options passed to rofi + options="$devices\n$divider\n$power\n$scan\n$pairable\n$discoverable\nExit" + else + power="Power: off" + options="$power\nExit" + fi + + # Open rofi menu, read chosen option + chosen="$(echo -e "$options" | $rofi_command "  Bluetooth ")" + + # Match chosen option to command + case "$chosen" in + "" | "$divider") + echo "No option chosen." + ;; + "$power") + toggle_power + ;; + "$scan") + toggle_scan + ;; + "$discoverable") + toggle_discoverable + ;; + "$pairable") + toggle_pairable + ;; + *) + device=$(bluetoothctl devices | grep "$chosen") + # Open a submenu if a device is selected + if [[ $device ]]; then device_menu "$device"; fi + ;; + esac +} + +# Rofi command to pipe into, can add any options here +rofi_command="rofi -dmenu $* -p" + +case "$1" in + --status) + print_status + ;; + *) + show_menu + ;; +esac diff --git a/new-config/.config/rofi/scripts/rofi_power b/new-config/.config/rofi/scripts/rofi_power index c6b7243e0..0b018441b 100755 --- a/new-config/.config/rofi/scripts/rofi_power +++ b/new-config/.config/rofi/scripts/rofi_power @@ -3,6 +3,10 @@ # ***This script was made by Clay Gomera (Drake)*** # - Description: A simple power menu rofi script # - Dependencies: rofi, power-profiles-daemon +# + +## CURRENT WALLPAPER FOR LOCKSCREEN ## +currwall=$(tail --l 1 "$HOME/.wbg" | awk '{print $5}') ## OPTIONS ## option1=" Logout" @@ -35,11 +39,11 @@ case "$action" in $option3*) systemctl poweroff || loginctl poweroff;; $option4*) - swaylock & + swaylock -i "$currwall" & sleep 0.1 systemctl suspend;; $option5*) - swaylock;; + swaylock -i "$currwall";; $option6*) currentpwr=$(powerprofilesctl get) if [ "$currentpwr" = "performance" ]; then diff --git a/new-config/.config/rofi/scripts/rofi_scrot b/new-config/.config/rofi/scripts/rofi_scrot index ff4f50766..faca71887 100755 --- a/new-config/.config/rofi/scripts/rofi_scrot +++ b/new-config/.config/rofi/scripts/rofi_scrot @@ -3,12 +3,12 @@ screenshot_directory="$HOME/Pictures/Screenshots" countdown() { - notify-send "Screenshot" "Recording in 3 seconds" -t 1000 + notify-send "Screenshot" "Executing in 3 seconds" -t 1000 sleep 1 - notify-send "Screenshot" "Recording in 2 seconds" -t 1000 - sleep 1 - notify-send "Screenshot" "Recording in 1 seconds" -t 1000 + notify-send "Screenshot" "Executing in 2 seconds" -t 1000 sleep 1 + notify-send "Screenshot" "Executing in 1 seconds" -t 1000 + sleep 2 } crtf() { diff --git a/new-config/.config/rofi/scripts/rofi_wall b/new-config/.config/rofi/scripts/rofi_wall new file mode 100755 index 000000000..8207ab647 --- /dev/null +++ b/new-config/.config/rofi/scripts/rofi_wall @@ -0,0 +1,53 @@ +#!/usr/bin/env bash + +# ***This script was made by Clay Gomera (Drake)*** +# - Description: A simple wallpaper changer script +# - Dependencies: rofi, fd, feh + +## MAIN VARIABLES AND COMMANDS ## +walldir="$HOME/Pictures/Wallpapers" # wallpapers folder, change it to yours, make sure that it ends with a / +cd "$walldir" || exit + +## SELECT PICTURE FUNCTION ## +selectpic() { + wallpaper=$(fd -p "$walldir" | rofi -dmenu -i -p " 󰋩 Wallpaper Selector ") + if [ "$wallpaper" ]; then + chosenwall=$wallpaper + else + exit 0 + fi +} +selectpic + +## WALLPAPER SETTING OPTIONS ## +option1="󰉦 Fill" +option2="󱇃 Center" +option3="󰝤 Tile" +option4="󰻵 Fit" +options="$option1\n$option2\n$option3\n$option4\n$option5" + +## MAIN ACTION ## +action=$(echo -e "$options" | rofi -dmenu -i -p " 󱇣 Chose the format ") +case "$action" in + $option1*) + pkill swaybg + swaybg -m fill -i "$chosenwall" & + echo -e "#!/bin/sh\nswaybg -m fill -i" $walldir/$chosenwall > "$HOME/.wbg" + chmod +x "$HOME/.wbg";; + $option2*) + pkill swaybg + swaybg -m center -i "$chosenwall" & + echo -e "#!/bin/sh\nswaybg -m center -i" $walldir/$chosenwall > "$HOME/.wbg" + chmod +x "$HOME/.wbg";; + $option3*) + pkill swaybg + swaybg -m tile -i "$chosenwall" & + echo -e "#!/bin/sh\nswaybg -m tile -i" $walldir/$chosenwall > "$HOME/.wbg" + chmod +x "$HOME/.wbg";; + $option4*) + pkill swaybg + swaybg -m fit -i "$chosenwall" & + echo -e "#!/bin/sh\nswaybg -m fit -i" $walldir/$chosenwall > "$HOME/.wbg" + chmod +x "$HOME/.wbg";; +esac +exit 0 diff --git a/new-config/.config/tut/config.toml b/new-config/.config/tut/config.toml new file mode 100644 index 000000000..7da67c653 --- /dev/null +++ b/new-config/.config/tut/config.toml @@ -0,0 +1,1283 @@ +# Configuration file for tut + +[general] +# What editor to use. TUT_USE_INTERNAL will use the editor that comes with tut. +# If you want you can set this to $EDITOR to use your environment variable or +# vim if you want to specify the program directly. +# default="TUT_USE_INTERNAL" +editor="~/.local/bin/lvim" + +# You need to press yes in a confirmation dialog before favoriting, boosting, +# etc. +# default=true +confirmation=true + +# Enable mouse support in tut. +# default=false +mouse-support=false + +# The date format to be used. See https://pkg.go.dev/time#pkg-constants +# default="2006-01-02 15:04" +date-format="2006-01-02 15:04" + +# Format for dates the same day. See date-format for more info. +# default="15:04" +date-tody-format="15:04" + +# This displays relative dates instead for statuses that are one day or older +# the output is 1y2m1d (1 year 2 months and 1 day) +# +# The value is an integer +# -1 = don't use relative dates +# 0 = always use relative dates, except for dates < 1 day +# 1 - ∞ = number of days to use relative dates +# +# Value: 28 will display a relative date for toots that are between 1-28 days +# old. Otherwise it will use the short or long format. +# default=-1 +date-relative=-1 + +# The max with of text before it wraps when displaying a toot. +# default=0 +max-width=0 + +# The placement of your panes. +# valid: left, right, top, bottom +# default="left" +list-placement="left" + +# How should panes be split? +# valid: row, column +# default="row" +list-split="row" + +# The proportion of panes vs. content. 1 on this and 3 on content below results +# in content taking up 3 times more space. +# default=1 +list-proportion=1 + +# See previous. +# default=2 +content-proportion=2 + +# Hide notifications of this type in your notification timelines. +# valid: mention, status, boost, follow, follow_request, favorite, poll, edit +# default=[] +notifications-to-hide=[] + +# Always include a quote of the message you're replying to. +# default=false +quote-reply=false + +# If you want to show icons in timelines. +# default=true +show-icons=true + +# If you only want to you the letter of keys instead of the full hint. +# default=false +short-hints=false + +# If you want to display the filter that filtered a toot. +# default=true +show-filter-phrase=true + +# Display a message in the commandbar on how to access the help text. +# default=true +show-help=true + +# Always jump to the newest post. May ruin your reading experience. +# default=false +stick-to-top=false + +# Display the username of the person being boosted instead of the person that +# boosted. +# default=false +show-boosted-user=false + +# Open a new pane when you run a command like :timeline home. +# default=true +commands-in-new-pane=true + +# Set a default name for the timeline if the name is empty. So if you run :tag +# linux the title of the pane will be set to #linux +# default=true +dynamic-timeline-name=true + +# 0 = No terminal title +# 1 = Show title in terminal and top bar +# 2 = Only show terminal title, and no top bar in tut +# 3 = No terminal title and no top bar in tut. +# valid: 0, 1, 2, 3 +# default=0 +terminal-title=0 + +# If you don't want the whole UI to update, and only update the text content you +# can disable this. This will lead to some artifacts being left on the screen +# when emojis are present. +# default=true +redraw-ui=true + +# The leader is used as a shortcut to run commands as you can do in Vim. By +# default this is disabled and you enable it by setting a key here. It can only +# consist of one char, so set it to something like a comma. +# default="" +leader-key="" + +# Number of milliseconds before the leader command resets. So if you tap the +# leader-key by mistake or are to slow it empties all the input after X +# milliseconds. +# default=1000 +leader-timeout=1000 + +# [[general.timelines]] +# Timelines adds panes of feeds. You can customize the number of feeds, what +# they should show and the key to activate them. + +# --- START OF EXAMPLE --- +# [[general.timelines]] +# name="home" +# type="home" +# hide-boosts=false +# hide-replies=false +# +# [[general.timelines]] +# name="Notifications" +# type="notifications" +# keys=["n", "N"] +# closed=true +# on-creation-closed="new-pane" +# on-focus="focus-self" +# --- END OF EXAMPLE --- + +# The name to display above the timeline +# default="" +# name="" + +# The type of the timeline +# valid: home, direct, local, federated, bookmarks, saved, favorited, notifications, +# lists, mentions, tag +# default="" +# type="" + +# Used for the tag type, so here you set the tag. If you have multiple you +# separate them with a space. +# default="" +# data="" + +# A list of keys to give this timeline focus. See under the input section to +# learn more about keys. +# default=[] +# keys=[] + +# A list of special-keys to give this timeline focus. See under the input +# section to learn more about special-keys. +# default=[] +# special-keys=[] + +# A shortcut to give this timeline focus with your leader-key + this shortcut. +# default="" +# shortcut="" + +# Hide boosts in this timeline. +# default="false" +# hide-boosts="false" + +# Hide replies in this timeline. +# default="false" +# hide-replies="false" + +# Don't open this timeline when you start tut. Use your keys or shortcut to open +# it. +# default="false" +# closed="false" + +# Don't open this timeline when you start tut. Use your keys or shortcut to open +# it. +# valid: new-pane, current-pane +# default="new-pane" +# on-creation-closed="new-pane" + +# Don't open this timeline when you start tut. Use your keys or shortcut to open +# it. +# valid: focus-pane, focus-self +# default="focus-pane" +# on-focus="focus-pane" + +# [[general.leader-actions]] +# You set actions leader-key with one or more leader-actions. +# +# The shortcuts are up to you, but keep them quite short and make sure they +# don't collide. If you have one shortcut that is "f" and an other one that is +# "fav", the one with "f" will always run and "fav" will never run. +# +# Some special actions that requires data to be set: +# pane is special as it's a shortcut for switching between the panes you've set +# under general and they are zero indexed. pane 0 = your first timeline, pane 1 +# = your second and so on. +# list-placement as it takes the argument top, right, bottom or left +# list-split as it takes the argument column or row +# proportions takes the arguments [int] [int], where the first integer is the +# list and the other content, e.g. proportions 1 3. See list-proportion above +# for more information. + +# --- START OF EXAMPLE --- +# [[general.leader-actions]] +# type="close-pane" +# shortcut="q" +# +# [[general.leader-actions]] +# type="list-split" +# data="row" +# shortcut="r" +# +# [[general.leader-actions]] +# type="list-split" +# data="column" +# shortcut="c" +# --- END OF EXAMPLE --- + +# The action you want to run. +# valid: blocking, boosts, clear-notifications, close-pane, compose, edit, favorited, +# favorites, followers, following, history, list-placement, list-split, lists, +# move-pane-left, move-pane-right, move-pane-up, move-pane-down, move-pane-home, +# move-pane-end, muting, newer, pane, preferences, profile, proportions, +# refetch, stick-to-top, tags +# default="" +# type="" + +# Data to pass to the action. +# default="" +# data="" + +# A shortcut to run this action with your leader-key + this shortcut. +# default="" +# shortcut="" + +[media] +# Media files will be removed directly after they've been opened. Some programs +# doesn't like this, so if your media doesn't open, try set this to false. Tut +# will remove all files once you close the program. +# default=true +delete-temp-files=true + +[media.image] +# The program to open images. TUT_OS_DEFAULT equals xdg-open on Linux, open on +# MacOS and start on Windows. +# default="TUT_OS_DEFAULT" +program="imv" + +# Arguments to pass to the program. +# default="" +args="" + +# If the program runs in the terminal set this to true. +# default=false +terminal=false + +# If the program should be called multiple times when there is multiple files. +# If set to false all files will be passed as an argument, but not all programs +# support this. +# default=true +single=true + +# If the files should be passed in reverse order. This will make some programs +# display the files in the correct order. +# default=false +reverse=false + +[media.video] +# The program to open videos. TUT_OS_DEFAULT equals xdg-open on Linux, open on +# MacOS and start on Windows. +# default="TUT_OS_DEFAULT" +program="mpv" + +# Arguments to pass to the program. +# default="" +args="" + +# If the program runs in the terminal set this to true. +# default=false +terminal=false + +# If the program should be called multiple times when there is multiple files. +# If set to false all files will be passed as an argument, but not all programs +# support this. +# default=true +single=true + +# If the files should be passed in reverse order. This will make some programs +# display the files in the correct order. +# default=false +reverse=false + +[media.audio] +# The program to open audio. TUT_OS_DEFAULT equals xdg-open on Linux, open on +# MacOS and start on Windows. +# default="TUT_OS_DEFAULT" +program="TUT_OS_DEFAULT" + +# Arguments to pass to the program. +# default="" +args="" + +# If the program runs in the terminal set this to true. +# default=false +terminal=false + +# If the program should be called multiple times when there is multiple files. +# If set to false all files will be passed as an argument, but not all programs +# support this. +# default=true +single=true + +# If the files should be passed in reverse order. This will make some programs +# display the files in the correct order. +# default=false +reverse=false + +[media.link] +# The program to open links. TUT_OS_DEFAULT equals xdg-open on Linux, open on +# MacOS and start on Windows. +# default="TUT_OS_DEFAULT" +program="TUT_OS_DEFAULT" + +# Arguments to pass to the program. +# default="" +args="" + +# If the program runs in the terminal set this to true. +# default=false +terminal=false + +[desktop-notification] +# Enable notifications when someone follows you. +# default=false +followers=false + +# Enable notifications when one of your toots gets favorited. +# default=false +favorite=false + +# Enable notifications when someone mentions you. +# default=false +mention=false + +# Enable notifications when a post you have interacted with gets edited. +# default=false +update=false + +# Enable notifications when one of your toots gets boosted. +# default=false +boost=false + +# Enable notifications when a poll ends. +# default=false +poll=false + +# Enable notifications for new posts. +# default=false +posts=false + +[open-custom] +# --- START OF EXAMPLE --- +# [[open-custom.programs]] +# program = 'chromium' +# terminal = false +# hint = "[C]hrome" +# keys = ["c", "C"] +# +# [[open-custom.programs]] +# program = 'imv' +# terminal = false +# hint = "[I]mv" +# keys = ["i", "I"]" +# --- END OF EXAMPLE --- + +# [[open-custom.programs]] +# The program to open the file with. +# default="" +# program="" + +# Arguments to pass to the program. +# default="" +# args="" + +# If the program runs in the terminal set this to true. +# default=false +# terminal=false + +# What should the key hint in tut be for this program. See under the input +# section to learn more about hint. +# default="" +# hint="" + +# A list of keys to to open files with this program. See under the input section +# to learn more about keys. +# default=[] +# keys=[] + +# A list of special-keys to open files with this program. See under the input +# section to learn more about special-keys. +# default=[] +# special-keys=[] + +[open-pattern] +# [[open-pattern.programs]] +# Here you can set your own glob patterns for opening matching URLs in the +# program you want them to open up in. You could for example open Youtube videos +# in your video player instead of your default browser. To see the syntax for +# glob pattern you can follow this URL https://github.com/gobwas/glob#syntax. +# default="" +# matching="" + +# The program to open the file with. +# default="" +# program="" + +# Arguments to pass to the program. +# default="" +# args="" + +# If the program runs in the terminal set this to true. +# default=false +# terminal=false + +[style] +# All styles can be represented in their HEX value like #ffffff or with their +# name, so in this case white. The only special value is "default" which equals +# to transparent, so it will be the same color as your terminal. +# You can also use xrdb colors like this xrdb:color1 The program will use colors +# prefixed with an * first then look for URxvt or XTerm if it can't find any +# color prefixed with an asterisk. If you don't want tut to guess the prefix you +# can set the prefix yourself. If the xrdb color can't be found a preset color +# will be used. You'll have to set theme="none" for this to work. + +# The theme to use. You can use some themes that comes bundled with tut. Check +# out the themes available on the URL below. If a theme is named nord.toml you +# just write theme="nord". +# +# https://github.com/RasmusLindroth/tut/tree/master/config/themes +# +# You can also create a theme file in your config directory e.g. +# ~/.config/tut/themes/foo.toml and then set theme=foo. +# +# If you want to use your own theme but don't want to create a new file, set +# theme="none" and then you can create your own theme below. +# +# default="default" +theme="default" + +# The xrdb prefix used for colors in .Xresources. +# default="guess" +xrdb-prefix="guess" + +# The background color used on most elements. +# default="" +background="" + +# The text color used on most of the text. +# default="" +text="" + +# The color to display subtle elements or subtle text. Like lines and help text. +# default="" +subtle="" + +# The color for errors or warnings +# default="" +warning-text="" + +# This color is used to display username. +# default="" +text-special-one="" + +# This color is used to display username and key hints. +# default="" +text-special-two="" + +# The color of the bar at the top +# default="" +top-bar-background="" + +# The color of the text in the bar at the top. +# default="" +top-bar-text="" + +# The color of the bar at the bottom +# default="" +status-bar-background="" + +# The color of the text in the bar at the bottom. +# default="" +status-bar-text="" + +# The color of the bar at the bottom in view mode. +# default="" +status-bar-view-background="" + +# The color of the text in the bar at the bottom in view mode. +# default="" +status-bar-view-text="" + +# The color of the text in the command bar at the bottom. +# default="" +command-text="" + +# Background of selected list items. +# default="" +list-selected-background="" + +# The text color of selected list items. +# default="" +list-selected-text="" + +# The background color of selected list items that are out of focus. +# default="" +list-selected-inactive-background="" + +# The text color of selected list items that are out of focus. +# default="" +list-selected-inactive-text="" + +# The main color of the text for key hints +# default="" +controls-text="" + +# The highlight color of for key hints +# default="" +controls-highlight="" + +# The background color in drop-downs and autocompletions +# default="" +autocomplete-background="" + +# The text color in drop-downs at autocompletions +# default="" +autocomplete-text="" + +# The background color for selected value in drop-downs and autocompletions +# default="" +autocomplete-selected-background="" + +# The text color for selected value in drop-downs and autocompletions +# default="" +autocomplete-selected-text="" + +# The background color on selected button and the text color of unselected +# buttons +# default="" +button-color-one="" + +# The text color on selected button and the background color of unselected +# buttons +# default="" +button-color-two="" + +# The background on named timelines. +# default="" +timeline-name-background="" + +# The text color on named timelines +# default="" +timeline-name-text="" + +[input] +# In this section you set the keys to be used in tut. +# +# The hint option lets you set which part of the hint that will be highlighted +# in tut. E.g. [F]avorite results in a highlighted F and the rest of the text is +# displayed normally. +# Some of the options can be in two states, like favorites, so there you can set +# the hint-alt option to something like Un[F]avorite. +# +# Examples: +# "[D]elete" = Delete with a highlighted D +# "Un[F]ollow" = UnFollow with a highlighted F +# "[Enter]" = Enter where everything is highlighted +# "Yan[K]" = YanK with a highlighted K +# +# The keys option lets you define what key that should be pressed. This is +# limited to on character only and they are case sensitive. +# Example: +# keys=["j","J"] +# +# You can also set special-keys and they're for keys like Escape and Enter. To +# find the names of special keys you have to go to the following site and look +# for "var KeyNames = map[Key]string{" +# +# https://github.com/gdamore/tcell/blob/master/key.go + +[input.global-down] +# Keys for moving down + +# default=["j", "J"] +keys=["j","J"] + +# default=["Down"] +special-keys=["Down"] + +[input.global-up] +# Keys for moving down + +# default=["k", "K"] +keys=["k","K"] + +# default=["Up"] +special-keys=["Up"] + +[input.global-enter] +# To select items + +# default=["Enter"] +special-keys=["Enter"] + +[input.global-back] +# To go back + +# default="[Esc]" +hint="[Esc]" + +# default=["Esc"] +special-keys=["Esc"] + +[input.global-exit] +# To go back or exit + +# default="[Q]uit" +hint="[Q]uit" + +# default=["q", "Q"] +keys=["q","Q"] + +[input.main-home] +# Move to the top + +# default=["g"] +keys=["g"] + +# default=["Home"] +special-keys=["Home"] + +[input.main-end] +# Move to the bottom + +# default=["G"] +keys=["G"] + +# default=["End"] +special-keys=["End"] + +[input.main-prev-feed] +# Go to previous feed + +# default=["h", "H"] +keys=["h","H"] + +# default=["Left"] +special-keys=["Left"] + +[input.main-next-feed] +# Go to next feed + +# default=["l", "L"] +keys=["l","L"] + +# default=["Right"] +special-keys=["Right"] + +[input.main-prev-pane] +# Focus on the previous feed pane + +# default=["Backtab"] +special-keys=["Backtab"] + +[input.main-next-pane] +# Focus on the next feed pane + +# default=["Tab"] +special-keys=["Tab"] + +[input.main-next-account] +# Focus on the next account + +# default=["Ctrl-N"] +special-keys=["Ctrl-N"] + +[input.main-prev-account] +# Focus on the previous account + +# default=["Ctrl-P"] +special-keys=["Ctrl-P"] + +[input.main-compose] +# Compose a new toot + +# default=["c", "C"] +keys=["c","C"] + +[input.status-avatar] +# Open avatar + +# default="[A]vatar" +hint="[A]vatar" + +# default=["a", "A"] +keys=["a","A"] + +[input.status-boost] +# Boost a toot + +# default="[B]oost" +hint="[B]oost" + +# default=["b", "B"] +keys=["b","B"] + +[input.status-edit] +# Edit a toot + +# default="[E]dit" +hint="[E]dit" + +# default=["e", "E"] +keys=["e","E"] + +[input.status-delete] +# Delete a toot + +# default="[D]elete" +hint="[D]elete" + +# default=["d", "D"] +keys=["d","D"] + +[input.status-favorite] +# Favorite a toot + +# default="[F]avorite" +hint="[F]avorite" + +# default=["f", "F"] +keys=["f","F"] + +[input.status-media] +# Open toots media files + +# default="[M]edia" +hint="[M]edia" + +# default=["m", "M"] +keys=["m","M"] + +[input.status-links] +# Open links + +# default="[O]pen" +hint="[O]pen" + +# default=["o", "O"] +keys=["o","O"] + +[input.status-poll] +# Open poll + +# default="[P]oll" +hint="[P]oll" + +# default=["p", "P"] +keys=["p","P"] + +[input.status-reply] +# Reply to toot + +# default="[R]eply" +hint="[R]eply" + +# default=["r", "R"] +keys=["r","R"] + +[input.status-bookmark] +# Save/bookmark a toot + +# default="[S]ave" +hint="[S]ave" + +# default="Un[S]ave" +hint-alt="Un[S]ave" + +# default=["s", "S"] +keys=["s","S"] + +[input.status-thread] +# View thread + +# default="[T]hread" +hint="[T]hread" + +# default=["t", "T"] +keys=["t","T"] + +[input.status-user] +# Open user profile + +# default="[U]ser" +hint="[U]ser" + +# default=["u", "U"] +keys=["u","U"] + +[input.status-view-focus] +# Open the view mode + +# default="[V]iew" +hint="[V]iew" + +# default=["v", "V"] +keys=["v","V"] + +[input.status-yank] +# Yank the url of the toot + +# default="[Y]ank" +hint="[Y]ank" + +# default=["y", "Y"] +keys=["y","Y"] + +[input.status-toggle-cw] +# Show the content in a content warning + +# default="Press [Z] to toggle cw" +hint="Press [Z] to toggle cw" + +# default=["z", "Z"] +keys=["z","Z"] + +[input.status-show-filtered] +# Show the content of a filtered toot + +# default="Press [Z] to view filtered toot" +hint="Press [Z] to view filtered toot" + +# default=["z", "Z"] +keys=["z","Z"] + +[input.user-avatar] +# View avatar + +# default="[A]vatar" +hint="[A]vatar" + +# default=["a", "A"] +keys=["a","A"] + +[input.user-block] +# Block the user + +# default="[B]lock" +hint="[B]lock" + +# default="Un[B]lock" +hint-alt="Un[B]lock" + +# default=["b", "B"] +keys=["b","B"] + +[input.user-follow] +# Follow user + +# default="[F]ollow" +hint="[F]ollow" + +# default="Un[F]ollow" +hint-alt="Un[F]ollow" + +# default=["f", "F"] +keys=["f","F"] + +[input.user-follow-request-decide] +# Follow user + +# default="Follow [R]equest" +hint="Follow [R]equest" + +# default="Follow [R]equest" +hint-alt="Follow [R]equest" + +# default=["r", "R"] +keys=["r","R"] + +[input.user-mute] +# Mute user + +# default="[M]ute" +hint="[M]ute" + +# default="Un[M]ute" +hint-alt="Un[M]ute" + +# default=["m", "M"] +keys=["m","M"] + +[input.user-links] +# Open links + +# default="[O]pen" +hint="[O]pen" + +# default=["o", "O"] +keys=["o","O"] + +[input.user-user] +# View user profile + +# default="[U]ser" +hint="[U]ser" + +# default=["u", "U"] +keys=["u","U"] + +[input.user-view-focus] +# Open view mode + +# default="[V]iew" +hint="[V]iew" + +# default=["v", "V"] +keys=["v","V"] + +[input.user-yank] +# Yank the user URL + +# default="[Y]ank" +hint="[Y]ank" + +# default=["y", "Y"] +keys=["y","Y"] + +[input.list-open-feed] +# Open list + +# default="[O]pen" +hint="[O]pen" + +# default=["o", "O"] +keys=["o","O"] + +[input.list-user-list] +# List all users in a list + +# default="[U]sers" +hint="[U]sers" + +# default=["u", "U"] +keys=["u","U"] + +[input.list-user-add] +# Add user to list + +# default="[A]dd" +hint="[A]dd" + +# default=["a", "A"] +keys=["a","A"] + +[input.list-user-delete] +# Delete user from list + +# default="[D]elete" +hint="[D]elete" + +# default=["d", "D"] +keys=["d","D"] + +[input.link-open] +# Open URL + +# default="[O]pen" +hint="[O]pen" + +# default=["o", "O"] +keys=["o","O"] + +[input.link-yank] +# Yank the URL + +# default="[Y]ank" +hint="[Y]ank" + +# default=["y", "Y"] +keys=["y","Y"] + +[input.tag-open-feed] +# Open tag feed + +# default="[O]pen" +hint="[O]pen" + +# default=["o", "O"] +keys=["o","O"] + +[input.tag-follow] +# Toggle follow on tag + +# default="[F]ollow" +hint="[F]ollow" + +# default="Un[F]ollow" +hint-alt="Un[F]ollow" + +# default=["f", "F"] +keys=["f","F"] + +[input.compose-edit-cw] +# Edit content warning text on new toot + +# default="[C]W text" +hint="[C]W text" + +# default=["c", "C"] +keys=["c","C"] + +[input.compose-edit-text] +# Edit the text on new toot + +# default="[E]dit text" +hint="[E]dit text" + +# default=["e", "E"] +keys=["e","E"] + +[input.compose-include-quote] +# Include a quote when replying + +# default="[I]nclude quote" +hint="[I]nclude quote" + +# default=["i", "I"] +keys=["i","I"] + +[input.compose-media-focus] +# Focus on adding media to toot + +# default="[M]edia" +hint="[M]edia" + +# default=["m", "M"] +keys=["m","M"] + +[input.compose-post] +# Post the new toot + +# default="[P]ost" +hint="[P]ost" + +# default=["p", "P"] +keys=["p","P"] + +[input.compose-toggle-content-warning] +# Toggle content warning on toot + +# default="[T]oggle CW" +hint="[T]oggle CW" + +# default=["t", "T"] +keys=["t","T"] + +[input.compose-visibility] +# Edit the visibility on new toot + +# default="[V]isibility" +hint="[V]isibility" + +# default=["v", "V"] +keys=["v","V"] + +[input.compose-language] +# Edit the language of a toot + +# default="[L]ang" +hint="[L]ang" + +# default=["l", "L"] +keys=["l","L"] + +[input.compose-poll] +# Switch to creating a poll + +# default="P[O]ll" +hint="P[O]ll" + +# default=["o", "O"] +keys=["o","O"] + +[input.media-delete] +# Delete media file + +# default="[D]elete" +hint="[D]elete" + +# default=["d", "D"] +keys=["d","D"] + +[input.media-edit-desc] +# Edit the description on media file + +# default="[E]dit desc" +hint="[E]dit desc" + +# default=["e", "E"] +keys=["e","E"] + +[input.media-add] +# Add a new media file + +# default="[A]dd" +hint="[A]dd" + +# default=["a", "A"] +keys=["a","A"] + +[input.vote-vote] +# Vote on poll + +# default="[V]ote" +hint="[V]ote" + +# default=["v", "V"] +keys=["v","V"] + +[input.vote-select] +# Select item to vote on + +# default="[Enter] to select" +hint="[Enter] to select" + +# default=["Enter"] +special-keys=["Enter"] + +[input.poll-add] +# Add a new poll option + +# default="[A]dd" +hint="[A]dd" + +# default=["a", "A"] +keys=["a","A"] + +[input.poll-edit] +# Edit a poll option + +# default="[E]dit" +hint="[E]dit" + +# default=["e", "E"] +keys=["e","E"] + +[input.poll-delete] +# Delete a poll option + +# default="[D]elete" +hint="[D]elete" + +# default=["d", "D"] +keys=["d","D"] + +[input.poll-multi-toggle] +# Toggle voting on multiple options + +# default="Toggle [M]ultiple" +hint="Toggle [M]ultiple" + +# default=["m", "M"] +keys=["m","M"] + +[input.poll-expiration] +# Change the expiration of poll + +# default="E[X]pires" +hint="E[X]pires" + +# default=["x", "X"] +keys=["x","X"] + +[input.preference-name] +# Change display name + +# default="[N]ame" +hint="[N]ame" + +# default=["n", "N"] +keys=["n","N"] + +[input.preference-visibility] +# Change default visibility of toots + +# default="[V]isibility" +hint="[V]isibility" + +# default=["v", "V"] +keys=["v","V"] + +[input.preference-bio] +# Change bio in profile + +# default="[B]io" +hint="[B]io" + +# default=["b", "B"] +keys=["b","B"] + +[input.preference-save] +# Save your preferences + +# default="[S]ave" +hint="[S]ave" + +# default=["s", "S"] +keys=["s","S"] + +[input.preference-fields] +# Edit profile fields + +# default="[F]ields" +hint="[F]ields" + +# default=["f", "F"] +keys=["f","F"] + +[input.preference-fields-add] +# Add new field + +# default="[A]dd" +hint="[A]dd" + +# default=["a", "A"] +keys=["a","A"] + +[input.preference-fields-edit] +# Edit current field + +# default="[E]dit" +hint="[E]dit" + +# default=["e", "E"] +keys=["e","E"] + +[input.preference-fields-delete] +# Delete current field + +# default="[D]elete" +hint="[D]elete" + +# default=["d", "D"] +keys=["d","D"] + +[input.editor-exit] +# Exit the editor + +# default="[Esc] when done" +hint="[Esc] when done" + +# default=["Esc"] +special-keys=["Esc"] diff --git a/new-config/.config/waybar/config b/new-config/.config/waybar/config index f2c6dd999..fae476ea8 100644 --- a/new-config/.config/waybar/config +++ b/new-config/.config/waybar/config @@ -1,12 +1,12 @@ { "position": "top", - "height": 26, + "height": 22, "spacing": 3, // Choose the order of the modules "modules-left": ["wlr/workspaces"], "modules-center": ["clock"], - "modules-right": ["idle_inhibitor", "hyprland/language", "pulseaudio", "backlight", "battery", "network"], + "modules-right": ["idle_inhibitor", "hyprland/language", "pulseaudio", "backlight", "battery", "custom/powerprofiles", "network"], "wlr/workspaces": { "on-click": "activate", @@ -51,11 +51,17 @@ "format-charging": "{capacity}% 󱐋", "format-plugged": "{capacity}% 󰚥", "format-alt": "{time} {icon}", - "format-critical": "{capacity}% {icon}", - "format-warning": "{capacity}% {icon}", + "format-critical": "{capacity}% {icon} ", + "format-warning": "{capacity}% {icon} ", "format-icons": [" ", " ", " ", " ", " "] }, + "custom/powerprofiles": { + "exec": "bash $HOME/.config/waybar/power-profiles", + "restart-interval": 5, + "format": "{}", + }, + "pulseaudio": { "scroll-step": 1, // %, can be a float "format": "{volume}% {icon} {format_source}", @@ -78,7 +84,7 @@ "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "{essid} ({signalStrength}%) 󱚻 ", + "format-wifi": "{essid} 󱚻 ", "format-ethernet": "{ipaddr}/{cidr} 󰈀 ", "format-disconnected": "Disconnected 󱛅 ", "format-alt": "{ifname}: {ipaddr}/{cidr}" diff --git a/new-config/.config/waybar/power-profiles b/new-config/.config/waybar/power-profiles new file mode 100755 index 000000000..df29a3866 --- /dev/null +++ b/new-config/.config/waybar/power-profiles @@ -0,0 +1,10 @@ +#!/bin/bash +currntpwr=$(powerprofilesctl get) +if [ "${currntpwr}" = "performance" ]; then + pwr="󰓅 Performance" +elif [ "${currntpwr}" = "balanced" ]; then + pwr="󰾅 Balanced" +elif [ "${currntpwr}" = "power-saver" ]; then + pwr="󰾆 PowerSaver" +fi +echo "$pwr" diff --git a/new-config/.config/waybar/style.css b/new-config/.config/waybar/style.css index 600da930a..e587229bd 100644 --- a/new-config/.config/waybar/style.css +++ b/new-config/.config/waybar/style.css @@ -4,7 +4,7 @@ margin-right: 2.5px; margin-left: 2.5px; font-family: mononoki Nerd Font, mononoki Nerd Font Mono; - font-size: 18px; + font-size: 16px; } window#waybar { @@ -45,24 +45,30 @@ button:hover { padding: 0 5px; background-color: transparent; color: #ebdbb2; + border-radius: 5px; } #workspaces button.active { - background-color: rgba(204, 36, 29, 0.3); - color: #ebdbb2; + background-color: rgba(102, 92, 84, 0.5); + color: #8ec07c; + border-radius: 5px; } #workspaces button:hover { - background: #9d0006; + background: #7c6f64; + color: #8ec07c; + border-radius: 5px; } #workspaces button.focused { - background-color: #64727D; + background-color: #7c6f64; box-shadow: inset 0 -3px #ebdbb2; + border-radius: 5px; } #workspaces button.urgent { background-color: #eb4d4b; + border-radius: 5px; } #mode { @@ -71,6 +77,7 @@ button:hover { } #clock, +#custom-powerprofiles, #battery, #backlight, #network, @@ -98,7 +105,7 @@ button:hover { } #clock { - background-color: #3c3836; + background-color: #504945; color: #ebdbb2; border-radius: 15px; } @@ -110,8 +117,8 @@ button:hover { } #battery.charging, #battery.plugged { + background-color: #98971a; color: #ebdbb2; - background-color: #689d6a; border-radius: 6px; } @@ -150,31 +157,32 @@ label:focus { } #network.disconnected { - background-color: #cc241d; + background-color: #9d0006; + color: #ebdbb2; border-radius: 6px; } #pulseaudio { - background-color: #458588; + background-color: #076678; color: #ebdbb2; border-radius: 6px; } #pulseaudio.muted { - background-color: #90b1b1; - color: #2a5c45; + background-color: #076678; + color: #ebdbb2; border-radius: 6px; } #idle_inhibitor { - background-color: #d65d0e; + background-color: #af3a03; color: #ebdbb2; border-radius: 6px; } #idle_inhibitor.activated { - background-color: #fe8019; - color: #3c3836; + background-color: #d55d09; + color: #ebdbb2; border-radius: 6px; } @@ -183,3 +191,9 @@ label:focus { color: #ebdbb2; border-radius: 6px; } + +#custom-powerprofiles { + background-color: #427b58; + color: #ebdbb2; + border-radius: 6px; +} diff --git a/new-config/.config/wezterm/wezterm.lua b/new-config/.config/wezterm/wezterm.lua index e55c67c15..38be7d68c 100644 --- a/new-config/.config/wezterm/wezterm.lua +++ b/new-config/.config/wezterm/wezterm.lua @@ -29,5 +29,5 @@ return { exit_behavior = "Close", window_close_confirmation = 'NeverPrompt', tab_bar_at_bottom = false, - window_background_opacity = 0.8, + window_background_opacity = 0.9, } diff --git a/new-config/.local/bin/hyprland_session b/new-config/.winitrc similarity index 100% rename from new-config/.local/bin/hyprland_session rename to new-config/.winitrc