Commit e0250281 authored by Christopher League's avatar Christopher League
Browse files

reorg skel/, remove lxqt

parent c0eb315b
{pkgs ? (import <nixpkgs> {}).pkgs}:
let
userIni = name:
pkgs.writeText name ''
[General]
__userfile__=true
'';
xscreensaverConf = [
{ name = ".xscreensaver";
path = pkgs.callPackage ./xscreensaver.nix {};
}
];
xfceConfs = [
{ name = ".config/xfce4";
path = ./xfce4;
}
];
lxqtConfs = xscreensaverConf ++ [
{ name = ".config/pcmanfm-qt/lxqt/settings.conf";
path = pkgs.callPackage lxqt/pcmanfm.nix {};
}
{ name = ".config/lxqt/panel.conf";
path = pkgs.callPackage lxqt/panel.nix {};
}
{ name = ".config/lxqt/lxqt.conf";
path = pkgs.callPackage lxqt/lxqt.nix {};
}
{ name = ".config/lxqt/lxqt-powermanagement.conf";
path = pkgs.callPackage lxqt/powermgt.nix {};
}
{ name = ".config/lxqt/session.conf";
path = pkgs.callPackage lxqt/session.nix {};
}
{ name = ".config/lxqt/lxqt-runner.conf";
path = userIni "runner.conf";
}
{ name = ".config/lxqt/notifications.conf";
path = userIni "notifications.conf";
}
{ name = ".config/lxqt/power.conf";
path = userIni "power.conf";
}
];
firefoxConf = [
{ name = ".mozilla/firefox/profiles.ini";
path = firefox/profiles.ini;
}
{ name = ".mozilla/firefox/v2codrrw.default";
path = firefox/v2codrrw.default;
}
];
in
pkgs.linkFarm "skel" (firefoxConf ++ xfceConfs)
{pkgs}:
#elementary-xfce
pkgs.writeText "lxqt.conf" ''
[General]
__userfile__=true
icon_theme=Adwaita
theme=light
[Qt]
style=Fusion
''
{pkgs}:
pkgs.writeText "panel.conf" ''
[General]
__userfile__=true
[desktopswitch]
alignment=Right
type=desktopswitch
[mainmenu]
alignment=Left
type=mainmenu
[panel1]
alignment=-1
animation-duration=0
background-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
background-image=
desktop=0
font-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
hidable=false
iconSize=22
lineCount=1
lockPanel=false
opacity=100
panelSize=32
plugins=mainmenu, quicklaunch, showdesktop, taskbar, statusnotifier, tray, desktopswitch, shutdown
position=Bottom
reserve-space=true
show-delay=0
width=100
width-percent=true
[quicklaunch]
alignment=Left
apps\1\desktop=${pkgs.lxqt.qterminal}/share/applications/qterminal.desktop
apps\2\desktop=${pkgs.firefox}/share/applications/firefox.desktop
apps\3\desktop=${pkgs.atom}/share/applications/atom.desktop
apps\size=3
type=quicklaunch
[showdesktop]
alignment=Left
type=showdesktop
[shutdown]
alignment=Left
apps\1\desktop=${pkgs.lxqt.lxqt-session}/share/applications/lxqt-shutdown.desktop
apps\size=1
type=quicklaunch
[statusnotifier]
alignment=Right
type=statusnotifier
[taskbar]
alignment=Left
type=taskbar
[tray]
alignment=Right
type=tray
''
{pkgs}:
pkgs.writeText "pcmanfm.conf" ''
[Behavior]
AutoSelectionDelay=600
BookmarkOpenMethod=current_tab
ConfirmDelete=true
ConfirmTrash=false
NoUsbTrash=false
QuickExec=false
SelectNewFiles=false
SingleClick=false
UseTrash=true
[Desktop]
BgColor=#154ca3
DesktopCellMargins=@Size(3 1)
DesktopIconSize=48
FgColor=#ffffff
Font="Sans Serif,10,-1,5,50,0,0,0,0,0"
HideItems=false
LastSlide=
ShadowColor=#000000
ShowHidden=false
ShowWmMenu=false
SlideShowInterval=0
SortColumn=name
SortFolderFirst=true
SortOrder=ascending
Wallpaper=
WallpaperDirectory=
WallpaperMode=stretch
WallpaperRandomize=false
[FolderView]
BackupAsHidden=false
BigIconSize=48
FolderViewCellMargins=@Size(3 3)
Mode=icon
ShadowHidden=false
ShowFilter=false
ShowFullNames=false
ShowHidden=false
SidePaneIconSize=24
SmallIconSize=24
SortCaseSensitive=false
SortColumn=name
SortFolderFirst=true
SortOrder=ascending
ThumbnailIconSize=128
[Places]
PlacesApplications=true
PlacesComputer=true
PlacesDesktop=true
PlacesHome=true
PlacesNetwork=true
PlacesRoot=true
PlacesTrash=true
[Search]
searchContentCaseInsensitive=false
searchContentRegexp=true
searchNameCaseInsensitive=false
searchNameRegexp=true
searchRecursive=false
searchhHidden=false
[System]
Archiver=file-roller
FallbackIconThemeName=oxygen
OnlyUserTemplates=false
SIUnit=false
SuCommand=lxqt-sudo %s
TemplateRunApp=false
TemplateTypeOnce=false
Terminal=xterm
[Thumbnail]
MaxThumbnailFileSize=4096
ShowThumbnails=true
ThumbnailLocalFilesOnly=true
[Volume]
AutoRun=true
CloseOnUnmount=true
MountOnStartup=true
MountRemovable=true
[Window]
AlwaysShowTabs=false
FixedHeight=480
FixedWidth=640
FullWidthTabBar=true
LastWindowHeight=480
LastWindowMaximized=false
LastWindowWidth=640
PathBarButtons=true
RememberWindowSize=true
ShowMenuBar=true
ShowTabClose=true
SidePaneMode=places
SplitterPos=150
''
{pkgs}:
pkgs.writeText "powermgt.conf" ''
[General]
__userfile__=true
enableBatteryWatcher=false
enableIdlenessWatcher=false
enableLidWatcher=false
runCheckLevel=1
''
{pkgs}:
pkgs.writeText "lxqt.conf" ''
[General]
__userfile__=true
[Mouse]
cursor_theme=Adwaita
''
{pkgs}:
pkgs.writeText "xscreensaver.conf" ''
timeout: 0:10:00
cycle: 0:10:00
lock: False
lockTimeout: 0:00:00
passwdTimeout: 0:00:30
mode: blank
''
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment