Merge branch 'x13'

# Conflicts:
#	.config/hypr/hyprland.conf
#	.config/hypr/hyprpaper.conf
#	.config/waybar/config
#	.gitignore
#	.zshrc
#	bin/alias
#	bin/brightness
#	bin/cycle_pactl.sh
#	bin/keep.sh
#	bin/lid_close.sh
#	bin/lid_open.sh
#	bin/startup.sh
This commit is contained in:
2026-02-14 18:08:15 +01:00
20 changed files with 1189 additions and 59 deletions

321
.config/ART/options Normal file
View File

@@ -0,0 +1,321 @@
[General]
TabbedEditor=false
StartupDirectory=last
StartupPath=/home/thierry/Pictures/23.12.2025 - promenade avec beony/raw
DateFormat=%Y-%m-%d
AdjusterMinDelay=100
AdjusterMaxDelay=200
MultiUser=true
Language=English (UK)
LanguageAutoDetect=true
Theme=Default
Version=1.26.1
DarkFramesPath=
FlatFieldsPath=
Verbose=0
ErrorMessageDuration=5000
MaxErrorMessages=3
EditorKeyboardScrollStep=50
AdjusterShortcutScrollWheelFactor=4
[External Editor]
EditorKind=1
GimpDir=
PhotoshopDir=
CustomEditor=
OutputDir=0
CustomOutputDir=/tmp
Float32=false
BypassOutputProfile=false
[File Browser]
BrowserShowsDate=true
BrowserShowsExif=true
BrowserShowsExpComp=false
BrowserShowsHidden=false
ThumbnailSize=160
ThumbnailSizeTab=160
ThumbnailSizeQueue=160
SameThumbSize=0
ThumbnailOrder=0
MaxPreviewHeight=250
MaxPreviewWidth=800
MaxCacheEntries=20000
ParseExtensions=3fr;arw;arq;cr2;cr3;crf;crw;dcr;dng;fff;iiq;jpg;jpeg;kdc;mef;mos;mrw;nef;nrw;orf;pef;png;raf;raw;rw2;rwl;rwz;sr2;srf;srw;tif;tiff;x3f;
ParseExtensionsEnabled=1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;0;1;1;1;1;1;1;1;1;1;1;1;
ThumbnailInterpolation=1
FavoriteDirs=
ThumbnailZoomRatios=0.20000000000000001;0.29999999999999999;0.45000000000000001;0.59999999999999998;0.80000000000000004;1;
OverlayedFileNames=false
FilmStripOverlayedFileNames=false
ShowFileNames=true
FilmStripShowFileNames=false
HighlightSelected=false
InternalThumbIfUntouched=true
MaxRecentFolders=15
RecentFolders=/home/thierry/Pictures/23.12.2025 - promenade avec beony/raw;/home/thierry/Pictures;/run/media/thierry/9C33-6BBD/DCIM/11451225;/home/thierry/Pictures/nex;/run/media/thierry/LUMIX/DCIM/102_PANA;
ThumbnailRatingMode=xmp
[Clipping Indication]
HighlightThreshold=253
ShadowThreshold=8
[Performance]
RgbDenoiseThreadLimit=0
ClutCacheSize=5
MaxInspectorBuffers=2
InspectorDelay=0
PreviewDemosaicFromSidecar=1
SerializeTiffRead=true
DenoiseZoomedOut=true
ThumbUpdateThreadLimit=0
ThumbDelayUpdate=false
ThumbLazyCaching=true
ThumbCacheProcessed=true
CTLScriptsFastPreview=true
WBPreviewMode=2
RAWImageIOCacheSize=10
PreviewResamplingQuality=1
[Inspector]
Mode=0
RawCurve=0
ZoomFit=false
ShowInfo=false
ShowHistogram=false
EnableCMS=false
BrowserWidth=1
ThumbnailHover=false
[Output]
Format=jpg
JpegQuality=92
JpegSubSamp=2
PngBps=8
TiffBps=16
TiffFloat=false
TiffUncompressed=true
SaveProcParams=true
FormatBatch=jpg
JpegQualityBatch=92
JpegSubSampBatch=2
PngBpsBatch=8
TiffBpsBatch=16
TiffFloatBatch=false
TiffUncompressedBatch=true
SaveProcParamsBatch=true
PathTemplate=%p1/converted/%f
PathFolder=
AutoSuffix=true
ForceFormatOpts=true
SaveMethodNum=0
UsePathTemplate=true
LastSaveAsPath=
OverwriteOutputFile=false
ProcParamsAutosaveInterval=0
[Profiles]
Directory=profiles
UseBundledProfiles=true
LoadSaveProfilePath=/home/thierry/.config/ART/profiles
RawDefault=Dynamic
ImgDefault=Neutral
AppendMode=false
SaveParamsWithFile=true
SaveParamsToCache=false
LoadParamsFromLocation=1
EmbedParamsInMetadata=false
ParamsSidecarStripExtension=false
CustomProfileBuilderPath=
CustomProfileBuilderKeys=0
[GUI]
WindowWidth=2552
WindowHeight=1405
WindowX=0
WindowY=0
WindowMonitor=0
MeowMonitor=-1
MeowFullScreen=false
MeowMaximized=true
MeowWidth=1200
MeowHeight=680
MeowX=0
MeowY=0
WindowMaximized=true
DetailWindowWidth=-1
DetailWindowHeight=-1
DirBrowserWidth=260
DirBrowserHeight=350
SortType=0
DirBrowserSingleClick=0
PreferencesWidth=800
PreferencesHeight=600
SaveAsDialogWidth=920
SaveAsDialogHeight=680
ToolPanelWidth=424
BrowserToolPanelWidth=465
BrowserToolPanelHeight=600
BrowserToolPanelOpened=true
EditorFilmStripOpened=true
BrowserDirPanelOpened=true
InspectorDirPanelOpened=true
HistoryPanelWidth=330
FontFamily=default
FontSize=10
CPFontFamily=default
CPFontSize=8
PseudoHiDPISupport=false
LastPreviewScale=5
PanAccelFactor=5
RememberZoomAndPan=true
ShowHistory=true
ShowInfo=true
FilmStripBottom=true
ShowClippedHighlights=false
ShowClippedShadows=false
FrameColor=1
ProcessingQueueEnbled=false
ToolPanelsExpanded=1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;
ToolPanelsExpandedAutoSave=true
MultiDisplayMode=0
HistogramPosition=2
HistogramRed=true
HistogramGreen=true
HistogramBlue=true
HistogramLuma=false
HistogramChroma=false
HistogramBar=true
HistogramHeight=200
HistogramDrawMode=0
HistogramScalingFactor=10
HistogramScopeType=0
HistogramShowOptionButtons=false
HistogramTraceBrightness=1
NavigatorRGBUnit=0
NavigatorLCHUnit=0
ShowFilmStripToolBar=false
FileBrowserToolbarSingleRow=false
HideTPVScrollbar=false
HistogramWorking=false
CurveBBoxPosition=1
ToolPanelsDisable=false
AdjusterForceLinear=false
[Crop Settings]
PPI=600
[Color Management]
PrinterProfile=
PrinterIntent=1
PrinterBPC=true
ICCDirectory=/usr/share/color/icc
MonitorICCDirectory=/usr/share/color/icc
MonitorProfile=
AutoMonitorProfile=false
Intent=1
MonitorBPC=true
WhiteBalanceSpotSize=8
ClutsDirectory=./cluts
OSMonitorProfile=sRGB
[Sounds]
Enable=true
BatchQueueDone=complete
LngEditProcDone=window-attention
LngEditProcDoneSecs=3
[Fast Export]
MaxWidth=1920
MaxHeight=1920
[Dialogs]
LastIccDir=/usr/share/color/icc
LastDarkframeDir=
LastFlatfieldDir=
LastRgbCurvesDir=/home/thierry/.config/ART/profiles
LastLabCurvesDir=/home/thierry/.config/ART/profiles
LastPFCurvesDir=/home/thierry/.config/ART/profiles
LastHsvCurvesDir=/home/thierry/.config/ART/profiles
LastToneCurvesDir=/home/thierry/.config/ART/profiles
LastProfilingReferenceDir=/home/thierry/.config/ART/profiles
LastLensProfileDir=
LastICCProfCreatorDir=/home/thierry/.config/ART/profiles
LastSessionAddDir=
LastSessionLoadSaveDir=
LastRenamingLoadSaveDir=
GimpPluginShowInfoDialog=true
[Lensfun]
DBDirectory=share/lensfun
[Metadata]
XMPSidecarStyle=ext
XMPSynchronization=read
ExiftoolPath=exiftool
ShowExiftoolMakernotes=false
[False Colors Map]
IRE_2=#FFFFFF
IRE_10=#0000FF
IRE_20=#2290FF
IRE_42=#4B4B4B
IRE_48=#FF11FC
IRE_52=#7B7B7B
IRE_58=#00FF00
IRE_78=#ADADAD
IRE_84=#AEAE00
IRE_94=#FFFF00
IRE_100=#FF7F00
IRE_108=#FF0000
ClippedHighlights=
ClippedShadows=
[Renaming]
Basedir=.
Pattern=%f.%e
Sidecars=
NameNormalization=0
ExtNormalization=0
AllowWhitespace=false
OnExisting=0
ProgressiveNumber=1
Remember=1
[ExifFilterSettings]
Remember=false
Enabled=false
FilterFNumber=false
FilterShutter=false
FilterFocalLen=false
FilterISO=false
FilterExpComp=false
FilterCamera=false
FilterLens=false
FilterOrientation=false
FilterFiletype=false
FilterDate=false
Filetypes=
Cameras=
Lenses=
Orientations=
Expcomp=
FNumberFrom=100
FNumberTo=0
ShutterFrom=100
ShutterTo=0
FocalFrom=100000000
FocalTo=0
ISOFrom=100000000
ISOTo=0
DateFrom=2100/12/31
DateTo=1900/01/01
[Theme Colors]
Background=72;72;72;
Foreground=170;170;170;
Highlight=227;146;67;
[Export Profile jpg]
Profile=
Enabled=false

365
.config/RawTherapee/options Normal file
View File

@@ -0,0 +1,365 @@
[General]
TabbedEditor=false
StoreLastProfile=true
StartupDirectory=last
StartupPath=/home/thierry/Pictures/23.12.2025 - promenade avec beony/raw
DateFormat=%y-%m-%d
AdjusterMinDelay=100
AdjusterMaxDelay=200
MultiUser=true
Language=English (UK)
LanguageAutoDetect=true
Theme=TooWaBlue - Dark
Version=5.12
DarkFramesPath=
FlatFieldsPath=
CameraProfilesPath=
LensProfilesPath=
Verbose=false
Cropsleep=50
Reduchigh=0.84999999999999998
Reduclow=0.84999999999999998
Detectshape=true
Fftwsigma=true
[External Editor]
EditorKind=1
GimpDir=
PhotoshopDir=
CustomEditor=
OutputDir=0
CustomOutputDir=/tmp
Float32=false
BypassOutputProfile=false
Names=
Commands=
NativeCommands=
IconsSerialized=
EditorIndex=-1
[File Browser]
BrowseOnlyRaw=false
BrowserShowsDate=true
BrowserShowsExif=true
BrowserShowsExpComp=false
BrowserShowsHidden=false
ThumbnailSize=160
ThumbnailSizeTab=160
ThumbnailSizeQueue=160
SameThumbSize=0
MaxPreviewHeight=250
MaxPreviewWidth=800
MaxCacheEntries=20000
ParseExtensions=3fr;arq;arw;cr2;cr3;crf;crw;dcr;dng;fff;iiq;jpeg;jpg;jxl;kdc;mef;mos;mrw;nef;nrw;orf;ori;pef;png;raf;raw;rw2;rwl;rwz;sr2;srf;srw;tif;tiff;x3f;
ParseExtensionsEnabled=1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;
ThumbnailArrangement=2
ThumbnailInterpolation=1
FavoriteDirs=
RenameTemplates=
RenameUseTemplates=false
ThumbnailZoomRatios=0.20000000000000001;0.29999999999999999;0.45000000000000001;0.59999999999999998;0.80000000000000004;1;
OverlayedFileNames=false
FilmStripOverlayedFileNames=false
ShowFileNames=true
FilmStripShowFileNames=false
InternalThumbIfUntouched=true
menuGroupRank=true
menuGroupLabel=true
menuGroupFileOperations=true
menuGroupProfileOperations=true
menuGroupExtProg=true
MaxRecentFolders=15
RecentFolders=/home/thierry/Pictures/nex;/home/thierry/Pictures/23.12.2025 - promenade avec beony/raw;/home/thierry/Pictures/23.12.2025 - promenade avec beony;/home/thierry/Pictures;
ThumbnailRankColorMode=procparams
SortMethod=0
SortDescending=false
BrowseRecursive=false
BrowseRecursiveDepth=10
BrowseRecursiveMaxDirs=100
BrowseRecursiveFollowLinks=true
[Clipping Indication]
HighlightThreshold=253
ShadowThreshold=8
BlinkClipped=false
[Performance]
RgbDenoiseThreadLimit=0
ClutCacheSize=8
MaxInspectorBuffers=2
InspectorDelay=0
PreviewDemosaicFromSidecar=1
SerializeTiffRead=true
Measure=0
ChunkSizeAMAZE=2
ChunkSizeRCD=2
ChunkSizeRGB=2
ChunkSizeXT=2
ChunkSizeCA=2
ThumbnailInspectorMode=0
[Output]
Format=jpg
JpegQuality=92
JpegSubSamp=2
PngBps=8
TiffBps=16
TiffFloat=false
TiffUncompressed=true
BigTiff=false
SaveProcParams=true
FormatBatch=jpg
JpegQualityBatch=92
JpegSubSampBatch=2
PngBpsBatch=8
TiffBpsBatch=16
TiffFloatBatch=false
TiffUncompressedBatch=true
SaveProcParamsBatch=true
PathTemplate=%p1/converted/%f
PathFolder=
AutoSuffix=true
ForceFormatOpts=true
SaveMethodNum=0
UsePathTemplate=true
LastSaveAsPath=
OverwriteOutputFile=false
[Profiles]
Directory=profiles
UseBundledProfiles=true
LoadSaveProfilePath=/home/thierry/.config/RawTherapee/profiles
RawDefault=${G}/Auto-Matched Curve - ISO Low
ImgDefault=Neutral
FilledProfile=false
SaveParamsWithFile=true
SaveParamsToCache=false
LoadParamsFromLocation=1
CustomProfileBuilderPath=
CustomProfileBuilderKeys=0
[GUI]
Favorites=tonecurve;shadowshighlights;sharpening;localcontrast;dirpyrdenoise;defringe;dehaze;whitebalance;vibrance;blackwhite;locallab;crop;rotate;cacorrection;vignetting;distortion;
FavoritesCloneTools=false
WindowWidth=2552
WindowHeight=1405
WindowX=0
WindowY=0
WindowMonitor=0
MeowMonitor=-1
MeowMaximized=true
MeowWidth=1200
MeowHeight=680
MeowX=0
MeowY=0
WindowMaximized=true
DetailWindowWidth=-1
DetailWindowHeight=-1
DirBrowserWidth=260
DirBrowserHeight=350
SortType=0
PreferencesWidth=800
PreferencesHeight=600
SaveAsDialogWidth=920
SaveAsDialogHeight=680
ToolPanelWidth=520
BrowserToolPanelWidth=465
BrowserToolPanelHeight=571
BrowserToolPanelOpened=true
EditorFilmStripOpened=true
BrowserDirPanelOpened=true
HistoryPanelWidth=330
FontFamily=default
FontSize=10
CPFontFamily=default
CPFontSize=8
LastPreviewScale=5
LastShowAllExif=false
PanAccelFactor=5
RememberZoomAndPan=true
LastCropSize=1
ShowHistory=true
ShowFilePanelState=0
ShowInfo=true
MainNBVertical=true
ShowClippedHighlights=false
ShowClippedShadows=false
FrameColor=0
ProcessingQueueEnbled=false
ToolPanelsExpanded=0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;
ToolPanelsExpandedAutoSave=true
MultiDisplayMode=0
CutOverlayBrush=0;0;0;0.66698710612649725;
NavGuideBrush=1;0;0;1;
HistogramPosition=1
HistogramRed=true
HistogramGreen=true
HistogramBlue=true
HistogramLuma=false
HistogramChroma=false
HistogramBar=true
HistogramHeight=200
HistogramDrawMode=0
HistogramScopeType=0
HistogramShowOptionButtons=false
HistogramTraceBrightness=1
NavigatorRGBUnit=0
NavigatorHSVUnit=0
ShowFilmStripToolBar=false
FileBrowserToolbarSingleRow=false
HideTPVScrollbar=false
HistogramWorking=false
CurveBBoxPosition=1
Showtooltip=false
Complexity=2
Spotmet=0
InspectorWindow=false
ZoomOnScroll=true
MaxZoom=8
[Crop Settings]
PPI=600
GuidesMode=2
AutoFit=true
[Raw Decoder]
EnableLibRaw=true
[Color Management]
PrinterProfile=
PrinterIntent=1
PrinterBPC=true
ICCDirectory=/usr/share/color/icc
MonitorProfile=
AutoMonitorProfile=false
Autocielab=false
RGBcurvesLumamode_Gamut=true
Intent=1
MonitorBPC=true
AdobeRGB=RTv2_Medium
ProPhoto=RTv2_Large
WideGamut=RTv2_Wide
DCIP3=RTv2_DCIP3
sRGB=RTv4_sRGB
Beta=RTv2_Beta
Best=RTv2_Best
Rec2020=RTv2_Rec2020
Bruce=RTv2_Bruce
ACES-AP0=RTv2_ACES-AP0
ACES-AP1=RTv2_ACES-AP1
WhiteBalanceSpotSize=8
GamutICC=true
GamutLch=true
ProtectRed=60
Amountchroma=40
JzAmountchroma=40
ProtectRedH=0.29999999999999999
CRI=0
DenoiseLabgamma=2
CBDLlevel0=0
CBDLlevel123=30
Itcwb_enable=true
Itcwb_deltaspec=0.074999999999999997
Itcwb_powponder=0.14999999999999999
ClutsDirectory=./cluts
Previewselection=5
Cbdlsensi=1
Basecorlog=0.12
[Wavelet]
Edghi=3
Edglo=0.5
Limrad=20
[ICC Profile Creator]
PimariesPreset=sRGB
RedPrimaryX=0.64000000000000001
RedPrimaryY=0.33000000000000002
GreenPrimaryX=0.29999999999999999
GreenPrimaryY=0.59999999999999998
BluePrimaryX=0.14999999999999999
BluePrimaryY=0.059999999999999998
GammaPreset=Custom
Gamma=2.3999999999999999
Slope=12.92
ProfileVersion=v4
Illuminant=DEF
Description=
Copyright=Copyright RawTherapee 2026, CC0
AppendParamsToDesc=false
[Batch Processing]
AdjusterBehavior=0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;
[Sounds]
Enable=true
BatchQueueDone=complete
LngEditProcDone=window-attention
LngEditProcDoneSecs=3
[Fast Export]
fastexport_bypass_sharpening=true
fastexport_bypass_sharpenEdge=true
fastexport_bypass_sharpenMicro=true
fastexport_bypass_defringe=true
fastexport_bypass_dirpyrDenoise=true
fastexport_bypass_dirpyrequalizer=true
fastexport_bypass_wavelet=true
fastexport_raw_bayer_method=fast
fastexport_bypass_raw_bayer_dcb_iterations=true
fastexport_bypass_raw_bayer_dcb_enhance=true
fastexport_bypass_raw_bayer_lmmse_iterations=true
fastexport_bypass_raw_bayer_linenoise=true
fastexport_bypass_raw_bayer_greenthresh=true
fastexport_raw_xtrans_method=fast
fastexport_bypass_raw_ccSteps=true
fastexport_bypass_raw_ca=true
fastexport_bypass_raw_df=true
fastexport_bypass_raw_ff=true
fastexport_icm_input=(camera)
fastexport_icm_working=ProPhoto
fastexport_icm_output=
fastexport_icm_output_intent=1
fastexport_icm_output_bpc=true
fastexport_resize_enabled=true
fastexport_resize_scale=1
fastexport_resize_appliesTo=Cropped area
fastexport_resize_method=Lanczos
fastexport_resize_dataspec=3
fastexport_resize_width=900
fastexport_resize_height=900
fastexport_resize_longedge=900
fastexport_resize_shortedge=900
fastexport_use_fast_pipeline=1
[Dialogs]
LastIccDir=/usr/share/color/icc
LastDarkframeDir=
LastFlatfieldDir=
LastCameraProfilesDir=
LastLensProfilesDir=
LastRgbCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastLabCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastRetinexDir=/home/thierry/.config/RawTherapee/profiles
LastDenoiseCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastWaveletCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastlocalCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastlocalCurvesDirghs=/home/thierry/.config/RawTherapee/profiles
LastPFCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastHsvCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastBWCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastToneCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastIcmCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastVibranceCurvesDir=/home/thierry/.config/RawTherapee/profiles
LastProfilingReferenceDir=/home/thierry/.config/RawTherapee/profiles
LastLensProfileDir=
LastICCProfCreatorDir=/home/thierry/.config/RawTherapee/profiles
LastCopyMovePath=
GimpPluginShowInfoDialog=true
[Lensfun]
DBDirectory=
[Metadata]
XMPSidecarStyle=std
XMPSynchronization=none

View File

@@ -0,0 +1,5 @@
[Login]
HandleLidSwitch=suspend-then-hibernate
HandleLidSwitchExternalPower=suspend-then-hibernate
HandleLidSwitchDocked=ignore

View File

@@ -0,0 +1,5 @@
[Sleep]
AllowSuspendThenHibernate=yes
MemorySleepMode=s2idle
HibernateDelaySec=30min

98
.config/fuzzel/fuzzel.ini Normal file
View File

@@ -0,0 +1,98 @@
#Sourced from https://github.com/dracula/fuzzel
#dracula themed fuzzel
# output=<not set>
font=JetBrainsMono Nerd Font Mono:size=15
match-counter = on
filter-desktop=no
dpi-aware=auto
prompt = >
# icon-theme=hicolor
icons-enabled=yes
fields=filename,name,exec
# password-character=*
# fuzzy=yes
show-actions=yes
list-executables-in-path=no
# terminal=$TERMINAL -e # Note: you cannot actually use environment variables here
terminal=wezterm {cmd}
# launch-prefix=<not set>
lines=20
width=60
# horizontal-pad=40
# vertical-pad=8
# inner-pad=0
image-size-ratio=2
# line-height=<use font metrics>
# letter-spacing=0
layer = top
keyboard-focus=exclusive
# exit-on-keyboard-focus-loss = yes
[colors]
background=282a36dd
text=f8f8f2ff
match=8be9fdff
selection-match=8be9fdff
selection=44475add
selection-text=f8f8f2ff
border=bd93f9ff
[border]
# width=1
# radius=10
[dmenu]
# mode=text # text|index
# exit-immediately-if-empty=no
[key-bindings]
# cancel=Escape Control+g
# execute=Return KP_Enter Control+y
# execute-or-next=Tab
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
# delete-line=Control+k
# prev=Up Control+p
# prev-with-wrap=ISO_Left_Tab
# prev-page=PageUp KP_PageUp
# next=Down Control+n
# next-with-wrap=none
# next-page=Page_Down KP_Page_Down
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
# with 12, and so on.
# custom-1=Mod1+1
# custom-2=Mod1+2
# custom-3=Mod1+3
# custom-4=Mod1+4
# custom-5=Mod1+5
# custom-6=Mod1+6
# custom-7=Mod1+7
# custom-8=Mod1+8
# custom-9=Mod1+9
# custom-10=Mod1+0
# custom-11=Mod1+exclam
# custom-12=Mod1+at
# custom-13=Mod1+numbersign
# custom-14=Mod1+dollar
# custom-15=Mod1+percent
# custom-16=Mod1+dead_circumflex
# custom-17=Mod1+ampersand
# custom-18=Mod1+asterix
# custom-19=Mod1+parentleft

