mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Adding nitrogen config.
This commit is contained in:
14
.config/nitrogen/bg-saved.cfg
Normal file
14
.config/nitrogen/bg-saved.cfg
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[xin_0]
|
||||||
|
file=/home/dt/wallpapers/0103.jpg
|
||||||
|
mode=0
|
||||||
|
bgcolor=#000000
|
||||||
|
|
||||||
|
[xin_1]
|
||||||
|
file=/home/dt/wallpapers/0103.jpg
|
||||||
|
mode=0
|
||||||
|
bgcolor=#000000
|
||||||
|
|
||||||
|
[xin_2]
|
||||||
|
file=/home/dt/wallpapers/0103.jpg
|
||||||
|
mode=0
|
||||||
|
bgcolor=#000000
|
||||||
12
.config/nitrogen/nitrogen.cfg
Normal file
12
.config/nitrogen/nitrogen.cfg
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[geometry]
|
||||||
|
posx=16
|
||||||
|
posy=40
|
||||||
|
sizex=1884
|
||||||
|
sizey=1020
|
||||||
|
|
||||||
|
[nitrogen]
|
||||||
|
view=icon
|
||||||
|
recurse=true
|
||||||
|
sort=alpha
|
||||||
|
icon_caps=false
|
||||||
|
dirs=${HOME}/wallpapers;
|
||||||
@@ -1,4 +1,8 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
picom --experimental-backend &
|
lxsession &
|
||||||
|
picom --experimental-backends &
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
urxvtd -q -o -f &
|
urxvtd -q -o -f &
|
||||||
|
/usr/bin/emacs --daemon &
|
||||||
|
volumeicon &
|
||||||
|
nm-applet &
|
||||||
|
|||||||
@@ -169,16 +169,23 @@ These are commands we want XMonad to execute on startup, such as running a compo
|
|||||||
#+BEGIN_SRC haskell
|
#+BEGIN_SRC haskell
|
||||||
myStartupHook :: X ()
|
myStartupHook :: X ()
|
||||||
myStartupHook = do
|
myStartupHook = do
|
||||||
|
spawnOnce "lxsession &"
|
||||||
spawnOnce "nitrogen --restore &"
|
spawnOnce "nitrogen --restore &"
|
||||||
spawnOnce "picom --experimental-backend &"
|
spawnOnce "picom --experimental-backends &"
|
||||||
spawnOnce "nm-applet &"
|
spawnOnce "nm-applet &"
|
||||||
spawnOnce "volumeicon &"
|
spawnOnce "volumeicon &"
|
||||||
spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 &"
|
spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 &"
|
||||||
spawnOnce "/usr/bin/emacs --daemon &"
|
spawnOnce "/usr/bin/emacs --daemon &" -- emacs daemon for the emacsclient
|
||||||
-- spawnOnce "kak -d -s mysession &"
|
-- spawnOnce "kak -d -s mysession &" -- kakoune daemon for better performance
|
||||||
|
-- spawnOnce "urxvtd -q -o -f &" -- urxvt daemon for better performance
|
||||||
setWMName "LG3D"
|
setWMName "LG3D"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
: Prelude> Prelude>
|
||||||
|
: <interactive>:26:11-19: error:
|
||||||
|
: Variable not in scope: setWMName :: [Char] -> t
|
||||||
|
|
||||||
* Gridselect
|
* Gridselect
|
||||||
GridSelect displays items (programs, open windows, etc.) in a 2D grid and lets the user select from it with the cursor/hjkl keys or the mouse.
|
GridSelect displays items (programs, open windows, etc.) in a 2D grid and lets the user select from it with the cursor/hjkl keys or the mouse.
|
||||||
|
|
||||||
@@ -841,7 +848,6 @@ myShowWNameTheme = def
|
|||||||
myLayoutHook = avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts floats
|
myLayoutHook = avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts floats
|
||||||
$ mkToggle (NBFULL ?? NOBORDERS ?? EOT) myDefaultLayout
|
$ mkToggle (NBFULL ?? NOBORDERS ?? EOT) myDefaultLayout
|
||||||
where
|
where
|
||||||
-- I've commented out the layouts I don't use.
|
|
||||||
myDefaultLayout = tall
|
myDefaultLayout = tall
|
||||||
||| magnify
|
||| magnify
|
||||||
||| noBorders monocle
|
||| noBorders monocle
|
||||||
|
|||||||
@@ -113,13 +113,15 @@ windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace
|
|||||||
|
|
||||||
myStartupHook :: X ()
|
myStartupHook :: X ()
|
||||||
myStartupHook = do
|
myStartupHook = do
|
||||||
|
spawnOnce "lxsession &"
|
||||||
spawnOnce "nitrogen --restore &"
|
spawnOnce "nitrogen --restore &"
|
||||||
spawnOnce "picom --experimental-backend &"
|
spawnOnce "picom --experimental-backends &"
|
||||||
spawnOnce "nm-applet &"
|
spawnOnce "nm-applet &"
|
||||||
spawnOnce "volumeicon &"
|
spawnOnce "volumeicon &"
|
||||||
spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 &"
|
spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 &"
|
||||||
spawnOnce "/usr/bin/emacs --daemon &"
|
spawnOnce "/usr/bin/emacs --daemon &" -- emacs daemon for the emacsclient
|
||||||
-- spawnOnce "kak -d -s mysession &"
|
-- spawnOnce "kak -d -s mysession &" -- kakoune daemon for better performance
|
||||||
|
-- spawnOnce "urxvtd -q -o -f &" -- urxvt daemon for better performance
|
||||||
setWMName "LG3D"
|
setWMName "LG3D"
|
||||||
|
|
||||||
myColorizer :: Window -> Bool -> X (String, String)
|
myColorizer :: Window -> Bool -> X (String, String)
|
||||||
@@ -716,7 +718,6 @@ myShowWNameTheme = def
|
|||||||
myLayoutHook = avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts floats
|
myLayoutHook = avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts floats
|
||||||
$ mkToggle (NBFULL ?? NOBORDERS ?? EOT) myDefaultLayout
|
$ mkToggle (NBFULL ?? NOBORDERS ?? EOT) myDefaultLayout
|
||||||
where
|
where
|
||||||
-- I've commented out the layouts I don't use.
|
|
||||||
myDefaultLayout = tall
|
myDefaultLayout = tall
|
||||||
||| magnify
|
||| magnify
|
||||||
||| noBorders monocle
|
||| noBorders monocle
|
||||||
|
|||||||
Reference in New Issue
Block a user