mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-21 03:04:38 +10:00
Changed all /home/dt for ~/ because is more generic and easy to deploy
This commit is contained in:
@@ -237,7 +237,7 @@ Awesome has a menu system if you want to use it.
|
||||
local myawesomemenu = {
|
||||
{ "hotkeys", function() return false, hotkeys_popup.show_help end },
|
||||
{ "manual", terminal .. " -e 'man awesome'" },
|
||||
{ "edit config", terminal.." vim /home/dt/.config/awesome/rc.lua" },
|
||||
{ "edit config", terminal.." vim ~/.config/awesome/rc.lua" },
|
||||
{ "arandr", "arandr" },
|
||||
{ "restart", awesome.restart },
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ beautiful.init(string.format(gears.filesystem.get_configuration_dir() .. "/theme
|
||||
local myawesomemenu = {
|
||||
{ "hotkeys", function() return false, hotkeys_popup.show_help end },
|
||||
{ "manual", terminal .. " -e 'man awesome'" },
|
||||
{ "edit config", terminal.." vim /home/dt/.config/awesome/rc.lua" },
|
||||
{ "edit config", terminal.." vim ~/.config/awesome/rc.lua" },
|
||||
{ "arandr", "arandr" },
|
||||
{ "restart", awesome.restart },
|
||||
}
|
||||
|
||||
@@ -339,7 +339,7 @@ alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/mas
|
||||
alias tips="lbrynet txo spend --type=support --is_not_my_input --blocking"
|
||||
|
||||
# Thinkorswim
|
||||
alias tos="/home/dt/thinkorswim/thinkorswim"
|
||||
alias tos="~/thinkorswim/thinkorswim"
|
||||
|
||||
# force all kakoune windows into one session
|
||||
alias kak="/usr/bin/kak -c mysession"
|
||||
|
||||
@@ -67,7 +67,7 @@ bindsym $mod+Shift+KP_5 exec $myTerm -e rtorrent
|
||||
bindsym $mod+Shift+KP_6 exec $myTerm -e youtube-viewer
|
||||
bindsym $mod+Shift+KP_7 exec $myTerm -e ncpamixer
|
||||
bindsym $mod+Shift+KP_8 exec $myTerm -e calcurse
|
||||
bindsym $mod+Shift+KP_9 exec $myTerm -e vim /home/dt/.i3/config
|
||||
bindsym $mod+Shift+KP_9 exec $myTerm -e vim ~/.i3/config
|
||||
|
||||
# Apps Launched with <SUPER> + <CTRL> + <KEYPAD 1-9>
|
||||
bindsym $mod+Ctrl+KP_End exec $myTerm -e htop
|
||||
@@ -310,7 +310,7 @@ bindsym $mod+9 exec --no-startup-id blurlock
|
||||
# Autostart applications
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; picom --config /home/dt/.config/picom/picom.conf
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; picom --config ~/.config/picom/picom.conf
|
||||
exec --no-startup-id numlockx off
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id xfce4-power-manager
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
#
|
||||
# Example: MusicDir = "/home/joe/music"
|
||||
#
|
||||
MusicDir = "/home/dt/Music/Classical"
|
||||
MusicDir = "~/Music/Classical"
|
||||
|
||||
# Start in the music directory by default? If set to 'no', start
|
||||
# in the current directory by default. A single directory on
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
[xin_0]
|
||||
file=/home/dt/wallpapers/0103.jpg
|
||||
file=~/wallpapers/0103.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_1]
|
||||
file=/home/dt/wallpapers/0103.jpg
|
||||
file=~/wallpapers/0103.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_2]
|
||||
file=/home/dt/wallpapers/0103.jpg
|
||||
file=~/wallpapers/0103.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
||||
@@ -9,4 +9,4 @@ view=icon
|
||||
recurse=true
|
||||
sort=alpha
|
||||
icon_caps=false
|
||||
dirs=/home/dt/wallpapers;
|
||||
dirs=~/wallpapers;
|
||||
|
||||
@@ -249,7 +249,7 @@
|
||||
</item>
|
||||
<item label="Jitsi">
|
||||
<action name="Execute">
|
||||
<execute>/home/dt/Applications/jitsi-meet-x86_64.AppImage</execute>
|
||||
<execute>~/Applications/jitsi-meet-x86_64.AppImage</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Lynx">
|
||||
@@ -518,7 +518,7 @@
|
||||
</menu>
|
||||
<item label="App Outlet">
|
||||
<action name="Execute">
|
||||
<execute>/home/dt/Applications/App\ Outlet-1.3.2.AppImage</execute>
|
||||
<execute>~/Applications/App\ Outlet-1.3.2.AppImage</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Network Connections">
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
nowplaying=`deadbeef --nowplaying "%n %a - %t - %b - %y" | sed -n '1p' | tr -d '"'`
|
||||
tracktime=`deadbeef --nowplaying "%l" | sed -n '1p'`
|
||||
playlist_num=`ls -l /home/dt/.config/deadbeef/playlists/* | wc -l | sed -n '1p'`
|
||||
playlist_num=`ls -l ~/.config/deadbeef/playlists/* | wc -l | sed -n '1p'`
|
||||
|
||||
echo "<openbox_pipe_menu>"
|
||||
echo "<menu id=\"root-menu-325671\" label=\""Track Info"\">"
|
||||
@@ -34,7 +34,7 @@ echo "<separator/>"
|
||||
echo "<item label=\"Open Music Player\"><action name=\"Execute\"><execute>deadbeef</execute></action></item>"
|
||||
echo "</menu>"
|
||||
echo "<menu id=\"root-menu-325676\" label=\"Playlists ($playlist_num)\">"
|
||||
for file in $(ls /home/dt/.config/deadbeef/playlists/*.dbpl -1v); do
|
||||
for file in $(ls ~/.config/deadbeef/playlists/*.dbpl -1v); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo "<item label=\"$NAME\"><action name=\"Execute\"><execute>deadbeef $file</execute></action></item>"
|
||||
done
|
||||
|
||||
@@ -1630,7 +1630,7 @@ label-indicator-underline = ${colors.foreground}
|
||||
type = custom/script
|
||||
interval = 1200
|
||||
exec = echo " "
|
||||
click-left = "sh /home/dt/xmenu/xmenu.sh"
|
||||
click-left = "sh ~/xmenu/xmenu.sh"
|
||||
format-foreground = ${colors.foreground}
|
||||
format-background = ${colors.background}
|
||||
################################################################################
|
||||
|
||||
@@ -177,7 +177,7 @@ config.set('content.notifications.enabled', True, 'https://www.youtube.com')
|
||||
# Directory to save downloads to. If unset, a sensible OS-specific
|
||||
# default is used.
|
||||
# Type: Directory
|
||||
c.downloads.location.directory = '/home/dt/Downloads'
|
||||
c.downloads.location.directory = '~/Downloads'
|
||||
|
||||
# When to show the tab bar.
|
||||
# Type: String
|
||||
@@ -190,7 +190,7 @@ c.tabs.show = 'always'
|
||||
|
||||
# Setting default page for when opening new tabs or new windows with
|
||||
# commands like :open -t and :open -w .
|
||||
c.url.default_page = 'file:///home/dt/.surf/html/homepage.html'
|
||||
c.url.default_page = 'file://~/.surf/html/homepage.html'
|
||||
|
||||
# Search engines which can be used via the address bar. Maps a search
|
||||
# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
|
||||
|
||||
@@ -21,7 +21,7 @@ pa http://www.patreon.com/distrotube/
|
||||
py https://www.paypal.com/
|
||||
sb https://socialblade.com/youtube/c/distrotube
|
||||
sky https://www.skysilk.com/
|
||||
sp file:///home/dt/.surf/html/homepage.html
|
||||
sp file://~/.surf/html/homepage.html
|
||||
suck https://suckless.org/
|
||||
tee https://teespring.com/stores/distrotube
|
||||
tt https://www.tastytrade.com/
|
||||
|
||||
@@ -30,7 +30,7 @@ tile_gap = 6
|
||||
# disable_border = 1
|
||||
|
||||
# Bar Settings
|
||||
bar_action = /home/dt/baraction.sh
|
||||
bar_action = ~/baraction.sh
|
||||
bar_action_expand = 1
|
||||
bar_enabled = 1
|
||||
bar_border_width = 1
|
||||
|
||||
@@ -170,19 +170,19 @@ alt + ctrl + Return
|
||||
dmenu_run
|
||||
# edit common config files
|
||||
alt + ctrl + e
|
||||
/home/dt/.dmenu/dmenu-edit-configs.sh
|
||||
~/.dmenu/dmenu-edit-configs.sh
|
||||
# surfraw
|
||||
alt + ctrl + s
|
||||
/home/dt/.dmenu/dmenu-surfraw.sh
|
||||
~/.dmenu/dmenu-surfraw.sh
|
||||
# common system montoring programs
|
||||
alt + ctrl + m
|
||||
/home/dt/.dmenu/dmenu-sysmon.sh
|
||||
~/.dmenu/dmenu-sysmon.sh
|
||||
# passmenu
|
||||
alt + ctrl + p
|
||||
exec passmenu
|
||||
# reddio Reddit viewer
|
||||
alt + ctrl + r
|
||||
/home/dt/.dmenu/dmenu-reddio.sh
|
||||
~/.dmenu/dmenu-reddio.sh
|
||||
# stock trading programs
|
||||
alt + ctrl + t
|
||||
/home/dt/.dmenu/dmenu-trading.sh
|
||||
~/.dmenu/dmenu-trading.sh
|
||||
|
||||
@@ -147,11 +147,11 @@ startup_notifications = 0
|
||||
launcher_tooltip = 0
|
||||
launcher_icon_theme = Breeze-Dark
|
||||
|
||||
launcher_item_app = /home/dt/.config/tint2/launchers/obmenu-launch.desktop
|
||||
launcher_item_app = /home/dt/.config/tint2/launchers/pcmanfm.desktop
|
||||
launcher_item_app = /home/dt/.config/tint2/launchers/Alacritty.desktop
|
||||
launcher_item_app = /home/dt/.config/tint2/launchers/brave-browser.desktop
|
||||
launcher_item_app = /home/dt/.config/tint2/launchers/emacs.desktop
|
||||
launcher_item_app = ~/.config/tint2/launchers/obmenu-launch.desktop
|
||||
launcher_item_app = ~/.config/tint2/launchers/pcmanfm.desktop
|
||||
launcher_item_app = ~/.config/tint2/launchers/Alacritty.desktop
|
||||
launcher_item_app = ~/.config/tint2/launchers/brave-browser.desktop
|
||||
launcher_item_app = ~/.config/tint2/launchers/emacs.desktop
|
||||
|
||||
#-------------------------------------
|
||||
# Clock
|
||||
|
||||
@@ -13,7 +13,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
||||
, iconRoot = "~/.xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Time and date
|
||||
Run Date "<fn=1>\xf133</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
@@ -27,7 +27,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
||||
, Run DiskU [("/", "<fn=1>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Runs custom script to check for pacman updates.
|
||||
-- This script is in my dotfiles repo in .local/bin.
|
||||
, Run Com "/home/dt/.local/bin/pacupdate" [] "pacupdate" 36000
|
||||
, Run Com "~/.local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Runs a standard shell command 'uname -r' to get kernel version
|
||||
, Run Com "uname" ["-r"] "" 3600
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
|
||||
@@ -13,7 +13,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
||||
, iconRoot = "~/.xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Time and date
|
||||
Run Date "<fn=1>\xf133</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
@@ -27,7 +27,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
||||
, Run DiskU [("/", "<fn=1>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Runs custom script to check for pacman updates.
|
||||
-- This script is in my dotfiles repo in .local/bin.
|
||||
, Run Com "/home/dt/.local/bin/pacupdate" [] "pacupdate" 36000
|
||||
, Run Com "~/.local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Runs a standard shell command 'uname -r' to get kernel version
|
||||
, Run Com "uname" ["-r"] "" 3600
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
|
||||
@@ -13,7 +13,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
||||
, iconRoot = "~/.xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Time and date
|
||||
Run Date "<fn=1>\xf133</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
@@ -27,11 +27,11 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
|
||||
, Run DiskU [("/", "<fn=1>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Runs custom script to check for pacman updates.
|
||||
-- This script is in my dotfiles repo in .local/bin.
|
||||
, Run Com "/home/dt/.local/bin/pacupdate" [] "pacupdate" 36000
|
||||
, Run Com "~/.local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Runs a standard shell command 'uname -r' to get kernel version
|
||||
, Run Com "uname" ["-r"] "" 3600
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com "/home/dt/.config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
, Run Com "~/.config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
-- The workspaces are 'clickable' in my configs.
|
||||
, Run UnsafeStdinReader
|
||||
|
||||
Reference in New Issue
Block a user