View File

@@ -13,6 +13,9 @@ monitor=HDMI-A-1,2560x1440@74.78, 1920x0, 1
# Execute your favorite apps at launch # Execute your favorite apps at launch
debug {
disable_logs=false
}
# Source a file (multi-file configs) # Source a file (multi-file configs)
#source = ~/.config/hypr/myColors.conf #source = ~/.config/hypr/myColors.conf
@@ -30,6 +33,8 @@ exec-once=~/bin/startup.sh
exec-once=~/bin/suspend.sh exec-once=~/bin/suspend.sh
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=hyprland-autoname-workspaces exec-once=hyprland-autoname-workspaces
exec-once=hyprctl setcursor Bibata-Modern-Classic 48 exec-once=hyprctl setcursor Bibata-Modern-Classic 48
exec-once=waybar exec-once=waybar
@@ -66,7 +71,7 @@ input {
follow_mouse = 1 follow_mouse = 1
touchpad { touchpad {
natural_scroll = no natural_scroll = yes
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
@@ -154,7 +159,7 @@ master {
$mainMod = SUPER $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, wezterm #alacritty -e screen bind = $mainMod, Q, exec, wezterm start #gnome-terminal #alacritty -e screen
bind = $mainMod SHIFT, Q, exec, alacritty bind = $mainMod SHIFT, Q, exec, alacritty
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,
bind = $mainMod, W, killactive, bind = $mainMod, W, killactive,
@@ -164,19 +169,37 @@ bind = $mainMod, Y, exec, copyq toggle
bind = $mainMod, A, exec, swaync-client -t -sw bind = $mainMod, A, exec, swaync-client -t -sw
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, space, exec, fuzzel bind = $mainMod, space, exec, fuzzel
#bind = $mainMod, space, exec, wofi --show drun
bind = $mainMod, D, exec, wayscriber --active bind = $mainMod, D, exec, wayscriber --active
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, L, exec, swaylock --screenshots --effect-blur 7x5 --clock bind = $mainMod, L, exec, hyprlock
bind = $mainMod, F, fullscreen, bind = $mainMod, F, fullscreen,
bind = $mainMod, D, exec, pkill -SIGUSR1 hyprmarker bind = $mainMod, Delete, exec, ~/bin/suspend.sh
#laptop screen brightness
bind = $mainMod ALT, 1, exec, sudo brightnessctl s 10%
bind = $mainMod ALT, 2, exec, sudo brightnessctl s 20%
bind = $mainMod ALT, 3, exec, sudo brightnessctl s 30%
bind = $mainMod ALT, 4, exec, sudo brightnessctl s 40%
bind = $mainMod ALT, 5, exec, sudo brightnessctl s 50%
bind = $mainMod ALT, 6, exec, sudo brightnessctl s 60%
bind = $mainMod ALT, 7, exec, sudo brightnessctl s 70%
bind = $mainMod ALT, 8, exec, sudo brightnessctl s 80%
bind = $mainMod ALT, 9, exec, sudo brightnessctl s 90%
bind = $mainMod ALT, 0, exec, sudo brightnessctl s 100%
bind = , XF86MonBrightnessUp, exec, sudo brightnessctl s "+10%"
bind = , XF86MonBrightnessDown, exec, sudo brightnessctl s "10%-"
#lid binds #lid binds
#bindl = , switch:on:Lid Switch, exec, swaylock --screenshots --effect-blur 7x5 --clock # trigger when the lid is opened
# trigger when the switch is turning off bindl = , switch:off:Lid Switch,exec,~/bin/lid_open.sh
bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, 0x0, 1" # trigger when the lid is closed
# # trigger when the switch is turning on bindl = , switch:on:Lid Switch,exec,~/bin/lid_close.sh
bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
# Desktop zooming or magnifier
bindd = $mainMod ALT, mouse_down, zoom in, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')"
bindd = $mainMod ALT, mouse_up, zoom out, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 2.0}')"
# Desktop zooming or magnifier # Desktop zooming or magnifier
bindd = $mainMod ALT, mouse_down, zoom in, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')" bindd = $mainMod ALT, mouse_down, zoom in, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')"
@@ -236,10 +259,13 @@ bind = $mainMod CTRL, right, workspace, e+1
#multimedia keys #multimedia keys
#bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% #bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise bind = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
#bind = ,code:115, exec, swayosd-client --output-volume raise
#bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% #bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower bind = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
#bind = ,code:114, exec, swayosd-client --output-volume lower
#bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle #bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
bind = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle bind = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
#bind = ,code:113, exec, swayosd-client --output-volume mute-toggle
bind = ,XF86AudioPlay, exec, playerctl play-pause bind = ,XF86AudioPlay, exec, playerctl play-pause
bind = ,XF86PowerDown, exec, shutdown -h now bind = ,XF86PowerDown, exec, shutdown -h now
@@ -256,7 +282,7 @@ bind = ALT, a, exec, playerctl -p $player previous
#screenshot #screenshot
#bind = $mainMod, Shift_R , exec, hyprshot --clipboard-only -m region #bind = $mainMod, Shift_R , exec, hyprshot --clipboard-only -m region
bind = , Pause, exec, hyprshot --clipboard-only -m region bind = , Print, exec, hyprshot --clipboard-only -m region
#windows rules #windows rules
@@ -295,4 +321,38 @@ windowrule {
float = off float = off
} }
float = on
}
windowrule {
name = stay-focused
match:class = (steam)
match:class = ^(zoom)$
stay_focused = on
}
windowrule {
name = tiled
match:class = ^(com-zerenesystems-stacker-gui-MainFrame)$
match:title = (A Ren(.)Py Game)
match:xwayland = 1
float = off
}
#jetbrain xwayland fixes. see https://github.com/hyprwm/Hyprland/issues/4257
windowrule {
name = windowrule-jb-tag
tag = +jb
match:class = ^jetbrains-.*
match:initial_title = ""
#match:float = 1
}
windowrule {
name = windowrule-jb-focus
focus_on_activate = on
no_initial_focus = on
float=off
match:tag = jb
}

