concentrate machine-specific options at top
This commit is contained in:
parent
680f6cac58
commit
f85afaef72
1 changed files with 7 additions and 7 deletions
|
|
@ -17,9 +17,10 @@ from qtile_extras.widget.decorations import PowerLineDecoration
|
|||
from qutils import get_num_screens, get_network_interface, Colors
|
||||
|
||||
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
||||
myTerm = "alacritty" # My terminal of choice
|
||||
myBrowser = "firefox" # My browser of choice
|
||||
|
||||
myTerm = "alacritty"
|
||||
myBrowser = "firefox"
|
||||
sound_ctrl = "cinnamon-settings sound"
|
||||
update_distro_key = "Ubuntu"
|
||||
|
||||
keys = [
|
||||
### The essentials
|
||||
|
|
@ -92,7 +93,7 @@ groups.append(ScratchPad('scratch',
|
|||
DropDown('term', myTerm, height=0.66, width=0.66, x=0.166, y=0.166),
|
||||
DropDown('qalc', myTerm+' -e qalc', height=0.66, width=0.33, x=0.33, y=0.166),
|
||||
DropDown('nnn', myTerm+' -e nnn -d', height=0.66, width=0.66, x=0.166, y=0.166),
|
||||
DropDown('sound', 'cinnamon-settings sound', height=0.66, width=0.50, x=0.25, y=0.166),
|
||||
DropDown('sound', sound_ctrl, height=0.66, width=0.50, x=0.25, y=0.166),
|
||||
]),
|
||||
)
|
||||
|
||||
|
|
@ -255,14 +256,13 @@ def init_widgets_list():
|
|||
),
|
||||
widget.CheckUpdates(
|
||||
update_interval = 1800,
|
||||
distro = "Mint",
|
||||
custom_command = "aptitude search '~U'",
|
||||
distro = update_distro_key,
|
||||
markup = False,
|
||||
display_format = "\uf546 {updates}",
|
||||
foreground = Colors.bg,
|
||||
colour_have_updates = Colors.bg,
|
||||
colour_no_updates = Colors.bg,
|
||||
# mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e sudo apt upgrade')},
|
||||
x # mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e sudo apt upgrade')},
|
||||
background = Colors.red,
|
||||
**powerline,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue