This commit is contained in:
Stephan Raabe 2023-04-15 19:26:17 +02:00
parent f605043e23
commit c848d51c02
4 changed files with 33 additions and 4 deletions

View File

@ -44,7 +44,7 @@ done
echo ""
echo "-> Install main packages"
packagesPacman=("alacritty" "scrot" "nitrogen" "picom" "starship" "slock" "neomutt" "neovim" "rofi" "dunst" "ueberzug" "mpv" "freerdp" "spotifyd" "xfce4-power-manager" "python-pip" "thunar" "mousepad" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "cmatrix" "lxappearance" "qalculate-gtk" "polybar" "chromium" "breeze" "breeze-gtk");
packagesPacman=("alacritty" "scrot" "nitrogen" "picom" "starship" "slock" "neomutt" "neovim" "rofi" "dunst" "ueberzug" "mpv" "freerdp" "spotifyd" "xfce4-power-manager" "python-pip" "thunar" "mousepad" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "cmatrix" "lxappearance" "polybar" "breeze" "breeze-gtk" "rofi-calc");
packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme");
# pywal installation below

View File

@ -1,3 +1,13 @@
# _ _
# __| |_ _ _ __ ___| |_
# / _` | | | | '_ \/ __| __|
# | (_| | |_| | | | \__ \ |_
# \__,_|\__,_|_| |_|___/\__|
#
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
# See dunst(5) for all configuration options
[global]
@ -30,10 +40,10 @@
height = (0,300)
# Position the notification in the top right corner
origin = top-right
origin = top-center
# Offset from the origin
offset = 8x34
# offset = 8x34
# Scale factor. It is auto-detected if value is 0.
scale = 0

View File

@ -33,7 +33,7 @@ font-0 = "Fira Sans SemiBold:size=11;2"
font-1 = "Font Awesome 6 Free Solid:pixelsize=11;2"
modules-left = xworkspaces mymenu
modules-center = xwindow
modules-right = battery xkeyboard mysystem filesystem pulseaudio memory cpu date myexit
modules-right = battery xkeyboard mycalculator mysystem filesystem pulseaudio memory cpu date myexit
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
@ -51,6 +51,13 @@ content-foreground = ${colors.primary}
content = ""
click-left = "~/dotfiles/scripts/applauncher.sh"
[module/mycalculator]
type = custom/text
content-foreground = ${colors.primary}
content = ""
click-left = "~/dotfiles/scripts/calculator.sh"
[module/myexit]
type = custom/text
content-foreground = ${colors.primary}

12
scripts/calculator.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# ____ _ _ _
# / ___|__ _| | ___ _ _| | __ _| |_ ___ _ __
# | | / _` | |/ __| | | | |/ _` | __/ _ \| '__|
# | |__| (_| | | (__| |_| | | (_| | || (_) | |
# \____\__,_|_|\___|\__,_|_|\__,_|\__\___/|_|
#
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
rofi -show calc