View File

@@ -0,0 +1,96 @@
# sample hyprlock.conf
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
#
# rendered text in all widgets supports pango markup (e.g. <b> or <i> tags)
# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks
#
# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace
#
# you can get started by copying this config to ~/.config/hypr/hyprlock.conf
#
$font = Monospace
general {
hide_cursor = false
}
# uncomment to enable fingerprint authentication
auth {
fingerprint {
enabled = true
ready_message = Scan fingerprint to unlock
present_message = Scanning...
retry_delay = 250 # in milliseconds
}
}
animations {
enabled = true
bezier = linear, 1, 1, 0, 0
animation = fadeIn, 1, 5, linear
animation = fadeOut, 1, 5, linear
animation = inputFieldDots, 1, 2, linear
}
background {
monitor =
path = screenshot
blur_passes = 3
}
input-field {
monitor =
size = 20%, 5%
outline_thickness = 3
inner_color = rgba(0, 0, 0, 0.0) # no fill
outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg
check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
font_color = rgb(143, 143, 143)
fade_on_empty = false
rounding = 15
font_family = $font
placeholder_text = Input password...
fail_text = $PAMFAIL
# uncomment to use a letter instead of a dot to indicate the typed password
# dots_text_format = *
# dots_size = 0.4
dots_spacing = 0.3
# uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
# hide_input = true
position = 0, -20
halign = center
valign = center
}
# TIME
label {
monitor =
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
font_size = 90
font_family = $font
position = -30, 0
halign = right
valign = top
}
# DATE
label {
monitor =
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
font_size = 25
font_family = $font
position = -30, -150
halign = right
valign = top
}

