mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-25 00:38:20 -05:00
Update Dotfiles
This commit is contained in:
parent
a048546256
commit
51c2445b1a
Binary file not shown.
@ -28,9 +28,7 @@ ideapad-cm
|
|||||||
imagewriter
|
imagewriter
|
||||||
jetbrains-toolbox
|
jetbrains-toolbox
|
||||||
kernel-install-mkinitcpio
|
kernel-install-mkinitcpio
|
||||||
lib32-libxft-bgra
|
|
||||||
libart-lgpl
|
libart-lgpl
|
||||||
libxft-bgra
|
|
||||||
linux-wifi-hotspot
|
linux-wifi-hotspot
|
||||||
linuxrepos-keyring
|
linuxrepos-keyring
|
||||||
linuxrepos-mirrorlist
|
linuxrepos-mirrorlist
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
from libqtile.bar import CALCULATED
|
|
||||||
from libqtile.lazy import lazy
|
|
||||||
|
|
||||||
from core.bar.base import base, icon_font, powerline, rectangle
|
from core.bar.base import base, icon_font, powerline, rectangle
|
||||||
from extras import Clock, GroupBox, TextBox, modify, widget
|
from extras import Clock, GroupBox, TextBox, modify, widget
|
||||||
from utils.config import cfg
|
from utils.config import cfg
|
||||||
from utils.palette import palette
|
from utils.palette import palette
|
||||||
|
|
||||||
|
from os.path import expanduser
|
||||||
|
import subprocess
|
||||||
|
|
||||||
bar = {
|
bar = {
|
||||||
"background": palette.backgroundColor,
|
"background": palette.backgroundColor,
|
||||||
"border_color": palette.backgroundColor,
|
"border_color": palette.backgroundColor,
|
||||||
@ -53,10 +53,62 @@ def weather(bg, fg) -> list:
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def chords(bg, fg) -> list:
|
||||||
|
return [
|
||||||
|
widget.Chord(
|
||||||
|
**base(bg, fg),
|
||||||
|
fmt="{}",
|
||||||
|
chords_colors={
|
||||||
|
"Resize Windows": (fg, bg),
|
||||||
|
"Launch Game": (fg, bg),
|
||||||
|
"Take a Screenshot": (fg, bg),
|
||||||
|
},
|
||||||
|
name_transform=lambda name: name.upper(),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def picom(bg, fg) -> list:
|
||||||
|
return [
|
||||||
|
modify(
|
||||||
|
TextBox,
|
||||||
|
**base(bg, fg),
|
||||||
|
**icon_font(),
|
||||||
|
**rectangle("left"),
|
||||||
|
offset=0,
|
||||||
|
padding=0,
|
||||||
|
),
|
||||||
|
widget.GenPollText(
|
||||||
|
**base(bg, fg),
|
||||||
|
fmt="{}",
|
||||||
|
func=lambda: subprocess.check_output(
|
||||||
|
expanduser("~/.config/qtile/scripts/xcompmgr.sh")
|
||||||
|
).decode("utf-8"),
|
||||||
|
mouse_callbacks={
|
||||||
|
"Button1": lambda: subprocess.run(
|
||||||
|
expanduser("~/.config/qtile/scripts/xcompmgr-toggle.sh")
|
||||||
|
),
|
||||||
|
},
|
||||||
|
update_interval=1,
|
||||||
|
padding=10,
|
||||||
|
),
|
||||||
|
modify(
|
||||||
|
TextBox,
|
||||||
|
**base(bg, fg),
|
||||||
|
**icon_font(),
|
||||||
|
**rectangle("right"),
|
||||||
|
offset=0,
|
||||||
|
padding=0,
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def widgets():
|
def widgets():
|
||||||
return [
|
return [
|
||||||
widget.Spacer(length=2),
|
widget.Spacer(length=2),
|
||||||
*weather(palette.colorScheme[1], palette.currentColor),
|
*weather(palette.colorScheme[1], palette.currentColor),
|
||||||
widget.Spacer(),
|
widget.Spacer(),
|
||||||
|
*chords(palette.colorScheme[2], palette.currentColor),
|
||||||
|
*picom(palette.colorScheme[3], palette.currentColor),
|
||||||
widget.Spacer(length=2),
|
widget.Spacer(length=2),
|
||||||
]
|
]
|
||||||
|
@ -115,6 +115,7 @@ def updates(bg, fg) -> list:
|
|||||||
widget.CheckUpdates(
|
widget.CheckUpdates(
|
||||||
**base(bg, fg),
|
**base(bg, fg),
|
||||||
**rectangle("right"),
|
**rectangle("right"),
|
||||||
|
mouse_callbacks={"Button1": lazy.spawn(cfg.term + " -e yay -Syu")},
|
||||||
colour_have_updates=fg,
|
colour_have_updates=fg,
|
||||||
colour_no_updates=fg,
|
colour_no_updates=fg,
|
||||||
display_format="{updates} updates ",
|
display_format="{updates} updates ",
|
||||||
@ -133,7 +134,10 @@ def power(bg, fg) -> TextBox:
|
|||||||
**base(bg, fg),
|
**base(bg, fg),
|
||||||
**icon_font(),
|
**icon_font(),
|
||||||
**rectangle(),
|
**rectangle(),
|
||||||
mouse_callbacks={"Button1": lazy.spawn(cfg.power)},
|
mouse_callbacks={
|
||||||
|
"Button1": lazy.spawn(cfg.power),
|
||||||
|
"Button3": lazy.spawn("qtile cmd-obj -o cmd -f restart"),
|
||||||
|
},
|
||||||
offset=4,
|
offset=4,
|
||||||
padding=7,
|
padding=7,
|
||||||
text="",
|
text="",
|
||||||
|
@ -93,12 +93,7 @@ keys.extend(
|
|||||||
"r",
|
"r",
|
||||||
[
|
[
|
||||||
Key([], "h", lazy.layout.grow_left(), desc="Grow window to the left"),
|
Key([], "h", lazy.layout.grow_left(), desc="Grow window to the left"),
|
||||||
Key(
|
Key([], "l", lazy.layout.grow_right(), desc="Grow window to the right"),
|
||||||
[],
|
|
||||||
"l",
|
|
||||||
lazy.layout.grow_right(),
|
|
||||||
desc="Grow window to the right",
|
|
||||||
),
|
|
||||||
Key([], "j", lazy.layout.grow_down(), desc="Grow window down"),
|
Key([], "j", lazy.layout.grow_down(), desc="Grow window down"),
|
||||||
Key([], "k", lazy.layout.grow_up(), desc="Grow window up"),
|
Key([], "k", lazy.layout.grow_up(), desc="Grow window up"),
|
||||||
],
|
],
|
||||||
|
@ -67,22 +67,16 @@ floating_layout = layout.Floating(
|
|||||||
"confirmreset",
|
"confirmreset",
|
||||||
"Display",
|
"Display",
|
||||||
"floating",
|
"floating",
|
||||||
"gnome-screenshot",
|
|
||||||
"gpicview",
|
"gpicview",
|
||||||
"lxappearance",
|
|
||||||
"makebranch",
|
"makebranch",
|
||||||
"maketag",
|
"maketag",
|
||||||
"pavucontrol",
|
"pavucontrol",
|
||||||
"psterm",
|
"psterm",
|
||||||
"ssh-askpass",
|
"ssh-askpass",
|
||||||
"steam",
|
|
||||||
"thunar",
|
|
||||||
"Xephyr",
|
"Xephyr",
|
||||||
"xfce4-about",
|
|
||||||
),
|
),
|
||||||
*title(
|
*title(
|
||||||
"branchdialog",
|
"branchdialog",
|
||||||
"minecraft-launcher",
|
|
||||||
"pinentry",
|
"pinentry",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -8,12 +8,12 @@ screens = [
|
|||||||
wallpaper=cfg.wallpaper,
|
wallpaper=cfg.wallpaper,
|
||||||
wallpaper_mode="fill",
|
wallpaper_mode="fill",
|
||||||
top=Bar(cfg.bar).create(),
|
top=Bar(cfg.bar).create(),
|
||||||
# bottom=Bar(cfg.bar2).create(),
|
bottom=Bar(cfg.bar2).create(),
|
||||||
),
|
|
||||||
Screen(
|
|
||||||
wallpaper=cfg.wallpaper,
|
|
||||||
wallpaper_mode="fill",
|
|
||||||
top=Bar(cfg.bar).create(),
|
|
||||||
# bottom=Bar(cfg.bar2).create(),
|
|
||||||
),
|
),
|
||||||
|
# Screen(
|
||||||
|
# wallpaper=cfg.wallpaper,
|
||||||
|
# wallpaper_mode="fill",
|
||||||
|
# top=Bar(cfg.bar).create(),
|
||||||
|
# bottom=Bar(cfg.bar2).create(),
|
||||||
|
# ),
|
||||||
]
|
]
|
||||||
|
0
qtile/.config/qtile/scripts/xcompmgr-toggle.sh
Normal file → Executable file
0
qtile/.config/qtile/scripts/xcompmgr-toggle.sh
Normal file → Executable file
4
qtile/.config/qtile/scripts/xcompmgr.sh
Normal file → Executable file
4
qtile/.config/qtile/scripts/xcompmgr.sh
Normal file → Executable file
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#The text that would change color
|
#The text that would change color
|
||||||
if pgrep -x "xcompmgr" >/dev/null; then
|
if pgrep -x "xcompmgr" >/dev/null; then
|
||||||
echo -n "Loaded"
|
echo -n "xComp On"
|
||||||
else
|
else
|
||||||
echo -n "UnLoaded"
|
echo -n "xComp Off"
|
||||||
fi
|
fi
|
||||||
|
25
rofi/.local/bin/rofi/wifimanager_run
Executable file
25
rofi/.local/bin/rofi/wifimanager_run
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#-*-coding:utf-8 -*-
|
||||||
|
#Auto updated?
|
||||||
|
# Yes
|
||||||
|
#File:
|
||||||
|
# wifimanager_run
|
||||||
|
#Author:
|
||||||
|
# The-Repo-Club [wayne6324@gmail.com]
|
||||||
|
#Github:
|
||||||
|
# https://github.com/The-Repo-Club/
|
||||||
|
#
|
||||||
|
#Created:
|
||||||
|
# Wed 07 December 2022, 11:01:52 PM [GMT]
|
||||||
|
#Modified:
|
||||||
|
# Sat 16 September 2023, 07:42:10 PM [UTC]
|
||||||
|
#
|
||||||
|
#Description:
|
||||||
|
# <Todo>
|
||||||
|
#
|
||||||
|
#Dependencies:
|
||||||
|
# <None>
|
||||||
|
#
|
||||||
|
# shellcheck disable=all
|
||||||
|
|
||||||
|
rofi -show wifimanager -config ~/.config/rofi/wifimanager.rasi
|
Loading…
Reference in New Issue
Block a user