new setup structure multiple fonts and various other small bug fixes

This commit is contained in:
ITmail-dk
2022-01-07 09:59:50 +01:00
parent fb1b21ff03
commit 7ca12b2e45
31 changed files with 77 additions and 77 deletions

View File

@@ -1,12 +0,0 @@
backend = "glx";
# xrender or glx
# Opacity
active-opacity = 0.93;
inactive-opacity = 0.8;
blur-background = true;
#blur-kern = "3x3box";
#blur-kern = "5x5box";
blur-kern = "7x7box";

View File

@@ -26,10 +26,8 @@
;=========================================================================
[colors]
;background = ${xrdb:color0:#222}
background = #F209141E
background-alt = #09141E
;foreground = ${xrdb:color7:#222}
foreground = #ebebeb
foreground-alt = #555
primary = #333D53
@@ -65,9 +63,9 @@ background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
line-color = #dbdbdb
;# Option to provide a transparent can in x number of Pixels or a solid color around polubar
;# Ttransparent or Solid color border around Polybar. (Size in Pixels)
border-size = 0
border-color = #00000000
@@ -89,7 +87,7 @@ font-5 = "DejaVuSansMono Nerd Font:style=Book:size=12;2"
modules-left = bspwm xwindow
;modules-center = mpd
modules-right = pulseaudio cpu memory wlan eth date temperature battery powermenu session
modules-right = pulseaudio cpu memory wlan eth date temperature battery session
; Models list - filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu
@@ -448,40 +446,11 @@ ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = ${colors.icon-c1}
label-close = x
label-close-foreground = ${colors.icon-c1}
label-separator = " "
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = 
menu-0-0-exec = menu-open-1
menu-0-1 = 
menu-0-1-exec = menu-open-2
menu-1-0 = 
menu-1-0-exec = menu-open-0
menu-1-1 = 
menu-1-1-exec = systemctl reboot
menu-2-0 = 
menu-2-0-exec = systemctl poweroff
menu-2-1 = 
menu-2-1-exec = menu-open-0
[module/session]
type = custom/text
click-left = powermenu.sh
click-left = ~/.config/rofi/powermenu.sh
content = %{T4}%{T-}
content-background = ${colors.shade-2}
content-foreground = ${colors.shade-5}

View File

@@ -9,11 +9,11 @@ configuration {
@theme "/dev/null"
* {
bg: #11121D;
bg-alt: #444b6a;
bg: #10171c;
bg-alt: #344959;
fg: #FFFFFF;
fg-alt: #787c99;
fg: #EBEBEB;
fg-alt: #768ca3;
background-color: @bg;
@@ -78,5 +78,4 @@ prompt {
/* vim: ft=sass
// Theme location is "/usr/share/rofi/themes/name.rasi"
//@theme "/usr/share/rofi/themes/Arc-Dark.rasi"

10
config/rofi/powermenu.sh Normal file
View File

@@ -0,0 +1,10 @@
#! /bin/sh
chosen=$(printf " Power Off\n Restart\n Lock" | rofi -dmenu -i -theme-str '@import "powermenu.rasi"')
case "$chosen" in
" Power Off") systemctl poweroff ;;
" Restart") systemctl reboot ;;
" Lock") i3lock-fancy -gp -- scrot -z ;;
*) exit 1 ;;
esac

View File

@@ -1,6 +1,11 @@
#
# Hotkey - Config
# Hotkey - Config
#
###################################
# Reload sxhkd config file.
super + alt + ctrl + Escape
pkill -USR1 -x sxhkd
###################################
# Terminal´s primary and secondary.
super + Return
@@ -14,11 +19,6 @@ super + shift + Return
super + r
rofi -show run
# Reload sxhkd config file.
super + alt + ctrl + Escape
pkill -USR1 -x sxhkd
super + b
google-chrome
@@ -26,7 +26,7 @@ super + shift + b
firefox
super + e
thunar
pcmanfm
super + alt + ctrl + a
kitty -e pulsemixer
@@ -34,7 +34,8 @@ super + alt + ctrl + a
super + ctrl + m
. ~/.config/rofi/rofi-beats.sh
super + ctrl + alt + w
. ~/.config/rofi/rofi-wifi-menu.sh
#
# BSPwm Hotkeys