All Projects → avivace → Dotfiles

avivace / Dotfiles

Licence: gpl-3.0
i3 + Plasma: using the i3 window manager on the top of KDE Plasma and other dotfiles, configurations, scripts, workarounds and practises from my Debian Sid machines.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Dotfiles

ansible-debian
Buildfiles: Ansible automated leight-weight and sensible Debian provisioning
Stars: ✭ 83 (-87.25%)
Mutual labels:  dotfiles, debian, i3wm, i3-gaps
Dots
A Repository For Config Files / Dotfiles / Themes / Color Schemes / Etc...
Stars: ✭ 100 (-84.64%)
Mutual labels:  dotfiles, i3wm, window-manager, i3-gaps
My dotfiles
Just a collections of my dotfiles...
Stars: ✭ 101 (-84.49%)
Mutual labels:  dotfiles, desktop, i3wm
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+51.31%)
Mutual labels:  tmux, dotfiles, i3wm
Dotfiles
Dotfiles for unix, managed by GNU stow.
Stars: ✭ 617 (-5.22%)
Mutual labels:  tmux, dotfiles, i3-gaps
Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (+11.37%)
Mutual labels:  dotfiles, i3wm, i3-gaps
Dotfiles
My dotfiles managed by GNU Stow - Arch, i3-gaps, bspwm, ncmpcpp, (neo)vim, zsh etc.
Stars: ✭ 99 (-84.79%)
Mutual labels:  dotfiles, i3wm, i3-gaps
dotfiles
My dotfiles
Stars: ✭ 16 (-97.54%)
Mutual labels:  dotfiles, tmux, i3wm
Dotfiles
🐧 Configuration files
Stars: ✭ 81 (-87.56%)
Mutual labels:  tmux, dotfiles, i3wm
dotfiles
My dotfiles, with an out-of-date install-script. Arch, Tiling WM (i3, sway), ZSH, Neovim
Stars: ✭ 20 (-96.93%)
Mutual labels:  tmux, i3wm, i3-gaps
dotfiles
cross-platform (linux (arch), macos, android (termux), windows (WSL)) dotfiles and scripts, using yadm
Stars: ✭ 17 (-97.39%)
Mutual labels:  dotfiles, tmux, i3-gaps
I3 Config
i3wm configuration files
Stars: ✭ 81 (-87.56%)
Mutual labels:  workspace, debian, i3wm
I3 Gaps Deb
Tool to create and install Debian (or Ubuntu) packages of i3-gaps.
Stars: ✭ 236 (-63.75%)
Mutual labels:  debian, i3wm, i3-gaps
dotfiles
💻 🍚 🔳 🔲 My riced-up Kali dotfiles – off-white | dark leet | chrome lambo
Stars: ✭ 55 (-91.55%)
Mutual labels:  dotfiles, i3wm, i3-gaps
Dotfiles
💀 dotfiles! managed by GNU stow
Stars: ✭ 85 (-86.94%)
Mutual labels:  tmux, dotfiles, i3-gaps
ArcoLinux-dotfiles
ArcoLinux dotfiles for 2bwm / i3wm
Stars: ✭ 24 (-96.31%)
Mutual labels:  dotfiles, i3wm, i3-gaps
I3 And Kde Plasma
How to install the i3 window manager on KDE
Stars: ✭ 279 (-57.14%)
Mutual labels:  plasma, i3wm, i3-gaps
.dotfiles
There's no place like ~ !
Stars: ✭ 265 (-59.29%)
Mutual labels:  tmux, dotfiles
Dotfiles
dotfiles for vim, git, zsh, cwm, xinit, and many others. Install with: lndir -silent /path/to/dotfiles $HOME
Stars: ✭ 263 (-59.6%)
Mutual labels:  tmux, dotfiles
Polybar Themes
A huge collection of polybar themes with different styles, colors and variants.
Stars: ✭ 3,687 (+466.36%)
Mutual labels:  debian, window-manager

dotfiles

