FuzzuTech – PC Brightness Controller GUI in Python (Slider + Hotkeys)
Demo :
Click Video πππ
π§ Description :
Looking for a modern way to control your PC's brightness without fiddling through Windows settings? Try this Python-based GUI app designed by FuzzuTech. Built using customtkinter and enhanced with keyboard hotkeys, this dark-mode utility is the perfect combination of usability and hacker aesthetics. Whether you're coding late at night or just want better control, this is your solution.
π Features:
-
πΉ Developed in Python using
customtkinter
,keyboard
, andscreen_brightness_control
-
πΉ Real-Time Brightness Slider
-
πΉ Hotkey Support (Ctrl+↑ / Ctrl+↓)
-
πΉ Dark Mode Hacker GUI
-
πΉ Offline + Portable Utility
-
πΉ Perfect for coders, night owls, and power users
-
πΉ Designed by FuzzuTech to go viral
Code :
import customtkinter as ctk
import screen_brightness_control as sbc
import keyboard
import threading
# Appearance
ctk.set_appearance_mode("System")
ctk.set_default_color_theme("blue")
app = ctk.CTk()
app.title("FuzzuTech - PC Brightness Controller")
app.geometry("400x300")
app.resizable(False, False)
def set_brightness(value):
sbc.set_brightness(int(value))
value_label.configure(text=f"Brightness: {int(value)}%")
def increase_brightness():
current = sbc.get_brightness(display=0)[0]
new_value = min(current + 10, 100)
sbc.set_brightness(new_value)
brightness_slider.set(new_value)
value_label.configure(text=f"Brightness: {new_value}%")
def decrease_brightness():
current = sbc.get_brightness(display=0)[0]
new_value = max(current - 10, 0)
sbc.set_brightness(new_value)
brightness_slider.set(new_value)
value_label.configure(text=f"Brightness: {new_value}%")
def hotkey_listener():
keyboard.add_hotkey("ctrl+up", increase_brightness)
keyboard.add_hotkey("ctrl+down", decrease_brightness)
keyboard.wait()
# Launch hotkey listener in background
threading.Thread(target=hotkey_listener, daemon=True).start()
# Widgets
title_label = ctk.CTkLabel(app, text="PC Brightness Controller", font=("Arial Black", 20))
title_label.pack(pady=20)
brightness_slider = ctk.CTkSlider(app, from_=0, to=100, command=set_brightness, number_of_steps=100)
brightness_slider.set(sbc.get_brightness(display=0)[0])
brightness_slider.pack(pady=20)
value_label = ctk.CTkLabel(app, text=f"Brightness: {brightness_slider.get()}%", font=("Arial", 16))
value_label.pack()
credit = ctk.CTkLabel(app, text="Developed by FuzzuTech", font=("Arial", 10))
credit.pack(pady=20)
app.mainloop()
Comments
Post a Comment