Moved to Qtile
56
dunst/dunstrc
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
[global]
|
||||||
|
monitor = 0
|
||||||
|
follow = mouse
|
||||||
|
shrink = yes
|
||||||
|
padding = 18
|
||||||
|
horizontal_padding = 18
|
||||||
|
|
||||||
|
width = 369
|
||||||
|
height = 100
|
||||||
|
offset = 8x8
|
||||||
|
origin = top-right
|
||||||
|
|
||||||
|
frame_width = 0
|
||||||
|
separator_height = 0
|
||||||
|
frame_color = "#151515"
|
||||||
|
separator_color = "#151515"
|
||||||
|
|
||||||
|
sort = no
|
||||||
|
font = Rubik 10
|
||||||
|
markup = full
|
||||||
|
format = "<span font-weight="621" size="11000">%s</span>\n<span font-weight="420" size="10500">%b</span>"
|
||||||
|
alignment = left
|
||||||
|
show_age_threshold = 60
|
||||||
|
word_wrap = yes
|
||||||
|
ignore_newline = no
|
||||||
|
stack_duplicates = false
|
||||||
|
hide_duplicate_count = yes
|
||||||
|
show_indicators = no
|
||||||
|
idle_threshold = 120
|
||||||
|
|
||||||
|
icon_position = left
|
||||||
|
max_icon_size= 50
|
||||||
|
sticky_history = no
|
||||||
|
history_length = 6
|
||||||
|
title = Dunst
|
||||||
|
class = Dunst
|
||||||
|
corner_radius = 17
|
||||||
|
|
||||||
|
mouse_left_click = close_current
|
||||||
|
mouse_middle_click = do_action
|
||||||
|
mouse_right_click = close_all
|
||||||
|
|
||||||
|
[urgency_low]
|
||||||
|
background = "#8C977D"
|
||||||
|
foreground = "#E8E3E3"
|
||||||
|
timeout = 20
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
background = "#151515"
|
||||||
|
foreground = "#E8E3E3"
|
||||||
|
timeout = 20
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
background = "#B66467"
|
||||||
|
foreground = "#E8E3E3"
|
||||||
|
timeout = 20
|
94
picom/picom.conf
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
#-----------------------
|
||||||
|
# Backend
|
||||||
|
#-----------------------
|
||||||
|
backend = "glx";
|
||||||
|
glx-no-stencil = true;
|
||||||
|
glx-copy-from-front = false;
|
||||||
|
|
||||||
|
#-----------------------
|
||||||
|
# Opacity
|
||||||
|
#-----------------------
|
||||||
|
active-opacity = 1;
|
||||||
|
#inactive-opacity = 0.95;
|
||||||
|
inactive-opacity = 1;
|
||||||
|
frame-opacity = 1;
|
||||||
|
inactive-opacity-override = true;
|
||||||
|
|
||||||
|
focus-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"class_g = 'Rofi'",
|
||||||
|
"class_g = 'polybar'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
#opacity-rule = [
|
||||||
|
# "95:class_g = 'TelegramDesktop'",
|
||||||
|
# "95:class_g = 'discord'",
|
||||||
|
# "90:class_g = 'Spotify'",
|
||||||
|
#];
|
||||||
|
|
||||||
|
#-----------------------
|
||||||
|
# Blur
|
||||||
|
#-----------------------
|
||||||
|
#blur-method = "dual_kawase";
|
||||||
|
#blur-strength = 6;
|
||||||
|
#blur-background = true;
|
||||||
|
#blur-background-exclude = [
|
||||||
|
# "window_type = 'dock'",
|
||||||
|
# "window_type = 'desktop'",
|
||||||
|
# "class_g = 'Rofi'",
|
||||||
|
# "_GTK_FRAME_EXTENTS@:c"
|
||||||
|
#];
|
||||||
|
|
||||||
|
#-----------------------
|
||||||
|
# Fading
|
||||||
|
#-----------------------
|
||||||
|
fading = true;
|
||||||
|
fade-delta = 2;
|
||||||
|
no-fading-openclose = false;
|
||||||
|
fade-exclude = [ ];
|
||||||
|
|
||||||
|
#-----------------------
|
||||||
|
# Shadow
|
||||||
|
#-----------------------
|
||||||
|
shadow = false;
|
||||||
|
|
||||||
|
#-----------------------
|
||||||
|
# Corners
|
||||||
|
#-----------------------
|
||||||
|
corner-radius = 17;
|
||||||
|
round-borders = 3;
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"class_g = 'Rofi'",
|
||||||
|
"class_g = 'polybar'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
use-damage = false;
|
||||||
|
|
||||||
|
#-----------------------
|
||||||
|
# Animations
|
||||||
|
#-----------------------
|
||||||
|
transition-length = 250
|
||||||
|
transition-pow-x = 0.25
|
||||||
|
transition-pow-y = 0.25
|
||||||
|
transition-pow-w = 0.25
|
||||||
|
transition-pow-h = 0.25
|
||||||
|
size-transition = true
|
||||||
|
|
||||||
|
#-----------------------
|
||||||
|
# Other
|
||||||
|
#-----------------------
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = false
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
vsync = true;
|
||||||
|
dbe = false;
|
||||||
|
unredir-if-possible = false;
|
||||||
|
detect-transient = true;
|
||||||
|
detect-client-leader = true;
|
||||||
|
|
||||||
|
xrender-sync-fence = true;
|
|
@ -1,6 +1,6 @@
|
||||||
;; PARADISE THEME
|
;; PARADISE THEME
|
||||||
background = #00000000
|
background = #00000000
|
||||||
sepback = #000000
|
sepback = #12121200
|
||||||
modback= #151515
|
modback= #151515
|
||||||
foreground = #E8E3E3
|
foreground = #E8E3E3
|
||||||
menucolour = #8C977D
|
menucolour = #8C977D
|
||||||
|
|
|
@ -57,24 +57,16 @@ font-3 = Material:size=13;1
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
;; BAR SETUP
|
;; BAR SETUP
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
modules-left = dateL date dateR space timeL time timeR space1 serverL servers serverR
|
modules-left = left date left1 time left2 servers left3
|
||||||
modules-center = spotifyL spotify spotifyR
|
modules-center = center spotify center1
|
||||||
modules-right = sysiconL dnd updates network bluetooth sysiconR space2 volumeL volume volumeR space3 powerL power powerR
|
modules-right = right dnd updates network bluetooth right1 volume right2 power right3
|
||||||
|
|
||||||
;; Theres also dnd and mic modules that I don't use so much
|
;; Theres also dnd and mic modules that I don't use so much
|
||||||
|
|
||||||
|
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
;; SPACE
|
;; DECORATION
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
include-file = ~/.config/polybar/space.ini
|
include-file = ~/.config/polybar/deco.ini
|
||||||
|
|
||||||
|
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
|
||||||
;; ROUNDY ROUNDY
|
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
|
||||||
include-file = ~/.config/polybar/left_roundy.ini
|
|
||||||
include-file = ~/.config/polybar/right_roundy.ini
|
|
||||||
|
|
||||||
|
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
|
70
polybar/deco.ini
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
;; LEFT
|
||||||
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
[module/left]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.background}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-}"
|
||||||
|
|
||||||
|
[module/left1]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.sepback}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-} %{T2}%{T-}"
|
||||||
|
|
||||||
|
[module/left2]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.sepback}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-} %{T2}%{T-}"
|
||||||
|
|
||||||
|
[module/left3]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.background}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-}"
|
||||||
|
|
||||||
|
|
||||||
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
;; CENTER
|
||||||
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
[module/center]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.background}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-}"
|
||||||
|
|
||||||
|
[module/center1]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.background}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-}"
|
||||||
|
|
||||||
|
|
||||||
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
;; RIGHT
|
||||||
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
[module/right]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.background}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-}"
|
||||||
|
|
||||||
|
[module/right1]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.sepback}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-} %{T2}%{T-}"
|
||||||
|
|
||||||
|
[module/right2]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.sepback}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-} %{T2}%{T-}"
|
||||||
|
|
||||||
|
[module/right3]
|
||||||
|
type = custom/text
|
||||||
|
content-background = ${colors.background}
|
||||||
|
content-foreground = ${colors.modback}
|
||||||
|
content = "%{T2}%{T-}"
|
|
@ -1,32 +1,37 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#Script made by Fluffy, use/modify to your needs!
|
## Script made by Fluffy, use/modify to your needs!
|
||||||
#Twitter: fluffybeanUwU
|
## Twitter: fluffybeanUwU
|
||||||
#Website: gay.fluffybean.gay
|
## Website: gay.fluffybean.gay
|
||||||
#GitHub: Fluffy-Bean
|
## GitHub: Fluffy-Bean
|
||||||
|
|
||||||
server_list=$(cat ~/.config/polybar/scripts/server_list.txt)
|
if [ $(cat ~/.config/polybar/scripts/server_list.txt | wc -c) == 0 ]
|
||||||
server_status=()
|
then
|
||||||
|
echo "Error: No Servers/IPs in server_list.txt"
|
||||||
|
else
|
||||||
|
server_list=$(cat ~/.config/polybar/scripts/server_list.txt)
|
||||||
|
server_status=()
|
||||||
|
|
||||||
for server in $server_list
|
for server in $server_list
|
||||||
do
|
do
|
||||||
ip=$(ping -W 1 -c 1 -4 $server)
|
ip=$(ping -W 1 -c 3 -4 $server)
|
||||||
if [ $(echo $ip | grep "1 received" | wc -c) -eq 0 ]
|
if [ $(echo $ip | grep "0 received" | wc -l) == 1 ]
|
||||||
then
|
then
|
||||||
server_status+=("%{F#666}%{F-}")
|
server_status+=("%{F#666}%{F-}")
|
||||||
else
|
else
|
||||||
if [ $(echo $ip | grep "0% packet loss" | wc -c) -eq 0 ]
|
if [ $(echo $ip | grep ", 0% packet loss" | wc -l) == 0 ]
|
||||||
then
|
then
|
||||||
server_status+=("%{F#B66467}%{F-}")
|
server_status+=("%{F#B66467}%{F-}")
|
||||||
else
|
else
|
||||||
server_status+=("")
|
server_status+=("")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $(echo $server_status | wc -c) -eq 0 ]
|
if [ $(echo $server_status | wc -c) == 0 ]
|
||||||
then
|
then
|
||||||
echo "Error: No servers/IPs in server_list.txt"
|
echo "Error: Could not add pinged servers"
|
||||||
else
|
else
|
||||||
echo "${server_status[*]}"
|
echo "${server_status[*]}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -13,10 +13,10 @@ content = " "
|
||||||
|
|
||||||
[module/space2]
|
[module/space2]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content-background = ${colors.sepback}
|
|
||||||
content = " "
|
content = " "
|
||||||
|
|
||||||
[module/space3]
|
[module/space3]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content-background = ${colors.sepback}
|
content-background = ${colors.sepback}
|
||||||
content = " "
|
content = " "
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
polybar -r fluffy
|
|
|
@ -118,6 +118,7 @@ format-background = ${colors.modback}
|
||||||
|
|
||||||
exec = ~/.config/polybar/scripts/bluetooth.sh
|
exec = ~/.config/polybar/scripts/bluetooth.sh
|
||||||
click-left = bash ~/.config/polybar/scripts/toggle_bluetooth.sh
|
click-left = bash ~/.config/polybar/scripts/toggle_bluetooth.sh
|
||||||
|
click-right = blueberry
|
||||||
|
|
||||||
|
|
||||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||||
|
|
7
qtile/autostart.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
nitrogen --restore &
|
||||||
|
picom --experimental-backends -b &
|
||||||
|
xrandr --output HDMI-0 --mode 1920x1080 --rate 144 &
|
||||||
|
polybar -r fluffy &
|
||||||
|
flameshot &
|
||||||
|
dunst &
|
24
qtile/config.py
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Original script made by https://github.com/Icy-Thought
|
||||||
|
# Ajusted by Fluffy for his use
|
||||||
|
|
||||||
|
from typing import List
|
||||||
|
|
||||||
|
from modules.workspaces import floating_layout, groups, layouts, screens
|
||||||
|
from modules.keybinds import keys, mouse
|
||||||
|
|
||||||
|
import modules.autostart
|
||||||
|
|
||||||
|
auto_fullscreen = True
|
||||||
|
auto_minimize = False
|
||||||
|
bring_front_click = True
|
||||||
|
cursor_warp = False
|
||||||
|
|
||||||
|
dgroups_app_rules = []
|
||||||
|
dgroups_key_binder = None
|
||||||
|
dpi_scale = 1.0
|
||||||
|
|
||||||
|
focus_on_window_activation = "smart"
|
||||||
|
follow_mouse_focus = False
|
||||||
|
reconfigure_screens = True
|
||||||
|
|
||||||
|
wmname = "Qtile"
|
9
qtile/modules/autostart.py
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import os
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
from libqtile import hook
|
||||||
|
|
||||||
|
@hook.subscribe.startup_once
|
||||||
|
def autostart():
|
||||||
|
home = os.path.expanduser('~/.config/qtile/autostart.sh')
|
||||||
|
subprocess.Popen([home])
|
139
qtile/modules/keybinds.py
Normal file
|
@ -0,0 +1,139 @@
|
||||||
|
# ----------------------------------------
|
||||||
|
# Importing
|
||||||
|
# ----------------------------------------
|
||||||
|
# Used to control windows and window
|
||||||
|
# placement
|
||||||
|
from libqtile.command import lazy
|
||||||
|
from libqtile.config import EzKey, EzDrag, EzClick
|
||||||
|
|
||||||
|
@lazy.window.function
|
||||||
|
def float_to_front(window):
|
||||||
|
if window.floating:
|
||||||
|
window.cmd_bring_to_front()
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Default apps
|
||||||
|
# ----------------------------------------
|
||||||
|
# I mostly use Rofi to launch apps so not
|
||||||
|
# too important to me
|
||||||
|
TERMINAL = "alacritty"
|
||||||
|
SCREENSHOT = "flameshot gui"
|
||||||
|
LAUNCHER = "rofi -show"
|
||||||
|
BROWSER = "firefox"
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Modifier keys
|
||||||
|
# ----------------------------------------
|
||||||
|
# Used to move and control window
|
||||||
|
# placement within Qtile
|
||||||
|
EzKey.modifier_keys = {
|
||||||
|
"M": "mod4", # Windows
|
||||||
|
"A": "mod1", # Alt
|
||||||
|
"S": "shift", # Shift
|
||||||
|
"C": "control", # Ctrl
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Mouse
|
||||||
|
# ----------------------------------------
|
||||||
|
# Controling floating windows with a
|
||||||
|
# mouse
|
||||||
|
mouse = [
|
||||||
|
EzDrag(
|
||||||
|
"M-<Button1>",
|
||||||
|
lazy.window.set_position_floating(),
|
||||||
|
start=lazy.window.get_position(),
|
||||||
|
),
|
||||||
|
EzDrag(
|
||||||
|
"M-<Button3>", lazy.window.set_size_floating(), start=lazy.window.get_size()
|
||||||
|
),
|
||||||
|
EzClick("M-<Button2>", lazy.window.bring_to_front()),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Window
|
||||||
|
# ----------------------------------------
|
||||||
|
# Different lists of window controls for
|
||||||
|
# Qtile
|
||||||
|
window_navigation = [
|
||||||
|
EzKey("M-<Tab>", lazy.group.next_window(), float_to_front()),
|
||||||
|
EzKey("M-<Left>", lazy.layout.left()),
|
||||||
|
EzKey("M-<Down>", lazy.layout.down()),
|
||||||
|
EzKey("M-<Up>", lazy.layout.up()),
|
||||||
|
EzKey("M-<Right>", lazy.layout.right()),
|
||||||
|
]
|
||||||
|
|
||||||
|
window_displacement = [
|
||||||
|
EzKey("M-C-<Left>", lazy.layout.swap_left(), lazy.layout.shuffle_left()),
|
||||||
|
EzKey("M-C-<Down>", lazy.layout.swap_down(), lazy.layout.shuffle_down()),
|
||||||
|
EzKey("M-C-<Up>", lazy.layout.swap_up(), lazy.layout.shuffle_up()),
|
||||||
|
EzKey("M-C-<Right>", lazy.layout.swap_right(), lazy.layout.shuffle_right()),
|
||||||
|
]
|
||||||
|
|
||||||
|
window_dimension = [
|
||||||
|
#EzKey("M-S-<Left>", lazy.layout.grow_left()),
|
||||||
|
#EzKey("M-S-<Down>", lazy.layout.grow_down()),
|
||||||
|
#EzKey("M-S-<Up>", lazy.layout.grow_up()),
|
||||||
|
#EzKey("M-S-<Right>", lazy.layout.grow_right()),
|
||||||
|
EzKey("M-S-<Left>", lazy.layout.grow()),
|
||||||
|
EzKey("M-S-<Right>", lazy.layout.shrink()),
|
||||||
|
EzKey("M-S-<Tab>", lazy.layout.reset()),
|
||||||
|
]
|
||||||
|
|
||||||
|
window_toggles = [
|
||||||
|
EzKey("M-y", lazy.next_layout()),
|
||||||
|
EzKey("M-q", lazy.window.kill()),
|
||||||
|
EzKey("M-g", lazy.window.toggle_floating()),
|
||||||
|
EzKey("M-m", lazy.window.toggle_fullscreen()),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Qtile and App
|
||||||
|
# ----------------------------------------
|
||||||
|
# Launching apps and qtile settings
|
||||||
|
qtilectl = [
|
||||||
|
EzKey("M-S-r", lazy.restart()),
|
||||||
|
EzKey("M-S-q", lazy.shutdown()),
|
||||||
|
]
|
||||||
|
|
||||||
|
rofi = [
|
||||||
|
EzKey("M-r", lazy.spawn(LAUNCHER)),
|
||||||
|
]
|
||||||
|
|
||||||
|
application_spawns = [
|
||||||
|
EzKey("M-t", lazy.spawn(TERMINAL)),
|
||||||
|
EzKey("M-b", lazy.spawn(BROWSER)),
|
||||||
|
]
|
||||||
|
|
||||||
|
mediactl = [
|
||||||
|
EzKey("<XF86AudioPlay>", lazy.spawn("playerctl play-pause")),
|
||||||
|
EzKey("<XF86AudioNext>", lazy.spawn("playerctl next")),
|
||||||
|
EzKey("<XF86AudioPrev>", lazy.spawn("playerctl previous")),
|
||||||
|
]
|
||||||
|
|
||||||
|
scrcap = [
|
||||||
|
EzKey("<Print>", lazy.spawn(SCREENSHOT)),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Keybinds
|
||||||
|
# ----------------------------------------
|
||||||
|
# Putting all keybinds into one list to
|
||||||
|
# use in other scripts
|
||||||
|
keys = [
|
||||||
|
*window_navigation,
|
||||||
|
*window_displacement,
|
||||||
|
*window_dimension,
|
||||||
|
*window_toggles,
|
||||||
|
*qtilectl,
|
||||||
|
*rofi,
|
||||||
|
*application_spawns,
|
||||||
|
*mediactl,
|
||||||
|
*scrcap,
|
||||||
|
]
|
17
qtile/modules/themes.py
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
paradise = [
|
||||||
|
"#151515", # bg
|
||||||
|
"#E8E3E3", # fg
|
||||||
|
"#8C977D", # accent
|
||||||
|
|
||||||
|
"#151515", # black
|
||||||
|
"#E8E3E3", # white
|
||||||
|
|
||||||
|
"#B66467", # red
|
||||||
|
"#D9BC8C", # orange
|
||||||
|
"#D9BC8C", # yellow
|
||||||
|
"#8C977D", # green
|
||||||
|
"#8DA3B9", # blue
|
||||||
|
"#A988B0", # purple
|
||||||
|
]
|
||||||
|
|
||||||
|
theme = paradise
|
81
qtile/modules/workspaces.py
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
# ----------------------------------------
|
||||||
|
# Importing
|
||||||
|
# ----------------------------------------
|
||||||
|
# Used to move workspaces and windows
|
||||||
|
from libqtile import layout
|
||||||
|
from libqtile.command import lazy
|
||||||
|
from libqtile.config import EzKey, Group, Match, Screen
|
||||||
|
|
||||||
|
from modules.keybinds import keys
|
||||||
|
from modules.themes import theme
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Groups
|
||||||
|
# ----------------------------------------
|
||||||
|
# Listing usable groups/workspaces
|
||||||
|
groups = [
|
||||||
|
Group("1", label="1"),
|
||||||
|
Group("2", label="2"),
|
||||||
|
Group("3", label="3"),
|
||||||
|
Group("4", label="4"),
|
||||||
|
Group("5", label="5"),
|
||||||
|
Group("6", label="6"),
|
||||||
|
Group("7", label="7"),
|
||||||
|
Group("8", label="8"),
|
||||||
|
Group("9", label="9"),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Keybinds
|
||||||
|
# ----------------------------------------
|
||||||
|
# Used to move view/application to
|
||||||
|
# different workspace/group
|
||||||
|
for i in groups:
|
||||||
|
keys.extend(
|
||||||
|
[
|
||||||
|
# mod1 + letter of group = switch to group
|
||||||
|
EzKey("M-%s" % i.name, lazy.group[i.name].toscreen()),
|
||||||
|
# mod1 + shift + letter of group => move focused window to group
|
||||||
|
EzKey("M-S-%s" % i.name, lazy.window.togroup(i.name)),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
border = dict(
|
||||||
|
border_focus=theme[2],
|
||||||
|
border_normal=theme[0],
|
||||||
|
border_width=3,
|
||||||
|
margin=8,
|
||||||
|
)
|
||||||
|
|
||||||
|
layouts = [
|
||||||
|
layout.MonadTall(**border, ratio=0.5),
|
||||||
|
layout.MonadThreeCol(**border),
|
||||||
|
layout.MonadWide(**border, ratio=0.69),
|
||||||
|
layout.Spiral(**border),
|
||||||
|
layout.Max(**border),
|
||||||
|
]
|
||||||
|
floating_layout = layout.Floating(
|
||||||
|
**border,
|
||||||
|
float_rules=[
|
||||||
|
*layout.Floating.default_float_rules,
|
||||||
|
Match(wm_class="confirm"),
|
||||||
|
Match(wm_class="dialog"),
|
||||||
|
Match(wm_class="download"),
|
||||||
|
Match(wm_class="error"),
|
||||||
|
Match(wm_class="file_progress"),
|
||||||
|
Match(wm_class="notification"),
|
||||||
|
Match(wm_class="splash"),
|
||||||
|
Match(wm_class="toolbar"),
|
||||||
|
Match(wm_class="confirmreset"), # gitk
|
||||||
|
Match(wm_class="makebranch"), # gitk
|
||||||
|
Match(wm_class="maketag"), # gitk
|
||||||
|
Match(title="branchdialog"), # gitk
|
||||||
|
Match(wm_class="pinentry"), # GPG key password entry
|
||||||
|
Match(title="Picture-in-Picture"), # FireFox
|
||||||
|
Match(wm_class="ssh-askpass"), # ssh-askpass
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
screens = [ Screen() ]
|
|
@ -1,5 +1,6 @@
|
||||||
/* GRUVBOX THEME */
|
/* GRUVBOX THEME */
|
||||||
/* config for fluffys dots */
|
/* config for fluffys dots, */
|
||||||
|
/* colours by @Manas140 on GitHub */
|
||||||
|
|
||||||
* {
|
* {
|
||||||
bg: #282828;
|
bg: #282828;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
fg: #E8E3E3;
|
fg: #E8E3E3;
|
||||||
sd: #151515;
|
sd: #151515;
|
||||||
alt: #8C977D;
|
alt: #8C977D;
|
||||||
|
/*alt: #B66467;*/
|
||||||
rad: 16px;
|
rad: 16px;
|
||||||
rad2: 8px;
|
rad2: 8px;
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,8 @@ inputbar {
|
||||||
children: [ entry ];
|
children: [ entry ];
|
||||||
padding: 16px 16px 6em;
|
padding: 16px 16px 6em;
|
||||||
border-radius: @rad;
|
border-radius: @rad;
|
||||||
border-color: @bg;
|
/*border-color: @bg;
|
||||||
border: 3px;
|
border: 3px;*/
|
||||||
background-image: url("titleBarImages/doggys.jpg", width);
|
background-image: url("titleBarImages/doggys.jpg", width);
|
||||||
text-color: @fg;
|
text-color: @fg;
|
||||||
}
|
}
|
||||||
|
|
BIN
rofi/titleBarImages/egg.png
Normal file
After Width: | Height: | Size: 776 KiB |
BIN
rofi/titleBarImages/spook.jpg
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
wallpapers/12.jpg
Normal file
After Width: | Height: | Size: 354 KiB |
BIN
wallpapers/5.jpg
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
wallpapers/6.jpg
Normal file
After Width: | Height: | Size: 386 KiB |
BIN
wallpapers/abstract_shapes.png
Normal file
After Width: | Height: | Size: 1.9 MiB |
BIN
wallpapers/black_abstract.png
Normal file
After Width: | Height: | Size: 281 KiB |
BIN
wallpapers/blocks.png
Normal file
After Width: | Height: | Size: 1,024 KiB |
BIN
wallpapers/blocks_gruvbox.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
wallpapers/blue_abstract.png
Normal file
After Width: | Height: | Size: 2.6 MiB |
BIN
wallpapers/blunt.jpg
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
wallpapers/cliffside.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
wallpapers/clouds.jpg
Normal file
After Width: | Height: | Size: 5.8 MiB |
BIN
wallpapers/clouds2.jpg
Normal file
After Width: | Height: | Size: 3.3 MiB |
BIN
wallpapers/cloudy_hills.png
Normal file
After Width: | Height: | Size: 300 KiB |
BIN
wallpapers/dark_blue_abstract.png
Normal file
After Width: | Height: | Size: 774 KiB |
BIN
wallpapers/doggys.jpg
Normal file
After Width: | Height: | Size: 274 KiB |
BIN
wallpapers/flower2.png
Normal file
After Width: | Height: | Size: 266 KiB |
BIN
wallpapers/flowers.png
Normal file
After Width: | Height: | Size: 5.1 MiB |
BIN
wallpapers/flowers3.png
Normal file
After Width: | Height: | Size: 2.1 MiB |
BIN
wallpapers/flowers_2.png
Normal file
After Width: | Height: | Size: 5.4 MiB |
BIN
wallpapers/gray_waves.jpg
Normal file
After Width: | Height: | Size: 7.9 MiB |
BIN
wallpapers/island.jpg
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
wallpapers/kar.png
Normal file
After Width: | Height: | Size: 2.3 MiB |
BIN
wallpapers/leaves.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
wallpapers/leaves2.jpg
Normal file
After Width: | Height: | Size: 848 KiB |
BIN
wallpapers/leaves3.jpg
Normal file
After Width: | Height: | Size: 1.6 MiB |
BIN
wallpapers/leaves4.jpg
Normal file
After Width: | Height: | Size: 2.3 MiB |
BIN
wallpapers/magma.jpg
Normal file
After Width: | Height: | Size: 6.7 MiB |
BIN
wallpapers/morgan-rovang-EQ2srpKQkAU-unsplash.jpg
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
wallpapers/mountains_dark.png
Normal file
After Width: | Height: | Size: 324 KiB |
BIN
wallpapers/mountains_gruvbox.png
Normal file
After Width: | Height: | Size: 326 KiB |
BIN
wallpapers/mountains_light.png
Normal file
After Width: | Height: | Size: 193 KiB |
BIN
wallpapers/mtfuji.jpg
Normal file
After Width: | Height: | Size: 6.5 MiB |
BIN
wallpapers/muted_bushes.jpg
Normal file
After Width: | Height: | Size: 8.5 MiB |
BIN
wallpapers/nature.png
Normal file
After Width: | Height: | Size: 4.1 MiB |
BIN
wallpapers/photo_2022-08-14_21-35-31.jpg
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
wallpapers/pier.jpeg
Normal file
After Width: | Height: | Size: 2.5 MiB |
BIN
wallpapers/pixel_bench.png
Normal file
After Width: | Height: | Size: 277 KiB |
BIN
wallpapers/plant.png
Normal file
After Width: | Height: | Size: 322 KiB |
BIN
wallpapers/plonts.png
Normal file
After Width: | Height: | Size: 5.1 MiB |
BIN
wallpapers/purple_abstract.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
wallpapers/red_abstract.png
Normal file
After Width: | Height: | Size: 3.7 MiB |
BIN
wallpapers/red_sky.png
Normal file
After Width: | Height: | Size: 268 KiB |
BIN
wallpapers/red_sussy.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
wallpapers/steam_art.jpg
Normal file
After Width: | Height: | Size: 694 KiB |
BIN
wallpapers/steam_art_2.jpg
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
wallpapers/tile.jpg
Normal file
After Width: | Height: | Size: 140 KiB |
BIN
wallpapers/train.jpg
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
wallpapers/vines.jpg
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
wallpapers/vrc_christmas_meetup_2021.png
Normal file
After Width: | Height: | Size: 2.4 MiB |
BIN
wallpapers/white_funny.jpg
Normal file
After Width: | Height: | Size: 264 KiB |
BIN
wallpapers/yellow_abstract.jpg
Normal file
After Width: | Height: | Size: 2.2 MiB |