Browse Source

New Unixporn entry

master
Emiel Kollof 3 years ago
parent
commit
3bbbafa3d7
  1. 4
      .gitignore
  2. 2
      autostart.sh
  3. 95
      config.py
  4. 0
      wallpapers/old/0037-sonnenuntergang-am-meer.jpg
  5. 0
      wallpapers/old/094351tw1yw737ud56b777.jpg
  6. 0
      wallpapers/old/LaJolla2-1-.jpg
  7. 0
      wallpapers/old/Prairie_Grass_by_midnightstouch.jpg
  8. 0
      wallpapers/old/buddha-wallpaper.jpg
  9. 0
      wallpapers/old/cesta-cesta.jpg
  10. 0
      wallpapers/old/first-lake-alberta-canada-wallpaper-for-1920x1080-63-251.jpg
  11. 0
      wallpapers/old/gornergletscher-at-night-wallpaper-for-1920x1080-63-1167.jpg
  12. 0
      wallpapers/old/greats-resorts-best-north-carolina-mountain-resorts-family-western-north-carolina-mountain-resorts-north-carolina-mountain-vacation-resorts-north-carolina-mountain-resort-towns-top-north-carolina.jpg
  13. 0
      wallpapers/old/kiama-downs-new-south-wales-australia-wallpaper-for-1920x1080-63-263.jpg
  14. BIN
      wallpapers/scifi/495843.jpg
  15. BIN
      wallpapers/scifi/495874.jpg
  16. BIN
      wallpapers/scifi/495905.jpg
  17. BIN
      wallpapers/scifi/495934.jpg
  18. BIN
      wallpapers/scifi/495960.jpg
  19. BIN
      wallpapers/scifi/495977.jpg
  20. BIN
      wallpapers/scifi/496005.jpg
  21. BIN
      wallpapers/scifi/496050.jpg