View File

@@ -20,6 +20,7 @@
#ipc = off #ipc = off
#wallpaper = , /home/thierry/Pictures/bg/IMG_20210913_142249.jpg #wallpaper = , /home/thierry/Pictures/bg/IMG_20210913_142249.jpg
splash = false
wallpaper { wallpaper {
monitor = eDP-1 monitor = eDP-1

1
.config/mpv/mpv.conf Normal file
View File

@@ -0,0 +1 @@
target-colorspace-hint=no

View File

@@ -7,9 +7,9 @@
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{name}", "format": "{name}",
}, },
"hyprland/language":{ //"hyprland/language":{
"format": "{short}_{variant}", // "format": "{short}_{variant}",
}, //},
"user": { "user": {
"format": "{user}", "format": "{user}",
"interval": 60, "interval": 60,
@@ -79,13 +79,13 @@
"modules-left": [ "modules-left": [
"hyprland/workspaces", "hyprland/workspaces",
"custom/right-arrow-dark", //"custom/right-arrow-dark",
"cava", //"cava",
//"hyprland/language", //"hyprland/language",
//"wlr/taskbar", //"wlr/taskbar",
//"custom/space", //"custom/space",
//"custom/right-arrow-light", //"custom/right-arrow-light",
//"custom/right-arrow-dark", "custom/right-arrow-dark",
"hyprland/window", "hyprland/window",
], ],
"modules-center": [ "modules-center": [
@@ -123,8 +123,19 @@
//"custom/left-arrow-dark", //"custom/left-arrow-dark",
//"user", //"user",
//"idle_inhibitor", //"idle_inhibitor",
"temperature",
"custom/left-arrow-light", "custom/left-arrow-light",
"custom/left-arrow-dark", "custom/left-arrow-dark",
"battery",
"custom/left-arrow-light",
//"custom/left-arrow-dark",
"backlight",
//"custom/left-arrow-light",
"custom/left-arrow-dark",
//"user",
//"idle_inhibitor",
//"custom/left-arrow-light",
//"custom/left-arrow-dark",
"tray" "tray"
], ],
"temperature": { "temperature": {
@@ -139,8 +150,8 @@
"device": "intel_backlight", "device": "intel_backlight",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["", ""], "format-icons": ["", ""],
"on-scroll-down": "sudo ~/bin/brightness /sys/class/backlight/intel_backlight/brightness down 10", "on-scroll-down": "sudo ~/bin/brightness /sys/class/backlight/intel_backlight/brightness down 1212",
"on-scroll-up": "sudo ~/bin/brightness /sys/class/backlight/intel_backlight/brightness up 10" "on-scroll-up": "sudo ~/bin/brightness /sys/class/backlight/intel_backlight/brightness up 1212"
}, },
"custom/poweroff": { "custom/poweroff": {
"tooltip": false, "tooltip": false,

View File

@@ -11,6 +11,7 @@ window#waybar {
#custom-right-arrow-dark, #custom-right-arrow-dark,
#custom-left-arrow-dark { #custom-left-arrow-dark {
color: #1a1a1a; color: #1a1a1a;
background: #292b2e;
} }
#custom-right-arrow-light, #custom-right-arrow-light,
#custom-left-arrow-light { #custom-left-arrow-light {
@@ -99,6 +100,10 @@ window#waybar {
padding: 0 10px; padding: 0 10px;
} }
#backlight{
min-width: 100px;
}
#backlight-slider slider { #backlight-slider slider {
min-height: 80px; min-height: 80px;
min-width: 10px; min-width: 10px;

