Test Dotfiles

This commit is contained in:
The-Repo-Club 2023-08-15 17:37:16 +01:00
parent 5c04565b9c
commit 2c8b5304f9
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
50 changed files with 259 additions and 231 deletions

View File

@ -156,7 +156,7 @@ font:
style: Bold Italic style: Bold Italic
# Point size # Point size
size: 12.0 size: 10.0
# Offset is the extra space around each character. `offset.y` can be thought # Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter # of as modifying the line spacing, and `offset.x` as modifying the letter
@ -368,8 +368,8 @@ colors: *minimal-mistakes
# - (macOS) /bin/bash --login # - (macOS) /bin/bash --login
# - (Linux/BSD) user login shell # - (Linux/BSD) user login shell
# - (Windows) powershell # - (Windows) powershell
#shell: shell:
# program: /bin/bash program: /bin/fish
# args: # args:
# - --login # - --login

View File

@ -0,0 +1,15 @@
[Desktop Entry]
Icon=/home/repo/.local/share/JetBrains/Toolbox/toolbox.svg
Exec=/home/repo/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
Version=1.0
Type=Application
Categories=Development
Name=JetBrains Toolbox
StartupWMClass=jetbrains-toolbox
Terminal=false
MimeType=x-scheme-handler/jetbrains;
X-GNOME-Autostart-enabled=true
StartupNotify=false
X-GNOME-Autostart-Delay=10
X-MATE-Autostart-Delay=10
X-KDE-autostart-after=panel

Binary file not shown.

View File

@ -19,10 +19,10 @@ if test -d "$HOME/.cargo/bin"
set PATH "$HOME/.cargo/bin:$PATH" set PATH "$HOME/.cargo/bin:$PATH"
end end
# Adds `~/.local/bin/repobar` to $PATH # Adds `~/.local/bin/flexiflow_bar` to $PATH
# set PATH so it includes user's private bin if it exists # set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin/repobar" if test -d "$HOME/.local/bin/flexiflow_bar"
set PATH "$HOME/.local/bin/repobar:$PATH" set PATH "$HOME/.local/bin/flexiflow_bar:$PATH"
end end
# Adds `~/.local/bin/rofi` to $PATH # Adds `~/.local/bin/rofi` to $PATH

View File

@ -0,0 +1,10 @@
# If an old handler already exists, defer to that.
function fish_command_not_found
if test -f /usr/libexec/pk-command-not-found
/usr/libexec/pk-command-not-found $argv[1]
end
end
function __fish_command_not_found_handler --on-event fish_command_not_found
fish_command_not_found $argv
end

View File

@ -1,2 +1,2 @@
LastUsed=1691930658 LastUsed=1692117428
Message='Fully Updated' Message='Fully Updated'

View File

@ -24,7 +24,7 @@ is_charging() {
battery() { battery() {
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
battery_status="" battery_status=""
if $(is_charging); then if $(is_charging); then

View File

@ -44,7 +44,7 @@ DaySuffix() {
clock() { clock() {
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
icon_date="  " icon_date="  "
icon_time=" " icon_time=" "

View File

@ -2,7 +2,7 @@
cpu() { cpu() {
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
icon="  " icon="  "

View File

@ -2,7 +2,7 @@
keyboard() { keyboard() {
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
icon=" 󰌌 " icon=" 󰌌 "

View File

@ -2,7 +2,7 @@
network() { network() {
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
R1=$(cat /sys/class/net/wlan0/statistics/rx_bytes) R1=$(cat /sys/class/net/wlan0/statistics/rx_bytes)
T1=$(cat /sys/class/net/wlan0/statistics/tx_bytes) T1=$(cat /sys/class/net/wlan0/statistics/tx_bytes)

View File

@ -2,7 +2,7 @@
ram() { ram() {
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
icon=" 󰍛 " icon=" 󰍛 "

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
get_updates() { get_updates() {
configFile=$HOME/.config/repowm/repobar/bar_updates.ini configFile=$HOME/.config/repowm/flexiflow_bar/bar_updates.ini
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
updates=$(yay -Pn) updates=$(yay -Pn)
timestamp=$(date +%s) timestamp=$(date +%s)

View File

@ -2,7 +2,7 @@
volume_alsa() { volume_alsa() {
# load colors # load colors
. $HOME/.config/repobar/bar_themes/minimal-mistakes . $HOME/.config/flexiflow_bar/bar_themes/minimal-mistakes
analog=$(pamixer --list-sinks | grep analog | awk '{ print $2 }' | sed 's/"//g') analog=$(pamixer --list-sinks | grep analog | awk '{ print $2 }' | sed 's/"//g')
hdmi=$(pamixer --list-sinks | grep hdmi | awk '{ print $2 }' | sed 's/"//g') hdmi=$(pamixer --list-sinks | grep hdmi | awk '{ print $2 }' | sed 's/"//g')

View File

@ -0,0 +1,32 @@
#!/usr/bin/env bash
weather() {
configFile=$HOME/.config/repowm/flexiflow_bar/bar_weather.ini
timestamp=$(date +%s)
icon=""
[[ -f $configFile ]] && . $configFile
if [ -z "$LastUsed" ] || [ -z "$Message" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${weather}'" >$configFile
else
if [ "$Message" == "weatherdata" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${weather}'" >$configFile
else
if [ "$timestamp" -ge "$LastUsed" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${weather}'" >$configFile
else
printf " %s %s \n" "$icon" "$Message"
fi
fi
fi
}
weather

View File

@ -1,6 +1,6 @@
file:///run/media/repo/500GB/.aur .aur file:///mnt/500GB/.aur .aur
file:///home/repo/.cache .cache file:///home/repo/.cache .cache
file:///home/repo/.config .config file:///home/repo/.config .config
file:///home/repo/.local .local file:///home/repo/.local .local
file:///run/media/repo/500GB/.gitlabs .gitlabs file:///mnt/500GB/.gitlabs .gitlabs
file:///run/media/repo/500GB/IOS IOS file:///mnt/500GB/IOS IOS

View File

@ -659,9 +659,9 @@ for_window [class="(?i)steam_app_271590"] fullscreen enable
# {{{ Audio Settings # {{{ Audio Settings
bindsym XF86AudioRaiseVolume $exe "amixer -D pulse sset Master '5%+'" bindsym XF86AudioRaiseVolume $exe "amixer sset Master '5%+'"
bindsym XF86AudioLowerVolume $exe "amixer -D pulse sset Master '5%-'" bindsym XF86AudioLowerVolume $exe "amixer sset Master '5%-'"
bindsym XF86AudioMute $exe "amixer -D pulse set Master toggle" bindsym XF86AudioMute $exe "amixer set Master toggle"
#https://github.com/acrisci/playerctl/ #https://github.com/acrisci/playerctl/
bindsym XF86AudioPlay $exe playerctl play-pause bindsym XF86AudioPlay $exe playerctl play-pause
bindsym XF86AudioNext $exe playerctl next bindsym XF86AudioNext $exe playerctl next
@ -676,8 +676,8 @@ bindsym XF86AudioStop $exe playerctl stop
# {{{ xbacklight # {{{ xbacklight
bindsym XF86MonBrightnessUp $exe xbacklight -inc 10 # increase screen brightness bindsym XF86MonBrightnessUp $exe brightnessctl set 5%+ # increase screen brightness
bindsym XF86MonBrightnessDown $exe xbacklight -dec 10 # decrease screen brightness bindsym XF86MonBrightnessDown $exe brightnessctl set 5%- # decrease screen brightness
# }}} xbacklight # }}} xbacklight
@ -726,11 +726,11 @@ $super_b+y \
$super_b+u \ $super_b+u \
border none border none
new_window pixel 10 new_window pixel 5
#new_window normal #new_window normal
#new_window none #new_window none
new_float pixel 10 new_float pixel 5
#new_float normal #new_float normal
#new_float none #new_float none

View File

@ -1,26 +1,26 @@
#!/usr/bin/env bash #!/usr/bin/env bash
updates() { updates() {
configFile=$HOME/.config/repowm/repobar/bar_updates.ini configFile=$HOME/.config/repowm/flexiflow_bar/bar_updates.ini
timestamp=$(date +%s) timestamp=$(date +%s)
icon=" " icon=" "
[[ -f $configFile ]] && . $configFile [[ -f $configFile ]] && . $configFile
if [ -z "$LastUsed" ] || [ -z "$Message" ]; then if [ -z "$LastUsed" ] || [ -z "$Message" ]; then
updates=$(checkupdates | wc -l) updates=$(checkupdates | wc -l)
printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}" printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}"
newtime=`expr $timestamp + 900` newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${updates}'" > $configFile echo -e "LastUsed=${newtime}\nMessage='${updates}'" >$configFile
else
if [ "$timestamp" -ge "$LastUsed" ]; then
updates=$(checkupdates | wc -l)
printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}"
newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${updates}'" >$configFile
else else
if [ "$timestamp" -ge "$LastUsed" ]; then updates=" $Message"
updates=$(checkupdates | wc -l) printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}"
printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${updates}'" > $configFile
else
updates=" $Message"
printf "%s%s\n" "%{F#1E222A}%{B#EBD369}$icon %{F-}%{B-}" "%{F#282A36}%{B#C4C7C5}$updates Updates %{F-}%{B-}"
fi
fi fi
fi
} }
updates updates

View File

@ -1,33 +1,32 @@
#!/usr/bin/env bash #!/usr/bin/env bash
weather() { weather() {
configFile=$HOME/.config/repowm/repobar/bar_weather.ini configFile=$HOME/.config/repowm/flexiflow_bar/bar_weather.ini
timestamp=$(date +%s) timestamp=$(date +%s)
icon="" icon=""
[[ -f $configFile ]] && . $configFile [[ -f $configFile ]] && . $configFile
if [ -z "$LastUsed" ] || [ -z "$Message" ]; then if [ -z "$LastUsed" ] || [ -z "$Message" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${weather}'" >$configFile
else
if [ "$Message" == "weatherdata" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${weather}'" >$configFile
else
if [ "$timestamp" -ge "$LastUsed" ]; then
weather=$(ansiweather | awk '{print $4 $5}') weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather" printf " %s %s \n" "$icon" "$weather"
newtime=`expr $timestamp + 900` newtime=$(expr $timestamp + 900)
echo -e "LastUsed=${newtime}\nMessage='${weather}'" > $configFile echo -e "LastUsed=${newtime}\nMessage='${weather}'" >$configFile
else else
if [ "$Message" == "weatherdata" ]; then printf " %s %s \n" "$icon" "$Message"
weather=$(ansiweather | awk '{print $4 $5}') fi
printf " %s %s \n" "$icon" "$weather"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${weather}'" > $configFile
else
if [ "$timestamp" -ge "$LastUsed" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${weather}'" > $configFile
else
printf " %s %s \n" "$icon" "$Message"
fi
fi
fi fi
fi
} }
weather weather

View File

@ -12,7 +12,7 @@
#Created: #Created:
# Mon 22 November 2021, 03:15:54 PM [GMT+1] # Mon 22 November 2021, 03:15:54 PM [GMT+1]
#Modified: #Modified:
# Sun 13 August 2023, 08:40:20 PM [GMT+1] # Mon 14 August 2023, 05:30:34 PM [GMT+1]
# #
#Description: #Description:
# <Todo> # <Todo>
@ -160,17 +160,17 @@ else
echo "touchpad-indicator could not be found" echo "touchpad-indicator could not be found"
fi fi
if command -v cbatticon &>/dev/null; then if command -v battray &>/dev/null; then
if ! pgrep -x "cbatticon" >/dev/null; then if ! pgrep -x "battray" >/dev/null; then
( (
sleep 2s sleep 2s
cbatticon battray
) & ) &
else else
echo "cbatticon already Running" echo "battray already Running"
fi fi
else else
echo "cbatticon could not be found" echo "battray could not be found"
fi fi
if command -v pasystray &>/dev/null; then if command -v pasystray &>/dev/null; then
@ -186,17 +186,17 @@ else
echo "pasystray could not be found" echo "pasystray could not be found"
fi fi
if command -v gufwicon &>/dev/null; then if command -v firewall-applet &>/dev/null; then
if ! pgrep -x "gufwicon" >/dev/null; then if ! pgrep -x "firewall-applet" >/dev/null; then
( (
sleep 5s sleep 5s
gufwicon firewall-applet
) & ) &
else else
echo "gufwicon already Running" echo "firewall-applet already Running"
fi fi
else else
echo "gufwicon could not be found" echo "firewall-applet could not be found"
fi fi
if command -v numlockx &>/dev/null; then if command -v numlockx &>/dev/null; then

View File

@ -165,6 +165,7 @@ rounded-corners-exclude = [
"class_g = 'repowm'", "class_g = 'repowm'",
"class_g = 'repowmsystray'", "class_g = 'repowmsystray'",
"class_g = 'scratchpad_terminal'", "class_g = 'scratchpad_terminal'",
"class_g = 'Software Management - dnfdragora'",
"QTILE_INTERNAL:32c = 1" "QTILE_INTERNAL:32c = 1"
]; ];

View File

@ -84,7 +84,7 @@ class Commands(object):
passmenu = "passmenu" passmenu = "passmenu"
autostart = ["autostart"] autostart = ["autostart"]
configure = ["youtube_subs -d"] configure = ["youtube_subs -d", "autorandr --load qtile"]
################## ##################
@ -121,16 +121,16 @@ keys = [
Key([MOD, SHIFT], "Return", lazy.spawn(Commands.files), desc="Launch files"), Key([MOD, SHIFT], "Return", lazy.spawn(Commands.files), desc="Launch files"),
Key([MOD], "b", lazy.spawn(Commands.btop), desc="Launch btop"), Key([MOD], "b", lazy.spawn(Commands.btop), desc="Launch btop"),
# Audio Settings # Audio Settings
Key([], "XF86AudioMute", lazy.spawn("amixer -D pulse set Master toggle")), Key([], "XF86AudioMute", lazy.spawn("amixer set Master toggle")),
Key( Key(
[], [],
"XF86AudioLowerVolume", "XF86AudioLowerVolume",
lazy.spawn("amixer -D pulse sset Master '5%-' unmute"), lazy.spawn("amixer set Master '5%-' unmute"),
), ),
Key( Key(
[], [],
"XF86AudioRaiseVolume", "XF86AudioRaiseVolume",
lazy.spawn("amixer -D pulse sset Master '5%+' unmute"), lazy.spawn("amixer set Master '5%+' unmute"),
), ),
# https://github.com/acrisci/playerctl/ # https://github.com/acrisci/playerctl/
Key([], "XF86AudioPlay", lazy.spawn("playerctl play-pause")), Key([], "XF86AudioPlay", lazy.spawn("playerctl play-pause")),
@ -138,8 +138,8 @@ keys = [
Key([], "XF86AudioPrev", lazy.spawn("playerctl previous")), Key([], "XF86AudioPrev", lazy.spawn("playerctl previous")),
Key([], "XF86AudioStop", lazy.spawn("playerctl stop")), Key([], "XF86AudioStop", lazy.spawn("playerctl stop")),
# xBacklight # xBacklight
Key([], "XF86MonBrightnessUp", lazy.spawn("xbacklight +10")), Key([], "XF86MonBrightnessUp", lazy.spawn("brightnessctl set 5%+")),
Key([], "XF86MonBrightnessDown", lazy.spawn("xbacklight -10")), Key([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl set 5%-")),
] ]
keys.extend( keys.extend(

View File

@ -6,104 +6,123 @@ class Groups(object):
groups = [ groups = [
# first group that hold the terminals # first group that hold the terminals
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Alacritty.*|^Kitty.*', re.IGNORECASE))], matches=[
layout='monadthreecol', Match(wm_class=re.compile("^Alacritty.*|^Kitty.*", re.IGNORECASE))
],
layout="monadthreecol",
position=1, position=1,
screen_affinity=1, screen_affinity=1,
name='1', name="1",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Code.*|^Jetbrains.*', re.IGNORECASE))], matches=[Match(wm_class=re.compile("^Code.*|^Jetbrains.*", re.IGNORECASE))],
position=2, position=2,
screen_affinity=1, screen_affinity=1,
name='2', name="2",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Nemo.*', re.IGNORECASE))], matches=[Match(wm_class=re.compile("^Nemo.*", re.IGNORECASE))],
position=3, position=3,
screen_affinity=1, screen_affinity=1,
name='3', name="3",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Aseprite.*|^Krita.*', re.IGNORECASE))], matches=[Match(wm_class=re.compile("^Aseprite.*|^Krita.*", re.IGNORECASE))],
position=4, position=4,
screen_affinity=1, screen_affinity=1,
name='4', name="4",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^CmusImage.*', re.IGNORECASE))], matches=[Match(wm_class=re.compile("^CmusImage.*", re.IGNORECASE))],
position=5, position=5,
screen_affinity=1, screen_affinity=1,
name='5', name="5",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Firefox.*|^Brave.*', re.IGNORECASE), role=['browser'])], matches=[
Match(
wm_class=re.compile("^Firefox.*|^Brave.*", re.IGNORECASE),
role=["browser"],
)
],
position=6, position=6,
screen_affinity=2, screen_affinity=2,
name='6', name="6",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Mail.*|^Thunderbird.*', re.IGNORECASE))], matches=[
Match(wm_class=re.compile("^Mail.*|^Thunderbird.*", re.IGNORECASE))
],
position=7, position=7,
screen_affinity=2, screen_affinity=2,
name='7', name="7",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Steam.*|^Minecraft.*|^0ad.*', re.IGNORECASE))], matches=[
Match(
wm_class=re.compile("^Steam.*|^Minecraft.*|^0ad.*", re.IGNORECASE)
)
],
position=8, position=8,
screen_affinity=2, screen_affinity=2,
name='8', name="8",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^Discord.*', re.IGNORECASE))], matches=[Match(wm_class=re.compile("^Discord.*", re.IGNORECASE))],
position=9, position=9,
screen_affinity=2, screen_affinity=2,
name='9', name="9",
), ),
Group( Group(
label='', label="",
init=True, init=True,
persist=True, persist=True,
exclusive=False, exclusive=False,
matches=[Match(wm_class=re.compile('^PkgBrowser.*|^Virt.*|^Btop.*', re.IGNORECASE))], matches=[
Match(
wm_class=re.compile(
"^Software Management.*|^Virt.*|^Btop.*", re.IGNORECASE
)
)
],
position=10, position=10,
screen_affinity=2, screen_affinity=2,
name='0', name="0",
), ),
] ]

View File

@ -7,7 +7,6 @@ from colors import colorScheme, foregroundColor, backgroundColor
class Widgets(object): class Widgets(object):
sep = widget.Sep( sep = widget.Sep(
linewidth=1, linewidth=1,
padding=10, padding=10,
@ -18,17 +17,20 @@ class Widgets(object):
space = widget.Spacer() space = widget.Spacer()
launcher = widget.Image( launcher = widget.Image(
fmt='{}', fmt="{}",
filename=expanduser('~/.config/qtile/art/Archlinux-icon.svg'), filename=expanduser("~/.config/qtile/art/Archlinux-icon.svg"),
margin=3, margin=3,
mouse_callbacks={'Button1': lazy.spawn('menu')}, mouse_callbacks={
"Button1": lazy.spawn("menu"),
"Button3": lazy.spawn("rofi -show drun"),
},
) )
power1 = widget.LaunchBar( power1 = widget.LaunchBar(
text_only=True, text_only=True,
foreground=colorScheme[1], foreground=colorScheme[1],
progs=[ progs=[
('', 'rofi -show powermenu -config ~/.config/rofi/powermenu.rasi'), ("", "rofi -show powermenu -config ~/.config/rofi/powermenu.rasi"),
], ],
) )
@ -36,7 +38,7 @@ class Widgets(object):
text_only=True, text_only=True,
foreground=colorScheme[1], foreground=colorScheme[1],
progs=[ progs=[
('', 'rofi -show powermenu -config ~/.config/rofi/powermenu.rasi'), ("", "rofi -show powermenu -config ~/.config/rofi/powermenu.rasi"),
], ],
) )
@ -105,65 +107,65 @@ class Widgets(object):
) )
volume = widget.Volume( volume = widget.Volume(
fmt='Vol: {}', fmt="Vol: {}",
foreground=colorScheme[2], foreground=colorScheme[2],
padding=10, padding=10,
) )
battery = widget.Battery( battery = widget.Battery(
fmt='Bat: {}', fmt="Bat: {}",
foreground=colorScheme[3], foreground=colorScheme[3],
padding=10, padding=10,
format='{char} {percent:2.0%} {hour:d}:{min:02d} {watt:.2f} W', format="{char} {percent:2.0%} {hour:d}:{min:02d} {watt:.2f} W",
) )
backlight = widget.Backlight( backlight = widget.Backlight(
fmt='Backlight: {}', fmt="Backlight: {}",
foreground=colorScheme[4], foreground=colorScheme[4],
padding=10, padding=10,
backlight_name="intel_backlight", backlight_name="intel_backlight",
) )
net = widget.Net( net = widget.Net(
fmt='{}', fmt="{}",
foreground=colorScheme[5], foreground=colorScheme[5],
padding=10, padding=10,
interface="wlp0s20f3", interface="wlp0s20f3",
) )
date = widget.Clock( date = widget.Clock(
fmt='{}', fmt="{}",
foreground=colorScheme[6], foreground=colorScheme[6],
format='%d %B %Y', format="%d %B %Y",
padding=10, padding=10,
) )
time = widget.Clock( time = widget.Clock(
fmt='{}', fmt="{}",
foreground=colorScheme[6], foreground=colorScheme[6],
format='%I:%M %p', format="%I:%M %p",
padding=10, padding=10,
) )
tray = widget.Systray( tray = widget.Systray(
fmt='{}', fmt="{}",
padding=5, padding=5,
) )
currentLayout1 = widget.CurrentLayoutIcon( currentLayout1 = widget.CurrentLayoutIcon(
fmt='{}', fmt="{}",
scale=0.7, scale=0.7,
padding=5, padding=5,
) )
currentLayout2 = widget.CurrentLayoutIcon( currentLayout2 = widget.CurrentLayoutIcon(
fmt='{}', fmt="{}",
scale=0.7, scale=0.7,
padding=5, padding=5,
) )
chords = widget.Chord( chords = widget.Chord(
fmt='{}', fmt="{}",
chords_colors={ chords_colors={
"Resize Windows": (colorScheme[0], colorScheme[1]), "Resize Windows": (colorScheme[0], colorScheme[1]),
"Launch Game": (colorScheme[0], colorScheme[2]), "Launch Game": (colorScheme[0], colorScheme[2]),
@ -173,30 +175,34 @@ class Widgets(object):
) )
weather = widget.OpenWeather( weather = widget.OpenWeather(
fmt='{}', fmt="{}",
foreground=colorScheme[9], foreground=colorScheme[9],
location='Darlington,UK', location="Darlington,UK",
format='{location_city}: {main_temp}°{units_temperature} ', format="{location_city}: {main_temp}°{units_temperature} ",
) )
updates = widget.CheckUpdates( updates = widget.CheckUpdates(
fmt='{}', fmt="{}",
colour_have_updates=colorScheme[2], colour_have_updates=colorScheme[2],
colour_no_updates=colorScheme[1], colour_no_updates=colorScheme[1],
padding=10, padding=10,
distro='Arch_checkupdates', distro="Fedora",
no_update_string='Fully Updated!', no_update_string="Fully Updated!",
mouse_callbacks={ mouse_callbacks={
'Button1': lazy.spawn('pkgbrowser'), "Button1": lazy.spawn("dnfdragora"),
}, },
) )
picom = widget.GenPollText( picom = widget.GenPollText(
fmt='{}', fmt="{}",
foreground=colorScheme[11], foreground=colorScheme[11],
func=lambda: subprocess.check_output(expanduser("~/.config/qtile/scripts/picom.sh")).decode("utf-8"), func=lambda: subprocess.check_output(
expanduser("~/.config/qtile/scripts/picom.sh")
).decode("utf-8"),
mouse_callbacks={ mouse_callbacks={
'Button1': lambda: subprocess.run(expanduser("~/.config/qtile/scripts/picom-toggle.sh")), "Button1": lambda: subprocess.run(
expanduser("~/.config/qtile/scripts/picom-toggle.sh")
),
}, },
update_interval=1, update_interval=1,
padding=10, padding=10,
@ -206,55 +212,67 @@ class Widgets(object):
foreground=colorScheme[12], foreground=colorScheme[12],
widgets=[ widgets=[
widget.GenPollText( widget.GenPollText(
fmt='{}', fmt="{}",
foreground=colorScheme[13], foreground=colorScheme[13],
func=lambda: subprocess.check_output(expanduser("~/.config/qtile/scripts/github/notifications")).decode("utf-8"), func=lambda: subprocess.check_output(
expanduser("~/.config/qtile/scripts/github/notifications")
).decode("utf-8"),
update_interval=10, update_interval=10,
padding=10, padding=10,
), ),
widget.GenPollText( widget.GenPollText(
fmt='{}', fmt="{}",
foreground=colorScheme[13], foreground=colorScheme[13],
func=lambda: subprocess.check_output(expanduser("~/.config/qtile/scripts/github/gists")).decode("utf-8"), func=lambda: subprocess.check_output(
expanduser("~/.config/qtile/scripts/github/gists")
).decode("utf-8"),
update_interval=10, update_interval=10,
padding=10, padding=10,
), ),
widget.GenPollText( widget.GenPollText(
fmt='{}', fmt="{}",
foreground=colorScheme[13], foreground=colorScheme[13],
func=lambda: subprocess.check_output(expanduser("~/.config/qtile/scripts/github/repositories")).decode("utf-8"), func=lambda: subprocess.check_output(
expanduser("~/.config/qtile/scripts/github/repositories")
).decode("utf-8"),
update_interval=10, update_interval=10,
padding=10, padding=10,
), ),
], ],
text_closed='[Github <]', text_closed="[Github <]",
text_open='[Github >]', text_open="[Github >]",
) )
github2 = widget.WidgetBox( github2 = widget.WidgetBox(
widgets=[ widgets=[
widget.GenPollText( widget.GenPollText(
fmt='{}', fmt="{}",
foreground=colorScheme[13], foreground=colorScheme[13],
func=lambda: subprocess.check_output(expanduser("~/.config/qtile/scripts/github/notifications")).decode("utf-8"), func=lambda: subprocess.check_output(
expanduser("~/.config/qtile/scripts/github/notifications")
).decode("utf-8"),
update_interval=10, update_interval=10,
padding=10, padding=10,
), ),
widget.GenPollText( widget.GenPollText(
fmt='{}', fmt="{}",
foreground=colorScheme[13], foreground=colorScheme[13],
func=lambda: subprocess.check_output(expanduser("~/.config/qtile/scripts/github/gists")).decode("utf-8"), func=lambda: subprocess.check_output(
expanduser("~/.config/qtile/scripts/github/gists")
).decode("utf-8"),
update_interval=10, update_interval=10,
padding=10, padding=10,
), ),
widget.GenPollText( widget.GenPollText(
fmt='{}', fmt="{}",
foreground=colorScheme[13], foreground=colorScheme[13],
func=lambda: subprocess.check_output(expanduser("~/.config/qtile/scripts/github/repositories")).decode("utf-8"), func=lambda: subprocess.check_output(
expanduser("~/.config/qtile/scripts/github/repositories")
).decode("utf-8"),
update_interval=10, update_interval=10,
padding=10, padding=10,
), ),
], ],
text_closed='[Github <]', text_closed="[Github <]",
text_open='[Github >]', text_open="[Github >]",
) )

View File

@ -1,33 +0,0 @@
#!/usr/bin/env bash
weather() {
configFile=$HOME/.config/repowm/repobar/bar_weather.ini
timestamp=$(date +%s)
icon=""
[[ -f $configFile ]] && . $configFile
if [ -z "$LastUsed" ] || [ -z "$Message" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${weather}'" > $configFile
else
if [ "$Message" == "weatherdata" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${weather}'" > $configFile
else
if [ "$timestamp" -ge "$LastUsed" ]; then
weather=$(ansiweather | awk '{print $4 $5}')
printf " %s %s \n" "$icon" "$weather"
newtime=`expr $timestamp + 900`
echo -e "LastUsed=${newtime}\nMessage='${weather}'" > $configFile
else
printf " %s %s \n" "$icon" "$Message"
fi
fi
fi
}
weather

View File

@ -1,10 +0,0 @@
{
"clipmenucmd": "clipmenu -i -w 500 -h 50 -c",
"settingscmd": "repomenue_settings",
"passmenucmd": "repomenue_pass -c -ps 0 -l 20 -w -600 -i -h -1",
"powermenucmd": "repomenue_powermenu",
"repomenucmd": "repomenu_run",
"smartmenucmd": "repomenue_smartrun",
"startmenucmd": "repomenu_desktop",
"systemmonitorcmd": "repoopen btop"
}

View File

@ -0,0 +1 @@
/usr/lib/systemd/user/gnome-keyring-daemon.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/user/gnome-keyring-daemon.socket

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
userresources=$HOME/.Xresources userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap usermodmap=$HOME/.Xmodmap

View File

@ -1,25 +0,0 @@
# Sample .profile for SUSE Linux
# rewritten by Christian Steinruecken <cstein@suse.de>
#
# This file is read each time a login shell is started.
# All other interactive shells will only read .bashrc; this is particularly
# important for language settings, see below.
test -z "$PROFILEREAD" && . /etc/profile || true
# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit
# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server
# Some people don't like fortune. If you uncomment the following lines,
# you will have a fortune each time you log in ;-)
#if [ -x /usr/bin/fortune ] ; then
# echo
# /usr/bin/fortune
# echo
#fi