Rofi upgrade -> theming changed etc.

This commit is contained in:
Harri Lahtinen 2021-10-24 23:12:53 +03:00
parent 1fdda89942
commit 26f2ae9c9e
6 changed files with 23 additions and 14 deletions

View File

@ -12,9 +12,9 @@ options="  lock
 hibernate  hibernate
 reboot  reboot
 shutdown"  shutdown"
themes_dir=$HOME/.config/rofi themes_dir=$HOME/.config/rofi/themes
theme=${1:-$themes_dir/colors-rofi-dark.rasi} theme=${1:-$themes_dir/powermenu.rasi}
selection=$(echo -e "${options}" | rofi -dmenu -config ~/.config/rofi/config $theme -columns 6 -lines 1 -width 1700) selection=$(echo -e "${options}" | rofi -dmenu -config ~/.config/rofi/config.rasi $theme -columns 6 -lines 1 -width 1700)
echo "This is your selection: $selection" echo "This is your selection: $selection"

View File

@ -150,7 +150,7 @@ bindsym $mod+Escape workspace prev
bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit" bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit"
bindsym $mod+BackSpace exec $flash bindsym $mod+BackSpace exec $flash
bindsym $mod+Shift+BackSpace exec ~/.config/Scripts/on bindsym $mod+Shift+BackSpace exec ~/.config/rofi/scripts/rofi-power
#STOP/HIDE EVERYTHING: #STOP/HIDE EVERYTHING:
bindsym $mod+Shift+Delete exec $truemute ; exec $truepause ; workspace lmao ; exec $term -e htop ; exec $term -e ranger bindsym $mod+Shift+Delete exec $truemute ; exec $truepause ; workspace lmao ; exec $term -e htop ; exec $term -e ranger

View File

@ -1,6 +1,8 @@
[dmenu] [dmenu]
fn = -*-UbuntuMono Nerd Font Mono*-*-*-20-*-*-*-*-*-*-* fn = -*-UbuntuMono Nerd Font Mono*-*-*-20-*-*-*-*-*-*-*
dmenu_command = rofi -width 15 #fn = -*-terminus-medium-*-*-*-16-*-*-*-*-*-*-*
#dmenu_command = rofi -dmenu -theme-str '@import "network.rasi"'
dmenu_command = rofi -dmenu -theme-str '@import "network.rasi"'
# # Note that dmenu_command can contain arguments as well like `rofi -width 30` # # Note that dmenu_command can contain arguments as well like `rofi -width 30`
# # Rofi and dmenu are set to case insensitive by default `-i` # # Rofi and dmenu are set to case insensitive by default `-i`
# l = number of lines to display, defaults to number of total network options # l = number of lines to display, defaults to number of total network options
@ -14,17 +16,20 @@ dmenu_command = rofi -width 15
# p = Custom Prompt for the networks menu # p = Custom Prompt for the networks menu
pinentry = /usr/bin/pinentry pinentry = /usr/bin/pinentry
rofi_highlight = True rofi_highlight = True
# (Default: False) use rofi highlighting instead of '**' compact = True
# wifi_chars = <string of 4 unicode characters representing 1-4 bars strength>
wifi_chars = ▂▄▆█
# list_saved = <True or False> # (Default: False) list saved connections
# # override normal foreground and background colors (dmenu) or use the
# # -password option (rofi) to obscure passphrase entry
# [dmenu_passphrase] # [dmenu_passphrase]
# override normal foreground and background colors, use the -P option along
# with the Suckless dmenu password patch or use the -password option (rofi) to
# obscure passphrase entry.
# nf = #222222 # nf = #222222
# nb = #222222 # nb = #222222
rofi_obscure = True # rofi_obscure = <True or False> (Default: True) Obscure passwords when typing
# dmenu_password = <True or False> (Default: False) Use the -P option for dmenu (you need the appropriate dmenu patch!)
[editor] [editor]
terminal = kitty terminal = kitty
gui_if_available = True gui_if_available = True
# terminal = <name of terminal program>
# gui_if_available = <True or False>

View File

@ -13,7 +13,7 @@ export GNUPGHOME="~/.gnupg"
export SSH_KEY_PATH="~/.ssh/id_rsa" export SSH_KEY_PATH="~/.ssh/id_rsa"
export TERMINAL="kitty" export TERMINAL="kitty"
export MANPAGER="sh -c 'col -bx | bat -l man -p'" export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export XDG_CONFIG_HOME="$HOME/.config"
#fzf #fzf
#export FZF_CTRL_R_OPTS='--sort --exact' #export FZF_CTRL_R_OPTS='--sort --exact'
#export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'" #export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
@ -34,3 +34,6 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
# QGtkStyle # QGtkStyle
export QT_QPA_PLATFORMTHEME=gtk2 export QT_QPA_PLATFORMTHEME=gtk2
# Firefox
MOZ_X11_EGL=1

View File

@ -42,6 +42,7 @@ findutils
firefox firefox
flex flex
fwupd fwupd
galculator
gawk gawk
gcc gcc
gcc-libs gcc-libs
@ -133,7 +134,6 @@ python-mpd2
python-pip python-pip
python-pynvim python-pynvim
python-pyqt5 python-pyqt5
python-pywal
python-setuptools python-setuptools
python-urwid python-urwid
reflector reflector
@ -234,6 +234,7 @@ xorg-xwd
xorg-xwininfo xorg-xwininfo
xorg-xwud xorg-xwud
xterm xterm
yadm
youtube-dl youtube-dl
zathura zathura
zathura-pdf-poppler zathura-pdf-poppler

View File

@ -33,6 +33,7 @@ pacback
pbincli pbincli
picom-git picom-git
polybar-git polybar-git
pywal-git
qt5-styleplugins qt5-styleplugins
ranger-git ranger-git
redshift-minimal redshift-minimal
@ -41,6 +42,5 @@ ttf-weather-icons
twmn-git twmn-git
wpgtk-git wpgtk-git
yad-git yad-git
yadm
yay-bin yay-bin
youtube-viewer youtube-viewer