Here you can find the configuration files and a detailed guide to use the i3 window manager on the top of KDE Plasma desktop environment.

...as always: If this eats your cat or starts a global thermonuclear war, you are on your own.

Screenshot

Full screenshots gallery

Contents


Introduction

Each folder is named after a package and contains every configuration file used by that application. Besides some noted exceptions, the files inside the folders are relative to home (e.g. the file vim/.vimrc goes to ~/.vimrc).

Every section here explains which settings and (if any) workarounds/fixes are used to obtain the described result.

For further reference, read carefully every section in this file, and copy only the configuration files relative to the parts you are trying to setup.

If something still doesn't work as expected, check:

If none of these helped, feel free to open an issue here. Include your distro informations and the configuration values you are trying.

Overview

  • OS: Debian GNU/Linux sid
  • DE: Plasma
    • Workspace theme: Breeze
    • Desktop theme: Arc T
    • Icon Theme: Papirus-Dark
    • Widget Style: Breeze
    • GTK theme: Breeze, monokai-gtk
  • Windows manager: i3-gaps
  • Login Manager: SDDM
  • Compositor: picom
  • Terminal emulator: alacritty
  • Launcher: rofi

Dependencies

FontAwesome, wmctrl, feh.

Login Manager

SDDM, breeze2-sddm-theme, San Francisco Display.

Desktop

X, Plasma, i3, compton

i3 + Plasma integration

I'm using KDE Plasma as Desktop Environment + i3-gaps as (tiling) Windows Manager. Without having to use patches to either i3 or KDE - just with some tuning - everything works out of the box, including:

  • the Pager widget (which correctly reads and lets you switch i3 workspaces)
  • the Icons-only Task Manager (~dock) widget (opens for you the corresponding workspace when clicking an icon)
  • other plasmashell widgets and popups
  • multiple displays
  • everything offered by i3 (including window focusing, shortcuts and mouse-related things)

You will still use the Plasma session with startx, so set your login manager accordingly.

350 MB base RAM consumption, compositor included.

Please note that i3 will replace KWin completely, so you won't have titlebars and every other compositing/animation feature offered by a standard Plasma installation.

Disabling the Plasma Desktop and the Plasma Wallpaper

The Plasma wallpaper is rendered at the top, hiding everything. Disable the autostart of ksplashqml:

sudo mv /usr/bin/ksplashqml /usr/bin/ksplashqml.old

Finally, in the i3 configuration we use wmctrl to kill the Plasma desktop view:

exec --no-startup-id wmctrl -c Plasma
for_window [title="Desktop — Plasma"] kill; floating enable; border none

i3 Urgent workspace feature

A possible solution, in the i3 configuration:

force_display_urgency_hint 0 ms
focus_on_window_activation urgent

See #13.

Wallpaper

The wallpaper is set with feh in the i3 configuration, as startup command.

Glitched tooltips

If you notice something like this, compton maybe the problem, try disabling the fade effect:

wintypes :
{
	tooltip : 
	{
#    fade = true;
	 shadow = false;
	 opacity = 0.75;
	 focus = true;
	};
};

Status Bar

It's a fully transparent Plasma panel, themed with the Arc T desktop theme. The awesome-widgets plasmoid shows the following content:

<div align="right" style="color:#ffffff; font-family:'Helvetica Neue'; font-size:12pt;">$hddfreegb0G&nbsp;&nbsp;&nbsp;&nbsp;$cpu%&nbsp;&nbsp;&nbsp;&nbsp;$memgbG&nbsp;&nbsp;&nbsp;&nbsp;$temp0 &nbsp;&nbsp;&nbsp; $custom1</div>

Where $custom1 runs bat.sh. Depends on FontAwesome.

Launcher

Rofi (themed in X/.Xresources), started in i3 with bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu='rofi -i -dmenu -width 40 -lines 8 -font "San Francisco Display 18"'.

Typography

Font rendering settings are in the X folder. Typefaces in bold are in my current setup, while the others are appreciated alternatives I like to periodically switch to.

