Skip to content

etgima02/2-tone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2-tone

the reason i made this was I had been using sway for a few months, but really missed having floating windows supported in a way more natural capacity. in essence, this is my sway setup but ported to KDE in the only ways I know how (aka,,, some definitely meh code, no AI, just my heart and a dream). there are a lot of unfinished areas (pywal function with GTK apps, some graphical glitches due to the color-scheme.colors template being wrong, but what can you do). it should be noted that my sway setup and now this KDE setup are vastly inspired by breadonpenguins dwm setup!!!! so all credit to them @breadonpenguins, plus some of my scripts would not exist with their amazing youtube videos and repos.

screenshot1 screenshot2

another small note, i know this is very atypical to the normal KDE way of going about things (mostly, using the KDE store),,, this is because i have way more fun making things my own, and most of the KDE look im not the biggest fan of!

dependencies

  • KDE
  • waybar
  • pywal16
  • rofi
  • mako (or any notification daemon, + libnotify)
  • nerdfonts
  • klassy (optional)

pywal, KDE, mako, and rofi setup

  1. install pywal16 using your package manager however (ex. for arch, aur/python-pywal16)
  2. in .config, see if there is a /wal/ folder, if not, make one. inside /wal/, check for /templates/, if not make it.
  3. this is where all additional templates that arent already made for you upon running wal can be placed. wal outputs are found at ~/.cache/wal/. ive included some (KDE, mako, rofi) but not all of my template files (missing my waybar one because i set it up in a really nasty way, you can look at the waybar style file and see pretty easily how you should actually make it).
  4. mkdir ~/.config/mako/ if it doesnt exist, and put config file here.
  5. mkdir ~/.config/rofi if it doesnt exist, put /themes/ folder in here.
  6. to run pywal and all other utilities surrounding it, create a scripts directory wherever you see fit. i have mine as ~/.config/scripts/. for these steps, you'll need wallpaper-rofi and pywal16 in this folder.
  7. edit wallpaper-rofi to have your set wallpapers folder! additionally, edit the path on line 7 to be wherever your scripts directory is.
  8. pywal16 acts as a post script after wal has run. we'll use this to update some KDE theming. the way this KDE part works is bad practice, but its the only way i could get it to work (updating a colors file and trying to reload it in code didnt work, i needed to have it symlinked to two places and swap between). first, run wallpaper-rofi once to generate the appropriate ~/.cache/wal/ files. ignore errors. then, kdir ~/.local/share/color-schemes/ if it doesnt exist already. lastly, make the following symlinks: 'ln -s ~/.cache/wal/color-scheme.colors ~/.local/share/color-schemes/pywal1.colors', 'ln -s ~/.cache/wal/color-scheme.colors ~/.local/share/color-schemes/pywal2.colors'.
  9. rerun wallpaper-rofi once more. you're done!

waybar setup

  1. activate the waybar service so it'll start on launch.
  2. in KDE's system settings, create 5 virtual desktops numbered 1-5.
  3. in .config, create /waybar/. insert the base config.jsonc and style.css file here (please note, the style.css file here doesnt come equipped with pywal, youll have to do that on your own, isnt very hard im just lazy).
  4. download the 'workspace' script and put it into your scripts directory (make sure location this lines up with what is in the config.jsonc file for the custom/one, custom/two, etc. modules). this script must be able to be done in a better way, but it works! and thats what counts! basically emulates the sway workspaces feature in KDE to semi-effectiveness (is a bit slow).
  5. the rest of the modules are up to you, waybar has a bunch of a cool ones, i like writing scripts for mine, like i made a clock that turns into a pomodoro timer on right click, or a system stats module, or whatever you want!!

touchups

  1. disable KDE panels to your liking in edit mode.
  2. change font to Hack to match other places in System Settings > Fonts
  3. add shortcuts in System Settings > Shortcuts > Add New > Command or Script, and then add appropriate shortcuts to call the pywal rofi manager, or switch between workspaces or whatever using bash ~/.config/scripts/workspace active (desktop # goes here)
  4. to make it super like my setup, install klassy, enable square corners, add thin window outline, change buttons, etc.. also change titlebar layout in system settings
  5. more rofi setups can be made (to make a new rofi theme, go to ~/.config/rofi/themes/ and cp background.rasi to a new file. the only thing that needs editing is the listview padding to accomodate your chosen title. rest is customization up to you like amount of lines, position, etc.
  6. mess around with animations if you want, idk...

About

a minimalist sway-inspired bread-on-penguins-inspired KDE rice (including a waybar KDE pager that somehow works)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors