reinstall after bios flash
This commit is contained in:
@@ -42,7 +42,7 @@ terminal = "termite"
|
||||
#region key_and_mouse_bindings
|
||||
|
||||
keys = [
|
||||
#moving windows around
|
||||
# moving windows around
|
||||
Key([mod], "h", lazy.layout.left()),
|
||||
Key([mod], "l", lazy.layout.right()),
|
||||
Key([mod], "j", lazy.layout.down()),
|
||||
@@ -51,21 +51,31 @@ keys = [
|
||||
Key([mod, "shift"], "l", lazy.layout.swap_right()),
|
||||
Key([mod, "shift"], "j", lazy.layout.shuffle_down()),
|
||||
Key([mod, "shift"], "k", lazy.layout.shuffle_up()),
|
||||
Key([mod], "i", lazy.layout.grow()),
|
||||
Key([mod], "m", lazy.layout.shrink()),
|
||||
|
||||
# resize windows
|
||||
Key([mod], "plus", lazy.layout.grow()),
|
||||
Key([mod], "minus", lazy.layout.shrink()),
|
||||
Key([mod], "n", lazy.layout.normalize()),
|
||||
Key([mod], "o", lazy.layout.maximize()),
|
||||
Key([mod], "space", lazy.layout.next()),
|
||||
Key([mod], "space", lazy.window.toggle_fullscreen()),
|
||||
|
||||
# app hotkeys
|
||||
Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"),
|
||||
Key([mod],"f", lazy.spawn("firefox"),desc="Launch firefox"),
|
||||
|
||||
# Toggle between different layouts as defined below
|
||||
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||
Key([mod], "w", lazy.window.kill(), desc="Kill focused window"),
|
||||
Key([mod], "BackSpace", lazy.window.kill(), desc="Kill focused window"),
|
||||
|
||||
# qtile hotkeys
|
||||
Key([mod, "control"], "r", lazy.restart(), desc="Restart qtile"),
|
||||
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown qtile"),
|
||||
Key([mod], "r", lazy.spawncmd(),desc="Spawn a command using a prompt widget"),
|
||||
|
||||
# Media hotkeys
|
||||
Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1')),
|
||||
Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1')),
|
||||
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute')),
|
||||
]
|
||||
|
||||
|
||||
@@ -124,79 +134,35 @@ widget_defaults = dict(
|
||||
)
|
||||
extension_defaults = widget_defaults.copy()
|
||||
|
||||
main_bar = [
|
||||
widget.CurrentLayout(),
|
||||
widget.GroupBox(),
|
||||
widget.Prompt(),
|
||||
widget.WindowName(),
|
||||
widget.Systray(),
|
||||
widget.TextBox("Vol:"),
|
||||
widget.Volume(),
|
||||
widget.CPU(format='CPU: {load_percent}%',
|
||||
update_interval=2),
|
||||
widget.Clock(format='%Y-%m-%d %a %H:%M'),
|
||||
]
|
||||
|
||||
left_bar = [
|
||||
widget.CurrentLayout(),
|
||||
widget.GroupBox(),
|
||||
widget.WindowName(),
|
||||
]
|
||||
|
||||
top_bar = [
|
||||
widget.CurrentLayout(),
|
||||
widget.GroupBox(),
|
||||
widget.WindowName(),
|
||||
]
|
||||
|
||||
screens = [
|
||||
Screen(
|
||||
top=bar.Bar(
|
||||
[
|
||||
widget.CurrentLayout(),
|
||||
widget.GroupBox(),
|
||||
widget.Prompt(),
|
||||
widget.WindowName(),
|
||||
widget.Chord(
|
||||
chords_colors={
|
||||
'launch': ("#ff0000", "#ffffff"),
|
||||
},
|
||||
name_transform=lambda name: name.upper(),
|
||||
),
|
||||
widget.Systray(),
|
||||
widget.CheckUpdates(colour_no_updates='ff0000',
|
||||
display_format='Updates:{updates}'),
|
||||
widget.CPU(format='CPU: {load_percent}%',
|
||||
update_interval=2),
|
||||
widget.Clock(format='%Y-%m-%d %a %H:%M'),
|
||||
widget.QuickExit(),
|
||||
],
|
||||
24,
|
||||
),
|
||||
),
|
||||
Screen(
|
||||
top=bar.Bar(
|
||||
[
|
||||
widget.CurrentLayout(),
|
||||
widget.GroupBox(),
|
||||
widget.Prompt(),
|
||||
widget.WindowName(),
|
||||
widget.Chord(
|
||||
chords_colors={
|
||||
'launch': ("#ff0000", "#ffffff"),
|
||||
},
|
||||
name_transform=lambda name: name.upper(),
|
||||
),
|
||||
widget.Systray(),
|
||||
widget.CheckUpdates(colour_no_updates='ff0000',
|
||||
display_format='Updates:{updates}'),
|
||||
widget.CPU(format='CPU: {load_percent}%',
|
||||
update_interval=2),
|
||||
widget.Clock(format='%Y-%m-%d %a %H:%M'),
|
||||
widget.QuickExit(),
|
||||
],
|
||||
24,
|
||||
),
|
||||
),
|
||||
Screen(
|
||||
top=bar.Bar(
|
||||
[
|
||||
widget.CurrentLayout(),
|
||||
widget.GroupBox(),
|
||||
widget.Prompt(),
|
||||
widget.WindowName(),
|
||||
widget.Chord(
|
||||
chords_colors={
|
||||
'launch': ("#ff0000", "#ffffff"),
|
||||
},
|
||||
name_transform=lambda name: name.upper(),
|
||||
),
|
||||
widget.Systray(),
|
||||
widget.CheckUpdates(colour_no_updates='ff0000',
|
||||
display_format='Updates:{updates}'),
|
||||
widget.CPU(format='CPU: {load_percent}%',
|
||||
update_interval=2),
|
||||
widget.Clock(format='%Y-%m-%d %a %H:%M'),
|
||||
widget.QuickExit(),
|
||||
],
|
||||
24,
|
||||
),
|
||||
),
|
||||
Screen(bottom=bar.Bar(top_bar,24)),
|
||||
Screen(top=bar.Bar(main_bar,24)),
|
||||
Screen(top=bar.Bar(left_bar,24)),
|
||||
]
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user