diff options
author | ThanosApollo <[email protected]> | 2022-10-28 05:33:26 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-28 05:33:26 +0300 |
commit | 5c7ac253603a92a062f2b13f25cc99e0e7f3647d (patch) | |
tree | 919303523837902e74a654f32586d158d617a644 /.config/qtile | |
parent | d4c5cd5e40d6ff801f7e0fff61036adfe8f0742f (diff) |
Update qtile
Diffstat (limited to '.config/qtile')
-rw-r--r-- | .config/qtile/colors.py | 3 | ||||
-rw-r--r-- | .config/qtile/config.py | 46 | ||||
-rw-r--r-- | .config/qtile/keys.py | 7 | ||||
-rw-r--r-- | .config/qtile/spotify_widget.py | 15 |
4 files changed, 35 insertions, 36 deletions
diff --git a/.config/qtile/colors.py b/.config/qtile/colors.py index c316bfb..fab5908 100644 --- a/.config/qtile/colors.py +++ b/.config/qtile/colors.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 - - nord_fox = { 'bg': "#2e3440", 'fg': "#b9bfca", diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 86d8fb4..3c43f38 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -108,19 +108,25 @@ def init_widgets_list(): foreground = dracula["green"], background = dracula["bg"], ), - widget.Image( - filename = "~/.config/qtile/spotify2.png", - scale = True, - ), - Spotify( - fontsize = 12, - background = dracula["bg"], - color = dracula["green"], - fmt = '{}', - font = "JetBrains Mono Bold" - ), - widget.Spacer( - length=7 + # widget.Image( + # filename = "~/.config/qtile/spotify2.png", + # scale = True, + # ), + # Spotify( + # fontsize = 12, + # background = dracula["bg"], + # color = dracula["green"], + # fmt = '{}', + # font = "JetBrains Mono Bold" + # ), + # widget.Moc( + # font = "JetBrains Mono", + # fontsize= 13, + # play_color=dracula["green"], + # paddig = 10, + # ), + widget.Spacer( + length=10, ), widget.Image( filename = "~/.config/qtile/volume1.png", @@ -143,6 +149,14 @@ def init_widgets_list(): # background = my_colors["red"], # objname="org.mpris.MediaPlayer2.spotify" # ), + widget.Spacer( + length=7, + padding = 10, + ), + widget.Image( + filename = "~/.config/qtile/ram2.png", + scale = True, + ), widget.Memory( measure_mem="G", fontsize=15, @@ -159,6 +173,10 @@ def init_widgets_list(): widget.Spacer( length=7 ), + widget.Image( + filename = "~/.config/qtile/cpu1.png", + scale = True, + ), widget.ThermalSensor( threshold=50, fontsize=15, @@ -194,7 +212,7 @@ def init_widgets_list(): ), widget.Systray( background= dracula["bg"], - icon_size=21, + icon_size=20, padding = 10, margin = 10, ), diff --git a/.config/qtile/keys.py b/.config/qtile/keys.py index 8776843..538d57f 100644 --- a/.config/qtile/keys.py +++ b/.config/qtile/keys.py @@ -5,7 +5,6 @@ from libqtile.command import lazy from libqtile.config import Click, Drag - class MyKeys(): def __init__(self,mod,browser,term,editor): self.mod = mod @@ -28,12 +27,12 @@ class MyKeys(): Key([self.mod], "Tab", lazy.spawn("rofi -show drun"), ), + Key([self.mod], "r", + lazy.spawn("rofi -show run"), + ), Key([self.mod], "w", lazy.spawn("rofi -show window"), ), - Key(["control"], "f", - lazy.spawn("rofi -show filebrowser"), - ), Key([self.mod], "p", lazy.spawn("passmenu -p 'Password for: '"), ), diff --git a/.config/qtile/spotify_widget.py b/.config/qtile/spotify_widget.py index 5e069b0..81fd41c 100644 --- a/.config/qtile/spotify_widget.py +++ b/.config/qtile/spotify_widget.py @@ -1,18 +1,3 @@ -# Copyright (C) 2022, ThanosApollo -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - import dbus import subprocess from functools import partial |