Sans Serif, UI:

  • Helvetica Neue
  • IBM Plex Sans
  • San Francisco Display
  • Inter

Monospaced, text editors and shells:

  • SF Mono
  • Monaco
  • Hack
  • Input
  • Iosevka

Serif:

  • Libre Baskerville

Compositor

xcompmgr, compton and picom have been tested to work flawlessly on this setup.

Notifications

System notifications are handled by Plasma. If you don't see them correctly, check if you have another notification daemon installed (e.g. dunst which comes as recommended package for i3 in some distros).

Applications

Terminal Emulator

Alacritty

Color Scheme

SpaceGray Eighties

Snazzy

fish

Framework: oh-my-fish, theme: bobthefish.

Firefox

Add-ons: Greasemonkey, Decentraleyes, uBlock Origin, CanvasBlocker.

The entire detailed configuration of the browser is in User.js, with settings to improve privacy, limit tracking and fingerprinting, disable unwanted features (based on pyllyukko/user.js and ghacks-user.js).

Sublime Text 3

Keyboard shortcuts

A non-exhaustive cheatsheet on using this setup with the keyboard:

i3wm

$mod is the Windows key, in this setup.

$mod + ..

General

  • startx i3 start i3 from command line
  • <Enter> open a terminal
  • d open program launcher (Rofi)
  • r resize mode (<Esc> or <Enter> to leave resize mode)
  • shift + e exit i3
  • shift + r restart i3 in place
  • shift + c reload config file
  • shift + q kill window (does normal close if application supports it)
  • x move the workspace to another xrandr display

Windows

  • w tabbed layout
  • e vertical and horizontal layout (switches to and between them)
  • s stacked layout
  • f fullscreen

Moving Windows

  • shift + <direction key> Move window in direction (depends on direction keys settings)

tmux

The tmux meta key is A or B in secondary machines.

  • tmux start new
  • tmux new -s myname start new with session name
  • tmux a attach
  • tmux a -t myname attach to named
  • tmux ls list sessions
  • tmux kill-session -t myname kill session

CTRL + A then:

Sessions

  • : new session
  • s list sessions
  • $ name session

Windows (tabs)

  • c create window
  • w list windows
  • n next window
  • p previous window
  • f find window
  • , name window
  • & kill window

Panes (splits)

  • % vertical split
  • " horizontal split
  • o swap panes
  • q show pane numbers
  • x kill pane
  • + break pane into window (e.g. to select text by mouse to copy)
  • - restore pane from window
  • - space toggle between layouts
  • q show pane numbers, when the numbers show up type the key to goto that pane
  • { move the current pane left)
  • } move the current pane right)
  • z toggle pane zoom

Misc

  • d detach
  • t big clock
  • ? list shortcuts
  • : prompt

vim

  • jj normal mode

Firefox

Panorama Tab Groups

  • Alt + x panorama view
  • Alt + w next tab group
  • Alt + q previous tab group

System

apt/

My machines run on Debian Sid/unstable.

This is not a good solution if you don't know what the previous statement means or if you want a stable system and aren't prepared to fix things.

Scripts

scripts/

  • vpn.sh - Connect to Juniper based VPN service
  • template.tex - Template for my LaTex + Pandoc workflow
  • teamviewer.sh - Using teamviewer without wasting resources
  • backupperino.sh - Backup, encrypt and upload to Dropbox/VPS
  • avd.sh - Starting android emulators with (working) HW acceleration
  • mount.sh - sshfs preset (mounts remote folder as local filesystem, over ssh)
  • powersettings.sh - Disable things on battery, and the other way round on AC
  • bat.sh - Renders battery icon, percentage, charging and AC indicators in status bar. Executed by awesome-widgets.
  • vbox.sh - Prepares the system and updates the VirtualBox Guest Additions
  • sublimeupdate.py - (Python3) Checks if a new Sublime Text 3 version is available and installs it (deprecated).
  • update.sh - Update the system (APT, npm -g)

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].