View File

@@ -7,11 +7,13 @@ local config = wezterm.config_builder()
-- This is where you actually apply your config choices. -- This is where you actually apply your config choices.
-- For example, changing the initial geometry for new windows: -- For example, changing the initial geometry for new windows:
config.initial_cols = 120 config.initial_cols = 180
config.initial_rows = 28 config.initial_rows = 28
-- or, changing the font size and color scheme. -- or, changing the font size and color scheme.
config.font_size = 10 config.font_size = 11
--config.dpi=180
--config.color_scheme = 'AdventureTime' --config.color_scheme = 'AdventureTime'
config.color_scheme = "tokyonight_moon" config.color_scheme = "tokyonight_moon"
config.color_scheme = "Aco (Gogh)" config.color_scheme = "Aco (Gogh)"

1
.zshrc
View File

@@ -129,6 +129,7 @@ if [[ -f ~/bin/alias ]]; then
source ~/bin/alias source ~/bin/alias
fi fi
eval "$(atuin init zsh --disable-up-arrow)"
## [Completion] ## [Completion]
## Completion scripts setup. Remove the following line to uninstall ## Completion scripts setup. Remove the following line to uninstall

View File

@@ -11,8 +11,8 @@ if test $action = up
echo (math $current_value + $dvalue) > $backlight_device echo (math $current_value + $dvalue) > $backlight_device
else if test $action = down else if test $action = down
set newVal (math $current_value - $dvalue) set newVal (math $current_value - $dvalue)
if test $newVal -lt 100 if test $newVal -lt 2424
set newVal 100 set newVal 2424
end end
echo New brightness value: $newVal echo New brightness value: $newVal
echo $newVal > $backlight_device echo $newVal > $backlight_device

View File

@@ -4,13 +4,33 @@ set -e
default_sink=$(pactl info | grep "Default Sink:" | cut '-d ' -f3) default_sink=$(pactl info | grep "Default Sink:" | cut '-d ' -f3)
sinks=$(pactl list short sinks | cut -f2 | grep -v "^easyeffects_sink$") sinks=$(pactl list short sinks | cut -f2 | grep -v "^easyeffects_sink$")
# Only sinks that are available (not "not available")
sinks=$(pactl list sinks | awk '
$1=="Name:" {name=$2}
$1=="State:" {state=$2}
$1=="Availability:" {avail=$2}
$1=="" {
if (avail != "not") print name
name=state=avail=""
}
' | grep -Ev '(^easyeffects_sink$|HDMI)')
sinks=$(pactl list short sinks | cut -f2 | grep -Ev '(^easyeffects_sink$|HDMI|skl_hda_dsp_generic)')
# for wrap-around # for wrap-around
sinks="$sinks sinks="$sinks
$sinks" $sinks"
next_sink=$(echo "$sinks" | awk "/$default_sink/{getline x;print x;exit;}") next_sink=$(echo "$sinks" | awk -v ds="$default_sink" '$0==ds {getline x; print x; exit}')
if [ -z "$next_sink" ]; then
next_sink=$(echo "$sinks" | head -n 1)
fi
echo "Setting output to $next_sink"
pactl set-default-sink "$next_sink" pactl set-default-sink "$next_sink"
easyeffects_id=$(pactl list short sinks | awk '$2=="easyeffects_sink" {print $1; exit}')
pactl list short sink-inputs | \ pactl list short sink-inputs | \
cut -f1 | \ cut -f1 | \
xargs -I{} pactl move-sink-input {} "$next_sink" xargs -I{} pactl move-sink-input {} "$next_sink"

View File

@@ -3,24 +3,28 @@ set -euo pipefail
INTERNAL="eDP-1" INTERNAL="eDP-1"
# Count non-internal monitors reported by Hyprland sleep 0.2
external_count=$(
hyprctl monitors | awk -v internal="$INTERNAL" ' external_on_count=$(
$1 == "Monitor" { hyprctl -j monitors | jq -r --arg internal "$INTERNAL" '
name = $2 [ .[]
sub(":", "", name) # strip trailing colon | select(.name != $internal)
if (name != internal) { | select(.disabled != true)
print name | select(.dpmsStatus == true)
} ] | length
} '
' | wc -l
) )
# Always turn off the laptop panel on lid close if [ "$external_on_count" -eq 0 ]; then
hyprctl keyword monitor "$INTERNAL, disable" # no external screen, we sleep
#systemctl hybrid-sleep
#systemctl suspend-then-hibernate
# Only lock if there is NO external monitor #debounce hyprlock
if [ "$external_count" -eq 0 ]; then pgrep -x hyprlock >/dev/null || hyprlock
hyprlock systemctl suspend-then-hibernatehyprctl
systemctl suspend else
# docked, we turn off internal screen
hyprctl keyword monitor "$INTERNAL, disable"
fi fi