4
.gitignore vendored

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
__pycache__
.idea
.ropeproject
.idea/*
.ropeproject/*

2
autostart.sh

@ -4,4 +4,4 @@ compton -CGb --blur-background --backend glx @@ -4,4 +4,4 @@ compton -CGb --blur-background --backend glx
(dex -a -e i3)
feh --randomize --bg-scale ~/.config/qtile/wallpapers
feh --randomize --bg-scale ~/.config/qtile/wallpapers/scifi

95
config.py

@ -1,15 +1,16 @@ @@ -1,15 +1,16 @@
import os
import socket
import subprocess
from libqtile.config import Key, Screen, Group, Drag, Click
from libqtile.command import lazy
from libqtile import layout, bar, widget, hook
from Xlib import X, display
from Xlib.ext import randr
from pprint import pprint
d = display.Display()
s = d.screen()
r = s.root
@ -38,7 +39,15 @@ def autostart(): @@ -38,7 +39,15 @@ def autostart():
home = os.path.expanduser('~/.config/qtile/autostart.sh')
subprocess.call([home])
GREY = "#444444"
DARK_GREY = "#333333"
BLUE = "#007fcf"
DARK_BLUE = "#005083"
ORANGE = "#dd6600"
DARK_ORANGE = "#582c00"
mod = "mod4"
hostname = socket.gethostname()
keys = [
# Switch between windows in current stack pane
@ -108,74 +117,64 @@ for i in groups: @@ -108,74 +117,64 @@ for i in groups:
])
layouts = [
layout.Bsp(name='DWMlike'),
layout.MonadTall(name='Tall'),
layout.VerticalTile(name='VerticalTile'),
layout.Max(name='Full'),
layout.Zoomy(name='Zoom'),
layout.Bsp(),
layout.MonadTall(),
layout.VerticalTile(),
layout.Max(),
layout.Zoomy(),
layout.Floating()
]
widget_defaults = dict(
font='Fira Code',
fontsize=12,
font='Terminus (TTF)',
fontsize=14,
padding=3,
background=DARK_GREY
)
extension_defaults = widget_defaults.copy()
screens = []
for screen in range(0, num_screens):
prompt = "{0}@{1}: ".format(os.environ["USER"], hostname)
screens.append(
Screen(
top=bar.Bar(
[
widget.Sep(),
widget.GroupBox(),
widget.Sep(),
widget.Prompt(),
widget.Sep(),
widget.WindowTabs(
widget.Prompt(prompt=prompt, background=GREY),
widget.TextBox(text="", fontsize=45, padding=-8, foreground=GREY, background=DARK_GREY),
widget.CurrentLayoutIcon(scale=0.6, padding=-4,background=DARK_GREY, foreground=GREY),
widget.TextBox(text=" ", padding=2, background=DARK_GREY),
widget.TextBox(text="", fontsize=45, padding=-8, foreground=DARK_GREY, background=GREY),
widget.GroupBox(urgent_border=DARK_BLUE,
disable_drag=True, highlight_method="block",
this_screen_border=DARK_BLUE, other_screen_border=DARK_ORANGE,
this_current_screen_border=BLUE, other_current_screen_border=ORANGE,
background=DARK_GREY,
),
widget.TextBox(text="", fontsize=45, padding=-8, foreground=DARK_GREY,
background=GREY),
widget.TaskList(
markup=True,
selected=('<span background="#333333" foreground="#aaffaa">','</span>')
markup_focused='<span background="#333333" foreground="#aaffaa">{}</span>',
background=GREY,
border=DARK_GREY,
urgent_border=DARK_BLUE,
),
widget.Systray(),
widget.Clock(format='%Y-%m-%d %a %H:%M:%S'),
widget.Sep(),
widget.CurrentLayout(),
],
24,
),
bottom=bar.Bar(
[
widget.Sep(),
widget.Spacer(),
widget.Sep(),
widget.MemoryGraph(),
widget.SwapGraph(),
widget.TextBox(text="", fontsize=45, padding=-8, foreground=GREY, background=DARK_GREY),
widget.Systray(background=DARK_GREY),
widget.TextBox(text="", fontsize=45, padding=-8, foreground=DARK_GREY, background=GREY),
widget.TextBox(text="", foreground=BLUE, fontsize=18, background=GREY),
widget.Notify(background=GREY),
widget.TextBox(text="", foreground=BLUE, fontsize=18, background=GREY),
widget.Clock(format='%Y-%m-%d %a %H:%M:%S', background=GREY),
widget.TextBox(text="", fontsize=45, padding=-8, foreground=GREY, background=DARK_GREY),
widget.CurrentLayout(background=DARK_GREY),
],
24,
),
)
)
#screens = [
# Screen(
# top=bar.Bar(
# [
# widget.Sep(),
# widget.GroupBox(),
# widget.Sep(),
# widget.Prompt(),
# widget.Sep(),
# widget.WindowName(),
# widget.Systray(),
# widget.Clock(format='%Y-%m-%d %a %H:%M:%S'),
# widget.CurrentLayout(),
# ],
# 24,
# ),
# ),
#
# Drag floating layouts.
mouse = [
Drag([mod], "Button1", lazy.window.set_position_floating(),

0
wallpapers/0037-sonnenuntergang-am-meer.jpg → wallpapers/old/0037-sonnenuntergang-am-meer.jpg

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

0
wallpapers/094351tw1yw737ud56b777.jpg → wallpapers/old/094351tw1yw737ud56b777.jpg

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

0
wallpapers/LaJolla2-1-.jpg → wallpapers/old/LaJolla2-1-.jpg

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

0
wallpapers/Prairie_Grass_by_midnightstouch.jpg → wallpapers/old/Prairie_Grass_by_midnightstouch.jpg

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

0
wallpapers/buddha-wallpaper.jpg → wallpapers/old/buddha-wallpaper.jpg

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

0
wallpapers/cesta-cesta.jpg → wallpapers/old/cesta-cesta.jpg

Before

Width:  |  Height:  |  Size: 534 KiB

After

Width:  |  Height:  |  Size: 534 KiB

0
wallpapers/first-lake-alberta-canada-wallpaper-for-1920x1080-63-251.jpg → wallpapers/old/first-lake-alberta-canada-wallpaper-for-1920x1080-63-251.jpg

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 448 KiB

0
wallpapers/gornergletscher-at-night-wallpaper-for-1920x1080-63-1167.jpg → wallpapers/old/gornergletscher-at-night-wallpaper-for-1920x1080-63-1167.jpg

Before

Width:  |  Height:  |  Size: 712 KiB

After

Width:  |  Height:  |  Size: 712 KiB

0
wallpapers/greats-resorts-best-north-carolina-mountain-resorts-family-western-north-carolina-mountain-resorts-north-carolina-mountain-vacation-resorts-north-carolina-mountain-resort-towns-top-north-carolina.jpg → wallpapers/old/greats-resorts-best-north-carolina-mountain-resorts-family-western-north-carolina-mountain-resorts-north-carolina-mountain-vacation-resorts-north-carolina-mountain-resort-towns-top-north-carolina.jpg

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

0
wallpapers/kiama-downs-new-south-wales-australia-wallpaper-for-1920x1080-63-263.jpg → wallpapers/old/kiama-downs-new-south-wales-australia-wallpaper-for-1920x1080-63-263.jpg

Before

Width:  |  Height:  |  Size: 557 KiB

After

Width:  |  Height:  |  Size: 557 KiB

BIN
wallpapers/scifi/495843.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 KiB

BIN
wallpapers/scifi/495874.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 KiB

BIN
wallpapers/scifi/495905.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 KiB

BIN
wallpapers/scifi/495934.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 KiB

BIN
wallpapers/scifi/495960.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 KiB

BIN
wallpapers/scifi/495977.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

BIN
wallpapers/scifi/496005.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 KiB

BIN
wallpapers/scifi/496050.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

Loading…
Cancel
Save