From 3ab0b28923c1d5d108976f5f4df6a0d08d0950d2 Mon Sep 17 00:00:00 2001 From: surdeus Date: Thu, 11 Jul 2024 03:33:08 +0500 Subject: [PATCH] finishing cleaning --- dot/file/profile | 1 + dot/install.rc | 10 ------ dot/install.sh | 8 +++-- install.sh | 2 +- powerdevilrc | 8 ----- powermanagementprofilesrc | 69 -------------------------------------- xcompose => x/xcompose | 0 xinitrc => x/xinitrc | 0 xmodmap => x/xmodmap | 0 xresources => x/xresources | 0 10 files changed, 7 insertions(+), 91 deletions(-) delete mode 100755 dot/install.rc delete mode 100644 powerdevilrc delete mode 100644 powermanagementprofilesrc rename xcompose => x/xcompose (100%) rename xinitrc => x/xinitrc (100%) rename xmodmap => x/xmodmap (100%) rename xresources => x/xresources (100%) diff --git a/dot/file/profile b/dot/file/profile index 5f15580..a8a748d 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -52,6 +52,7 @@ export_loop \ MYVIMRC '$HOME/.vimrc'\ XKB_DEFAULT_OPTIONS 'caps:escape' \ \ + XCOMPOSER 'river' \ XTERMINAL 'wayst' \ XRUNNER 'fuzzel' \ XBAR 'waybar' \ diff --git a/dot/install.rc b/dot/install.rc deleted file mode 100755 index 97340c6..0000000 --- a/dot/install.rc +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/env rc -rpath = `{dirname `{readlink -f $0}} -dot = $rpath/file -for(i in $dot/*){ - ln = $home/.`{basename $i} - rm -rf $ln - echo $ln $i - ln -s $i $ln -} - diff --git a/dot/install.sh b/dot/install.sh index 8810295..17eb153 100755 --- a/dot/install.sh +++ b/dot/install.sh @@ -3,9 +3,11 @@ rpath="$(dirname `readlink -f $0`)" dot="$rpath/file" cmd="$@" for i in $dot/* ; do - ln="$HOME/.`basename $i`" + from="$i" + to="$HOME/.`basename $i`" rm -rf "$ln" - echo $ln $i - ln -s -f "$i" "$ln" + echo "'$from'" "'$i'" + rm -f "$to" + ln -s -f "$from" "$to" done diff --git a/install.sh b/install.sh index 212975c..a0af896 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ rpath="$(dirname `readlink -f $0`)" for i in * ; do from="$rpath/$i" to="$HOME/.config/`basename $i`" - echo $from $to + echo "'$from'" "'$to'" ln -s -f "$from" "$to" done diff --git a/powerdevilrc b/powerdevilrc deleted file mode 100644 index 611ef97..0000000 --- a/powerdevilrc +++ /dev/null @@ -1,8 +0,0 @@ -[BatteryManagement] -BatteryCriticalAction=0 - -[General] -pausePlayersOnSuspend=false - -[LowBattery][Display] -UseProfileSpecificDisplayBrightness=false diff --git a/powermanagementprofilesrc b/powermanagementprofilesrc deleted file mode 100644 index e29efd0..0000000 --- a/powermanagementprofilesrc +++ /dev/null @@ -1,69 +0,0 @@ -[AC] -icon=battery-charging - -[AC][DPMSControl] -idleTime=600 -lockBeforeTurnOff=0 - -[AC][DimDisplay] -idleTime=300000 - -[AC][HandleButtonEvents] -lidAction=1 -powerButtonAction=16 -powerDownAction=16 -triggerLidActionWhenExternalMonitorPresent=false - -[AC][SuspendSession] -idleTime=900000 -suspendThenHibernate=false -suspendType=1 - -[Activities][ad6209b7-0513-4299-a0ff-183655881f9d] -mode=None - -[Battery] -icon=battery-060 - -[Battery][DPMSControl] -idleTime=300 -lockBeforeTurnOff=0 - -[Battery][DimDisplay] -idleTime=120000 - -[Battery][HandleButtonEvents] -lidAction=1 -powerButtonAction=16 -powerDownAction=16 -triggerLidActionWhenExternalMonitorPresent=false - -[Battery][SuspendSession] -idleTime=600000 -suspendThenHibernate=false -suspendType=1 - -[LowBattery] -icon=battery-low - -[LowBattery][DPMSControl] -idleTime=120 -lockBeforeTurnOff=0 - -[LowBattery][DimDisplay] -idleTime=60000 - -[LowBattery][HandleButtonEvents] -lidAction=1 -powerButtonAction=16 -powerDownAction=16 -triggerLidActionWhenExternalMonitorPresent=false - -[LowBattery][SuspendSession] -idleTime=300000 -suspendThenHibernate=false -suspendType=1 - -[Migration] -MigratedActivitiesToPlasma6=powerdevilrc -MigratedProfilesToPlasma6=powerdevilrc diff --git a/xcompose b/x/xcompose similarity index 100% rename from xcompose rename to x/xcompose diff --git a/xinitrc b/x/xinitrc similarity index 100% rename from xinitrc rename to x/xinitrc diff --git a/xmodmap b/x/xmodmap similarity index 100% rename from xmodmap rename to x/xmodmap diff --git a/xresources b/x/xresources similarity index 100% rename from xresources rename to x/xresources