Skip to content

Instantly share code, notes, and snippets.

View zenlinux's full-sized avatar

Zen Linux zenlinux

  • Freelance
  • India
View GitHub Profile
@zenlinux
zenlinux / hbsplitter.cpp
Last active July 2, 2019 13:50
Qt5 Gui program compiles but generates segmentation fault.
/* file : hbsplitter.cpp */
#include <QHBoxLayout>
#include <QSplitter>
#include <QString>
#include "hbsplitter.h"
#include "mlabelwidget.h"
#include "mtextedit.h"
@zenlinux
zenlinux / xmonad.hs
Created February 28, 2016 11:49
Xmonad.hs works with lemonbar( xft+slant ) version from https://github.com/neeasade/bar/tree/slant-xft. The setup below works great but if I try to use "powerline symbols" like this "" # Powerline separators it wont work.
import XMonad hiding ( (|||) )
import Data.List -- clickable workspaces
import Graphics.X11.ExtraTypes.XF86
import System.IO (hPutStrLn)
--import XMonad.Actions.CycleWS -- nextWS, prevWS
import XMonad.Actions.FloatKeys
import XMonad.Actions.TagWindows
import XMonad.Actions.WindowGo
import XMonad.Actions.WithAll
import XMonad.Hooks.DynamicLog hiding (xmobar, xmobarPP, xmobarColor, sjanssenPP, byorgeyPP)
@zenlinux
zenlinux / gist:7235054855b12a5b9a99
Created October 27, 2015 22:14 — forked from su-v/gist:9965739
Inkscape / SVG on GitHub