View File

@@ -1,5 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
hyprctl keyword monitor "eDP-1, preferred, 0x0, 1" set -euo pipefail
swayosd-server &
hyprpaper &
INTERNAL="eDP-1"
sleep 0.2
hyprctl keyword monitor "$INTERNAL, preferred, 0x0, 1"
pgrep -x swayosd-server >/dev/null || swayosd-server &
pgrep -x hyprpaper >/dev/null || hyprpaper &

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export TERMINAL=weztzerm
source /home/thierry/keepass.env source /home/thierry/keepass.env
source /home/thierry/bin/alias source /home/thierry/bin/alias
@@ -10,23 +13,25 @@ killall xdg-desktop-portal
sleep 2 sleep 2
/usr/lib/xdg-desktop-portal & /usr/lib/xdg-desktop-portal &
nm-applet &
nextcloud --background &
#jamesdsp -t & #jamesdsp -t &
copyq --start-server &
swayosd-server &
#clight-gui --tray & #clight-gui --tray &
blueman-tray & #localsend --hidden &
localsend --hidden &
blueman-applet &
mangohud steam -silent &
#jetbrains-toolbox & #jetbrains-toolbox &
swaync &
~/bin/keep.sh &
hyprpaper &
nm-applet &
feishin &
systemctl --user start hyprmarker.service &
easyeffects -w &
~/bin/keep.sh &
blueman-tray &
blueman-applet &
copyq --start-server &
easyeffects -w &
feishin &
hyprpaper &
mangohud steam -silent &
nextcloud --background &
nm-applet &
swaync &
systemctl --user start hyprmarker.service &
swayosd-server &

28
bin/suspend.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/usr/bin/env bash
set -euo pipefail
pgrep -x hyprlock >/dev/null || hyprlock &
systemctl suspend-then-hibernate
sleep 2
INTERNAL="eDP-1"
external_on_count=$(
hyprctl -j monitors | jq -r --arg internal "$INTERNAL" '
[ .[]
| select(.name != $internal)
| select(.disabled != true)
| select(.dpmsStatus == true)
] | length
'
)
if [ "$external_on_count" -eq 0 ]; then
# no external screen, we enable internal screen
hyprctl keyword monitor "$INTERNAL, 1920x1080@120, 0x0, 1"
else
# external monitor active, we turn off internal screen
hyprctl keyword monitor "$INTERNAL, disable"
fi

97
screenrc Normal file
View File

@@ -0,0 +1,97 @@
#
# This is an example for the global screenrc file.
# You may want to install this file as /usr/local/etc/screenrc.
# Check config.h for the exact location.
#
# Flaws of termcap and standard settings are done here.
#
startup_message off
#defflow on # will force screen to process ^S/^Q
deflogin on
#autodetach off
vbell on
vbell_msg " Wuff ---- Wuff!! "
# all termcap entries are now duplicated as terminfo entries.
# only difference should be the slightly modified syntax, and check for
# terminfo entries, that are already corected in the database.
#
# G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
# WS this sequence resizes our window.
# cs this sequence changes the scrollregion
# hs@ we have no hardware statusline. screen will only believe that
# there is a hardware status line if hs,ts,fs,ds are all set.
# ts to statusline
# fs from statusline
# ds delete statusline
# al add one line
# AL add multiple lines
# dl delete one line
# DL delete multiple lines
# ic insert one char (space)
# IC insert multiple chars
# nx terminal uses xon/xoff
termcap facit|vt100|xterm LP:G0
terminfo facit|vt100|xterm LP:G0
#the vt100 description does not mention "dl". *sigh*
termcap vt100 dl=5\E[M
terminfo vt100 dl=5\E[M
#facit's "al" / "dl" are buggy if the current / last line
#contain attributes...
termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
#make sun termcap/info better
termcap sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'
#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
# Long time I had this in my private screenrc file. But many people
# seem to want it (jw):
# we do not want the width to change to 80 characters on startup:
# on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
#
# Do not use xterms alternate window buffer.
# This one would not add lines to the scrollback buffer.
termcap xterm|xterms|xs ti=\E7\E[?47l
terminfo xterm|xterms|xs ti=\E7\E[?47l
#make hp700 termcap/info better
termcap hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
#wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
#(nowadays: nx = padding doesn't work, have to use xon/off)
#essential to have it here, as this is a slow terminal.
termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
#remove some stupid / dangerous key bindings
bind ^k
#bind L
bind ^\
#make them better
bind \\ quit
bind K kill
bind I login on
bind O login off
bind } history
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'