Restructing the entire dotfile repo!
117
.Xresources
Normal file
|
@ -0,0 +1,117 @@
|
|||
! ____ _____
|
||||
! | _ \_ _| Derek Taylor (DistroTube)
|
||||
! | | | || | http://www.youtube.com/c/DistroTube
|
||||
! | |_| || | http://www.gitlab.com/dwt1/
|
||||
! |____/ |_|
|
||||
!
|
||||
|
||||
|
||||
Xft.dpi: 96
|
||||
Xft.antialias: true
|
||||
Xft.hinting: true
|
||||
Xft.rgba: rgb
|
||||
Xft.autohint: true
|
||||
Xft.hintstyle: hintfull
|
||||
Xft.lcdfilter: lcdfilter
|
||||
|
||||
XTerm*renderFont: true
|
||||
XTerm*faceName: xft:UbuntuMono Nerd Font
|
||||
XTerm*faceSize: 13
|
||||
XTerm*utf8: 2
|
||||
XTerm*locale: true
|
||||
|
||||
XTerm.vt100.translations: #override \n\
|
||||
Ctrl <Key> j: smaller-vt-font() \n\
|
||||
Ctrl <Key> k: larger-vt-font()
|
||||
|
||||
|
||||
! Every shell is a login shell by default (for inclusion of all necessary environment variables)
|
||||
XTerm*loginshell: true
|
||||
|
||||
! I like a LOT of scrollback...
|
||||
XTerm*savelines: 16384
|
||||
|
||||
! double-click to select whole URLs :D
|
||||
XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
|
||||
|
||||
URxvt*imLocale: en_US.UTF-8
|
||||
URxvt*termName: rxvt-unicode-256color
|
||||
Urxvt*buffered: false
|
||||
URxvt.intensityStyles: false
|
||||
URxvt.font: xft:UbuntuMono Nerd Font:size=13, \
|
||||
xft:Inconsolata Nerd Font Mono:size=13, \
|
||||
xft:DejaVuSansMono Nerd Font:size=13, \
|
||||
xft:DroidSansMono Nerd Font:size=13, \
|
||||
xft:FuraMono Nerd Font:size=13, \
|
||||
xft:RobotoMono Nerd Font:size=13, \
|
||||
xft:Noto Sans Mono:size=13, \
|
||||
xft:Monospace:style=Medium:size=13
|
||||
URxvt.saveLines: 2000
|
||||
URxvt.scrollBar: false
|
||||
URxvt.cursorColor: white
|
||||
|
||||
!! Extensions
|
||||
URxvt.perl-ext-common: default,matcher,resize-font,url-select,keyboard-select,clipboard
|
||||
URxvt.colorUL: #4682B4
|
||||
!! url-select
|
||||
URxvt.keysym.M-u: perl:url-select:select_next
|
||||
URxvt.url-select.launcher: urxvt -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss
|
||||
URxvt.url-select.underline: true
|
||||
!! keyboard-select:
|
||||
URxvt.keysym.M-Escape: perl:keyboard-select:activate
|
||||
!! resize-font
|
||||
URxvt.resize-font.smaller: C-j
|
||||
URxvt.resize-font.bigger: C-k
|
||||
!! Matcher
|
||||
URxvt.url-launcher: urxvt -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss
|
||||
URxvt.matcher.button: 1
|
||||
!!clipboard
|
||||
URxvt.keysym.M-c: perl:clipboard:copy
|
||||
URxvt.keysym.M-v: perl:clipboard:paste
|
||||
URxvt*depth: 32
|
||||
|
||||
|
||||
! DTs Modified Ocean Dark
|
||||
!! COLORS
|
||||
|
||||
! special
|
||||
URxvt*foreground: #c0c5ce
|
||||
URxvt*background: [100]#1D2330
|
||||
URxvt*cursorColor: #c0c5ce
|
||||
|
||||
XTerm*foreground: #c0c5ce
|
||||
XTerm*background: #1D2330
|
||||
XTerm*cursorColor: #c0c5ce
|
||||
|
||||
|
||||
! black
|
||||
*.color0: #1D2330
|
||||
*.color8: #4B5665
|
||||
|
||||
! red
|
||||
*.color1: #645377
|
||||
*.color9: #84598D
|
||||
|
||||
! green
|
||||
*.color2: #AD69AF
|
||||
*.color10: #7B8290
|
||||
|
||||
! yellow
|
||||
*.color3: #B1B5C8
|
||||
*.color11: #d1d7e1
|
||||
|
||||
! blue
|
||||
*.color4: #92969d
|
||||
*.color12: #4B5665
|
||||
|
||||
! magenta
|
||||
*.color5: #645377
|
||||
*.color13: #84598D
|
||||
|
||||
! cyan
|
||||
*.color6: #AD69AF
|
||||
*.color14: #7B8290
|
||||
|
||||
! white
|
||||
*.color7: #B1B5C8
|
||||
*.color15: #d1d7e1
|
360
.config/canto/conf
Executable file
|
@ -0,0 +1,360 @@
|
|||
{
|
||||
"CantoCurses": {
|
||||
"browser": {
|
||||
"path": "lynx",
|
||||
"text": true
|
||||
},
|
||||
"color": {
|
||||
"1": 0,
|
||||
"10": 9,
|
||||
"100": 99,
|
||||
"101": 100,
|
||||
"102": 101,
|
||||
"103": 102,
|
||||
"104": 103,
|
||||
"105": 104,
|
||||
"106": 105,
|
||||
"107": 106,
|
||||
"108": 107,
|
||||
"109": 108,
|
||||
"11": 10,
|
||||
"110": 109,
|
||||
"111": 110,
|
||||
"112": 111,
|
||||
"113": 112,
|
||||
"114": 113,
|
||||
"115": 114,
|
||||
"116": 115,
|
||||
"117": 116,
|
||||
"118": 117,
|
||||
"119": 118,
|
||||
"12": 11,
|
||||
"120": 119,
|
||||
"121": 120,
|
||||
"122": 121,
|
||||
"123": 122,
|
||||
"124": 123,
|
||||
"125": 124,
|
||||
"126": 125,
|
||||
"127": 126,
|
||||
"128": 127,
|
||||
"129": 128,
|
||||
"13": 12,
|
||||
"130": 129,
|
||||
"131": 130,
|
||||
"132": 131,
|
||||
"133": 132,
|
||||
"134": 133,
|
||||
"135": 134,
|
||||
"136": 135,
|
||||
"137": 136,
|
||||
"138": 137,
|
||||
"139": 138,
|
||||
"14": 13,
|
||||
"140": 139,
|
||||
"141": 140,
|
||||
"142": 141,
|
||||
"143": 142,
|
||||
"144": 143,
|
||||
"145": 144,
|
||||
"146": 145,
|
||||
"147": 146,
|
||||
"148": 147,
|
||||
"149": 148,
|
||||
"15": 14,
|
||||
"150": 149,
|
||||
"151": 150,
|
||||
"152": 151,
|
||||
"153": 152,
|
||||
"154": 153,
|
||||
"155": 154,
|
||||
"156": 155,
|
||||
"157": 156,
|
||||
"158": 157,
|
||||
"159": 158,
|
||||
"16": 15,
|
||||
"160": 159,
|
||||
"161": 160,
|
||||
"162": 161,
|
||||
"163": 162,
|
||||
"164": 163,
|
||||
"165": 164,
|
||||
"166": 165,
|
||||
"167": 166,
|
||||
"168": 167,
|
||||
"169": 168,
|
||||
"17": 16,
|
||||
"170": 169,
|
||||
"171": 170,
|
||||
"172": 171,
|
||||
"173": 172,
|
||||
"174": 173,
|
||||
"175": 174,
|
||||
"176": 175,
|
||||
"177": 176,
|
||||
"178": 177,
|
||||
"179": 178,
|
||||
"18": 17,
|
||||
"180": 179,
|
||||
"181": 180,
|
||||
"182": 181,
|
||||
"183": 182,
|
||||
"184": 183,
|
||||
"185": 184,
|
||||
"186": 185,
|
||||
"187": 186,
|
||||
"188": 187,
|
||||
"189": 188,
|
||||
"19": 18,
|
||||
"190": 189,
|
||||
"191": 190,
|
||||
"192": 191,
|
||||
"193": 192,
|
||||
"194": 193,
|
||||
"195": 194,
|
||||
"196": 195,
|
||||
"197": 196,
|
||||
"198": 197,
|
||||
"199": 198,
|
||||
"2": 1,
|
||||
"20": 19,
|
||||
"200": 199,
|
||||
"201": 200,
|
||||
"202": 201,
|
||||
"203": 202,
|
||||
"204": 203,
|
||||
"205": 204,
|
||||
"206": 205,
|
||||
"207": 206,
|
||||
"208": 207,
|
||||
"209": 208,
|
||||
"21": 20,
|
||||
"210": 209,
|
||||
"211": 210,
|
||||
"212": 211,
|
||||
"213": 212,
|
||||
"214": 213,
|
||||
"215": 214,
|
||||
"216": 215,
|
||||
"217": 216,
|
||||
"218": 217,
|
||||
"219": 218,
|
||||
"22": 21,
|
||||
"220": 219,
|
||||
"221": 220,
|
||||
"222": 221,
|
||||
"223": 222,
|
||||
"224": 223,
|
||||
"225": 224,
|
||||
"226": 225,
|
||||
"227": 226,
|
||||
"228": 227,
|
||||
"229": 228,
|
||||
"23": 22,
|
||||
"230": 229,
|
||||
"231": 230,
|
||||
"232": 231,
|
||||
"233": 232,
|
||||
"234": 233,
|
||||
"235": 234,
|
||||
"236": 235,
|
||||
"237": 236,
|
||||
"238": 237,
|
||||
"239": 238,
|
||||
"24": 23,
|
||||
"240": 239,
|
||||
"241": 240,
|
||||
"242": 241,
|
||||
"243": 242,
|
||||
"244": 243,
|
||||
"245": 244,
|
||||
"246": 245,
|
||||
"247": 246,
|
||||
"248": 247,
|
||||
"249": 248,
|
||||
"25": 24,
|
||||
"250": 249,
|
||||
"251": 250,
|
||||
"252": 251,
|
||||
"253": 252,
|
||||
"254": 253,
|
||||
"255": 254,
|
||||
"256": 255,
|
||||
"26": 25,
|
||||
"27": 26,
|
||||
"28": 27,
|
||||
"29": 28,
|
||||
"3": 2,
|
||||
"30": 29,
|
||||
"31": 30,
|
||||
"32": 31,
|
||||
"33": 32,
|
||||
"34": 33,
|
||||
"35": 34,
|
||||
"36": 35,
|
||||
"37": 36,
|
||||
"38": 37,
|
||||
"39": 38,
|
||||
"4": 3,
|
||||
"40": 39,
|
||||
"41": 40,
|
||||
"42": 41,
|
||||
"43": 42,
|
||||
"44": 43,
|
||||
"45": 44,
|
||||
"46": 45,
|
||||
"47": 46,
|
||||
"48": 47,
|
||||
"49": 48,
|
||||
"5": 4,
|
||||
"50": 49,
|
||||
"51": 50,
|
||||
"52": 51,
|
||||
"53": 52,
|
||||
"54": 53,
|
||||
"55": 54,
|
||||
"56": 55,
|
||||
"57": 56,
|
||||
"58": 57,
|
||||
"59": 58,
|
||||
"6": 5,
|
||||
"60": 59,
|
||||
"61": 60,
|
||||
"62": 61,
|
||||
"63": 62,
|
||||
"64": 63,
|
||||
"65": 64,
|
||||
"66": 65,
|
||||
"67": 66,
|
||||
"68": 67,
|
||||
"69": 68,
|
||||
"7": 6,
|
||||
"70": 69,
|
||||
"71": 70,
|
||||
"72": 71,
|
||||
"73": 72,
|
||||
"74": 73,
|
||||
"75": 74,
|
||||
"76": 75,
|
||||
"77": 76,
|
||||
"78": 77,
|
||||
"79": 78,
|
||||
"8": 7,
|
||||
"80": 79,
|
||||
"81": 80,
|
||||
"82": 81,
|
||||
"83": 82,
|
||||
"84": 83,
|
||||
"85": 84,
|
||||
"86": 85,
|
||||
"87": 86,
|
||||
"88": 87,
|
||||
"89": 88,
|
||||
"9": 8,
|
||||
"90": 89,
|
||||
"91": 90,
|
||||
"92": 91,
|
||||
"93": 92,
|
||||
"94": 93,
|
||||
"95": 94,
|
||||
"96": 95,
|
||||
"97": 96,
|
||||
"98": 97,
|
||||
"99": 98,
|
||||
"defbg": -1,
|
||||
"deffg": -1,
|
||||
"enum_hints": 8,
|
||||
"error": 6,
|
||||
"marked": 8,
|
||||
"pending": 8,
|
||||
"read": 2,
|
||||
"reader_image_link": 4,
|
||||
"reader_italics": 8,
|
||||
"reader_link": 3,
|
||||
"reader_quote": 6,
|
||||
"selected": -1,
|
||||
"unread": 1
|
||||
},
|
||||
"config_version": 1,
|
||||
"reader": {
|
||||
"enumerate_links": true,
|
||||
"show_description": true,
|
||||
"show_enclosures": true
|
||||
},
|
||||
"tagorder": [
|
||||
"maintag:Linux.com - Latest News",
|
||||
"maintag:Linux Journal - The Original Magazine of the Linux Community",
|
||||
"maintag:Phoronix",
|
||||
"maintag:Unixmen",
|
||||
"category:[Linux]"
|
||||
]
|
||||
},
|
||||
"defaults": {
|
||||
"global_transform": "filter_read",
|
||||
"keep_time": 86400,
|
||||
"keep_unread": false,
|
||||
"rate": 10
|
||||
},
|
||||
"feeds": [
|
||||
{
|
||||
"name": "Linux.com - Latest News",
|
||||
"url": "https://www.linux.com/feeds/news/rss"
|
||||
},
|
||||
{
|
||||
"name": "Phoronix",
|
||||
"url": "https://www.phoronix.com/rss.php"
|
||||
},
|
||||
{
|
||||
"name": "Linux Journal - The Original Magazine of the Linux Community",
|
||||
"url": "http://feeds.feedburner.com/linuxjournalcom"
|
||||
},
|
||||
{
|
||||
"name": "Unixmen",
|
||||
"url": "https://www.unixmen.com/feed/"
|
||||
}
|
||||
],
|
||||
"tags": {
|
||||
"maintag:DistroWatch.com: News": {
|
||||
"collapsed": false,
|
||||
"extra_tags": [
|
||||
"category:[Linux]"
|
||||
]
|
||||
},
|
||||
"maintag:Linux Journal - The Original Magazine of the Linux Community": {
|
||||
"collapsed": false,
|
||||
"extra_tags": [
|
||||
"category:[Linux]"
|
||||
]
|
||||
},
|
||||
"maintag:Linux.com - Latest News": {
|
||||
"collapsed": false,
|
||||
"extra_tags": [
|
||||
"category:[Linux]"
|
||||
]
|
||||
},
|
||||
"maintag:OMG! Ubuntu!": {
|
||||
"collapsed": false,
|
||||
"extra_tags": [
|
||||
"category:[Linux]"
|
||||
]
|
||||
},
|
||||
"maintag:Phoronix": {
|
||||
"collapsed": false,
|
||||
"extra_tags": [
|
||||
"category:[Linux]"
|
||||
]
|
||||
},
|
||||
"maintag:Slashdot": {
|
||||
"collapsed": false,
|
||||
"extra_tags": [
|
||||
"category:[Linux]"
|
||||
]
|
||||
},
|
||||
"maintag:Unixmen": {
|
||||
"collapsed": false,
|
||||
"extra_tags": [
|
||||
"category:[Linux]"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
79
.config/compton/compton.conf
Executable file
|
@ -0,0 +1,79 @@
|
|||
shadow = true;
|
||||
detect-rounded-corners = true;
|
||||
shadow-radius = 5;
|
||||
shadow-offset-x = 1;
|
||||
shadow-offset-y = 1;
|
||||
shadow-opacity = 0.3;
|
||||
shadow-ignore-shaped = false;
|
||||
shadow-exclude = [ "name = 'Notification'", "override_redirect = 1 && !WM_CLASS@:s", "class_g ?= 'Dmenu'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "_GTK_FRAME_EXTENTS@:c", "class_g ?= 'i3-frame'" ];
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1;
|
||||
alpha-step = 0.01;
|
||||
inactive-dim = 0.0;
|
||||
blur-background = false;
|
||||
blur-kern = "3x3box";
|
||||
fading = false;
|
||||
fade-delta = 1;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
fade-exclude = [ ];
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-client-opacity = true;
|
||||
unredir-if-possible = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "none";
|
||||
dbe = false;
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
glx-copy-from-front = false;
|
||||
glx-swap-method = "undefined";
|
||||
opacity-rule = [ "99:name *?= 'Call'",
|
||||
"99:class_g = 'Chromium'",
|
||||
"99:name *?= 'Conky'",
|
||||
"99:class_g = 'Darktable'",
|
||||
"50:class_g = 'Dmenu'",
|
||||
"99:name *?= 'Event'",
|
||||
"99:class_g = 'Firefox'",
|
||||
"99:class_g = 'GIMP'",
|
||||
"99:name *?= 'Image'",
|
||||
"99:class_g = 'Lazpaint'",
|
||||
"99:class_g = 'Midori'",
|
||||
"99:name *?= 'Minitube'",
|
||||
"99:class_g = 'Mousepad'",
|
||||
"99:name *?= 'MuseScore'",
|
||||
"90:name *?= 'Page Info'",
|
||||
"90:name *?= 'Panel'",
|
||||
"99:class_g = 'Pinta'",
|
||||
"90:name *?= 'Restart'",
|
||||
"99:name *?= 'sudo'",
|
||||
"99:name *?= 'Screenshot'",
|
||||
"99:class_g = 'Viewnior'",
|
||||
"99:class_g = 'VirtualBox'",
|
||||
"99:name *?= 'VLC'",
|
||||
"99:name *?= 'Write'",
|
||||
"95:class_g = 'XTerm' && !_NET_WM_STATE@:32a",
|
||||
"95:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
|
||||
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" ];
|
||||
wintypes :
|
||||
{
|
||||
tooltip :
|
||||
{
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 0.85;
|
||||
focus = true;
|
||||
};
|
||||
fullscreen :
|
||||
{
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 1;
|
||||
focus = true;
|
||||
};
|
||||
};
|
103
.config/conky/openbox.conkyrc
Normal file
|
@ -0,0 +1,103 @@
|
|||
|
||||
own_window yes
|
||||
own_window_type normal
|
||||
# own_window_argb_visual yes
|
||||
# own_window_argb_value 125
|
||||
own_window_transparent no
|
||||
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
|
||||
own_window_colour 222222
|
||||
own_window_class Conky
|
||||
own_window_title Monitor Conky
|
||||
|
||||
gap_x 3580
|
||||
gap_y 60
|
||||
alignment tl
|
||||
minimum_width 220
|
||||
|
||||
use_xft yes
|
||||
xftfont Cantarell:size=9
|
||||
xftalpha 1
|
||||
override_utf8_locale yes
|
||||
draw_shades no #yes
|
||||
default_shade_color 000000
|
||||
draw_outline no
|
||||
default_outline_color 000000
|
||||
|
||||
color2 ededed
|
||||
color3 109567
|
||||
cpu_avg_samples 2
|
||||
default_color bbbbbb
|
||||
|
||||
draw_borders no #yes
|
||||
|
||||
stippled_borders 5
|
||||
border_inner_margin 15
|
||||
border_outer_margin 0
|
||||
border_width 1
|
||||
|
||||
background yes
|
||||
no_buffers yes
|
||||
imlib_cache_size 0
|
||||
|
||||
double_buffer yes
|
||||
update_interval 1
|
||||
|
||||
|
||||
TEXT
|
||||
${voffset 8}$color${font Cantarell:size=16}${time %A}$font${voffset -8}$alignr${color 109567}${font Cantarell:size=38}${time %e}$font
|
||||
$color${voffset -30}$color${font Cantarell:size=18}${time %B}$font${voffset -3} $color${font Cantarell:size=20}${time %Y}$font
|
||||
#${voffset 10}$alignr$color Kraków (PL) ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPKK temperature temperature 15}°C
|
||||
#
|
||||
${voffset 10}${goto 12}${color3}${font Cantarell:size=9:bold}CPU$alignr${color2}${font}$cpu%
|
||||
$color2${goto 12}${cpubar 4,200}
|
||||
${voffset 5}${goto 12}$font$color2${top name 1}$alignr$color${top cpu 1}%
|
||||
${goto 12}$color2${top name 2}$alignr$color${top cpu 2}%
|
||||
${goto 12}$color2${top name 3}$alignr$color${top cpu 3}%
|
||||
${goto 12}$color2${top name 4}$alignr$color${top cpu 4}%
|
||||
#
|
||||
${voffset 10}${goto 12}${color3}${font Cantarell:size=9:bold}RAM$alignr${color2}${font}$mem/$memmax
|
||||
$color2${goto 12}${membar 4,200}
|
||||
${goto 12}${voffset 5}$color2${top_mem name 1}$alignr$color${top_mem mem_res 1}
|
||||
${goto 12}$color2${top_mem name 2}$alignr$color${top_mem mem_res 2}
|
||||
${goto 12}$color2${top_mem name 3}$alignr$color${top_mem mem_res 3}
|
||||
${goto 12}$color2${top_mem name 4}$alignr$color${top_mem mem_res 4}
|
||||
#
|
||||
${voffset 10}$alignr disk ${color2}${fs_used /} - ${fs_size /}
|
||||
$alignr$color memory ${color2}$mem - $memmax
|
||||
#${alignr}${color2}${font Cantarell:size=9}swap $swapmax - $swap
|
||||
${voffset 10}$alignr${execi 1200 whoami}@${nodename}
|
||||
${alignr}${color2}${font Cantarell:size=9}uptime ${color}${uptime_short}
|
||||
$alignr${color} Manjaro Linux ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
||||
${alignr}${color2}${font Cantarell:size=9}${alignr}kernel ${color}${kernel}
|
||||
${alignr}${color2}${font Cantarell:size=9}${alignr}filesystem ${color}${fs_type}
|
||||
${voffset 10}${alignr}${color} packages installed: ${color2}${execi 10000 pacman -Q | wc -l}
|
||||
${alignr}${color} available updates ${color CC2A2E}${font Cantarell:bold:size=10}${execpi 10800 checkupdates | wc -l}${font}${color}
|
||||
${alignr}${color} last updated on: ${font Cantarell:size=8}${color2}${execi 10000 grep "starting full system upgrade" /var/log/pacman.log | tail -n1| cut --bytes=2-17}
|
||||
${voffset 14}${color3}${font Cantarell:size=9:bold}APPLICATIONS${font}${voffset -6}
|
||||
${color2}${hr 1}${voffset -6}
|
||||
${color2}terminal ${alignr}${color}super+enter
|
||||
${color2}menu ${alignr}${color}super+spacebar
|
||||
${color2}run command... ${alignr}${color}super+r
|
||||
${color2}file manager ${alignr}${color}super+f
|
||||
${color2}web browser ${alignr}${color}super+w
|
||||
${color2}volume control ${alignr}${color}super+v
|
||||
${color2}lock screen ${alignr}${color}super+l
|
||||
${color2}xkill ${alignr}${color}shift+super+k
|
||||
${color2}exit openbox ${alignr}${color}shift+super+q
|
||||
${voffset 10}${color3}${font Cantarell:size=9:bold}WINDOWS${font}${voffset -6}
|
||||
${color2}${hr 1}${voffset -6}
|
||||
${color2}close ${alignr} ${color}shift+super+c
|
||||
${color2}minimalize ${alignr} ${color}alt+up arrow
|
||||
${color2}maximize ${alignr} ${color}alt+down arrow
|
||||
${color2}lower ${alignr} ${color}alt+esc
|
||||
${color2}show desktop ${alignr} ${color}super+d
|
||||
${color2}toggle borders ${alignr} ${color}shift+super+b
|
||||
${color2}toggle fullscreen ${alignr} ${color}shift+super+enter
|
||||
${color2}resize/move ${alignr} ${color}super+arrows
|
||||
${color2}window placement:
|
||||
${color2} - half screen ${alignr} ${color}super+alt+arrows
|
||||
${color2} - 1/4 screen ${alignr} ${color}super+alt+keypad[1..9]
|
||||
${color2} - 1/9 screen ${alignr} ${color}super+keypad[1..9]
|
||||
${voffset 10}${color3}${font Cantarell:size=9:bold}DESKTOPS${font}${voffset -6}
|
||||
${color2}${hr 1}${voffset -6}
|
||||
${color2}go to desktop ${alignr} ${color}super+[F1..F4]
|
172
.config/herbstluftwm/autostart
Executable file
|
@ -0,0 +1,172 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# this is a simple config for herbstluftwm
|
||||
|
||||
hc() {
|
||||
herbstclient "$@"
|
||||
}
|
||||
|
||||
hc emit_hook reload
|
||||
|
||||
xsetroot -solid '#5A8E3A'
|
||||
|
||||
nitrogen --restore
|
||||
urxvtd -q -o -f
|
||||
|
||||
# remove all existing keybindings
|
||||
hc keyunbind --all
|
||||
|
||||
# keybindings
|
||||
# if you have a super key you will be much happier with Mod set to Mod4
|
||||
#Mod=Mod1 # Use alt as the main modifier
|
||||
Mod=Mod4 # Use the super key as the main modifier
|
||||
|
||||
hc keybind $Mod-Shift-q quit
|
||||
hc keybind $Mod-Shift-r reload
|
||||
hc keybind $Mod-Shift-c close
|
||||
hc keybind $Mod-Return spawn urxvtc
|
||||
|
||||
# basic movement
|
||||
# focusing clients
|
||||
hc keybind $Mod-Left focus left
|
||||
hc keybind $Mod-Down focus down
|
||||
hc keybind $Mod-Up focus up
|
||||
hc keybind $Mod-Right focus right
|
||||
hc keybind $Mod-h focus left
|
||||
hc keybind $Mod-j focus down
|
||||
hc keybind $Mod-k focus up
|
||||
hc keybind $Mod-l focus right
|
||||
|
||||
# moving clients
|
||||
hc keybind $Mod-Shift-Left shift left
|
||||
hc keybind $Mod-Shift-Down shift down
|
||||
hc keybind $Mod-Shift-Up shift up
|
||||
hc keybind $Mod-Shift-Right shift right
|
||||
hc keybind $Mod-Shift-h shift left
|
||||
hc keybind $Mod-Shift-j shift down
|
||||
hc keybind $Mod-Shift-k shift up
|
||||
hc keybind $Mod-Shift-l shift right
|
||||
|
||||
# splitting frames
|
||||
# create an empty frame at the specified direction
|
||||
hc keybind $Mod-u split bottom 0.5
|
||||
hc keybind $Mod-o split right 0.5
|
||||
# let the current frame explode into subframes
|
||||
hc keybind $Mod-Control-space split explode
|
||||
|
||||
# resizing frames
|
||||
resizestep=0.05
|
||||
hc keybind $Mod-Control-h resize left +$resizestep
|
||||
hc keybind $Mod-Control-j resize down +$resizestep
|
||||
hc keybind $Mod-Control-k resize up +$resizestep
|
||||
hc keybind $Mod-Control-l resize right +$resizestep
|
||||
hc keybind $Mod-Control-Left resize left +$resizestep
|
||||
hc keybind $Mod-Control-Down resize down +$resizestep
|
||||
hc keybind $Mod-Control-Up resize up +$resizestep
|
||||
hc keybind $Mod-Control-Right resize right +$resizestep
|
||||
|
||||
# tags
|
||||
tag_names=( {1..9} )
|
||||
tag_keys=( {1..9} 0 )
|
||||
|
||||
hc rename default "${tag_names[0]}" || true
|
||||
for i in ${!tag_names[@]} ; do
|
||||
hc add "${tag_names[$i]}"
|
||||
key="${tag_keys[$i]}"
|
||||
if ! [ -z "$key" ] ; then
|
||||
hc keybind "$Mod-$key" use_index "$i"
|
||||
hc keybind "$Mod-Shift-$key" move_index "$i"
|
||||
fi
|
||||
done
|
||||
|
||||
# cycle through tags
|
||||
hc keybind $Mod-period use_index +1 --skip-visible
|
||||
hc keybind $Mod-comma use_index -1 --skip-visible
|
||||
|
||||
# layouting
|
||||
hc keybind $Mod-r remove
|
||||
hc keybind $Mod-s floating toggle
|
||||
hc keybind $Mod-f fullscreen toggle
|
||||
hc keybind $Mod-p pseudotile toggle
|
||||
# The following cycles through the available layouts within a frame, but skips
|
||||
# layouts, if the layout change wouldn't affect the actual window positions.
|
||||
# I.e. if there are two windows within a frame, the grid layout is skipped.
|
||||
hc keybind $Mod-space \
|
||||
or , and . compare tags.focus.curframe_wcount = 2 \
|
||||
. cycle_layout +1 vertical horizontal max vertical grid \
|
||||
, cycle_layout +1
|
||||
|
||||
# mouse
|
||||
hc mouseunbind --all
|
||||
hc mousebind $Mod-Button1 move
|
||||
hc mousebind $Mod-Button2 zoom
|
||||
hc mousebind $Mod-Button3 resize
|
||||
|
||||
# focus
|
||||
hc keybind $Mod-BackSpace cycle_monitor
|
||||
hc keybind $Mod-Tab cycle_all +1
|
||||
hc keybind $Mod-Shift-Tab cycle_all -1
|
||||
hc keybind $Mod-c cycle
|
||||
hc keybind $Mod-i jumpto urgent
|
||||
|
||||
# theme
|
||||
hc attr theme.tiling.reset 1
|
||||
hc attr theme.floating.reset 1
|
||||
hc set frame_border_active_color '#222222'
|
||||
hc set frame_border_normal_color '#101010'
|
||||
hc set frame_bg_normal_color '#565656'
|
||||
hc set frame_bg_active_color '#345F0C'
|
||||
hc set frame_border_width 1
|
||||
hc set always_show_frame 1
|
||||
hc set frame_bg_transparent 1
|
||||
hc set frame_transparent_width 5
|
||||
hc set frame_gap 4
|
||||
|
||||
hc attr theme.active.color '#9fbc00'
|
||||
hc attr theme.normal.color '#454545'
|
||||
hc attr theme.urgent.color orange
|
||||
hc attr theme.inner_width 1
|
||||
hc attr theme.inner_color black
|
||||
hc attr theme.border_width 3
|
||||
hc attr theme.floating.border_width 4
|
||||
hc attr theme.floating.outer_width 1
|
||||
hc attr theme.floating.outer_color black
|
||||
hc attr theme.active.inner_color '#3E4A00'
|
||||
hc attr theme.active.outer_color '#3E4A00'
|
||||
hc attr theme.background_color '#141414'
|
||||
|
||||
hc set window_gap 0
|
||||
hc set frame_padding 0
|
||||
hc set smart_window_surroundings 0
|
||||
hc set smart_frame_surroundings 1
|
||||
hc set mouse_recenter_gap 0
|
||||
|
||||
# rules
|
||||
hc unrule -F
|
||||
#hc rule class=XTerm tag=3 # move all xterms to tag 3
|
||||
hc rule focus=on # normally focus new clients
|
||||
#hc rule focus=off # normally do not focus new clients
|
||||
# give focus to most common terminals
|
||||
#hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on
|
||||
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on
|
||||
hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
|
||||
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off
|
||||
|
||||
# unlock, just to be sure
|
||||
hc unlock
|
||||
|
||||
herbstclient set tree_style '╾│ ├└╼─┐'
|
||||
|
||||
# do multi monitor setup here, e.g.:
|
||||
# hc set_monitors 1280x1024+0+0 1280x1024+1280+0
|
||||
# or simply:
|
||||
# hc detect_monitors
|
||||
hc set_monitors 1920x1054+1920+26 1920x1054+3840+26 1920x1054+0+26
|
||||
|
||||
# find the panel
|
||||
panel=~/.config/herbstluftwm/panel.sh
|
||||
[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh
|
||||
for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do
|
||||
# start it on each monitor
|
||||
"$panel" $monitor &
|
||||
done
|
75
.config/herbstluftwm/panel.sh
Executable file
|
@ -0,0 +1,75 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Panel for herbstluftwm using dzen2
|
||||
|
||||
## dzen stuff
|
||||
FG='#CCCCCC'
|
||||
BG='#333333'
|
||||
FONT="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*"
|
||||
|
||||
monitor=$@
|
||||
|
||||
rect="$(herbstclient monitor_rect $monitor)"
|
||||
xoff=$(echo $rect | awk '{print $1}')
|
||||
yoff=0
|
||||
width=$(echo $rect | awk '{print $3}')
|
||||
height=$(echo $rect | awk '{print $2}')
|
||||
|
||||
function uniq_linebuffered() {
|
||||
awk '$0 != l { print ; l=$0 ; fflush(); }' "$@"
|
||||
}
|
||||
|
||||
{
|
||||
conky -c ~/.config/herbstluftwm/statusbar | while read -r; do
|
||||
echo -e "conky $REPLY";
|
||||
|
||||
done > >(uniq_linebuffered) &
|
||||
childpid=$!
|
||||
herbstclient --idle
|
||||
kill $childpid
|
||||
} | {
|
||||
TAGS=( $(herbstclient tag_status $monitor) )
|
||||
conky=""
|
||||
separator="^fg(#002B36)^ro(1x16)^fg()"
|
||||
while true; do
|
||||
for i in "${TAGS[@]}"; do
|
||||
echo -n "^ca(1,herbstclient use ${i:1}) "
|
||||
case ${i:0:1} in
|
||||
'#')
|
||||
echo -n "^fg(#2290B5)[^fg(#FFCC30)${i:1}^fg(#2290B5)]"
|
||||
;;
|
||||
'%')
|
||||
echo -n "^fg(#2290B5)(^fg(#FFCC30)${i:1}^fg(#2290B5))"
|
||||
;;
|
||||
'+')
|
||||
echo -n "^fg(#2290B5)[^fg(#CCCCCC)${i:1}^fg(#2290B5)]"
|
||||
;;
|
||||
'-')
|
||||
echo -n "^fg(#2290B5)(^fg(#CCCCCC)${i:1}^fg(#2290B5))"
|
||||
;;
|
||||
':')
|
||||
echo -n "^fg(#CCCCCC) ${i:1} "
|
||||
;;
|
||||
*)
|
||||
echo -n "^fg(#2290B5) ${i:1} "
|
||||
;;
|
||||
esac
|
||||
echo -n "^ca()"
|
||||
done
|
||||
echo -n " $separator"
|
||||
conky_text_only=$(echo -n "$conky "|sed 's.\^[^(]*([^)]*)..g')
|
||||
width=$(textwidth "$FONT" "$conky_text_only ")
|
||||
echo -n "^p(_RIGHT)^p(-$width)$conky"
|
||||
echo
|
||||
read line || break
|
||||
cmd=( $line )
|
||||
case "$cmd[0]" in
|
||||
tag*)
|
||||
TAGS=( $(herbstclient tag_status $monitor) )
|
||||
;;
|
||||
conky*)
|
||||
conky="${cmd[@]:1}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
} 2> /dev/null |dzen2 -ta l -y $yoff -x $xoff -h $height -w $width -fg $FG -bg $BG -fn $FONT &
|
32
.config/herbstluftwm/rename.sh
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
function hc() {
|
||||
herbstclient "$@"
|
||||
}
|
||||
|
||||
tags=$(hc tag_status)
|
||||
current=""
|
||||
|
||||
for i in ${tags}; do
|
||||
if [[ ${i:0:1} == '#' ]]; then
|
||||
current=${i}
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# If : is in current tag
|
||||
if [[ "$current" == *:* ]]; then
|
||||
num=$(echo $current | sed -e 's/#\([^:]*\):.*/\1/')
|
||||
name=$(echo $current | sed -e 's/#[^:]*:\(.*\)/\1/')
|
||||
|
||||
old_tag=${num}:${name}
|
||||
new_name=$(echo ${name} | dmenu -p "Rename #${num}: ")
|
||||
new_tag=${num}:${new_name}
|
||||
else
|
||||
old_tag=$(echo ${current} | sed -e 's/^#//')
|
||||
new_name=$(echo "" | dmenu -p "Rename #${old_tag}: ")
|
||||
new_tag="${old_tag}:${new_name}"
|
||||
fi
|
||||
|
||||
hc rename "${old_tag}" "${new_tag}"
|
||||
hc rename ${num}:${name} "${num}:${new_name}"
|
4
.config/openbox/autostart
Normal file
|
@ -0,0 +1,4 @@
|
|||
tint2 &
|
||||
compton &
|
||||
nitrogen --restore &
|
||||
rofi -show run &
|
755
.config/openbox/menu.xml
Executable file
|
@ -0,0 +1,755 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
|
||||
<menu id="root-menu" label="Openbox 3">
|
||||
<menu id="root-menu-753414" label="Accessories">
|
||||
<menu id="root-menu-753414-475139" label="Conky">
|
||||
<menu id="root-menu-753414-475139-434521" label="Brownie">
|
||||
<item label="Conky Darkness (Start)">
|
||||
<action name="Execute">
|
||||
<execute>/home/derek/.conky/conky_start_brownie</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-753414-475139-87203" label="Rings">
|
||||
<item label="Conky Rings (Start)">
|
||||
<action name="Execute">
|
||||
<execute>conky -c '/home/derek/.conky/Rings/.conkyrc'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Rings (Edit)">
|
||||
<action name="Execute">
|
||||
<execute>gedit /home/derek/.conky/Rings/.conkyrc</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-753414-475139-195435" label="Electro">
|
||||
<item label="Conky (start)">
|
||||
<action name="Execute">
|
||||
<execute>/home/derek/.conky/conky_start_electro</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Conkyrc (edit)">
|
||||
<action name="Execute">
|
||||
<execute>geany ~/.conky/electro/electro-1366.conkyrc</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<item label="Conky (Kill All)">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
killall conky
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<item label="Archive Manager">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[file-roller]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Calculator">
|
||||
<action name="Execute">
|
||||
<execute>galculator</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Character Map">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
gucharmap
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Font Viewer">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[gnome-font-viewer]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Leafpad">
|
||||
<action name="Execute">
|
||||
<execute>leafpad</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="ProRealTime">
|
||||
<action name="Execute">
|
||||
<execute>java -jar '/home/derek/PRT_Launcher.jar'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Take Screenshot">
|
||||
<action name="Execute">
|
||||
<execute>scrot</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Terminal">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
x-terminal-emulator
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Thinkorswim">
|
||||
<action name="Execute">
|
||||
<execute>/bin/sh /home/derek/thinkorswim.desktop</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Tint2 (start)">
|
||||
<action name="Execute">
|
||||
<execute>tint2</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Tint2 (killall)">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
killall tint2
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-703427" label="Games">
|
||||
<menu execute="~/.config/openbox/pipemenus/steam.sh" id="steam" label="Steam"/>
|
||||
<item label="0 A.D.">
|
||||
<action name="Execute">
|
||||
<execute>0ad</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="AisleRiot Solitaire">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
/usr/games/sol
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Mahjongg">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[gnome-mahjongg]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Mines">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[gnome-mines]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Sudoku">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
/usr/games/gnome-sudoku
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="SuperTuxKart">
|
||||
<action name="Execute">
|
||||
<execute>supertuxkart</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Xonotic">
|
||||
<action name="Execute">
|
||||
<execute>'/home/derek/Games/Xonotic/xonotic-linux64-glx'</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-763440" label="Graphics">
|
||||
<item label="Gimp">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
gimp
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="ImageMagick (display)">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[/usr/bin/display.im6]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Image Viewer">
|
||||
<action name="Execute">
|
||||
<execute>ristretto</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Inkscape">
|
||||
<action name="Execute">
|
||||
<execute>inkscape</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LibreOffice Drawing">
|
||||
<action name="Execute">
|
||||
<execute>libreoffice -draw</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LRF Viewer">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[lrfviewer]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Shotwell Photo Manager">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
shotwell
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Simple Scan">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
simple-scan
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-273054" label="Internet">
|
||||
<item label="Canto RSS Reader">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'canto-curses' -t 'Canto RSS Reader' </execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Deluge">
|
||||
<action name="Execute">
|
||||
<execute>deluge</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Discord">
|
||||
<action name="Execute">
|
||||
<execute>discord</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Dropbox">
|
||||
<action name="Execute">
|
||||
<execute>dropbox start -i</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="FileZilla">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
filezilla
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Firefox">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
firefox
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Irssi IRC">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'irssi' -t 'irssi'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Lynx">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'lynx www.google.com' -t 'lynx web browser'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Mutt Email">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'mutt' -t 'mutt email'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="TeamViewer">
|
||||
<action name="Execute">
|
||||
<execute>teamviewer</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Thunderbird">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
thunderbird
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-47033" label="Programming">
|
||||
<item label="Geany">
|
||||
<action name="Execute">
|
||||
<execute>geany</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Netbeans">
|
||||
<action name="Execute">
|
||||
<execute>/bin/sh '/home/derek/netbeans-8.0.2/bin/netbeans'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="phpMyAdmin">
|
||||
<action name="Execute">
|
||||
<execute>sensible-browser http://localhost/phpmyadmin/</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Python3 in Terminal">
|
||||
<action name="Execute">
|
||||
<execute>x-terminal-emulator -e python3</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-135857" label="Office">
|
||||
<item label="Calibre">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[calibre]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Document Viewer">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[evince]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LibreOffice Calc">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[libreoffice --calc]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LibreOffice Draw">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[libreoffice --draw]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LibreOffice Impress">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[libreoffice --impress]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LibreOffice Math">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[libreoffice --math]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LibreOffice Writer">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[libreoffice --writer]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-943454" label="Sound & Video">
|
||||
<item label="AlsaMixer">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'alsamixer' -t 'alsamixer'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Anoise ">
|
||||
<action name="Execute">
|
||||
<execute>anoise</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Audacity">
|
||||
<action name="Execute">
|
||||
<execute>audacity</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Deadbeef">
|
||||
<action name="Execute">
|
||||
<execute>deadbeef</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Guvcview">
|
||||
<action name="Execute">
|
||||
<execute>guvcview</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="K3b Burner">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
k3b
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Kdenlive">
|
||||
<action name="Execute">
|
||||
<execute>kdenlive</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Open Broadcaster Software">
|
||||
<action name="Execute">
|
||||
<execute>obs</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Pulse Audio Volume Control">
|
||||
<action name="Execute">
|
||||
<execute>pavucontrol</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Pithos">
|
||||
<action name="Execute">
|
||||
<execute>pithos</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Simple Screen Recorder">
|
||||
<action name="Execute">
|
||||
<execute>simplescreenrecorder</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="VLC">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
vlc
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<!-- This requires the presence of the 'menu' package to work -->
|
||||
<separator/>
|
||||
<menu id="root-menu-151830" label="Places">
|
||||
<item label="Home">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Desktop">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Desktop</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="File System">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n /</execute>
|
||||
</action>
|
||||
</item>
|
||||
<separator/>
|
||||
<item label="Backgrounds">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Backgrounds</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Documents">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Documents</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Downloads">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Downloads</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Dropbox">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Dropbox</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Music">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Music</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Pictures">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Pictures</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Videos">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n ~/Videos</execute>
|
||||
</action>
|
||||
</item>
|
||||
<separator/>
|
||||
<item label="Computer">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n computer:///</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Network">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n network:///</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Trash">
|
||||
<action name="Execute">
|
||||
<execute>pcmanfm -n trash:///</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="client-list-menu"/>
|
||||
<menu execute="~/.config/openbox/pipemenus/obrecent.sh" id="recent" label="Recent Files"/>
|
||||
<separator/>
|
||||
<menu id="root-menu-454721" label="Administration">
|
||||
<menu id="root-menu-454721-901149" label="System Monitoring">
|
||||
<item label="Glances">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'glances' -t 'glances'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Htop">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'htop' -t 'htop'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Nmon">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'nmon' -t 'nmon'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Stacer">
|
||||
<action name="Execute">
|
||||
<execute>stacer</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Stress Terminal UI">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 's-tui' -t 'Stress Terminal UI'</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<item label="Network Connections">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[nm-connection-editor]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Nvidia Settings">
|
||||
<action name="Execute">
|
||||
<execute>/usr/bin/nvidia-settings</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Octopi">
|
||||
<action name="Execute">
|
||||
<execute>gksu octopi</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Openbox Config">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
obconf
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Openbox Menu">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
obmenu
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Printing">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
system-config-printer
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Ranger">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'ranger' -t 'ranger file manager'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Startup Disk Creator">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
usb-creator-gtk
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="SUSE Studio Imagewriter">
|
||||
<action name="Execute">
|
||||
<execute>imagewriter %f</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Timeshift">
|
||||
<action name="Execute">
|
||||
<execute>gksu timeshift-launcher</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Xdiagnose">
|
||||
<action name="Execute">
|
||||
<execute>gksu pkexec xdiagnose</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Users and Groups">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
users-admin
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-604715" label="Preferences">
|
||||
<item label="Activity Log Manager">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[activity-log-manager]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Appearance">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
lxappearance
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Backups">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[deja-dup-preferences]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Disk Usage Analyzer">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
baobab
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Disks Utility">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
<![CDATA[gnome-disks]]>
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Font Viewer">
|
||||
<action name="Execute">
|
||||
<execute>gnome-font-viewer</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="IBus Preferences">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
ibus-setup
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Input Method">
|
||||
<action name="Execute">
|
||||
<execute>im-config</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Main Menu">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
alacarte
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Nitrogen Wallpaper">
|
||||
<action name="Execute">
|
||||
<execute>nitrogen</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Passwords and Keys">
|
||||
<action name="Execute">
|
||||
<execute>/usr/bin/seahorse</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Personal File Sharing">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
gnome-file-share-properties
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Remote Desktop Preferences">
|
||||
<action name="Execute">
|
||||
<execute>
|
||||
vino-preferences
|
||||
</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Rofi Theme Selector">
|
||||
<action name="Execute">
|
||||
<execute>rofi-theme-selector</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Screensaver">
|
||||
<action name="Execute">
|
||||
<execute>xscreensaver-demo</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root-menu-46598" label="Config Files">
|
||||
<item label="Bash RC">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.bashrc' -t 'Bash RC'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Canto Conf">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.config/canto/conf' -t 'Canto Conf'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Compton">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.config/compton/compton.conf' -t 'Compton Conf'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Irssi">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.irssi/config' -t 'Irssi Conf'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Qtile Config">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.config/qtile/config.py' -t 'qtile config.py'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Termite Config">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.config/termite/config' -t 'Termite Config'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Xmonad Config">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.xmonad/xmonad.hs' -t 'xmonad.hs'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Xresources">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.Xresources' -t 'Xresrouces'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Zsh RC">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'vim ~/.zshrc' -t 'Zsh RC'</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<separator/>
|
||||
<menu execute="~/.config/openbox/pipemenus/deadbeef.sh" id="Music Player" label="Music Player"/>
|
||||
<separator/>
|
||||
<menu execute="~/.config/openbox/pipemenus/shell-color-scripts.sh" id="shell-color-scripts" label="Color Scripts"/>
|
||||
<menu execute="~/.config/openbox/pipemenus/sysinfo.py" id="sysinfo" label="System Info"/>
|
||||
<menu execute="~/.config/openbox/pipemenus/date-menu.py" id="datetime" label="Time and Date"/>
|
||||
<menu execute="~/.config/openbox/pipemenus/virtualbox.sh" id="virtualbox" label="VirtualBox"/>
|
||||
<separator/>
|
||||
<item label="Rofi">
|
||||
<action name="Execute">
|
||||
<execute>rofi -show drun</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Terminal">
|
||||
<action name="Execute">
|
||||
<execute>termite</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Web Browser">
|
||||
<action name="Execute">
|
||||
<execute>firefox</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Exit">
|
||||
<action name="Exit"/>
|
||||
</item>
|
||||
</menu>
|
||||
</openbox_menu>
|
42
.config/openbox/pipemenus/date-menu.py
Executable file
|
@ -0,0 +1,42 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# DATE-MENU by Derek Taylor (DistroTube)
|
||||
# A simple python script that creates an openbox pipemenu that displays time and date.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify it under the terms of
|
||||
# the GNU General Public License version 3 as published by the Free Software Foundation.
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program. If not, see: http://www.gnu.org/licenses
|
||||
|
||||
# Copy this file somewhere on your path and make it executable.
|
||||
# Add the following line somewhere to your /.config/openbox/menu.xml
|
||||
# <menu execute="/PATH/TO/date-menu.py" id="datetime" label="Time and Date"/>
|
||||
# Be sure to change the PATH/TO to the correct path to this file.
|
||||
# Reconfigure openbox.
|
||||
|
||||
# SETTINGS
|
||||
|
||||
import datetime
|
||||
|
||||
dt = datetime.datetime.now()
|
||||
theDate = dt.strftime('%A, %B %d, %Y')
|
||||
theTime = dt.strftime('%I:%M %p %Z')
|
||||
theDay = dt.strftime('%j')
|
||||
theWeek = dt.strftime('%U')
|
||||
|
||||
# OPENBOX PIPEMENU
|
||||
|
||||
print ('<?xml version=\"1.0\" encoding=\"UTF-8\"?>')
|
||||
print ('<openbox_pipe_menu>')
|
||||
print ('<separator />')
|
||||
print ('<item label="DATE AND TIME" />')
|
||||
print ('<separator />')
|
||||
print ('<item label="'+theTime+'"/>')
|
||||
print ('<item label="'+theDate+'"/>')
|
||||
print ('<item label="'+'Day '+theDay+'"/>')
|
||||
print ('<item label="'+'Week '+theWeek+'"/>')
|
||||
print ('</openbox_pipe_menu>')
|
51
.config/openbox/pipemenus/deadbeef.sh
Executable file
|
@ -0,0 +1,51 @@
|
|||
#! /bin/bash
|
||||
#
|
||||
# DEADBEEF by Derek Taylor (DistroTube)
|
||||
# A simple script that creates an openbox pipemenu that controls the deadbeef music player.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify it under the terms of
|
||||
# the GNU General Public License version 3 as published by the Free Software Foundation.
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program. If not, see: http://www.gnu.org/licenses
|
||||
#
|
||||
# Copy this file somewhere on your path and make it executable.
|
||||
# Add the following line somewhere to your /.config/openbox/menu.xml
|
||||
# <menu execute="/PATH/TO/deadbeef.sh" id="Music Player" label="Music Player"/>
|
||||
# Be sure to change the PATH/TO to the correct path to this file.
|
||||
#
|
||||
# Reconfigure openbox.
|
||||
#
|
||||
# REQUIRES the Deadbeef music player to be installed on your computer.
|
||||
|
||||
|
||||
nowplaying=`deadbeef --nowplaying "%n %a - %t - %b - %y" | sed -n '1p' | tr -d '"'`
|
||||
tracktime=`deadbeef --nowplaying "%l" | sed -n '1p'`
|
||||
playlist_dir=`/home/derek/.config/deadbeef/playlists/`
|
||||
playlist_num=`ls -l /home/derek/.config/deadbeef/playlists/* | wc -l | sed -n '1p'`
|
||||
|
||||
echo "<openbox_pipe_menu>"
|
||||
echo "<menu id=\"root-menu-325671\" label=\""Track Info"\">"
|
||||
echo "<item label=\""$nowplaying"\"><action name=\"Execute\"><execute>deadbeef</execute></action></item>"
|
||||
echo "<item label=\"Total Runtime: "$tracktime"\"><action name=\"Execute\"><execute>deadbeef</execute></action></item>"
|
||||
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/derek/.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
|
||||
echo "</menu>"
|
||||
echo "<separator/>"
|
||||
echo "<item label=\"Play\"><action name=\"Execute\"><execute>deadbeef --play</execute></action></item>"
|
||||
echo "<item label=\"Pause\"><action name=\"Execute\"><execute>deadbeef --pause</execute></action></item>"
|
||||
echo "<item label=\"Stop\"><action name=\"Execute\"><execute>deadbeef --stop</execute></action></item>"
|
||||
echo "<item label=\"Next\"><action name=\"Execute\"><execute>deadbeef --next</execute></action></item>"
|
||||
echo "<item label=\"Previous\"><action name=\"Execute\"><execute>deadbeef --prev</execute></action></item>"
|
||||
echo "<separator/>"
|
||||
echo "<item label=\"Quit\"><action name=\"Execute\"><execute>deadbeef --quit</execute></action></item>"
|
||||
echo "</openbox_pipe_menu>"
|
97
.config/openbox/pipemenus/gmusicbrowser.py
Executable file
|
@ -0,0 +1,97 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# GMUISCBROWSER by Derek Taylor (DistroTube)
|
||||
# A simple script that creates an openbox pipemenu that controls gmusicbrowser.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify it under the terms of
|
||||
# the GNU General Public License version 3 as published by the Free Software Foundation.
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program. If not, see: http://www.gnu.org/licenses
|
||||
#
|
||||
# Copy this file somewhere on your path and make it executable.
|
||||
# Add the following line somewhere to your /.config/openbox/menu.xml
|
||||
# <menu execute="/PATH/TO/gmusicbrowser.sh" id="gmusicbrowser" label="gmusicbrowser"/>
|
||||
# Be sure to change the PATH/TO to the correct path to this file.
|
||||
#
|
||||
# Reconfigure openbox.
|
||||
#
|
||||
# REQUIRES the gmusicbrowser music player to be installed on your computer.
|
||||
|
||||
# The playlist submenu is designed to pull all .m3u files from the ~home/$USER/.config/gmusicbrowser/ directory.
|
||||
# Therefore, you must create this folder and export your playlists to this folder.
|
||||
# To enable song information to display, you must enable the NOW PLAYHING plugin in gmusicbrowser.
|
||||
# Add this to "command for when playing song changed": tee /home/$USER/.config/gmusicbrowser/nowplaying.info
|
||||
# Change $USER to your actual username. Tick the checkbox for send title/artist/album in standard input.
|
||||
# You also should go to Preferences > Misc. and tick the checkbox for remember playing position between sessions.
|
||||
# This allows gmusicbrowser to remember the song it was playing within the playlist upon exit.
|
||||
|
||||
# SETTING
|
||||
|
||||
import subprocess
|
||||
import os
|
||||
|
||||
playlistDir = '/home/derek/.config/gmusicbrowser/'
|
||||
|
||||
cmd1 = "cat /home/derek/.config/gmusicbrowser/*.info | sed -n -e 's/^.*Title=//p' | tr -d '\"'"
|
||||
process = subprocess.Popen(cmd1, stdout=subprocess.PIPE, shell=True)
|
||||
songTitle = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cmd2 = "cat /home/derek/.config/gmusicbrowser/*.info | sed -n -e 's/^.*Artist=//p' | tr -d '\"'"
|
||||
process = subprocess.Popen(cmd2, stdout=subprocess.PIPE, shell=True)
|
||||
songArtist = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cmd3 = "cat /home/derek/.config/gmusicbrowser/*.info | sed -n -e 's/^.*Album=//p' | tr -d '\"'"
|
||||
process = subprocess.Popen(cmd3, stdout=subprocess.PIPE, shell=True)
|
||||
songAlbum = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cmd4 = "cat /home/derek/.config/gmusicbrowser/*.info | sed -n -e 's/^.*Length=//p' | tr -d '\"'"
|
||||
process = subprocess.Popen(cmd4, stdout=subprocess.PIPE, shell=True)
|
||||
songLength = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cmd5 = "cat /home/derek/.config/gmusicbrowser/*.info | sed -n -e 's/^.*Year=//p' | tr -d '\"'"
|
||||
process = subprocess.Popen(cmd5, stdout=subprocess.PIPE, shell=True)
|
||||
songYear = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cmd6 = "cat /home/derek/.config/gmusicbrowser/*.info | sed -n -e 's/^.*Track=//p' | tr -d '\"'"
|
||||
process = subprocess.Popen(cmd6, stdout=subprocess.PIPE, shell=True)
|
||||
songTrack = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cmd7 = "ls -l /home/derek/.config/gmusicbrowser/*m3u | wc -l | sed -n '1p'"
|
||||
process = subprocess.Popen(cmd7, stdout=subprocess.PIPE, shell=True)
|
||||
playlistNum = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
# OPENBOX PIPEMENU
|
||||
|
||||
print ('<?xml version=\"1.0\" encoding=\"UTF-8\"?>')
|
||||
print ('<openbox_pipe_menu>')
|
||||
print ('<menu id=\"root-menu-325671\" label=\"Track Info\">')
|
||||
print ('<item label="'+songTitle+' - '+songArtist+' - '+songAlbum+' ('+songYear+')'+'"><action name=\"Execute\"><execute>gmusicbrowser -cmd PlayPause</execute></action></item>')
|
||||
print ('<item label="'+'Total Runtime: '+songLength+'"><action name=\"Execute\"><execute>gmusicbrowser -cmd PlayPause</execute></action></item>')
|
||||
print ('<separator/>')
|
||||
print ('<item label=\"Open gmusicbrowser\"><action name=\"Execute\"><execute>gmusicbrowser -cmd</execute></action></item>')
|
||||
print ('</menu>')
|
||||
print ('<menu id=\"root-menu-325676\" label=\"Playlists ('+playlistNum+')\">')
|
||||
for filename in os.listdir('/home/derek/.config/gmusicbrowser/'):
|
||||
plist = "echo "+filename+" | rev | cut -d\"/\" -f1 | rev"
|
||||
process = subprocess.Popen(plist, stdout=subprocess.PIPE, shell=True)
|
||||
playlist = process.communicate()[0].decode("utf-8").rstrip()
|
||||
if playlist.endswith(".m3u"):
|
||||
print ('<item label="'+playlist+'"><action name=\"Execute\"><execute>gmusicbrowser '+playlistDir+filename+'</execute></action></item>')
|
||||
print ('</menu>')
|
||||
print ('<separator/>')
|
||||
print ('<item label=\"Play\"><action name=\"Execute\"><execute>gmusicbrowser -cmd Play</execute></action></item>')
|
||||
print ('<item label=\"Pause\"><action name=\"Execute\"><execute>gmusicbrowser -cmd Pause</execute></action></item>')
|
||||
print ('<item label=\"Stop\"><action name=\"Execute\"><execute>gmusicbrowser -cmd Stop</execute></action></item>')
|
||||
print ('<item label=\"Next\"><action name=\"Execute\"><execute>gmusicbrowser -cmd NextSong</execute></action></item>')
|
||||
print ('<item label=\"Previous\"><action name=\"Execute\"><execute>gmusicbrowser -cmd PrevSong</execute></action></item>')
|
||||
print ('<separator/>')
|
||||
print ('<item label=\"Volume Up\"><action name=\"Execute\"><execute>gmusicbrowser -cmd IncVolume</execute></action></item>')
|
||||
print ('<item label=\"Volume Down\"><action name=\"Execute\"><execute>gmusicbrowser -cmd DecVolume</execute></action></item>')
|
||||
print ('<separator/>')
|
||||
print ('<item label=\"Show/Hide\"><action name=\"Execute\"><execute>gmusicbrowser -cmd ShowHide</execute></action></item>')
|
||||
print ('<item label=\"Quit\"><action name=\"Execute\"><execute>gmusicbrowser -cmd Quit</execute></action></item>')
|
||||
print ('</openbox_pipe_menu>')
|
95
.config/openbox/pipemenus/mpcob.sh
Executable file
|
@ -0,0 +1,95 @@
|
|||
#!/bin/sh
|
||||
# mpcob - control mpc in your openbox menu
|
||||
# 02/03/10 - supulton - vrfeight3@gmail.com
|
||||
# chmod +x mpcob.sh, and place:
|
||||
# "<menu id="pipe-mpc-menu" label="music" execute="/path/to/script/mpcob.sh" />"
|
||||
# somewhere in your menu.
|
||||
|
||||
# replace "urxvtc" with your preferred terminal
|
||||
set_term=`echo urxvt`
|
||||
|
||||
# gui mpd preference?
|
||||
set_player=`echo ncmpcpp`
|
||||
|
||||
#set variables
|
||||
playing=`mpc -f "%track%. %artist% - %title%" | sed -n '1p'`
|
||||
nowstatus=`mpc | sed -n '2p' | cut -d ' ' -f1`
|
||||
repeat=`mpc | tail -n 1 | cut -c 15-25`
|
||||
random=`mpc | tail -n 1 | cut -c 29-39`
|
||||
single=`mpc | tail -n 1 | cut -c 43-53`
|
||||
consume=`mpc | tail -n 1 | cut -c 57-`
|
||||
|
||||
# tell when mpc is stopped
|
||||
|
||||
if [ "$nowstatus" != "[Playing]" -a "$nowstatus" != "[Paused]" ]
|
||||
then
|
||||
export nowstatus=`echo "[Stopped]"`
|
||||
fi
|
||||
if [ "$nowstatus" = "[Stopped]" ]
|
||||
then
|
||||
export Playing=`echo Play`
|
||||
fi
|
||||
|
||||
# convert reserved XML characters '&', '<', '>', '"' for songs containing characters
|
||||
|
||||
if [[ $playing =~ '&' ]]
|
||||
then
|
||||
export playing=${playing//\&/\&\;}
|
||||
fi
|
||||
if [[ $playing =~ '<' ]]
|
||||
then
|
||||
export playing=${playing//\</\<\;}
|
||||
fi
|
||||
if [[ $playing =~ '>' ]]
|
||||
then
|
||||
export playing=${playing//\>/\>\;}
|
||||
fi
|
||||
if [[ $playing =~ '"' ]]
|
||||
then
|
||||
export playing=${playing//\"/\"\;}
|
||||
fi
|
||||
# echo menu
|
||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
|
||||
echo "<openbox_pipe_menu>"
|
||||
echo " <menu id=\"mpcob-playing\" label=\"$nowstatus\">"
|
||||
echo " <item label=\"$playing\"> "
|
||||
echo " <action name=\"Execute\"><execute>mpc toggle</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <separator />"
|
||||
echo " <item label=\"$set_player\"> "
|
||||
echo " <action name=\"Execute\"><execute>urxvt -e ncmpcpp</execute></action>"
|
||||
echo " </item>"
|
||||
echo " </menu>"
|
||||
echo " <separator />"
|
||||
echo " <item label=\"Play/Pause\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc toggle</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <item label=\"Prev\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc prev</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <item label=\"Next\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc next</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <item label=\"Stop\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc stop</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <separator />"
|
||||
echo " <menu id=\"mpcob-options\" label=\"Options\">"
|
||||
echo " <item label=\"$random\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc random</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <item label=\"$repeat\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc repeat</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <item label=\"$consume\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc consume</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <item label=\"$single\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc single</execute></action>"
|
||||
echo " </item>"
|
||||
echo " <separator />"
|
||||
echo " <item label=\"Update\">"
|
||||
echo " <action name=\"Execute\"><execute>mpc update</execute></action>"
|
||||
echo " </item>"
|
||||
echo " </menu>"
|
||||
echo "</openbox_pipe_menu>"
|
68
.config/openbox/pipemenus/mpd.sh
Executable file
|
@ -0,0 +1,68 @@
|
|||
#! /bin/bash
|
||||
|
||||
# MPD/MPC by olshrimpeyes
|
||||
nowplaying=`mpc -f "%track%. %artist% - %title%" | sed -n '1p'`
|
||||
playing=`mpc | grep playing `
|
||||
nowstatus=`mpc | sed -n '2p' | cut -d ' ' -f1`
|
||||
|
||||
echo "<openbox_pipe_menu>"
|
||||
|
||||
|
||||
|
||||
# <menu icon="/home/derek/.config/openbox/circle-filled.png" id="root-menu-151830" label="Places">
|
||||
# <item icon="/home/derek/.config/openbox/square-open.png" label="Home">
|
||||
# <action name="Execute">
|
||||
# <execute>pcmanfm -n ~/</execute>
|
||||
# </action>
|
||||
# </item>
|
||||
# </menu>
|
||||
|
||||
|
||||
if [[ -z $nowplaying ]]
|
||||
|
||||
then
|
||||
|
||||
echo "<item label=\"Not Playing\"><action name=\"Execute\"><execute>mpc</execute></action></item>"
|
||||
|
||||
else
|
||||
|
||||
echo "<menu icon=\"/home/derek/.config/openbox/circle-filled.png\" id=\"root-menu-325671\" label=\""$nowstatus"\">"
|
||||
echo "<item label=\""$nowplaying"\"><action name=\"Execute\"><execute>mpc</execute></action></item>"
|
||||
echo "<item label=\""$playing"\"><action name=\"Execute\"><execute>mpc</execute></action></item>"
|
||||
echo "<separator/>"
|
||||
echo "<item label=\"Open Music Player\"><action name=\"Execute\"><execute>urxvt -e ncmpcpp</execute></action></item>"
|
||||
echo "</menu>"
|
||||
|
||||
# if [[ -z $playing ]]
|
||||
|
||||
# then
|
||||
|
||||
# echo "<item label=\"Paused\"><action name=\"Execute\"><execute>mpc</execute></action></item>"
|
||||
|
||||
# else
|
||||
|
||||
# echo "<item label=\""$playing"\"><action name=\"Execute\"><execute>mpc</execute></action></item>"
|
||||
|
||||
# fi
|
||||
|
||||
fi
|
||||
|
||||
echo "<separator/>"
|
||||
|
||||
if [[ -z $playing ]]
|
||||
|
||||
then
|
||||
|
||||
echo "<item label=\"Play\"><action name=\"Execute\"><execute>mpc play</execute></action></item>"
|
||||
|
||||
else
|
||||
|
||||
echo "<item label=\"Pause\"><action name=\"Execute\"><execute>mpc pause</execute></action></item>"
|
||||
echo "<item label=\"Stop\"><action name=\"Execute\"><execute>mpc stop</execute></action></item>"
|
||||
|
||||
fi
|
||||
|
||||
echo "<item label=\"Next\"><action name=\"Execute\"><execute>mpc next</execute></action></item>"
|
||||
echo "<item label=\"Previous\"><action name=\"Execute\"><execute>mpc prev</execute></action></item>"
|
||||
echo "<item label=\"Volume\"><action name=\"Execute\"><execute>urxvt -e alsamixer</execute></action></item>"
|
||||
echo "</openbox_pipe_menu>"
|
22
.config/openbox/pipemenus/obrecent.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
From Openbox
|
||||
Jump to: navigation, search
|
||||
|
||||
#!/bin/sh
|
||||
echo "<openbox_pipe_menu>"
|
||||
files=$(
|
||||
cat ~/.local/share/recently-used.xbel | grep file:/// | tail -n15 | cut -d "\"" -f 2 | tac | while read line;
|
||||
do
|
||||
file=$(echo "$line")
|
||||
name=$(echo -en "$file" | sed 's,.*/,,' | sed 's/%20/ /g')
|
||||
echo "<item label=\"$name\">
|
||||
<action name=\"Execute\"><command>xdg-open $line</command></action>
|
||||
</item>"
|
||||
done);
|
||||
echo "$files"
|
||||
echo "<separator />"
|
||||
echo "<item label=\"Clear Recent Documents\">
|
||||
<action name=\"Execute\"><command>rm ~/.local/share/recently-used.xbel</command></action>
|
||||
</item>"
|
||||
echo "</openbox_pipe_menu>"
|
||||
|
||||
|
183
.config/openbox/pipemenus/places-menu.sh
Executable file
|
@ -0,0 +1,183 @@
|
|||
#!/bin/sh
|
||||
# cb-places-pipemenu - a places openbox pipe menu
|
||||
# Copyright (C) 2010 John Crawley
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
# Version 2012/09/27-cb
|
||||
|
||||
|
||||
# Ported to #!++ <https://crunchbangplusplus.org>
|
||||
# by Ben Young <computermouth@crunchbangplusplus.org>
|
||||
# Ported to Manjaro <https://manjaro.github.io/>
|
||||
# by Daniel Napora <napcok@gmail.com>
|
||||
|
||||
# NB The shell, not bash, is invoked in the hope that
|
||||
# dash will be used, as it is much faster.
|
||||
|
||||
# Usage: add
|
||||
# <menu id="places" label="Places" execute="/path/to/mabox-places-pipemenu ~/" />
|
||||
# to your .config/openbox/menu.xml
|
||||
|
||||
# or, if you want the "recent files" menu incorporated at the top, use:
|
||||
# <menu id="places" label="Places" execute="/path/to/mabox-places-pipemenu --recent ~/" />
|
||||
# make sure you have mabox-recent-files-pipemenu somewhere, and enter its path below.
|
||||
|
||||
# path to your "recent files" script, if you want to incorporate it:
|
||||
recent_script=/usr/bin/mabox-recent-files-pipemenu
|
||||
|
||||
# Command to open folders at "Browse here..." - any file manager
|
||||
open_folder_cmd=pcmanfm
|
||||
# Default command to open files with - others might be xdg-open, gnome-open, pcmanfm...
|
||||
default_open_cmd=exo-open # exo-open comes with thunar
|
||||
# Text editor of choice
|
||||
text_editor=geany
|
||||
|
||||
# function to open files with default open command, or alternative command for certain files
|
||||
# - add other conditions to choice
|
||||
open_file() {
|
||||
[ -x "$1" ] && exec "$text_editor" "$1" # comment out this line if you don't want to edit executables instead of executing
|
||||
#[ -x "$1" ] && exec "terminator -e" "$1" # uncomment this and comment out previous line to run executables in terminal instead of editing
|
||||
[ "${1##*.}" = desktop ] && exec "$text_editor" "$1" # comment out this line if you don't want to edit .desktop files instead of executing
|
||||
exec "$default_open_cmd" "$1" # use default open command if above conditions not satisfied
|
||||
}
|
||||
|
||||
# extra dotfiles to display in HOME folder (dotfiles are hidden by default)
|
||||
# edit the list (space separated, surrounded by single quotes) or comment this line out, to taste:
|
||||
shown_dotfiles='.config .local'
|
||||
|
||||
# By default, this script will display directories separately, before files.
|
||||
# To change this behaviour, see NOTE1, NOTE2 and NOTE3 below, near end of page.
|
||||
|
||||
#######################################################################
|
||||
|
||||
case $1 in
|
||||
# if "--open" option is sent as $1, open file ($2) instead of generating menu
|
||||
--open)
|
||||
open_file "$2"
|
||||
echo "$0 : failed to open $2" >&2
|
||||
exit;; # in case exec command fails
|
||||
# if "--recent" option is sent, incorporate "recent files" menu
|
||||
--recent)
|
||||
shift
|
||||
output='<openbox_pipe_menu>
|
||||
'
|
||||
if [ -x "$recent_script" ]
|
||||
then
|
||||
output="$output"'<separator label="Ostatnio otwierane..." />
|
||||
<menu execute="'"$recent_script"'" id="recent" label="files" />
|
||||
'
|
||||
else
|
||||
echo "$0 : cannot find executable script $recent_script" >&2
|
||||
fi;;
|
||||
*)
|
||||
output='<openbox_pipe_menu>
|
||||
';;
|
||||
esac
|
||||
|
||||
path="${1:-$HOME}" # default starting place is ~, otherwise $1
|
||||
path="$( echo "${path}"/ | tr -s '/' )" # ensure one final slash
|
||||
[ -d "$path" ] || { echo "$0 : $path is not a directory" >&2; exit 1; }
|
||||
|
||||
case "$path" in # only escape if string needs it
|
||||
*\&*|*\<*|*\>*|*\"*|*\'*) pathe=$(sed "s/\&/\&/g;s/</\</g;s/>/\>/g;s/\"/\"/g;s/'/\'/g;" <<XXX
|
||||
$path
|
||||
XXX
|
||||
)
|
||||
;;
|
||||
*)pathe=$path;;
|
||||
esac
|
||||
|
||||
case "$pathe" in
|
||||
*\&apos\;*) pathe_apos=$(sed 's/\'/\'\"\'\"\'/g;'<<XXX
|
||||
$pathe
|
||||
XXX
|
||||
)
|
||||
;;
|
||||
*) pathe_apos=$pathe;;
|
||||
esac
|
||||
|
||||
# output="$output"'<separator label="'$pathe'" />
|
||||
output="$output"'<separator />
|
||||
<item label="Go to '"$pathe"'...">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
''"$open_folder_cmd"'' ''"$pathe_apos"''
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
<separator />
|
||||
'
|
||||
|
||||
unset extra_entries directories_menu files_menu
|
||||
[ "$path" = "$HOME"/ ] && extra_entries="$shown_dotfiles"
|
||||
for i in "$path"* $extra_entries
|
||||
do
|
||||
[ -e "$i" ] || continue # only output code if file exists
|
||||
shortname="${i##*/}"
|
||||
case $shortname in
|
||||
*\&*|*\<*|*\>*|*\"*|*\'*) shortnamee=$(sed "s/\&/\&/g;s/</\</g;s/>/\>/g;s/\"/\"/g;s/'/\'/g;" <<XXX
|
||||
$shortname
|
||||
XXX
|
||||
)
|
||||
;;
|
||||
*) shortnamee=$shortname;;
|
||||
esac
|
||||
case $shortnamee in
|
||||
*\&apos\;*) shortnamee_apos=$(sed 's/\'/\'\"\'\"\'/g;'<<XXX
|
||||
$shortnamee
|
||||
XXX
|
||||
)
|
||||
;;
|
||||
*) shortnamee_apos=$shortnamee;;
|
||||
esac
|
||||
case $shortnamee in
|
||||
*_*) shortnamee_label=$(sed 's/_/__/g;'<<XXX
|
||||
$shortnamee
|
||||
XXX
|
||||
)
|
||||
;;
|
||||
*) shortnamee_label=$shortnamee;;
|
||||
esac
|
||||
[ -d "$i" ] && {
|
||||
# NOTE1 If you want directories and files listed together
|
||||
# change next line (directories_menu="$directories_menu"') to read: files_menu="$files_menu"' (note the one single quote at the end)
|
||||
directories_menu="$directories_menu"'
|
||||
<menu id="'"${pathe_apos}${shortnamee_apos}"'" label="'"$shortnamee_label"'" execute="''"$0"'' ''"${pathe_apos}${shortnamee_apos}"''" />'; continue; }
|
||||
files_menu="$files_menu"'
|
||||
<item label="'"$shortnamee_label"'">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
''"$0"'' --open ''"${pathe_apos}${shortnamee_apos}"''
|
||||
</command>
|
||||
</action>
|
||||
</item>'
|
||||
done
|
||||
|
||||
[ -n "$directories_menu" ] && {
|
||||
# NOTE2 comment out next 2 lines if you don't want "Directories" label
|
||||
# output="${output}"'<item label="Directories" />
|
||||
# '
|
||||
# output="${output}"'<separator />
|
||||
# '
|
||||
output="${output}${directories_menu}"'
|
||||
'; }
|
||||
# [ -n "$files_menu" ] && {
|
||||
# NOTE3 comment out next 2 lines if you don't want "Files" label
|
||||
# output="${output}"'<item label="Files" />
|
||||
# '
|
||||
# output="${output}"'<separator />
|
||||
# '
|
||||
# output="${output}${files_menu}"'
|
||||
#'; }
|
||||
output="${output}"'</openbox_pipe_menu>
|
||||
'
|
||||
printf '%s' "$output"
|
||||
exit
|
97
.config/openbox/pipemenus/shell-color-scripts.sh
Executable file
|
@ -0,0 +1,97 @@
|
|||
#! /bin/bash
|
||||
#
|
||||
# SHELL-COLOR-SCRIPTS by Derek Taylor (DistroTube)
|
||||
# A simple script that creates an openbox pipemenu that runs shell-color-scripts
|
||||
# (https://github.com/dwt1/shell-color-scripts) in a terminal window.
|
||||
#
|
||||
# shell-color-scripts was forked from Color-Scripts (https://github.com/stark/Color-Scripts)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify it under the terms of
|
||||
# the GNU General Public License version 3 as published by the Free Software Foundation.
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program. If not, see: http://www.gnu.org/licenses
|
||||
#
|
||||
# Copy this file somewhere on your path and make it executable.
|
||||
# Add the following line somewhere to your /.config/openbox/menu.xml
|
||||
# <menu execute="/PATH/TO/shell-color-scripts.sh" id="shell-color-scripts" label="Shell Color Scripts"/>
|
||||
# Be sure to change the PATH/TO to the correct path to this file.
|
||||
#
|
||||
# Reconfigure openbox.
|
||||
|
||||
|
||||
# output the initial menu
|
||||
# NOTE: If you do not use the "termite" terminal program or the "ranger" file manager, edit the <command> below.
|
||||
cat <<EOF
|
||||
<openbox_pipe_menu>
|
||||
<item label="Color Scripts">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
termite -e 'ranger ~/color-scripts'
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
EOF
|
||||
|
||||
|
||||
# seperate the main command from the virtuals
|
||||
echo " <separator/>"
|
||||
|
||||
echo " <menu id=\"color-scripts-01-15\" label=\"01-15\">"
|
||||
# each color script listed in the menu
|
||||
for file in $(ls ~/shell-color-scripts/* | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
|
||||
echo " <menu id=\"color-scripts-16-30\" label=\"16-30\">"
|
||||
# each color script listed in the menu
|
||||
for file in $(ls ~/shell-color-scripts/* | tail -37 | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
|
||||
echo " <menu id=\"color-scripts-31-45\" label=\"31-45\">"
|
||||
# each color script listed in the menu
|
||||
for file in $(ls ~/shell-color-scripts/* | tail -22 | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
|
||||
echo " <menu id=\"color-scripts-46+\" label=\"46+\">"
|
||||
# each color script listed in the menu
|
||||
for file in $(ls ~/shell-color-scripts/* | tail -7 | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
|
||||
# and finally...
|
||||
echo "</openbox_pipe_menu>"
|
||||
|
31
.config/openbox/pipemenus/steam.sh
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# STEAM by Derek Taylor (DistroTube)
|
||||
# A simple script that creates an openbox pipemenu that launches Steam games.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify it under the terms of
|
||||
# the GNU General Public License version 3 as published by the Free Software Foundation.
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program. If not, see: http://www.gnu.org/licenses
|
||||
#
|
||||
# Copy this file somewhere on your path and make it executable.
|
||||
# Add the following line somewhere to your /.config/openbox/menu.xml
|
||||
# <menu execute="/PATH/TO/steam.sh" id="steam" label="Steam"/>
|
||||
# Be sure to change the PATH/TO to the correct path to this file.
|
||||
#
|
||||
# Reconfigure openbox.
|
||||
|
||||
STEAMAPPS=~/.steam/steam/steamapps
|
||||
echo '<openbox_pipe_menu>'
|
||||
echo '<item icon="/home/derek/.config/openbox/square-open.png" label="Steam"><action name="Execute"><execute>steam</execute></action></item>'
|
||||
echo '<separator/>'
|
||||
for file in $(ls $STEAMAPPS/*.acf -1v); do
|
||||
ID=$(cat "$file" | grep '"appID"' | head -1 | sed -r 's/[^"]*"appID"[^"]*"([^"]*)"/\1/')
|
||||
NAME=$(cat "$file" | grep '"name"' | head -1 | sed -r 's/[^"]*"name"[^"]*"([^"]*)"/\1/')
|
||||
echo "<item icon=\"/home/derek/.config/openbox/square-open.png\" label=\"$NAME\"><action name=\"Execute\"><execute>steam steam://run/$ID</execute></action></item>"
|
||||
done
|
||||
echo '</openbox_pipe_menu>'
|
177
.config/openbox/pipemenus/sysinfo.py
Executable file
|
@ -0,0 +1,177 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# SYSTEMINFO by Derek Taylor (DistroTube)
|
||||
# A simple script that creates an openbox pipemenu that displays system information.
|
||||
# My root partition is on /dev/sda1 and my swap is /dev/sda5. Edit these is your partitioning is different.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify it under the terms of
|
||||
# the GNU General Public License version 3 as published by the Free Software Foundation.
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program. If not, see: http://www.gnu.org/licenses
|
||||
#
|
||||
# Copy this file somewhere on your path and make it executable.
|
||||
# Add the following line somewhere to your /.config/openbox/menu.xml
|
||||
# <menu execute="/PATH/TO/sysinfo.py" id="sysinfo" label="System Info"/>
|
||||
# Be sure to change the PATH/TO to the correct path to this file.
|
||||
#
|
||||
# Reconfigure openbox.
|
||||
#
|
||||
# REQUIRES net-tools (for ifconfig) to be installed on your computer.
|
||||
|
||||
# SETTINGS
|
||||
|
||||
import subprocess
|
||||
|
||||
# SETTINGS - SYSTEM
|
||||
|
||||
syst1 = "whoami"
|
||||
process = subprocess.Popen(syst1, stdout=subprocess.PIPE, shell=True)
|
||||
user = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
syst2 = "uname -n"
|
||||
process = subprocess.Popen(syst2, stdout=subprocess.PIPE, shell=True)
|
||||
host = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
syst3 = "uname -s"
|
||||
process = subprocess.Popen(syst3, stdout=subprocess.PIPE, shell=True)
|
||||
system = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
syst4 = "uname -r"
|
||||
process = subprocess.Popen(syst4, stdout=subprocess.PIPE, shell=True)
|
||||
release = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
syst5 = "uname -m"
|
||||
process = subprocess.Popen(syst5, stdout=subprocess.PIPE, shell=True)
|
||||
arch = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
syst6 = "uptime | sed 's/.* up //' | sed 's/[0-9]* us.*//' | sed 's/ day, / day /' | sed 's/ days, / days /' | sed 's/:/ hours /' | sed 's/ min//'| sed 's/,/ min/' | sed 's/ / /'"
|
||||
process = subprocess.Popen(syst6, stdout=subprocess.PIPE, shell=True)
|
||||
uptime = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
# SETTINGS - CPU
|
||||
|
||||
cpu1 = "cat /proc/cpuinfo | grep 'model name' | sed 's/.*: //' | sed -n '1p'"
|
||||
process = subprocess.Popen(cpu1, stdout=subprocess.PIPE, shell=True)
|
||||
CPUmodel = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cpu2 = "cat /proc/cpuinfo | grep -m 1 'cpu MHz' | sed 's/.*: //'"
|
||||
process = subprocess.Popen(cpu2, stdout=subprocess.PIPE, shell=True)
|
||||
CPUfreq = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
cpu3 = "cat /proc/cpuinfo | grep -m 1 'cache size' | sed 's/.*: //'"
|
||||
process = subprocess.Popen(cpu3, stdout=subprocess.PIPE, shell=True)
|
||||
CPUcache = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
# SETTINGS - MEM
|
||||
|
||||
mem1 = "echo 'scale = 2; ('$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')' /1024)' | bc"
|
||||
process = subprocess.Popen(mem1, stdout=subprocess.PIPE, shell=True)
|
||||
memTotal = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
mem2 = "echo 'scale = 2; ('$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')' /1024) + ('$(cat /proc/meminfo | grep grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')' /1024)' | bc"
|
||||
process = subprocess.Popen(mem2, stdout=subprocess.PIPE, shell=True)
|
||||
memFree = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
mem3 = "echo 'scale = 2; ('$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')' /1024) - (('$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')' /1024) + ('$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')' /1024))' | bc"
|
||||
process = subprocess.Popen(mem3, stdout=subprocess.PIPE, shell=True)
|
||||
memUsed = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
mem4 = "echo 'scale = 2; (('$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')' /1024) - (('$(cat /proc/meminfo | grep MemFree: | awk '{print $2}' | sed 's/k//')' /1024) + ('$(cat /proc/meminfo | grep -m 1 Cached: | awk '{print $2}' | sed 's/k//')' /1024))) / ('$(cat /proc/meminfo | grep MemTotal: | awk '{print $2}' | sed 's/k//')' /1024) *100' | bc"
|
||||
process = subprocess.Popen(mem4, stdout=subprocess.PIPE, shell=True)
|
||||
memUsedPercent = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
# SETTINGS - DISKS
|
||||
|
||||
disk1 = "df -HlT | grep /dev/sda1 | sed -r 's/ / /g' | sed -r 's/ / /g' | cut -d ' ' -f 1"
|
||||
process = subprocess.Popen(disk1, stdout=subprocess.PIPE, shell=True)
|
||||
rootPart = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
disk2 = "df -HlT | grep /dev/sda1 | sed -r 's/ / /g' | sed -r 's/ / /g' | cut -d ' ' -f 2"
|
||||
process = subprocess.Popen(disk2, stdout=subprocess.PIPE, shell=True)
|
||||
fileSys = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
disk3 = "df -HlT | grep /dev/sda1 | sed -r 's/ / /g' | sed -r 's/ / /g' | cut -d ' ' -f 3"
|
||||
process = subprocess.Popen(disk3, stdout=subprocess.PIPE, shell=True)
|
||||
diskTotal = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
disk4 = "df -HlT | grep /dev/sda1 | sed -r 's/ / /g' | sed -r 's/ / /g' | cut -d ' ' -f 4"
|
||||
process = subprocess.Popen(disk4, stdout=subprocess.PIPE, shell=True)
|
||||
diskUsed = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
disk5 = "df -HlT | grep /dev/sda1 | sed -r 's/ / /g' | sed -r 's/ / /g' | cut -d ' ' -f 5"
|
||||
process = subprocess.Popen(disk5, stdout=subprocess.PIPE, shell=True)
|
||||
diskFree = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
# SETTINGS - SWAP
|
||||
|
||||
swap1 = "cat /proc/swaps | grep /dev/sda5 | sed -r 's/ / /g' | sed -r 's/ / /g' | cut -d ' ' -f 1"
|
||||
process = subprocess.Popen(swap1, stdout=subprocess.PIPE, shell=True)
|
||||
swapPart = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
swap2 = "echo 'scale = 2; ('$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')' /1024)' | bc"
|
||||
process = subprocess.Popen(swap2, stdout=subprocess.PIPE, shell=True)
|
||||
swapTotal = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
swap3 = "echo 'scale = 2; ('$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')' /1024)' | bc"
|
||||
process = subprocess.Popen(swap3, stdout=subprocess.PIPE, shell=True)
|
||||
swapFree = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
swap4 = "echo 'scale = 2; ('$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')' /1024) - ('$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')' /1024)' | bc"
|
||||
process = subprocess.Popen(swap4, stdout=subprocess.PIPE, shell=True)
|
||||
swapUsed = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
swap5 = "echo 'scale = 2; (('$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')' /1024) - ('$(cat /proc/meminfo | grep SwapFree: | awk '{print $2}' | sed 's/k//')' /1024)) / ('$(cat /proc/meminfo | grep SwapTotal: | awk '{print $2}' | sed 's/k//')' /1024) *100' | bc"
|
||||
process = subprocess.Popen(swap5, stdout=subprocess.PIPE, shell=True)
|
||||
swapUsedPercent = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
# SETTINGS - NET
|
||||
|
||||
net1 = "/sbin/ifconfig 'enp3s0' | grep 'inet ' | sed 's/.*inet //' | sed 's/netmask.*//'"
|
||||
process = subprocess.Popen(net1, stdout=subprocess.PIPE, shell=True)
|
||||
netIP = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
net2 = "/sbin/ifconfig 'enp3s0' | grep 'RX packets' | sed 's/.*bytes [0-9]* (//' | sed 's/iB).*)*//' | sed 's/b).*)*//' | sed 's/).*)*//'"
|
||||
process = subprocess.Popen(net2, stdout=subprocess.PIPE, shell=True)
|
||||
netDown = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
net3 = "/sbin/ifconfig 'enp3s0' | grep 'TX packets' | sed 's/.*bytes [0-9]* (//' | sed 's/iB).*)*//' | sed 's/b).*)*//' | sed 's/).*)*//'"
|
||||
process = subprocess.Popen(net3, stdout=subprocess.PIPE, shell=True)
|
||||
netUp = process.communicate()[0].decode("utf-8").rstrip()
|
||||
|
||||
# OPENBOX PIPEMENU
|
||||
|
||||
print ('<?xml version=\"1.0\" encoding=\"UTF-8\"?>')
|
||||
print ('<openbox_pipe_menu>')
|
||||
print ('<separator />')
|
||||
print ('<item label="SYSTEM" />')
|
||||
print ('<separator />')
|
||||
print ('<item label="'+'User @ Host: '+user+' @ '+host+'"/>')
|
||||
print ('<item label="'+'Kernel: '+system+' '+release+' '+arch+'"/>')
|
||||
print ('<item label="'+'Uptime: '+uptime+'"/>')
|
||||
print ('<separator />')
|
||||
print ('<item label="CPU" />')
|
||||
print ('<separator />')
|
||||
print ('<item label="'+'CPU: '+CPUmodel+'"/>')
|
||||
print ('<item label="'+'CPU FREQ: '+CPUfreq+' MHz"/>')
|
||||
print ('<item label="'+'CPU Cache: '+CPUcache+'"/>')
|
||||
print ('<separator />')
|
||||
print ('<item label="MEM" />')
|
||||
print ('<separator />')
|
||||
print ('<item label="'+'RAM USED: '+memUsed+' MiB/'+memTotal+' MiB'+' ('+memUsedPercent+'%)'+'"/>')
|
||||
print ('<separator />')
|
||||
print ('<item label="DISKS" />')
|
||||
print ('<separator />')
|
||||
print ('<item label="'+'Root: '+rootPart+' ('+fileSys+')"/>')
|
||||
print ('<item label="'+'Swap: '+swapPart+' ('+swapUsed+ ' MiB/'+swapTotal+' MiB)\"/>')
|
||||
print ('<item label="'+'SSD: '+diskTotal+' ('+diskUsed+ ' USED/'+diskFree+' FREE)\"/>')
|
||||
print ('<separator />')
|
||||
print ('<item label="NET" />')
|
||||
print ('<separator />')
|
||||
print ('<item label="'+'NET IP: '+netIP+'"/>')
|
||||
print ('<item label="'+'RX bytes: '+netDown+'"/>')
|
||||
print ('<item label="'+'TX bytes: '+netUp+'"/>')
|
||||
print ('</openbox_pipe_menu>')
|
82
.config/openbox/pipemenus/virtualbox.sh
Executable file
|
@ -0,0 +1,82 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2009-2013 "isomorph"
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# BSD 3-Clause License
|
||||
#
|
||||
# ----
|
||||
#
|
||||
# OpenBox "VirtualBox" pipe-menu
|
||||
# Outputs a menu roughly akin to:
|
||||
#
|
||||
# VirtualBox
|
||||
# ----------
|
||||
# <Virtual Machine>
|
||||
# <Virtual Machine>
|
||||
# <Virtual Machine>
|
||||
# ...
|
||||
#
|
||||
# Usage:
|
||||
#
|
||||
# 1. Copy this file somewhere on your path and make it executable
|
||||
# 2. Add the following line somewhere to your /.config/openbox/menu.xml
|
||||
#
|
||||
# <menu id="vms" label="Virtual Machines" execute="cb-virtual-machines-pipemenu" />
|
||||
#
|
||||
# 3. Reconfigure openbox
|
||||
|
||||
|
||||
# make sure virtualbox itself exists
|
||||
which "virtualbox" > /dev/null
|
||||
if [ "$?" -ne "0" ]; then
|
||||
cat <<EOF
|
||||
<openbox_pipe_menu>
|
||||
<item label="Virtualbox cannot be found"></item>
|
||||
<item label="Click here to install Virtualbox">
|
||||
<action name="Execute">
|
||||
<command>x-www-browser https://www.virtualbox.org/wiki/Linux_Downloads</command>
|
||||
</action></item>
|
||||
</openbox_pipe_menu>
|
||||
EOF
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# output the initial menu
|
||||
cat <<EOF
|
||||
<openbox_pipe_menu>
|
||||
<item label="VirtualBox">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
virtualbox -style gtk
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
EOF
|
||||
|
||||
# Check for the vboxmanage binary
|
||||
which "vboxmanage" > /dev/null
|
||||
if [ "$?" -ne "0" ]; then
|
||||
echo "</openbox_pipe_menu>"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# seperate the main command from the virtuals
|
||||
echo " <separator/>"
|
||||
|
||||
# output the list of virtual machines
|
||||
vboxmanage list vms | cut -f 2 -d "\"" | sort -f | while read vm
|
||||
do
|
||||
cat <<EOF
|
||||
<item label="$vm">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
vboxmanage startvm "$vm"
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
EOF
|
||||
done;
|
||||
|
||||
# and finally...
|
||||
echo "</openbox_pipe_menu>"
|
1090
.config/openbox/rc.xml
Normal file
1514
.config/polybar/config
Normal file
17
.config/polybar/launch.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
if type "xrandr"; then
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --reload mainbar-i3 &
|
||||
done
|
||||
else
|
||||
polybar --reload mainbar-i3 &
|
||||
fi
|
||||
|
||||
echo "Bars launched..."
|
20
.config/polybar/scripts/check-all-updates.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
#source https://github.com/x70b1/polybar-scripts
|
||||
|
||||
|
||||
if ! updates_arch=$(checkupdates 2> /dev/null | wc -l ); then
|
||||
updates_arch=0
|
||||
fi
|
||||
|
||||
# if ! updates_aur=$(cower -u 2> /dev/null | wc -l); then
|
||||
if ! updates_aur=$(trizen -Su --aur --quiet | wc -l); then
|
||||
updates_aur=0
|
||||
fi
|
||||
|
||||
updates=$(("$updates_arch" + "$updates_aur"))
|
||||
|
||||
if [ "$updates" -gt 0 ]; then
|
||||
echo " $updates"
|
||||
else
|
||||
echo "0"
|
||||
fi
|
194
.config/polybar/scripts/pavolume.sh
Executable file
|
@ -0,0 +1,194 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# finds the active sink for pulse audio and increments the volume. useful when you have multiple audio outputs and have a key bound to vol-up and down
|
||||
|
||||
osd='no'
|
||||
inc='2'
|
||||
capvol='no'
|
||||
maxvol='200'
|
||||
autosync='yes'
|
||||
|
||||
# Muted status
|
||||
# yes: muted
|
||||
# no : not muted
|
||||
curStatus="no"
|
||||
active_sink=""
|
||||
limit=$((100 - inc))
|
||||
maxlimit=$((maxvol - inc))
|
||||
|
||||
reloadSink() {
|
||||
active_sink=$(pacmd list-sinks | awk '/* index:/{print $3}')
|
||||
}
|
||||
|
||||
function volUp {
|
||||
|
||||
getCurVol
|
||||
|
||||
if [ "$capvol" = 'yes' ]
|
||||
then
|
||||
if [ "$curVol" -le 100 ] && [ "$curVol" -ge "$limit" ]
|
||||
then
|
||||
pactl set-sink-volume "$active_sink" -- 100%
|
||||
elif [ "$curVol" -lt "$limit" ]
|
||||
then
|
||||
pactl set-sink-volume "$active_sink" -- "+$inc%"
|
||||
fi
|
||||
elif [ "$curVol" -le "$maxvol" ] && [ "$curVol" -ge "$maxlimit" ]
|
||||
then
|
||||
pactl set-sink-volume "$active_sink" "$maxvol%"
|
||||
elif [ "$curVol" -lt "$maxlimit" ]
|
||||
then
|
||||
pactl set-sink-volume "$active_sink" "+$inc%"
|
||||
fi
|
||||
|
||||
getCurVol
|
||||
|
||||
if [ ${osd} = 'yes' ]
|
||||
then
|
||||
qdbus org.kde.kded /modules/kosd showVolume "$curVol" 0
|
||||
fi
|
||||
|
||||
if [ ${autosync} = 'yes' ]
|
||||
then
|
||||
volSync
|
||||
fi
|
||||
}
|
||||
|
||||
function volDown {
|
||||
|
||||
pactl set-sink-volume "$active_sink" "-$inc%"
|
||||
getCurVol
|
||||
|
||||
if [ ${osd} = 'yes' ]
|
||||
then
|
||||
qdbus org.kde.kded /modules/kosd showVolume "$curVol" 0
|
||||
fi
|
||||
|
||||
if [ ${autosync} = 'yes' ]
|
||||
then
|
||||
volSync
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
function getSinkInputs {
|
||||
input_array=$(pacmd list-sink-inputs | grep -B 4 "sink: $1 " | awk '/index:/{print $2}')
|
||||
}
|
||||
|
||||
function volSync {
|
||||
getSinkInputs "$active_sink"
|
||||
getCurVol
|
||||
|
||||
for each in $input_array
|
||||
do
|
||||
pactl set-sink-input-volume "$each" "$curVol%"
|
||||
done
|
||||
}
|
||||
|
||||
function getCurVol {
|
||||
curVol=$(pacmd list-sinks | grep -A 15 "index: $active_sink$" | grep 'volume:' | grep -E -v 'base volume:' | awk -F : '{print $3}' | grep -o -P '.{0,3}%'| sed s/.$// | tr -d ' ')
|
||||
}
|
||||
|
||||
function volMute {
|
||||
case "$1" in
|
||||
mute)
|
||||
pactl set-sink-mute "$active_sink" 1
|
||||
curVol=0
|
||||
status=1
|
||||
;;
|
||||
unmute)
|
||||
pactl set-sink-mute "$active_sink" 0
|
||||
getCurVol
|
||||
status=0
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ ${osd} = 'yes' ]
|
||||
then
|
||||
qdbus org.kde.kded /modules/kosd showVolume ${curVol} ${status}
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
function volMuteStatus {
|
||||
curStatus=$(pacmd list-sinks | grep -A 15 "index: $active_sink$" | awk '/muted/{ print $2}')
|
||||
}
|
||||
|
||||
# Prints output for bar
|
||||
# Listens for events for fast update speed
|
||||
function listen {
|
||||
firstrun=0
|
||||
|
||||
pactl subscribe 2>/dev/null | {
|
||||
while true; do
|
||||
{
|
||||
# If this is the first time just continue
|
||||
# and print the current state
|
||||
# Otherwise wait for events
|
||||
# This is to prevent the module being empty until
|
||||
# an event occurs
|
||||
if [ $firstrun -eq 0 ]
|
||||
then
|
||||
firstrun=1
|
||||
else
|
||||
read -r event || break
|
||||
if ! echo "$event" | grep -e "on card" -e "on sink"
|
||||
then
|
||||
# Avoid double events
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
} &>/dev/null
|
||||
output
|
||||
done
|
||||
}
|
||||
}
|
||||
|
||||
function output() {
|
||||
reloadSink
|
||||
getCurVol
|
||||
volMuteStatus
|
||||
if [ "${curStatus}" = 'yes' ]
|
||||
then
|
||||
echo " $curVol%"
|
||||
else
|
||||
echo " $curVol%"
|
||||
fi
|
||||
} #}}}
|
||||
|
||||
reloadSink
|
||||
case "$1" in
|
||||
--up)
|
||||
volUp
|
||||
;;
|
||||
--down)
|
||||
volDown
|
||||
;;
|
||||
--togmute)
|
||||
volMuteStatus
|
||||
if [ "$curStatus" = 'yes' ]
|
||||
then
|
||||
volMute unmute
|
||||
else
|
||||
volMute mute
|
||||
fi
|
||||
;;
|
||||
--mute)
|
||||
volMute mute
|
||||
;;
|
||||
--unmute)
|
||||
volMute unmute
|
||||
;;
|
||||
--sync)
|
||||
volSync
|
||||
;;
|
||||
--listen)
|
||||
# Listen for changes and immediately create new output for the bar
|
||||
# This is faster than having the script on an interval
|
||||
listen
|
||||
;;
|
||||
*)
|
||||
# By default print output for bar
|
||||
output
|
||||
;;
|
||||
esac
|
4
.config/qtile/autostart.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#! /bin/bash
|
||||
compton --config ~/.config/compton/compton.conf &
|
||||
nitrogen --restore &
|
||||
urxvtd -q -o -f &
|
BIN
.config/qtile/bar01.png
Normal file
After Width: | Height: | Size: 399 B |
BIN
.config/qtile/bar02-b.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
.config/qtile/bar02.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
.config/qtile/bar03.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
.config/qtile/bar04.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
.config/qtile/bar05.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
.config/qtile/bar06.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
.config/qtile/bar07.png
Normal file
After Width: | Height: | Size: 4 KiB |
621
.config/qtile/config.py
Executable file
|
@ -0,0 +1,621 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# ____ _____
|
||||
# | _ \_ _| Derek Taylor (DistroTube)
|
||||
# | | | || | http://www.youtube.com/c/DistroTube
|
||||
# | |_| || | http://www.gitlab.com/dwt1/
|
||||
# |____/ |_|
|
||||
#
|
||||
# A customized config.py for Qtile window manager (http://www.qtile.org)
|
||||
# Modified by Derek Taylor (http://www.gitlab.com/dwt1/ )
|
||||
#
|
||||
# The following comments are the copyright and licensing information from the default config.
|
||||
# Copyright (c) 2010 Aldo Cortesi, 2010, 2014 dequis, 2012 Randall Ma, 2012-2014 Tycho Andersen,
|
||||
# 2012 Craig Barnes, 2013 horsik, 2013 Tao Sauvage
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
# and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
# including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in all copies or substantial
|
||||
# portions of the Software.
|
||||
|
||||
|
||||
##### IMPORTS #####
|
||||
|
||||
import os
|
||||
import re
|
||||
import socket
|
||||
import subprocess
|
||||
from libqtile.config import Key, Screen, Group, Drag, Click
|
||||
from libqtile.command import lazy
|
||||
from libqtile import layout, bar, widget, hook
|
||||
from libqtile.widget import Spacer
|
||||
|
||||
##### DEFINING SOME WINDOW FUNCTIONS #####
|
||||
|
||||
@lazy.function
|
||||
def window_to_prev_group(qtile):
|
||||
if qtile.currentWindow is not None:
|
||||
i = qtile.groups.index(qtile.currentGroup)
|
||||
qtile.currentWindow.togroup(qtile.groups[i - 1].name)
|
||||
|
||||
@lazy.function
|
||||
def window_to_next_group(qtile):
|
||||
if qtile.currentWindow is not None:
|
||||
i = qtile.groups.index(qtile.currentGroup)
|
||||
qtile.currentWindow.togroup(qtile.groups[i + 1].name)
|
||||
|
||||
##### LAUNCH APPS IN SPECIFIED GROUPS #####
|
||||
|
||||
def app_or_group(group, app):
|
||||
def f(qtile):
|
||||
if qtile.groupMap[group].windows:
|
||||
qtile.groupMap[group].cmd_toscreen()
|
||||
else:
|
||||
qtile.groupMap[group].cmd_toscreen()
|
||||
qtile.cmd_spawn(app)
|
||||
return f
|
||||
|
||||
##### KEYBINDINGS #####
|
||||
|
||||
def init_keys():
|
||||
keys = [
|
||||
Key(
|
||||
[mod], "Return",
|
||||
lazy.spawn(myTerm) # Open terminal
|
||||
),
|
||||
Key(
|
||||
[mod], "Tab",
|
||||
lazy.next_layout() # Toggle through layouts
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "c",
|
||||
lazy.window.kill() # Kill active window
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "r",
|
||||
lazy.restart() # Restart Qtile
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "q",
|
||||
lazy.shutdown() # Shutdown Qtile
|
||||
),
|
||||
Key([mod], "i",
|
||||
lazy.to_screen(2) # Keyboard focus screen(0)
|
||||
),
|
||||
Key([mod], "o",
|
||||
lazy.to_screen(0) # Keyboard focus screen(1)
|
||||
),
|
||||
Key([mod], "p",
|
||||
lazy.to_screen(1) # Keyboard focus screen(2)
|
||||
),
|
||||
Key([mod, "control"], "k",
|
||||
lazy.layout.section_up() # Move up a section in treetab
|
||||
),
|
||||
Key([mod, "control"], "j",
|
||||
lazy.layout.section_down() # Move down a section in treetab
|
||||
),
|
||||
|
||||
# Window controls
|
||||
Key(
|
||||
[mod], "k",
|
||||
lazy.layout.down() # Switch between windows in current stack pane
|
||||
),
|
||||
Key(
|
||||
[mod], "j",
|
||||
lazy.layout.up() # Switch between windows in current stack pane
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "k",
|
||||
lazy.layout.shuffle_down() # Move windows down in current stack
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "j",
|
||||
lazy.layout.shuffle_up() # Move windows up in current stack
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "l",
|
||||
lazy.layout.grow(), # Grow size of current window (XmonadTall)
|
||||
lazy.layout.increase_nmaster(), # Increase number in master pane (Tile)
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "h",
|
||||
lazy.layout.shrink(), # Shrink size of current window (XmonadTall)
|
||||
lazy.layout.decrease_nmaster(), # Decrease number in master pane (Tile)
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "Left", # Move window to workspace to the left
|
||||
window_to_prev_group
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "Right", # Move window to workspace to the right
|
||||
window_to_next_group
|
||||
),
|
||||
Key(
|
||||
[mod], "n",
|
||||
lazy.layout.normalize() # Restore all windows to default size ratios
|
||||
),
|
||||
Key(
|
||||
[mod], "m",
|
||||
lazy.layout.maximize() # Toggle a window between minimum and maximum sizes
|
||||
),
|
||||
|
||||
Key(
|
||||
[mod, "shift"], "KP_Enter",
|
||||
lazy.window.toggle_floating() # Toggle floating
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "space",
|
||||
lazy.layout.rotate(), # Swap panes of split stack (Stack)
|
||||
lazy.layout.flip() # Switch which side main pane occupies (XmonadTall)
|
||||
),
|
||||
# Stack controls
|
||||
Key(
|
||||
[mod], "space",
|
||||
lazy.layout.next() # Switch window focus to other pane(s) of stack
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "Return",
|
||||
lazy.layout.toggle_split() # Toggle between split and unsplit sides of stack
|
||||
),
|
||||
# GUI Apps
|
||||
|
||||
Key(
|
||||
[mod], "w",
|
||||
lazy.function(app_or_group("WWW", "firefox"))
|
||||
),
|
||||
Key(
|
||||
[mod], "f",
|
||||
lazy.spawn("pcmanfm")
|
||||
),
|
||||
Key(
|
||||
[mod], "g",
|
||||
lazy.spawn("geany")
|
||||
),
|
||||
# Apps Launched with <SUPER> + <KEYPAD 0-9>
|
||||
Key(
|
||||
[mod], "KP_Insert", # Keypad 0
|
||||
# lazy.spawncmd() # Qtile Run Dialog
|
||||
lazy.spawn("rofi -show run")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_End", # Keypad 1
|
||||
lazy.spawn(myTerm+" -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com")
|
||||
# lazy.spawn(myTerm+" -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Down", # Keypad 2
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/googler-script.sh")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Page_Down", # Keypad 3
|
||||
lazy.spawn(myTerm+" -e newsboat")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Left", # Keypad 4
|
||||
lazy.spawn(myTerm+" -e rtv")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Begin", # Keypad 5
|
||||
lazy.spawn(myTerm+" -e neomutt")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Right", # Keypad 6
|
||||
lazy.spawn(myTerm+" -e twitch-curses")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Home", # Keypad 7
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/haxor-news.sh")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Up", # Keypad 8
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/toot.sh")
|
||||
),
|
||||
Key(
|
||||
[mod], "KP_Page_Up", # Keypad 9
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/tig-script.sh")
|
||||
),
|
||||
# Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 0-9>
|
||||
Key(
|
||||
[mod, "shift"], "KP_End", # Keypad 1
|
||||
lazy.spawn(myTerm+" -e vifm")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Down", # Keypad 2
|
||||
lazy.spawn(myTerm+" -e htop")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Page_Down", # Keypad 3
|
||||
lazy.spawn(myTerm+" -e cmus")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Left", # Keypad 4
|
||||
lazy.spawn(myTerm+" -e irssi")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Begin", # Keypad 5
|
||||
lazy.spawn(myTerm+" -e rtorrent")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Right", # Keypad 6
|
||||
lazy.spawn(myTerm+" -e youtube-viewer")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Home", # Keypad 7
|
||||
lazy.spawn(myTerm+" -e ncpamixer")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Up", # Keypad 8
|
||||
lazy.spawn(myTerm+" -e calcurse")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Page_Up", # Keypad 9
|
||||
lazy.spawn(myTerm+" -e vim /home/dt/.config/qtile/config.py")
|
||||
),
|
||||
# Apps Launched with <SUPER> + <CONTROL> + <KEYPAD 0-9>
|
||||
Key(
|
||||
[mod, "control"], "KP_End", # Keypad 1
|
||||
lazy.spawn(myTerm+" -e htop")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Down", # Keypad 2
|
||||
lazy.spawn(myTerm+" -e glances")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Page_Down", # Keypad 3
|
||||
lazy.spawn(myTerm+" -e nmon")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Left", # Keypad 4
|
||||
lazy.spawn(myTerm+" -e httping -KY --draw-phase localhost")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Begin", # Keypad 5
|
||||
lazy.spawn(myTerm+" -e s-tui")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Right", # Keypad 6
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/pianobar.sh")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Home", # Keypad 7
|
||||
lazy.spawn(myTerm+" -e cmatrix -C cyan")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Up", # Keypad 8
|
||||
lazy.spawn("sh ./scripts/joplin.sh")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Page_Up", # Keypad 9
|
||||
lazy.spawn(myTerm+" -e wopr report.xml")
|
||||
),
|
||||
]
|
||||
return keys
|
||||
|
||||
|
||||
##### BAR COLORS #####
|
||||
|
||||
def init_colors():
|
||||
return [["#1D2330", "#1D2330"], # panel background
|
||||
["#84598D", "#84598D"], # background for current screen tab
|
||||
["#B1B5C8", "#B1B5C8"], # font color for group names
|
||||
["#645377", "#645377"], # background color for layout widget
|
||||
["#000000", "#000000"], # background for other screen tabs
|
||||
["#AD69AF", "#AD69AF"], # dark green gradiant for other screen tabs
|
||||
["#7B8290", "#7B8290"], # background color for network widget
|
||||
["#AD69AF", "#AD69AF"], # background color for pacman widget
|
||||
["#357FC5", "#357FC5"], # background color for cmus widget
|
||||
["#000000", "#000000"], # background color for clock widget
|
||||
["#84598d", "#84598d"]] # background color for systray widget
|
||||
|
||||
##### GROUPS #####
|
||||
|
||||
def init_group_names():
|
||||
return [("DEV", {'layout': 'max'}),
|
||||
("WWW", {'layout': 'max'}),
|
||||
("SYS", {'layout': 'monadtall'}),
|
||||
("DOC", {'layout': 'monadtall'}),
|
||||
("VBOX", {'layout': 'floating'}),
|
||||
("CHAT", {'layout': 'bsp'}),
|
||||
("MEDIA", {'layout': 'monadtall'}),
|
||||
("GFX", {'layout': 'floating'})]
|
||||
|
||||
def init_groups():
|
||||
return [Group(name, **kwargs) for name, kwargs in group_names]
|
||||
|
||||
|
||||
##### LAYOUTS #####
|
||||
|
||||
def init_floating_layout():
|
||||
return layout.Floating(border_focus="#3B4022")
|
||||
|
||||
def init_layout_theme():
|
||||
return {"border_width": 2,
|
||||
"margin": 10,
|
||||
"border_focus": "AD69AF",
|
||||
"border_normal": "1D2330"
|
||||
}
|
||||
|
||||
def init_border_args():
|
||||
return {"border_width": 2}
|
||||
|
||||
def init_layouts():
|
||||
return [layout.Max(**layout_theme),
|
||||
layout.MonadTall(**layout_theme),
|
||||
layout.MonadWide(**layout_theme),
|
||||
layout.Bsp(**layout_theme),
|
||||
layout.TreeTab(
|
||||
font = "Ubuntu",
|
||||
fontsize = 10,
|
||||
sections = ["FIRST", "SECOND"],
|
||||
section_fontsize = 11,
|
||||
bg_color = "141414",
|
||||
active_bg = "90C435",
|
||||
active_fg = "000000",
|
||||
inactive_bg = "384323",
|
||||
inactive_fg = "a0a0a0",
|
||||
padding_y = 5,
|
||||
section_top = 10,
|
||||
panel_width = 320,
|
||||
**layout_theme
|
||||
),
|
||||
layout.Slice(side="left", width=192, name="gimp", role="gimp-toolbox",
|
||||
fallback=layout.Slice(side="right", width=256, role="gimp-dock",
|
||||
fallback=layout.Stack(num_stacks=1, **border_args))),
|
||||
#layout.Stack(stacks=2, **layout_theme),
|
||||
#layout.Columns(**layout_theme),
|
||||
#layout.RatioTile(**layout_theme),
|
||||
#layout.VerticalTile(**layout_theme),
|
||||
#layout.Tile(shift_windows=True, **layout_theme),
|
||||
#layout.Matrix(**layout_theme),
|
||||
#layout.Zoomy(**layout_theme),
|
||||
layout.Floating(**layout_theme)]
|
||||
|
||||
|
||||
##### WIDGETS #####
|
||||
|
||||
def init_widgets_defaults():
|
||||
return dict(font="Ubuntu Mono",
|
||||
fontsize = 11,
|
||||
padding = 2,
|
||||
background=colors[2])
|
||||
|
||||
def init_widgets_list():
|
||||
prompt = "{0}@{1}: ".format(os.environ["USER"], socket.gethostname())
|
||||
widgets_list = [
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 6,
|
||||
foreground = colors[2],
|
||||
background = colors[0]
|
||||
),
|
||||
widget.GroupBox(font="Ubuntu Bold",
|
||||
fontsize = 9,
|
||||
margin_y = 0,
|
||||
margin_x = 0,
|
||||
padding_y = 9,
|
||||
padding_x = 5,
|
||||
borderwidth = 1,
|
||||
active = colors[2],
|
||||
inactive = colors[2],
|
||||
rounded = False,
|
||||
highlight_method = "block",
|
||||
this_current_screen_border = colors[1],
|
||||
this_screen_border = colors [4],
|
||||
other_current_screen_border = colors[0],
|
||||
other_screen_border = colors[0],
|
||||
foreground = colors[2],
|
||||
background = colors[0]
|
||||
),
|
||||
widget.Prompt(
|
||||
prompt=prompt,
|
||||
font="Ubuntu Mono",
|
||||
padding=10,
|
||||
foreground = colors[3],
|
||||
background = colors[1]
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 10,
|
||||
foreground = colors[2],
|
||||
background = colors[0]
|
||||
),
|
||||
widget.WindowName(font="Ubuntu",
|
||||
fontsize = 11,
|
||||
foreground = colors[5],
|
||||
background = colors[0],
|
||||
padding = 6
|
||||
),
|
||||
widget.Image(
|
||||
scale = True,
|
||||
filename = "~/.config/qtile/bar06.png",
|
||||
background = colors[6]
|
||||
),
|
||||
widget.Systray(
|
||||
background=colors[10],
|
||||
padding = 6
|
||||
),
|
||||
widget.Image(
|
||||
scale = True,
|
||||
filename = "~/.config/qtile/bar02-b.png",
|
||||
background = colors[6]
|
||||
),
|
||||
widget.TextBox(
|
||||
text=" ↯",
|
||||
foreground=colors[0],
|
||||
background=colors[6],
|
||||
padding = 0,
|
||||
fontsize=14
|
||||
),
|
||||
widget.Net(
|
||||
interface = "enp3s0",
|
||||
foreground = colors[0],
|
||||
background = colors[6],
|
||||
padding = 6
|
||||
),
|
||||
widget.Image(
|
||||
scale = True,
|
||||
filename = "~/.config/qtile/bar03.png",
|
||||
background = colors[3]
|
||||
),
|
||||
widget.TextBox(
|
||||
font="Ubuntu Bold",
|
||||
text=" ☵",
|
||||
padding = 6,
|
||||
foreground=colors[2],
|
||||
background=colors[3],
|
||||
fontsize=14
|
||||
),
|
||||
widget.CurrentLayout(
|
||||
foreground = colors[2],
|
||||
background = colors[3],
|
||||
padding = 6
|
||||
),
|
||||
widget.Image(
|
||||
scale = True,
|
||||
filename = "~/.config/qtile/bar04.png",
|
||||
background = colors[7]
|
||||
),
|
||||
widget.TextBox(
|
||||
font="Ubuntu Bold",
|
||||
text=" ⟳",
|
||||
padding = 6,
|
||||
foreground=colors[0],
|
||||
background=colors[7],
|
||||
fontsize=14
|
||||
),
|
||||
widget.Pacman(
|
||||
execute = "urxvtc",
|
||||
update_interval = 1800,
|
||||
foreground = colors[0],
|
||||
background = colors[7]
|
||||
),
|
||||
widget.TextBox(
|
||||
text="Updates",
|
||||
padding = 6,
|
||||
foreground=colors[0],
|
||||
background=colors[7]
|
||||
),
|
||||
widget.Image(
|
||||
scale = True,
|
||||
filename = "~/.config/qtile/bar05.png",
|
||||
background = colors[8]
|
||||
),
|
||||
widget.TextBox(
|
||||
font="Ubuntu Bold",
|
||||
text=" ♫",
|
||||
padding = 6,
|
||||
foreground = "d7d7d7",
|
||||
background=colors[8],
|
||||
fontsize=14
|
||||
),
|
||||
widget.Cmus(
|
||||
max_chars = 40,
|
||||
update_interval = 0.5,
|
||||
foreground = "d7d7d7",
|
||||
background = colors[8]
|
||||
),
|
||||
widget.Image(
|
||||
scale = True,
|
||||
filename = "~/.config/qtile/bar07.png",
|
||||
background = colors[9]
|
||||
),
|
||||
widget.TextBox(
|
||||
font="Ubuntu Bold",
|
||||
text=" 🕒",
|
||||
foreground=colors[2],
|
||||
background=colors[9],
|
||||
padding = 6,
|
||||
fontsize=14
|
||||
),
|
||||
widget.Clock(
|
||||
foreground = colors[2],
|
||||
background = colors[9],
|
||||
format="%A, %B %d - %H:%M"
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 6,
|
||||
foreground = colors[0],
|
||||
background = colors[9]
|
||||
),
|
||||
]
|
||||
return widgets_list
|
||||
|
||||
|
||||
##### SCREENS ##### (TRIPLE MONITOR SETUP)
|
||||
|
||||
def init_widgets_screen1():
|
||||
widgets_screen1 = init_widgets_list()
|
||||
return widgets_screen1 # Slicing removes unwanted widgets on Monitors 1,3
|
||||
|
||||
def init_widgets_screen2():
|
||||
widgets_screen2 = init_widgets_list()
|
||||
return widgets_screen2 # Monitor 2 will display all widgets in widgets_list
|
||||
|
||||
def init_screens():
|
||||
return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), opacity=0.95, size=25)),
|
||||
Screen(top=bar.Bar(widgets=init_widgets_screen2(), opacity=0.95, size=25)),
|
||||
Screen(top=bar.Bar(widgets=init_widgets_screen1(), opacity=0.95, size=25))]
|
||||
|
||||
|
||||
##### FLOATING WINDOWS #####
|
||||
|
||||
@hook.subscribe.client_new
|
||||
def floating(window):
|
||||
floating_types = ['notification', 'toolbar', 'splash', 'dialog']
|
||||
transient = window.window.get_wm_transient_for()
|
||||
if window.window.get_wm_type() in floating_types or transient:
|
||||
window.floating = True
|
||||
|
||||
def init_mouse():
|
||||
return [Drag([mod], "Button1", lazy.window.set_position_floating(), # Move floating windows
|
||||
start=lazy.window.get_position()),
|
||||
Drag([mod], "Button3", lazy.window.set_size_floating(), # Resize floating windows
|
||||
start=lazy.window.get_size()),
|
||||
Click([mod, "shift"], "Button1", lazy.window.bring_to_front())] # Bring floating window to front
|
||||
|
||||
##### DEFINING A FEW THINGS #####
|
||||
|
||||
if __name__ in ["config", "__main__"]:
|
||||
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
||||
myTerm = "urxvtc" # My terminal of choice
|
||||
myConfig = "/home/dt/.config/qtile/config.py" # Qtile config file location
|
||||
|
||||
colors = init_colors()
|
||||
keys = init_keys()
|
||||
mouse = init_mouse()
|
||||
group_names = init_group_names()
|
||||
groups = init_groups()
|
||||
floating_layout = init_floating_layout()
|
||||
layout_theme = init_layout_theme()
|
||||
border_args = init_border_args()
|
||||
layouts = init_layouts()
|
||||
screens = init_screens()
|
||||
widget_defaults = init_widgets_defaults()
|
||||
widgets_list = init_widgets_list()
|
||||
widgets_screen1 = init_widgets_screen1()
|
||||
widgets_screen2 = init_widgets_screen2()
|
||||
|
||||
|
||||
##### SETS GROUPS KEYBINDINGS #####
|
||||
|
||||
for i, (name, kwargs) in enumerate(group_names, 1):
|
||||
keys.append(Key([mod], str(i), lazy.group[name].toscreen())) # Switch to another group
|
||||
keys.append(Key([mod, "shift"], str(i), lazy.window.togroup(name))) # Send current window to another group
|
||||
|
||||
|
||||
##### STARTUP APPLICATIONS #####
|
||||
|
||||
@hook.subscribe.startup_once
|
||||
def start_once():
|
||||
home = os.path.expanduser('~')
|
||||
subprocess.call([home + '/.config/qtile/autostart.sh'])
|
||||
|
||||
|
||||
##### NEEDED FOR SOME JAVA APPS #####
|
||||
|
||||
#wmname = "LG3D"
|
||||
wmname = "qtile"
|
1
.config/rofi/config
Normal file
|
@ -0,0 +1 @@
|
|||
rofi.theme: ~/.config/rofi/themes/distrotube.rasi
|
135
.config/rofi/themes/distrotube.rasi
Normal file
|
@ -0,0 +1,135 @@
|
|||
/**
|
||||
* ROFI Color theme
|
||||
* User: Derek Taylor (DistroTube)
|
||||
* Copyright: Derek Taylor (DistroTube)
|
||||
*/
|
||||
|
||||
* {
|
||||
font: "Sans Bold 9";
|
||||
selected-normal-foreground: rgba ( 29, 35, 48, 100 % );
|
||||
foreground: rgba ( 192, 197, 206, 100 % );
|
||||
normal-foreground: @foreground;
|
||||
alternate-normal-background: rgba ( 255, 255, 255, 7 % );
|
||||
red: rgba ( 220, 50, 47, 100 % );
|
||||
selected-urgent-foreground: rgba ( 51, 51, 51, 100 % );
|
||||
blue: rgba ( 38, 139, 210, 100 % );
|
||||
urgent-foreground: rgba ( 255, 153, 153, 100 % );
|
||||
alternate-urgent-background: rgba ( 255, 255, 255, 7 % );
|
||||
active-foreground: rgba ( 170, 170, 17, 100 % );
|
||||
lightbg: rgba ( 238, 232, 213, 100 % );
|
||||
selected-active-foreground: rgba ( 51, 51, 51, 100 % );
|
||||
alternate-active-background: rgba ( 255, 255, 255, 7 % );
|
||||
background: rgba ( 29, 35, 48, 100 % );
|
||||
bordercolor: rgba ( 100, 83, 119, 100 % );
|
||||
alternate-normal-foreground: @foreground;
|
||||
normal-background: rgba ( 0, 0, 0, 0 % );
|
||||
lightfg: rgba ( 88, 104, 117, 100 % );
|
||||
selected-normal-background: rgba ( 173, 105, 175, 100 % );
|
||||
border-color: rgba ( 173, 105, 175, 100 % );
|
||||
spacing: 2;
|
||||
separatorcolor: rgba ( 100, 83, 119, 100 % );
|
||||
urgent-background: rgba ( 0, 0, 0, 0 % );
|
||||
selected-urgent-background: rgba ( 255, 153, 153, 100 % );
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
alternate-active-foreground: @active-foreground;
|
||||
active-background: rgba ( 0, 0, 0, 0 % );
|
||||
selected-active-background: rgba ( 170, 170, 17, 100 % );
|
||||
}
|
||||
#window {
|
||||
background-color: @background;
|
||||
border-color: @bordercolor;
|
||||
border: 1;
|
||||
padding: 5;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#message {
|
||||
border: 1px dash 0px 0px ;
|
||||
border-color: @bordercolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: true;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @alternate-normal-background;
|
||||
text-color: @alternate-normal-foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @alternate-urgent-background;
|
||||
text-color: @alternate-urgent-foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @alternate-active-background;
|
||||
text-color: @alternate-active-foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 0px ;
|
||||
border: 0;
|
||||
handle-width: 0px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @bordercolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
88
.config/termite/config
Normal file
|
@ -0,0 +1,88 @@
|
|||
[options]
|
||||
allow_bold = true
|
||||
#audible_bell = false
|
||||
clickable_url = true
|
||||
#dynamic_title = true
|
||||
font = UbuntuMono Nerd Font 14
|
||||
#fullscreen = true
|
||||
geometry = 700x520
|
||||
icon_name = terminal
|
||||
#mouse_autohide = false
|
||||
#scroll_on_output = false
|
||||
#scroll_on_keystroke = true
|
||||
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
||||
# and setting it to a negative value means "infinite scrollback"
|
||||
scrollback_lines = 10000
|
||||
#search_wrap = true
|
||||
#urgent_on_bell = true
|
||||
|
||||
# $BROWSER is used by default if set, with xdg-open as a fallback
|
||||
#browser = xdg-open
|
||||
|
||||
# "system", "on" or "off"
|
||||
#cursor_blink = system
|
||||
|
||||
# "block", "underline" or "ibeam"
|
||||
#cursor_shape = block
|
||||
|
||||
# Hide links that are no longer valid in url select overlay mode
|
||||
#filter_unmatched_urls = true
|
||||
|
||||
# Emit escape sequences for extra modified keys
|
||||
#modify_other_keys = false
|
||||
|
||||
# set size hints for the window
|
||||
#size_hints = false
|
||||
|
||||
# "off", "left" or "right"
|
||||
#scrollbar = off
|
||||
|
||||
[colors]
|
||||
# If both of these are unset, cursor falls back to the foreground color,
|
||||
# and cursor_foreground falls back to the background color.
|
||||
#cursor = #dcdccc
|
||||
#cursor_foreground = #dcdccc
|
||||
|
||||
[colors]
|
||||
foreground = #839496
|
||||
foreground_bold = #eee8d5
|
||||
background = #002b36
|
||||
cursor = #93a1a1
|
||||
|
||||
# 20% background transparency (requires a compositor)
|
||||
background = rgba(0, 43, 54, 0.95)
|
||||
|
||||
# if unset, will reverse foreground and background
|
||||
#highlight = #839496
|
||||
|
||||
# colors from color0 to color254 can be set
|
||||
color0 = #073642
|
||||
color1 = #dc322f
|
||||
color2 = #859900
|
||||
color3 = #b58900
|
||||
color4 = #268bd2
|
||||
color5 = #d33682
|
||||
color6 = #2aa198
|
||||
color7 = #eee8d5
|
||||
color8 = #002b36
|
||||
color9 = #cb4b16
|
||||
color10 = #586e75
|
||||
color11 = #657b83
|
||||
color12 = #839496
|
||||
color13 = #6c71c4
|
||||
color14 = #93a1a1
|
||||
color15 = #fdf6e3
|
||||
|
||||
|
||||
[hints]
|
||||
#font = Monospace 12
|
||||
#foreground = #dcdccc
|
||||
#background = #3f3f3f
|
||||
#active_foreground = #e68080
|
||||
#active_background = #3f3f3f
|
||||
#padding = 2
|
||||
#border = #3f3f3f
|
||||
#border_width = 0.5
|
||||
#roundness = 2.0
|
||||
|
||||
# vim: ft=dosini cms=#%s
|
445
.config/tig/tigrc
Normal file
|
@ -0,0 +1,445 @@
|
|||
# Tig default configuration
|
||||
#
|
||||
# Please see 'man tigrc' for a complete reference.
|
||||
|
||||
# Settings
|
||||
# --------
|
||||
# Most of these settings can be toggleable, either via the toggle-*
|
||||
# actions or via the option menu (bound to `o` by default).
|
||||
|
||||
# View settings
|
||||
#
|
||||
# Supported column types and their options:
|
||||
#
|
||||
# author
|
||||
# - display (enum) [no|full|abbreviated|email|email-user]
|
||||
# : Show author information?
|
||||
# - width (int) : Fixed width when nonzero
|
||||
# - maxwidth (int) : Autosize limit
|
||||
#
|
||||
# commit-title
|
||||
# - display (bool) : Show the commit title?
|
||||
# - graph (enum) [no|v2|v1] : Show the commit graph? (main view only)
|
||||
# - refs (bool) : Show branches, tags and remotes? (main view only)
|
||||
# - overflow (boolint) : Highlight overflows? Defaults to 50 when enabled.
|
||||
#
|
||||
# date
|
||||
# - display (enum) [no|default|relative|relative-compact|custom]
|
||||
# : Show dates?
|
||||
# - local (bool) : Show local dates?
|
||||
# - format (string) : Custom strftime(3) format
|
||||
# Note: %Z is formatted as %z
|
||||
# - width (int) : Fixed width when nonzero
|
||||
#
|
||||
# file-name
|
||||
# - display (enum) [no|always|auto] : Show file names?
|
||||
# - width (int) : Fixed width when nonzero
|
||||
# - maxwidth (int) : Autosize limit
|
||||
#
|
||||
# file-size
|
||||
# - display (enum) [no|default|units]
|
||||
# : Show file sizes?
|
||||
# - width (int) : Fixed width when nonzero
|
||||
#
|
||||
# id
|
||||
# - display (bool) : Show commit/tree ID?
|
||||
# - width (int) : Fixed width when nonzero
|
||||
#
|
||||
# line-number
|
||||
# - display (bool) : Show line numbers?
|
||||
# - interval (int) : Interval between line numbers; defaults to 5
|
||||
# - width (int) : Fixed width when nonzero
|
||||
#
|
||||
# mode
|
||||
# - display (bool) : Show file modes?
|
||||
# - width (int) : Fixed width when nonzero
|
||||
#
|
||||
# ref
|
||||
# - display (bool) : Show ref names?
|
||||
# - width (int) : Fixed width when nonzero
|
||||
# - maxwidth (int) : Autosize limit
|
||||
#
|
||||
# status
|
||||
# - display (enum) [no|short|long] : Show status label?
|
||||
#
|
||||
# text
|
||||
# - display (bool) : Show text?
|
||||
# - commit-title-overflow (boolint) : Highlight overflow in log and diff view?
|
||||
#
|
||||
|
||||
set blame-view = id:yes,color file-name:auto author:full date:default line-number:yes,interval=1 text
|
||||
set grep-view = file-name:no line-number:yes,interval=1 text
|
||||
set main-view = line-number:no,interval=5 id:no date:default author:full commit-title:yes,graph,refs,overflow=no
|
||||
set refs-view = line-number:no id:no date:default author:full ref commit-title
|
||||
set stash-view = line-number:no,interval=5 id:no date:default author:full commit-title
|
||||
set status-view = line-number:no,interval=5 status:short file-name
|
||||
set tree-view = line-number:no,interval=5 mode author:full file-size date:default id:no file-name
|
||||
|
||||
# Pager based views
|
||||
set pager-view = line-number:no,interval=5 text
|
||||
set stage-view = line-number:no,interval=5 text
|
||||
set log-view = line-number:no,interval=5 text
|
||||
set blob-view = line-number:no,interval=5 text
|
||||
set diff-view = line-number:no,interval=5 text:yes,commit-title-overflow=no
|
||||
|
||||
# UI display settings
|
||||
set show-changes = yes # Show changes commits in the main view?
|
||||
set wrap-lines = no # Wrap long lines in pager views?
|
||||
set tab-size = 8 # Number of spaces to use when expanding tabs
|
||||
set line-graphics = default # Enum: ascii, default, utf-8
|
||||
set truncation-delimiter = ~ # Character drawn for truncations, or "utf-8"
|
||||
|
||||
# Format reference names based on type.
|
||||
# - head : The current HEAD.
|
||||
# - tag : A signed tag.
|
||||
# - local-tag : An unsigned tag.
|
||||
# - remote : A remote.
|
||||
# - tracked-remote : The remote tracked by current HEAD.
|
||||
# - replace : A replaced reference.
|
||||
# - branch : Any other reference.
|
||||
# If no format is defined for `local-tag` then the one for `tag` is used.
|
||||
# Similarly, `remote` is used if no `tracked-remote` format exists.
|
||||
# Prefix with `hide:` to not show that reference type, e.g. `hide:remote`.
|
||||
# Expects a space-separated list of format strings.
|
||||
set reference-format = [branch] <tag> {remote} ~replace~
|
||||
|
||||
# Settings controlling how content is read from Git
|
||||
set commit-order = auto # Enum: auto, default, topo, date, reverse (main)
|
||||
set status-show-untracked-dirs = yes # Show files in untracked directories? (status)
|
||||
set status-show-untracked-files = yes # Show untracked files?
|
||||
set ignore-space = no # Enum: no, all, some, at-eol (diff)
|
||||
set show-notes = yes # When non-bool passed as `--show-notes=...` (diff)
|
||||
#set diff-context = 3 # Number of lines to show around diff changes (diff)
|
||||
#set diff-options = -C # User-defined options for `tig show` (git-diff)
|
||||
#set diff-highlight = true # String (or bool): Path to diff-highlight script,
|
||||
# defaults to `diff-highlight`.
|
||||
#set blame-options = -C -C -C # User-defined options for `tig blame` (git-blame)
|
||||
#set log-options = --pretty=raw # User-defined options for `tig log` (git-log)
|
||||
#set main-options = -n 1000 # User-defined options for `tig` (git-log)
|
||||
#set mailmap = yes # Use .mailmap to show canonical name and email address
|
||||
|
||||
# Misc
|
||||
set refresh-mode = auto # Enum: manual, auto, after-command, periodic
|
||||
set refresh-interval = 10 # Interval in seconds between refreshes
|
||||
set ignore-case = no # Enum: no, yes, smart-case
|
||||
# Ignore case when searching? Smart-case option will
|
||||
set wrap-search = yes # Wrap around to top/bottom of view when searching
|
||||
set focus-child = yes # Move focus to child view when opened?
|
||||
set send-child-enter = yes # Propagate "enter" keypresses to child views?
|
||||
set horizontal-scroll = 50% # Number of columns to scroll as % of width
|
||||
set split-view-height = 67% # Height of the bottom view for horizontal splits
|
||||
set vertical-split = auto # Enum: horizontal, vertical, auto; Use auto to
|
||||
# switch to horizontal split when width allows it
|
||||
set split-view-width = 50% # Width of right-most view for vertical splits
|
||||
set editor-line-number = yes # Automatically pass line number to editor? Used
|
||||
# for opening file at specific line e.g. from a diff
|
||||
set history-size = 500 # Size of persistent history, 0 to disable
|
||||
set mouse = no # Enable mouse support?
|
||||
set mouse-scroll = 3 # Number of lines to scroll via the mouse
|
||||
set mouse-wheel-cursor = no # Prefer moving the cursor to scrolling the view?
|
||||
|
||||
# User-defined commands
|
||||
# ---------------------
|
||||
# These commands allow to run shell commands directly from within Tig.
|
||||
# Unless otherwise specified, commands are run in the foreground with
|
||||
# their console output shown (as if '!' was specified). When multiple
|
||||
# command options are specified their behavior are combined, e.g. "?<git
|
||||
# commit" will prompt the user whether to execute the command and will
|
||||
# exit Tig after completion.
|
||||
#
|
||||
# ! Run the command in the foreground with output shown.
|
||||
# @ Run the command in the background with no output.
|
||||
# ? Prompt the user before executing the command.
|
||||
# < Exit Tig after executing the command.
|
||||
# > Re-open Tig instantly in the last displayed view after executing the command.
|
||||
#
|
||||
# User-defined commands can optionally refer to Tig's internal state
|
||||
# using the following variable names, which are substituted before
|
||||
# commands are run:
|
||||
#
|
||||
# %(head) The current ref ID. Defaults to HEAD
|
||||
# %(commit) The current commit ID.
|
||||
# %(blob) The current blob ID.
|
||||
# %(branch) The current branch name.
|
||||
# %(remote) The current remote name.
|
||||
# %(tag) The current tag name.
|
||||
# %(stash) The current stash name.
|
||||
# %(directory) The current directory path in the tree view;
|
||||
# empty for the root directory.
|
||||
# %(file) The currently selected file.
|
||||
# %(ref) The reference given to blame or HEAD if undefined.
|
||||
# %(revargs) The revision arguments passed on the command line.
|
||||
# %(fileargs) The file arguments passed on the command line.
|
||||
# %(cmdlineargs) All other options passed on the command line.
|
||||
# %(diffargs) The diff options from `diff-options` or `TIG_DIFF_OPTS`
|
||||
# %(prompt) Prompt for the argument value.
|
||||
|
||||
bind main C ?git cherry-pick %(commit)
|
||||
bind status C !git commit
|
||||
bind stash A ?git stash apply %(stash)
|
||||
bind stash P ?git stash pop %(stash)
|
||||
bind stash ! ?git stash drop %(stash)
|
||||
bind refs C ?git checkout %(branch)
|
||||
bind refs ! ?git branch -D %(branch)
|
||||
|
||||
# Normal commands
|
||||
# ---------------
|
||||
|
||||
# View switching
|
||||
bind generic m view-main
|
||||
bind generic d view-diff
|
||||
bind generic l view-log
|
||||
bind generic t view-tree
|
||||
bind generic f view-blob
|
||||
bind generic b view-blame
|
||||
bind generic r view-refs
|
||||
bind generic p view-pager
|
||||
bind generic h view-help
|
||||
bind generic s view-status
|
||||
bind generic S view-status # Compat binding to avoid going crazy!
|
||||
bind generic c view-stage
|
||||
bind generic y view-stash
|
||||
bind generic g view-grep
|
||||
|
||||
# View manipulation
|
||||
bind generic <Enter> enter # Enter and open selected entry
|
||||
bind generic <Lt> back # Go back to the previous view state
|
||||
bind generic <Down> next # Move to next
|
||||
bind generic <C-N> next
|
||||
bind generic J next
|
||||
bind generic <Up> previous # Move to previous
|
||||
bind generic <C-P> previous
|
||||
bind generic K previous
|
||||
bind generic , parent # Move to parent
|
||||
bind generic <Tab> view-next # Move focus to the next view
|
||||
bind generic R refresh # Reload and refresh view
|
||||
bind generic <F5> refresh
|
||||
bind generic O maximize # Maximize the current view
|
||||
bind generic q view-close # Close the current view
|
||||
bind generic Q quit # Close all views and quit
|
||||
bind generic <C-C> quit # Close all views and quit
|
||||
|
||||
# View specific
|
||||
bind status u status-update # Stage/unstage changes in file
|
||||
bind status ! status-revert # Revert changes in file
|
||||
bind status M status-merge # Open git-mergetool(1)
|
||||
#bind status ??? :toggle status # Show short or long status labels
|
||||
bind stage u status-update # Stage/unstage current diff (c)hunk
|
||||
bind stage 1 stage-update-line # Stage/unstage current line
|
||||
bind stage ! status-revert # Revert current diff (c)hunk
|
||||
bind stage \ stage-split-chunk # Split current diff (c)hunk
|
||||
bind stage @ :/^@@ # Jump to next (c)hunk
|
||||
bind stage [ :toggle diff-context -1 # Decrease the diff context
|
||||
bind stage ] :toggle diff-context +1 # Increase the diff context
|
||||
bind diff @ :/^@@ # Jump to next (c)hunk
|
||||
bind diff [ :toggle diff-context -1
|
||||
bind diff ] :toggle diff-context +1
|
||||
bind main G :toggle commit-title-graph # Toggle revision graph visualization
|
||||
bind main F :toggle commit-title-refs # Toggle reference display (tags/branches)
|
||||
|
||||
# Cursor navigation
|
||||
bind generic j move-down
|
||||
bind generic k move-up
|
||||
bind generic <C-D> move-half-page-down
|
||||
bind generic <C-U> move-half-page-up
|
||||
bind generic <PgDown> move-page-down
|
||||
bind generic <Space> move-page-down
|
||||
bind generic <PgUp> move-page-up
|
||||
bind generic - move-page-up
|
||||
bind generic <Home> move-first-line
|
||||
bind generic <End> move-last-line
|
||||
|
||||
# Scrolling
|
||||
bind generic | scroll-first-col
|
||||
bind generic <Left> scroll-left
|
||||
bind generic <Right> scroll-right
|
||||
bind generic <Ins> scroll-line-up
|
||||
bind generic <C-Y> scroll-line-up
|
||||
bind generic <Del> scroll-line-down
|
||||
bind generic <C-E> scroll-line-down
|
||||
bind generic <SBack> scroll-page-up
|
||||
bind generic <SFwd> scroll-page-down
|
||||
|
||||
# Searching
|
||||
bind generic / search
|
||||
bind generic ? search-back
|
||||
bind generic n find-next
|
||||
bind generic N find-prev
|
||||
# Navigation keys used while searching
|
||||
bind search <Down> find-next
|
||||
bind search <C-N> find-next
|
||||
bind search <C-J> find-next
|
||||
bind search <Up> find-prev
|
||||
bind search <C-P> find-prev
|
||||
bind search <C-K> find-prev
|
||||
bind search <C-C> view-close
|
||||
|
||||
# Option manipulation
|
||||
bind generic o options # Open the options menu
|
||||
# Bindings for toggling settings
|
||||
bind generic I :toggle sort-order # Toggle ascending/descending sort order
|
||||
bind generic i :toggle sort-field # Toggle field to sort by
|
||||
bind generic <Hash> :toggle line-number # Toggle line numbers
|
||||
bind generic D :toggle date # Toggle date display
|
||||
bind generic A :toggle author # Toggle author display
|
||||
bind generic ~ :toggle line-graphics # Toggle (line) graphics mode
|
||||
bind generic F :toggle file-name # Toggle file name display
|
||||
# bind generic ??? :toogle show-changes # Toggle local changes display in the main view
|
||||
bind generic W :toggle ignore-space # Toggle ignoring whitespace in diffs
|
||||
# bind generic ? :toggle commit-order # Toggle commit ordering
|
||||
bind generic X :toggle id # Toggle commit ID display
|
||||
bind generic $ :toggle commit-title-overflow
|
||||
# Toggle highlighting of commit title overflow
|
||||
# bind generic ??? :toggle file-size # Toggle file size format
|
||||
# bind generic ??? :toggle status # Toggle status display
|
||||
# bind generic ??? :toggle status-show-untracked-dirs
|
||||
# Toggle display of file in untracked directories
|
||||
# bind generic ??? :toggle vertical-split # Toggle vertical split
|
||||
bind generic % :toggle file-filter
|
||||
|
||||
# Misc
|
||||
bind generic e edit # Open in editor
|
||||
bind generic : prompt # Open the prompt
|
||||
bind generic <C-L> screen-redraw # Redraw the screen
|
||||
bind generic z stop-loading # Stop all loading views
|
||||
bind generic v show-version # Show Tig version
|
||||
|
||||
# Colors
|
||||
# ------
|
||||
|
||||
# The colors in the UI can be customized. In addition to the colors used
|
||||
# for the UI you can also define new colors to use in the pager, blob,
|
||||
# diff, and stage views by placing the text to match for in quotes.
|
||||
#
|
||||
# Prefix the name of a view to set a color only for that view, e.g.
|
||||
#
|
||||
# color grep.file blue default
|
||||
#
|
||||
# As an example, this setting will to color Signed-off-by lines with a
|
||||
# yellow foreground color and use the default background color.
|
||||
#
|
||||
# color " Signed-off-by" yellow default
|
||||
#
|
||||
# Note the four leading spaces in the string to match. This is because
|
||||
# Git automatically indents commit messages by four spaces.
|
||||
|
||||
color "---" blue default
|
||||
color "diff --" yellow default
|
||||
color "--- " yellow default
|
||||
color "+++ " yellow default
|
||||
color "@@" magenta default
|
||||
color "+" green default
|
||||
color " +" green default
|
||||
color "-" red default
|
||||
color " -" red default
|
||||
color "index " blue default
|
||||
color "old file mode " yellow default
|
||||
color "new file mode " yellow default
|
||||
color "deleted file mode " yellow default
|
||||
color "copy from " yellow default
|
||||
color "copy to " yellow default
|
||||
color "rename from " yellow default
|
||||
color "rename to " yellow default
|
||||
color "similarity " yellow default
|
||||
color "dissimilarity " yellow default
|
||||
color "diff-tree " blue default
|
||||
color "Author: " cyan default
|
||||
color "Commit: " magenta default
|
||||
color "Tagger: " magenta default
|
||||
color "Merge: " blue default
|
||||
color "Date: " yellow default
|
||||
color "AuthorDate: " yellow default
|
||||
color "CommitDate: " yellow default
|
||||
color "TaggerDate: " yellow default
|
||||
color "Refs: " red default
|
||||
color "Reflog: " red default
|
||||
color "Reflog message: " yellow default
|
||||
color "stash@{" magenta default
|
||||
color "commit " green default
|
||||
color "parent " blue default
|
||||
color "tree " blue default
|
||||
color "author " green default
|
||||
color "committer " magenta default
|
||||
color " Signed-off-by" yellow default
|
||||
color " Acked-by" yellow default
|
||||
color " Tested-by" yellow default
|
||||
color " Reviewed-by" yellow default
|
||||
color default default default normal
|
||||
color cursor white green bold
|
||||
color status green default
|
||||
color delimiter magenta default
|
||||
color date blue default
|
||||
color mode cyan default
|
||||
color id magenta default
|
||||
color overflow red default
|
||||
color header yellow default
|
||||
color section cyan default
|
||||
color directory yellow default
|
||||
color file default default
|
||||
color grep.file blue default
|
||||
color file-size default default
|
||||
color line-number cyan default
|
||||
color title-blur white blue
|
||||
color title-focus white blue bold
|
||||
color main-commit default default
|
||||
color main-tag magenta default bold
|
||||
color main-local-tag magenta default
|
||||
color main-remote yellow default
|
||||
color main-replace cyan default
|
||||
color main-tracked yellow default bold
|
||||
color main-ref cyan default
|
||||
color main-head cyan default bold
|
||||
color stat-none default default
|
||||
color stat-staged magenta default
|
||||
color stat-unstaged magenta default
|
||||
color stat-untracked magenta default
|
||||
color help-group blue default
|
||||
color help-action yellow default
|
||||
color diff-stat blue default
|
||||
color diff-add-highlight green default standout
|
||||
color diff-del-highlight red default standout
|
||||
color palette-0 magenta default
|
||||
color palette-1 yellow default
|
||||
color palette-2 cyan default
|
||||
color palette-3 green default
|
||||
color palette-4 default default
|
||||
color palette-5 white default
|
||||
color palette-6 red default
|
||||
color palette-7 magenta default bold
|
||||
color palette-8 yellow default bold
|
||||
color palette-9 cyan default bold
|
||||
color palette-10 green default bold
|
||||
color palette-11 default default bold
|
||||
color palette-12 white default bold
|
||||
color palette-13 red default bold
|
||||
color graph-commit blue default
|
||||
color search-result black yellow
|
||||
|
||||
# Mappings for colors read from git configuration.
|
||||
# Set to "no" to disable.
|
||||
set git-colors = \
|
||||
branch.current=main-head \
|
||||
branch.local=main-ref \
|
||||
branch.plain=main-ref \
|
||||
branch.remote=main-remote \
|
||||
\
|
||||
diff.meta=diff-header \
|
||||
diff.meta=diff-index \
|
||||
diff.meta=diff-oldmode \
|
||||
diff.meta=diff-newmode \
|
||||
diff.frag=diff-chunk \
|
||||
diff.old=diff-del \
|
||||
diff.new=diff-add \
|
||||
\
|
||||
diff-highlight.oldHighlight=diff-del-highlight \
|
||||
diff-highlight.newHighlight=diff-add-highlight \
|
||||
\
|
||||
grep.filename=grep.file \
|
||||
grep.linenumber=grep.line-number \
|
||||
grep.separator=grep.delimiter \
|
||||
\
|
||||
status.branch=status.header \
|
||||
status.added=stat-staged \
|
||||
status.updated=stat-staged \
|
||||
status.changed=stat-unstaged \
|
||||
status.untracked=stat-untracked
|
295
.config/tint2/launchers/chromium-browser.desktop
Executable file
|
@ -0,0 +1,295 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Chromium Web Browser
|
||||
Name[ast]=Restolador web Chromium
|
||||
Name[bg]=Уеб четец Chromium
|
||||
Name[bn]=ক্রোমিয়াম ওয়েব ব্রাউজার
|
||||
Name[bs]=Chromium web preglednik
|
||||
Name[ca]=Navegador web Chromium
|
||||
Name[ca@valencia]=Navegador web Chromium
|
||||
Name[da]=Chromium netbrowser
|
||||
Name[de]=Chromium-Webbrowser
|
||||
Name[en_AU]=Chromium Web Browser
|
||||
Name[eo]=Kromiumo retfoliumilo
|
||||
Name[es]=Navegador web Chromium
|
||||
Name[et]=Chromiumi veebibrauser
|
||||
Name[eu]=Chromium web-nabigatzailea
|
||||
Name[fi]=Chromium-selain
|
||||
Name[fr]=Navigateur Web Chromium
|
||||
Name[gl]=Navegador web Chromium
|
||||
Name[he]=דפדפן האינטרנט כרומיום
|
||||
Name[hr]=Chromium web preglednik
|
||||
Name[hu]=Chromium webböngésző
|
||||
Name[hy]=Chromium ոստայն զննարկիչ
|
||||
Name[ia]=Navigator del web Chromium
|
||||
Name[id]=Peramban Web Chromium
|
||||
Name[it]=Browser web Chromium
|
||||
Name[ja]=Chromium ウェブ・ブラウザ
|
||||
Name[ka]=ვებ ბრაუზერი Chromium
|
||||
Name[ko]=Chromium 웹 브라우저
|
||||
Name[kw]=Peurel wias Chromium
|
||||
Name[ms]=Pelayar Web Chromium
|
||||
Name[nb]=Chromium nettleser
|
||||
Name[nl]=Chromium webbrowser
|
||||
Name[pt_BR]=Navegador de Internet Chromium
|
||||
Name[ro]=Navigator Internet Chromium
|
||||
Name[ru]=Веб-браузер Chromium
|
||||
Name[sl]=Chromium spletni brskalnik
|
||||
Name[sv]=Webbläsaren Chromium
|
||||
Name[ug]=Chromium توركۆرگۈ
|
||||
Name[vi]=Trình duyệt Web Chromium
|
||||
Name[zh_CN]=Chromium 网页浏览器
|
||||
Name[zh_HK]=Chromium 網頁瀏覽器
|
||||
Name[zh_TW]=Chromium 網頁瀏覽器
|
||||
GenericName=Web Browser
|
||||
GenericName[ar]=متصفح الشبكة
|
||||
GenericName[ast]=Restolador web
|
||||
GenericName[bg]=Уеб браузър
|
||||
GenericName[bn]=ওয়েব ব্রাউজার
|
||||
GenericName[bs]=Web preglednik
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[ca@valencia]=Navegador web
|
||||
GenericName[cs]=WWW prohlížeč
|
||||
GenericName[da]=Browser
|
||||
GenericName[de]=Web-Browser
|
||||
GenericName[el]=Περιηγητής ιστού
|
||||
GenericName[en_AU]=Web Browser
|
||||
GenericName[en_GB]=Web Browser
|
||||
GenericName[eo]=Retfoliumilo
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebibrauser
|
||||
GenericName[eu]=Web-nabigatzailea
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fil]=Web Browser
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[gl]=Navegador web
|
||||
GenericName[gu]=વેબ બ્રાઉઝર
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hi]=वेब ब्राउज़र
|
||||
GenericName[hr]=Web preglednik
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[hy]=Ոստայն զննարկիչ
|
||||
GenericName[ia]=Navigator del Web
|
||||
GenericName[id]=Peramban Web
|
||||
GenericName[it]=Browser web
|
||||
GenericName[ja]=ウェブ・ブラウザ
|
||||
GenericName[ka]=ვებ ბრაუზერი
|
||||
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[kw]=Peurel wias
|
||||
GenericName[lt]=Žiniatinklio naršyklė
|
||||
GenericName[lv]=Tīmekļa pārlūks
|
||||
GenericName[ml]=വെബ് ബ്രൌസര്
|
||||
GenericName[mr]=वेब ब्राऊजर
|
||||
GenericName[ms]=Pelayar Web
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador web
|
||||
GenericName[ro]=Navigator de Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[sk]=WWW prehliadač
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sr]=Интернет прегледник
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[ta]=இணைய உலாவி
|
||||
GenericName[te]=మహాతల అన్వేషి
|
||||
GenericName[th]=เว็บเบราว์เซอร์
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[ug]=توركۆرگۈ
|
||||
GenericName[uk]=Навігатор Тенет
|
||||
GenericName[vi]=Bộ duyệt Web
|
||||
GenericName[zh_CN]=网页浏览器
|
||||
GenericName[zh_HK]=網頁瀏覽器
|
||||
GenericName[zh_TW]=網頁瀏覽器
|
||||
Comment=Access the Internet
|
||||
Comment[ar]=الدخول إلى الإنترنت
|
||||
Comment[ast]=Accesu a Internet
|
||||
Comment[bg]=Достъп до интернет
|
||||
Comment[bn]=ইন্টারনেটে প্রবেশ করুন
|
||||
Comment[bs]=Pristup internetu
|
||||
Comment[ca]=Accediu a Internet
|
||||
Comment[ca@valencia]=Accediu a Internet
|
||||
Comment[cs]=Přístup k internetu
|
||||
Comment[da]=Få adgang til internettet
|
||||
Comment[de]=Internetzugriff
|
||||
Comment[el]=Πρόσβαση στο Διαδίκτυο
|
||||
Comment[en_AU]=Access the Internet
|
||||
Comment[en_GB]=Access the Internet
|
||||
Comment[eo]=Akiri interreton
|
||||
Comment[es]=Acceda a Internet
|
||||
Comment[et]=Pääs Internetti
|
||||
Comment[eu]=Sartu Internetera
|
||||
Comment[fi]=Käytä internetiä
|
||||
Comment[fil]=I-access ang Internet
|
||||
Comment[fr]=Accéder à Internet
|
||||
Comment[gl]=Acceda a Internet
|
||||
Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
|
||||
Comment[he]=גישה לאינטרנט
|
||||
Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
|
||||
Comment[hr]=Pristupite Internetu
|
||||
Comment[hu]=Az internet elérése
|
||||
Comment[hy]=Մուտք համացանց
|
||||
Comment[ia]=Accede a le Interrete
|
||||
Comment[id]=Akses Internet
|
||||
Comment[it]=Accesso a Internet
|
||||
Comment[ja]=インターネットにアクセス
|
||||
Comment[ka]=ინტერნეტში შესვლა
|
||||
Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
|
||||
Comment[ko]=인터넷에 연결합니다
|
||||
Comment[kw]=Hedhes an Kesrosweyth
|
||||
Comment[lt]=Interneto prieiga
|
||||
Comment[lv]=Piekļūt internetam
|
||||
Comment[ml]=ഇന്റര്നെറ്റ് ആക്സസ് ചെയ്യുക
|
||||
Comment[mr]=इंटरनेटमध्ये प्रवेश करा
|
||||
Comment[ms]=Mengakses Internet
|
||||
Comment[nb]=Bruk internett
|
||||
Comment[nl]=Verbinding maken met internet
|
||||
Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
|
||||
Comment[pl]=Skorzystaj z internetu
|
||||
Comment[pt]=Aceder à Internet
|
||||
Comment[pt_BR]=Acessar a internet
|
||||
Comment[ro]=Accesați Internetul
|
||||
Comment[ru]=Доступ в Интернет
|
||||
Comment[sk]=Prístup do siete Internet
|
||||
Comment[sl]=Dostop do interneta
|
||||
Comment[sr]=Приступите Интернету
|
||||
Comment[sv]=Surfa på Internet
|
||||
Comment[ta]=இணையத்தை அணுகுதல்
|
||||
Comment[te]=ఇంటర్నెట్ను ఆక్సెస్ చెయ్యండి
|
||||
Comment[th]=เข้าถึงอินเทอร์เน็ต
|
||||
Comment[tr]=İnternet'e erişin
|
||||
Comment[ug]=ئىنتېرنېت زىيارىتى
|
||||
Comment[uk]=Доступ до Інтернету
|
||||
Comment[vi]=Truy cập Internet
|
||||
Comment[zh_CN]=访问互联网
|
||||
Comment[zh_HK]=連線到網際網路
|
||||
Comment[zh_TW]=連線到網際網路
|
||||
Exec=chromium-browser %U
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
Icon=chromium-browser
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
StartupNotify=true
|
||||
Actions=NewWindow;Incognito;TempProfile;
|
||||
X-AppInstall-Package=chromium-browser
|
||||
|
||||
[Desktop Action NewWindow]
|
||||
Name=Open a New Window
|
||||
Name[ast]=Abrir una Ventana Nueva
|
||||
Name[bg]=Отваряне на Нов прозорец
|
||||
Name[bn]=একটি নতুন উইন্ডো খুলুন
|
||||
Name[bs]=Otvori novi prozor
|
||||
Name[ca]=Obre una finestra nova
|
||||
Name[ca@valencia]=Obri una finestra nova
|
||||
Name[da]=Åbn et nyt vindue
|
||||
Name[de]=Ein neues Fenster öffnen
|
||||
Name[en_AU]=Open a New Window
|
||||
Name[eo]=Malfermi novan fenestron
|
||||
Name[es]=Abrir una ventana nueva
|
||||
Name[et]=Ava uus aken
|
||||
Name[eu]=Ireki leiho berria
|
||||
Name[fi]=Avaa uusi ikkuna
|
||||
Name[fr]=Ouvrir une nouvelle fenêtre
|
||||
Name[gl]=Abrir unha nova xanela
|
||||
Name[he]=פתיחת חלון חדש
|
||||
Name[hy]=Բացել նոր պատուհան
|
||||
Name[ia]=Aperi un nove fenestra
|
||||
Name[it]=Apri una nuova finestra
|
||||
Name[ja]=新しいウィンドウを開く
|
||||
Name[ka]=ახალი ფანჯრის გახსნა
|
||||
Name[kw]=Egery fenester noweth
|
||||
Name[ms]=Buka Tetingkap Baru
|
||||
Name[nb]=Åpne et nytt vindu
|
||||
Name[nl]=Nieuw venster openen
|
||||
Name[pt_BR]=Abre uma nova janela
|
||||
Name[ro]=Deschide o fereastră nouă
|
||||
Name[ru]=Открыть новое окно
|
||||
Name[sl]=Odpri novo okno
|
||||
Name[sv]=Öppna ett nytt fönster
|
||||
Name[ug]=يېڭى كۆزنەك ئاچ
|
||||
Name[uk]=Відкрити нове вікно
|
||||
Name[vi]=Mở cửa sổ mới
|
||||
Name[zh_CN]=打开新窗口
|
||||
Name[zh_TW]=開啟新視窗
|
||||
Exec=chromium-browser
|
||||
|
||||
[Desktop Action Incognito]
|
||||
Name=Open a New Window in incognito mode
|
||||
Name[ast]=Abrir una ventana nueva en mou incógnitu
|
||||
Name[bg]=Отваряне на нов прозорец в режим \"инкогнито\"
|
||||
Name[bn]=একটি নতুন উইন্ডো খুলুন ইনকোগনিটো অবস্থায়
|
||||
Name[bs]=Otvori novi prozor u privatnom modu
|
||||
Name[ca]=Obre una finestra nova en mode d'incògnit
|
||||
Name[ca@valencia]=Obri una finestra nova en mode d'incògnit
|
||||
Name[de]=Ein neues Fenster im Inkognito-Modus öffnen
|
||||
Name[en_AU]=Open a New Window in incognito mode
|
||||
Name[eo]=Malfermi novan fenestron nekoniĝeble
|
||||
Name[es]=Abrir una ventana nueva en modo incógnito
|
||||
Name[et]=Ava uus aken tundmatus olekus
|
||||
Name[eu]=Ireki leiho berria isileko moduan
|
||||
Name[fi]=Avaa uusi ikkuna incognito-tilassa
|
||||
Name[fr]=Ouvrir une nouvelle fenêtre en mode navigation privée
|
||||
Name[gl]=Abrir unha nova xanela en modo de incógnito
|
||||
Name[he]=פתיחת חלון חדש במצב גלישה בסתר
|
||||
Name[hy]=Բացել նոր պատուհան ծպտյալ աշխատակերպում
|
||||
Name[ia]=Aperi un nove fenestra in modo incognite
|
||||
Name[it]=Apri una nuova finestra in modalità incognito
|
||||
Name[ja]=新しいシークレット ウィンドウを開く
|
||||
Name[ka]=ახალი ფანჯრის ინკოგნიტოდ გახსნა
|
||||
Name[kw]=Egry fenester noweth en modh privedh
|
||||
Name[ms]=Buka Tetingkap Baru dalam mod menyamar
|
||||
Name[nl]=Nieuw venster openen in incognito-modus
|
||||
Name[pt_BR]=Abrir uma nova janela em modo anônimo
|
||||
Name[ro]=Deschide o fereastră nouă în mod incognito
|
||||
Name[ru]=Открыть новое окно в режиме инкогнито
|
||||
Name[sl]=Odpri novo okno v načinu brez beleženja
|
||||
Name[sv]=Öppna ett nytt inkognitofönster
|
||||
Name[ug]=يوشۇرۇن ھالەتتە يېڭى كۆزنەك ئاچ
|
||||
Name[uk]=Відкрити нове вікно у приватному режимі
|
||||
Name[vi]=Mở cửa sổ mới trong chế độ ẩn danh
|
||||
Name[zh_CN]=以隐身模式打开新窗口
|
||||
Name[zh_TW]=以匿名模式開啟新視窗
|
||||
Exec=chromium-browser --incognito
|
||||
|
||||
[Desktop Action TempProfile]
|
||||
Name=Open a New Window with a temporary profile
|
||||
Name[ast]=Abrir una ventana nueva con perfil temporal
|
||||
Name[bg]=Отваряне на Нов прозорец с временен профил
|
||||
Name[bn]=সাময়িক প্রোফাইল সহ একটি নতুন উইন্ডো খুলুন
|
||||
Name[bs]=Otvori novi prozor pomoću privremenog profila
|
||||
Name[ca]=Obre una finestra nova amb un perfil temporal
|
||||
Name[ca@valencia]=Obri una finestra nova amb un perfil temporal
|
||||
Name[de]=Ein neues Fenster mit einem temporären Profil öffnen
|
||||
Name[en_AU]=Open a New Window with a temporary profile
|
||||
Name[eo]=Malfermi novan fenestron portempe
|
||||
Name[es]=Abrir una ventana nueva con perfil temporal
|
||||
Name[et]=Ava uus aken ajutise profiiliga
|
||||
Name[eu]=Ireki leiho berria behin-behineko profil batekin
|
||||
Name[fi]=Avaa uusi ikkuna käyttäen väliaikaista profiilia
|
||||
Name[fr]=Ouvrir une nouvelle fenêtre avec un profil temporaire
|
||||
Name[gl]=Abrir unha nova xanela con perfil temporal
|
||||
Name[he]=פתיחת חלון חדש עם פרופיל זמני
|
||||
Name[hy]=Բացել նոր պատուհան ժամանակավոր հատկագրով
|
||||
Name[ia]=Aperi un nove fenestra con un profilo provisori
|
||||
Name[it]=Apri una nuova finestra con un profilo temporaneo
|
||||
Name[ja]=一時プロファイルで新しいウィンドウを開く
|
||||
Name[ka]=ახალი ფანჯრის გახსნა დროებით პროფილში
|
||||
Name[kw]=Egery fenester noweth gen profil dres prys
|
||||
Name[ms]=Buka Tetingkap Baru dengan profil sementara
|
||||
Name[nb]=Åpne et nytt vindu med en midlertidig profil
|
||||
Name[nl]=Nieuw venster openen met een tijdelijk profiel
|
||||
Name[pt_BR]=Abrir uma nova janela com um perfil temporário
|
||||
Name[ro]=Deschide o fereastră nouă cu un profil temporar
|
||||
Name[ru]=Открыть новое окно с временным профилем
|
||||
Name[sl]=Odpri novo okno z začasnim profilom
|
||||
Name[sv]=Öppna ett nytt fönster med temporär profil
|
||||
Name[ug]=ۋاقىتلىق سەپلىمە ھۆججەت بىلەن يېڭى كۆزنەك ئاچ
|
||||
Name[vi]=Mở cửa sổ mới với hồ sơ tạm
|
||||
Name[zh_CN]=以临时配置文件打开新窗口
|
||||
Name[zh_TW]=以暫時性個人身分開啟新視窗
|
||||
Exec=chromium-browser --temp-profile
|
44
.config/tint2/launchers/debian-xterm.desktop
Executable file
|
@ -0,0 +1,44 @@
|
|||
# $XTermId: xterm.desktop,v 1.14 2012/06/24 22:20:29 tom Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# this file is part of xterm
|
||||
#
|
||||
# Copyright 2006-2010,2012 by Thomas E. Dickey
|
||||
#
|
||||
# All Rights Reserved
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the
|
||||
# "Software"), to deal in the Software without restriction, including
|
||||
# without limitation the rights to use, copy, modify, merge, publish,
|
||||
# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
# permit persons to whom the Software is furnished to do so, subject to
|
||||
# the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included
|
||||
# in all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
|
||||
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name(s) of the above copyright
|
||||
# holders shall not be used in advertising or otherwise to promote the
|
||||
# sale, use or other dealings in this Software without prior written
|
||||
# authorization.
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
[Desktop Entry]
|
||||
Name=XTerm
|
||||
#GenericName=Terminal
|
||||
Comment=standard terminal emulator for the X window system
|
||||
Exec=xterm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
#Encoding=UTF-8
|
||||
Icon=xterm-color
|
||||
Categories=System;TerminalEmulator;Utility;
|
||||
X-Desktop-File-Install-Version=0.22
|
219
.config/tint2/launchers/firefox.desktop
Executable file
|
@ -0,0 +1,219 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Firefox Web Browser
|
||||
Name[ar]=متصفح الويب فَيَرفُكْس
|
||||
Name[ast]=Restolador web Firefox
|
||||
Name[bn]=ফায়ারফক্স ওয়েব ব্রাউজার
|
||||
Name[ca]=Navegador web Firefox
|
||||
Name[cs]=Firefox Webový prohlížeč
|
||||
Name[da]=Firefox - internetbrowser
|
||||
Name[el]=Περιηγητής Firefox
|
||||
Name[es]=Navegador web Firefox
|
||||
Name[et]=Firefoxi veebibrauser
|
||||
Name[fa]=مرورگر اینترنتی Firefox
|
||||
Name[fi]=Firefox-selain
|
||||
Name[fr]=Navigateur Web Firefox
|
||||
Name[gl]=Navegador web Firefox
|
||||
Name[he]=דפדפן האינטרנט Firefox
|
||||
Name[hr]=Firefox web preglednik
|
||||
Name[hu]=Firefox webböngésző
|
||||
Name[it]=Firefox Browser Web
|
||||
Name[ja]=Firefox ウェブ・ブラウザ
|
||||
Name[ko]=Firefox 웹 브라우저
|
||||
Name[ku]=Geroka torê Firefox
|
||||
Name[lt]=Firefox interneto naršyklė
|
||||
Name[nb]=Firefox Nettleser
|
||||
Name[nl]=Firefox webbrowser
|
||||
Name[nn]=Firefox Nettlesar
|
||||
Name[no]=Firefox Nettleser
|
||||
Name[pl]=Przeglądarka WWW Firefox
|
||||
Name[pt]=Firefox Navegador Web
|
||||
Name[pt_BR]=Navegador Web Firefox
|
||||
Name[ro]=Firefox – Navigator Internet
|
||||
Name[ru]=Веб-браузер Firefox
|
||||
Name[sk]=Firefox - internetový prehliadač
|
||||
Name[sl]=Firefox spletni brskalnik
|
||||
Name[sv]=Firefox webbläsare
|
||||
Name[tr]=Firefox Web Tarayıcısı
|
||||
Name[ug]=Firefox توركۆرگۈ
|
||||
Name[uk]=Веб-браузер Firefox
|
||||
Name[vi]=Trình duyệt web Firefox
|
||||
Name[zh_CN]=Firefox 网络浏览器
|
||||
Name[zh_TW]=Firefox 網路瀏覽器
|
||||
Comment=Browse the World Wide Web
|
||||
Comment[ar]=تصفح الشبكة العنكبوتية العالمية
|
||||
Comment[ast]=Restola pela Rede
|
||||
Comment[bn]=ইন্টারনেট ব্রাউজ করুন
|
||||
Comment[ca]=Navegueu per la web
|
||||
Comment[cs]=Prohlížení stránek World Wide Webu
|
||||
Comment[da]=Surf på internettet
|
||||
Comment[de]=Im Internet surfen
|
||||
Comment[el]=Μπορείτε να περιηγηθείτε στο διαδίκτυο (Web)
|
||||
Comment[es]=Navegue por la web
|
||||
Comment[et]=Lehitse veebi
|
||||
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
|
||||
Comment[fi]=Selaa Internetin WWW-sivuja
|
||||
Comment[fr]=Naviguer sur le Web
|
||||
Comment[gl]=Navegar pola rede
|
||||
Comment[he]=גלישה ברחבי האינטרנט
|
||||
Comment[hr]=Pretražite web
|
||||
Comment[hu]=A világháló böngészése
|
||||
Comment[it]=Esplora il web
|
||||
Comment[ja]=ウェブを閲覧します
|
||||
Comment[ko]=웹을 돌아 다닙니다
|
||||
Comment[ku]=Li torê bigere
|
||||
Comment[lt]=Naršykite internete
|
||||
Comment[nb]=Surf på nettet
|
||||
Comment[nl]=Verken het internet
|
||||
Comment[nn]=Surf på nettet
|
||||
Comment[no]=Surf på nettet
|
||||
Comment[pl]=Przeglądanie stron WWW
|
||||
Comment[pt]=Navegue na Internet
|
||||
Comment[pt_BR]=Navegue na Internet
|
||||
Comment[ro]=Navigați pe Internet
|
||||
Comment[ru]=Доступ в Интернет
|
||||
Comment[sk]=Prehliadanie internetu
|
||||
Comment[sl]=Brskajte po spletu
|
||||
Comment[sv]=Surfa på webben
|
||||
Comment[tr]=İnternet'te Gezinin
|
||||
Comment[ug]=دۇنيادىكى توربەتلەرنى كۆرگىلى بولىدۇ
|
||||
Comment[uk]=Перегляд сторінок Інтернету
|
||||
Comment[vi]=Để duyệt các trang web
|
||||
Comment[zh_CN]=浏览互联网
|
||||
Comment[zh_TW]=瀏覽網際網路
|
||||
GenericName=Web Browser
|
||||
GenericName[ar]=متصفح ويب
|
||||
GenericName[ast]=Restolador Web
|
||||
GenericName[bn]=ওয়েব ব্রাউজার
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=Webový prohlížeč
|
||||
GenericName[da]=Webbrowser
|
||||
GenericName[el]=Περιηγητής διαδικτύου
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebibrauser
|
||||
GenericName[fa]=مرورگر اینترنتی
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[gl]=Navegador Web
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hr]=Web preglednik
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[it]=Browser web
|
||||
GenericName[ja]=ウェブ・ブラウザ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[ku]=Geroka torê
|
||||
GenericName[lt]=Interneto naršyklė
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[nn]=Nettlesar
|
||||
GenericName[no]=Nettleser
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador Web
|
||||
GenericName[ro]=Navigator Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[sk]=Internetový prehliadač
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[ug]=توركۆرگۈ
|
||||
GenericName[uk]=Веб-браузер
|
||||
GenericName[vi]=Trình duyệt Web
|
||||
GenericName[zh_CN]=网络浏览器
|
||||
GenericName[zh_TW]=網路瀏覽器
|
||||
Keywords=Internet;WWW;Browser;Web;Explorer
|
||||
Keywords[ar]=انترنت;إنترنت;متصفح;ويب;وب
|
||||
Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador
|
||||
Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer
|
||||
Keywords[cs]=Internet;WWW;Prohlížeč;Web;Explorer
|
||||
Keywords[da]=Internet;Internettet;WWW;Browser;Browse;Web;Surf;Nettet
|
||||
Keywords[de]=Internet;WWW;Browser;Web;Explorer;Webseite;Site;surfen;online;browsen
|
||||
Keywords[el]=Internet;WWW;Browser;Web;Explorer;Διαδίκτυο;Περιηγητής;Firefox;Φιρεφοχ;Ιντερνετ
|
||||
Keywords[es]=Explorador;Internet;WWW
|
||||
Keywords[fi]=Internet;WWW;Browser;Web;Explorer;selain;Internet-selain;internetselain;verkkoselain;netti;surffaa
|
||||
Keywords[fr]=Internet;WWW;Browser;Web;Explorer;Fureteur;Surfer;Navigateur
|
||||
Keywords[he]=דפדפן;אינטרנט;רשת;אתרים;אתר;פיירפוקס;מוזילה;
|
||||
Keywords[hr]=Internet;WWW;preglednik;Web
|
||||
Keywords[hu]=Internet;WWW;Böngésző;Web;Háló;Net;Explorer
|
||||
Keywords[it]=Internet;WWW;Browser;Web;Navigatore
|
||||
Keywords[is]=Internet;WWW;Vafri;Vefur;Netvafri;Flakk
|
||||
Keywords[ja]=Internet;WWW;Web;インターネット;ブラウザ;ウェブ;エクスプローラ
|
||||
Keywords[nb]=Internett;WWW;Nettleser;Explorer;Web;Browser;Nettside
|
||||
Keywords[nl]=Internet;WWW;Browser;Web;Explorer;Verkenner;Website;Surfen;Online
|
||||
Keywords[pt]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||
Keywords[pt_BR]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||
Keywords[ru]=Internet;WWW;Browser;Web;Explorer;интернет;браузер;веб;файрфокс;огнелис
|
||||
Keywords[sk]=Internet;WWW;Prehliadač;Web;Explorer
|
||||
Keywords[sl]=Internet;WWW;Browser;Web;Explorer;Brskalnik;Splet
|
||||
Keywords[tr]=İnternet;WWW;Tarayıcı;Web;Gezgin;Web sitesi;Site;sörf;çevrimiçi;tara
|
||||
Keywords[uk]=Internet;WWW;Browser;Web;Explorer;Інтернет;мережа;переглядач;оглядач;браузер;веб;файрфокс;вогнелис;перегляд
|
||||
Keywords[vi]=Internet;WWW;Browser;Web;Explorer;Trình duyệt;Trang web
|
||||
Keywords[zh_CN]=Internet;WWW;Browser;Web;Explorer;网页;浏览;上网;火狐;Firefox;ff;互联网;网站;
|
||||
Keywords[zh_TW]=Internet;WWW;Browser;Web;Explorer;網際網路;網路;瀏覽器;上網;網頁;火狐
|
||||
Exec=firefox %u
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
Icon=firefox
|
||||
Categories=GNOME;GTK;Network;WebBrowser;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
|
||||
StartupNotify=true
|
||||
Actions=new-window;new-private-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
Name[ar]=افتح نافذة جديدة
|
||||
Name[ast]=Abrir una ventana nueva
|
||||
Name[bn]=Abrir una ventana nueva
|
||||
Name[ca]=Obre una finestra nova
|
||||
Name[cs]=Otevřít nové okno
|
||||
Name[da]=Åbn et nyt vindue
|
||||
Name[de]=Ein neues Fenster öffnen
|
||||
Name[el]=Άνοιγμα νέου παραθύρου
|
||||
Name[es]=Abrir una ventana nueva
|
||||
Name[fi]=Avaa uusi ikkuna
|
||||
Name[fr]=Ouvrir une nouvelle fenêtre
|
||||
Name[gl]=Abrir unha nova xanela
|
||||
Name[he]=פתיחת חלון חדש
|
||||
Name[hr]=Otvori novi prozor
|
||||
Name[hu]=Új ablak nyitása
|
||||
Name[it]=Apri una nuova finestra
|
||||
Name[ja]=新しいウィンドウを開く
|
||||
Name[ko]=새 창 열기
|
||||
Name[ku]=Paceyeke nû veke
|
||||
Name[lt]=Atverti naują langą
|
||||
Name[nb]=Åpne et nytt vindu
|
||||
Name[nl]=Nieuw venster openen
|
||||
Name[pt]=Abrir nova janela
|
||||
Name[pt_BR]=Abrir nova janela
|
||||
Name[ro]=Deschide o fereastră nouă
|
||||
Name[ru]=Новое окно
|
||||
Name[sk]=Otvoriť nové okno
|
||||
Name[sl]=Odpri novo okno
|
||||
Name[sv]=Öppna ett nytt fönster
|
||||
Name[tr]=Yeni pencere aç
|
||||
Name[ug]=يېڭى كۆزنەك ئېچىش
|
||||
Name[uk]=Відкрити нове вікно
|
||||
Name[vi]=Mở cửa sổ mới
|
||||
Name[zh_CN]=新建窗口
|
||||
Name[zh_TW]=開啟新視窗
|
||||
Exec=firefox -new-window
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
Name=Open a New Private Window
|
||||
Name[ar]=افتح نافذة جديدة للتصفح الخاص
|
||||
Name[ca]=Obre una finestra nova en mode d'incògnit
|
||||
Name[de]=Ein neues privates Fenster öffnen
|
||||
Name[es]=Abrir una ventana privada nueva
|
||||
Name[fi]=Avaa uusi yksityinen ikkuna
|
||||
Name[fr]=Ouvrir une nouvelle fenêtre de navigation privée
|
||||
Name[he]=פתיחת חלון גלישה פרטית חדש
|
||||
Name[hu]=Új privát ablak nyitása
|
||||
Name[it]=Apri una nuova finestra anonima
|
||||
Name[nb]=Åpne et nytt privat vindu
|
||||
Name[ru]=Новое приватное окно
|
||||
Name[sl]=Odpri novo okno zasebnega brskanja
|
||||
Name[tr]=Yeni bir pencere aç
|
||||
Name[uk]=Відкрити нове вікно у потайливому режимі
|
||||
Name[zh_TW]=開啟新隱私瀏覽視窗
|
||||
Exec=firefox -private-window
|
12
.config/tint2/launchers/gedit.desktop
Executable file
|
@ -0,0 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Name=gedit
|
||||
GenericName=Text Editor
|
||||
Comment=Edit text files
|
||||
Exec=gedit %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
MimeType=text/plain;
|
||||
Icon=accessories-text-editor
|
||||
Categories=GNOME;GTK;Utility;TextEditor;
|
||||
|
13
.config/tint2/launchers/gmusicbrowser-next.desktop
Executable file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Name=deadbeef
|
||||
Comment=Jukebox for large collections of mp3/ogg/flac/mpc
|
||||
Exec=deadbeef --next
|
||||
Type=Application
|
||||
Icon=media-seek-forward
|
||||
Categories=Audio;AudioVideo;
|
||||
StartupNotify=true
|
||||
Comment[fr]=Jukebox pour de grandes collections de mp3/ogg/flac/mpc
|
||||
#MimeType=audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;audio/mpc;audio/x-mpc;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;
|
||||
|
||||
|
||||
|
11
.config/tint2/launchers/gmusicbrowser-play.desktop
Executable file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=deadbeef
|
||||
Comment=Jukebox for large collections of mp3/ogg/flac/mpc
|
||||
Exec=deadbeef --play-pause
|
||||
Type=Application
|
||||
Icon=media-playback-start
|
||||
Categories=Audio;AudioVideo;
|
||||
StartupNotify=true
|
||||
Comment[fr]=Jukebox pour de grandes collections de mp3/ogg/flac/mpc
|
||||
#MimeType=audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;audio/mpc;audio/x-mpc;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;
|
||||
|
37
.config/tint2/launchers/gmusicbrowser-prev.desktop
Executable file
|
@ -0,0 +1,37 @@
|
|||
[Desktop Entry]
|
||||
Name=deadbeef
|
||||
Comment=Jukebox for large collections of mp3/ogg/flac/mpc
|
||||
Exec=deadbeef --prev
|
||||
Type=Application
|
||||
Icon=media-seek-backward
|
||||
Categories=Audio;AudioVideo;
|
||||
StartupNotify=true
|
||||
Comment[fr]=Jukebox pour de grandes collections de mp3/ogg/flac/mpc
|
||||
#MimeType=audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;audio/mpc;audio/x-mpc;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;
|
||||
|
||||
|
||||
Actions=PlayPause;Next;Previous;LockArtist;LockAlbum
|
||||
|
||||
[Desktop Action PlayPause]
|
||||
Name=Play-Pause
|
||||
Exec=gmusicbrowser -cmd PlayPause
|
||||
Icon=media-playback-start-symbolic
|
||||
|
||||
[Desktop Action Next]
|
||||
Name=Next
|
||||
Exec=gmusicbrowser -cmd NextSong
|
||||
Icon=media-skip-backward-symbolic
|
||||
|
||||
[Desktop Action Previous]
|
||||
Name=Previous
|
||||
Exec=gmusicbrowser -cmd PrevSong
|
||||
Icon=media-skip-forward-symbolic
|
||||
|
||||
[Desktop Action LockArtist]
|
||||
Name=Toggle Artist Lock
|
||||
Exec=gmusicbrowser -cmd TogArtistLock
|
||||
|
||||
[Desktop Action LockAlbum]
|
||||
Name=Toggle Album Lock
|
||||
Exec=gmusicbrowser -cmd TogAlbumLock
|
||||
|
11
.config/tint2/launchers/gmusicbrowser-stop.desktop
Executable file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=deadbeef
|
||||
Comment=Jukebox for large collections of mp3/ogg/flac/mpc
|
||||
Exec=deadbeef --stop
|
||||
Type=Application
|
||||
Icon=media-playback-stop
|
||||
Categories=Audio;AudioVideo;
|
||||
StartupNotify=true
|
||||
Comment[fr]=Jukebox pour de grandes collections de mp3/ogg/flac/mpc
|
||||
#MimeType=audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;audio/mpc;audio/x-mpc;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;
|
||||
|
11
.config/tint2/launchers/gmusicbrowser.desktop
Executable file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=gmusicbrowser
|
||||
Comment=Jukebox for large collections of mp3/ogg/flac/mpc
|
||||
Exec=deadbeef
|
||||
Type=Application
|
||||
Icon=deadbeef
|
||||
Categories=Audio;AudioVideo;
|
||||
StartupNotify=true
|
||||
Comment[fr]=Jukebox pour de grandes collections de mp3/ogg/flac/mpc
|
||||
#MimeType=audio/x-musepack;application/x-musepack;audio/musepack;application/musepack;audio/mpc;audio/x-mpc;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-mpeg-3;audio/mpeg3;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;
|
||||
|
11
.config/tint2/launchers/obmenu-launch.desktop
Executable file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=rofi
|
||||
GenericName=rofi
|
||||
Comment=rofi
|
||||
Exec=rofi -show drun
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
MimeType=text/plain;
|
||||
Icon=manjaro
|
||||
|
145
.config/tint2/launchers/pcmanfm.desktop
Executable file
|
@ -0,0 +1,145 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Icon=system-file-manager
|
||||
Name=File Manager PCManFM
|
||||
Name[ar]=مدير الملفات PCManFM
|
||||
Name[be]=Файлавы менеджар PCManFM
|
||||
Name[bg]=Файлов мениджър PCManFM
|
||||
Name[cs]=Správce souborů PCManFM
|
||||
Name[de]=PCManFM Dateimanager
|
||||
Name[el]=Διαχειριστής Αρχείων PCManFM
|
||||
Name[en_GB]=File Manager PCManFM
|
||||
Name[es]=Gestor de archivos PCManFM
|
||||
Name[et]=Failihaldur PCManFM
|
||||
Name[eu]=PCManFM fitxategi-kudeatzailea
|
||||
Name[fa]=مدیر پرونده PCManFM
|
||||
Name[fi]=Tiedostonhallinta
|
||||
Name[fr]=Gestionnaire de fichiers PCManFM
|
||||
Name[gl]=Xestor de ficheiros PCManFM
|
||||
Name[he]=מנהל הקבצים PCManFM
|
||||
Name[hr]=Upravitelj datotekama PCManFM
|
||||
Name[hu]=Fájlkezelő (PCManFM)
|
||||
Name[id]=Manajer Berkas PCManFM
|
||||
Name[is]=PCManFM skráastjóri
|
||||
Name[it]=Gestore file PCManFM
|
||||
Name[ja]=ファイルマネージャ PCManFM
|
||||
Name[kk]=PCManFM файлдар басқарушысы
|
||||
Name[ko]=PCManFM 파일 관리자
|
||||
Name[lg]=Kiteekateekafayiro ekya PCManFM
|
||||
Name[lt]=Failų tvarkyklė PCManFM
|
||||
Name[nl]=Bestandbeheerder PCManFM
|
||||
Name[pl]=Menedżer plików PCManFM
|
||||
Name[pt]=Gestor de ficheiros PCManFM
|
||||
Name[pt_BR]=Gerenciador de Arquivos PCManFM
|
||||
Name[ro]=Managerul de fișiere PCManFM
|
||||
Name[ru]=Файловый менеджер PCManFM
|
||||
Name[sl]=Upravljalnik datotek PCManFM
|
||||
Name[sr]=Управник датотека ПиСиМан-ФМ
|
||||
Name[sr@latin]=Upravnik datoteka PiSiManFM
|
||||
Name[sv]=Filhanteraren PCManFM
|
||||
Name[te]=పిసిమ్యాన్ఎఫ్ఎం దస్త్ర నిర్వాహకం
|
||||
Name[tr]=Dosya Yöneticisi PCManFM
|
||||
Name[ug]=ھۆججەت باشقۇرغۇ PCManFM
|
||||
Name[uk]=Менеджер файлів PCManFM
|
||||
Name[vi]=Bộ quản lý tập tin PCManFM
|
||||
Name[zh_CN]=文件管理器 PCManFM
|
||||
Name[zh_TW]=檔案管理程式 PCManFM
|
||||
GenericName=File Manager
|
||||
GenericName[ar]=مدير الملفات
|
||||
GenericName[be]=Файлавы менеджар
|
||||
GenericName[bg]=Файлов мениджър
|
||||
GenericName[cs]=Správce souborů
|
||||
GenericName[da]=Filhåndtering
|
||||
GenericName[de]=Dateimanager
|
||||
GenericName[el]=Διαχειριστής αρχείων
|
||||
GenericName[en_GB]=File Manager
|
||||
GenericName[es]=Gestor de archivos
|
||||
GenericName[et]=Failihaldur
|
||||
GenericName[eu]=Fitxategi-kudeatzailea
|
||||
GenericName[fa]=مدیر پرونده
|
||||
GenericName[fi]=Tiedostonhallinta
|
||||
GenericName[fr]=Gestionnaire de fichiers
|
||||
GenericName[gl]=Xestor de ficheiros
|
||||
GenericName[he]=מנהל קבצים
|
||||
GenericName[hr]=Upravitelj datotekama
|
||||
GenericName[hu]=Fájlkezelő
|
||||
GenericName[id]=Manajer Berkas
|
||||
GenericName[is]=Skráastjóri
|
||||
GenericName[it]=Gestore file
|
||||
GenericName[ja]=ファイルマネージャ
|
||||
GenericName[kk]=Файлдар басқарушысы
|
||||
GenericName[ko]=파일 관리자
|
||||
GenericName[lg]=Gulawo Ekiteekateekafayiro
|
||||
GenericName[lt]=Failų tvarkyklė
|
||||
GenericName[lv]=Failu pārvaldnieks
|
||||
GenericName[nl]=Bestandbeheerder
|
||||
GenericName[pa]=ਫਾਇਲ ਮੈਨੇਜਰ
|
||||
GenericName[pl]=Menedżer plików
|
||||
GenericName[pt]=Gestor de ficheiros
|
||||
GenericName[pt_BR]=Gerenciador de arquivos
|
||||
GenericName[ro]=Manager de fișiere
|
||||
GenericName[ru]=Файловый менеджер
|
||||
GenericName[sl]=Upravljalnik datotek
|
||||
GenericName[sr]=Управник датотека
|
||||
GenericName[sr@latin]=Upravnik datoteka
|
||||
GenericName[sv]=Filhanterare
|
||||
GenericName[te]=దస్త్ర నిర్వాహకం
|
||||
GenericName[tr]=Dosya Yöneticisi
|
||||
GenericName[tt_RU]=Файл-менеджер
|
||||
GenericName[ug]=ھۆججەت باشقۇرغۇ
|
||||
GenericName[uk]=Менеджер файлів
|
||||
GenericName[vi]=Bộ quản lý Tập tin
|
||||
GenericName[zh_CN]=文件管理器
|
||||
GenericName[zh_TW]=檔案管理程式
|
||||
Comment=Browse the file system and manage the files
|
||||
Comment[ar]=تصفّح نظام الملفات وأدِر الملفات
|
||||
Comment[be]=Прагляд файлавай сістэмы і кіраванне файламі
|
||||
Comment[bg]=Разглеждане на файловата система и управляване на файловете
|
||||
Comment[cs]=Procházet systém souborů správcem souborů
|
||||
Comment[da]=Gennemse filsystemet og håndter filerne
|
||||
Comment[de]=Das Dateisystem durchsuchen und Dateien verwalten
|
||||
Comment[el]=Περιήγηση στο σύστημα αρχείων και διαχείριση αρχείων
|
||||
Comment[en_GB]=Browse the file system and manage the files
|
||||
Comment[es]=Explore el sistema de archivos y gestione los archivos
|
||||
Comment[et]=Failisüsteemi sirvimine ja failide haldamine
|
||||
Comment[eu]=Arakatu fitxategi-sistema eta kudeatu fitxategiak
|
||||
Comment[fa]=مرور پرونده سیستم و مدیریت پروندهها
|
||||
Comment[fi]=Selaa tiedostojärjestelmää ja hallitse tiedostoja
|
||||
Comment[fr]=Parcourir le système de fichiers et gérer les fichiers
|
||||
Comment[gl]=Navegar polo sistema de ficheiros e xestionar os ficheiros
|
||||
Comment[he]=עיון במערכת הקבצים וניהול הקבצים
|
||||
Comment[hr]=Pregledava datotečni sustav i upravlja datotekama
|
||||
Comment[hu]=Fájlrendszer tallózása és fájlok kezelése
|
||||
Comment[id]=Ramban sistem berkas dan kelola berkasnya
|
||||
Comment[is]=Vafra um skráakerfið og breyta skrám
|
||||
Comment[it]=Sfoglia il file system e gestisce i file
|
||||
Comment[ja]=ファイルシステムをブラウズし、ファイルの管理を行います
|
||||
Comment[kk]=Файлдық жүйені шолу мен файлдарды басқару
|
||||
Comment[ko]=파일 시스템을 탐색하고 파일을 관리합니다
|
||||
Comment[lg]=Lambula n'okuteekateeka fayiro eziri ku sisitemu yonna
|
||||
Comment[lt]=Naršykite failų sistemą ir tvarkykite failus
|
||||
Comment[lv]=Pārlūkot failu sistēmu un pārvaldīt failus
|
||||
Comment[nl]=Blader door het bestandssysteem en beheer de bestanden
|
||||
Comment[pa]=ਫਾਇਲ ਸਿਸਟਮ ਵੇਖੋ ਤੇ ਫਾਇਲਾਂ ਦਾ ਪਰਬੰਧ ਕਰੋ
|
||||
Comment[pl]=Umożliwia przeglądanie systemu plików i zarządza jego zawartością
|
||||
Comment[pt]=Explorar o sistema de ficheiros e gerir ficheiros
|
||||
Comment[pt_BR]=Navegue pelo sistema de arquivos e gerencie arquivos e pastas
|
||||
Comment[ro]=Navigați în sistemul de fișiere și gestionați fișierele
|
||||
Comment[ru]=Просмотр файловой системы и управление файлами
|
||||
Comment[sl]=Brskajte po datotečnem sistemu in upravljajte datoteke
|
||||
Comment[sr]=Управљајте системом датотека
|
||||
Comment[sr@latin]=Upravljajte sistemom datoteka
|
||||
Comment[sv]=Utforska filsystemet och hantera filerna
|
||||
Comment[te]=దస్త్ర వ్యవస్థను విహరించండి, దస్త్రాలను నిర్వహించండి
|
||||
Comment[tr]=Dosya sistemine göz at ve dosyaları yönet
|
||||
Comment[tt_RU]=Файл системасын карау һәм файллар белән идарә итү
|
||||
Comment[ug]=ھۆججەت سىستېمىسىنى كۆرىدۇ ۋە ھۆججەتلەرنى باشقۇرىدۇ
|
||||
Comment[uk]=Показує файлову систему і керує файлами
|
||||
Comment[vi]=Xem hệ thống tập tin và quản lý dữ liệu
|
||||
Comment[zh_CN]=浏览文件系统和管理文件
|
||||
Comment[zh_TW]=瀏覽檔案系統及管理檔案
|
||||
Categories=System;FileTools;FileManager;Utility;Core;GTK;
|
||||
Exec=pcmanfm %U
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
MimeType=inode/directory;
|
13
.config/tint2/launchers/termite.desktop
Executable file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Name=termite
|
||||
Comment=Use the command line
|
||||
Keywords=shell;prompt;command;commandline;cmd;
|
||||
TryExec=termite
|
||||
Exec=termite
|
||||
Icon=utilities-terminal
|
||||
Type=Application
|
||||
Categories=GNOME;GTK;System;TerminalEmulator;
|
||||
StartupNotify=true
|
||||
X-GNOME-SingleWindow=false
|
||||
Actions=New
|
||||
X-Ubuntu-Gettext-Domain=termite
|
15
.config/tint2/launchers/virtualbox.desktop
Executable file
|
@ -0,0 +1,15 @@
|
|||
[Desktop Entry]
|
||||
Name=VirtualBox
|
||||
GenericName=PC virtualization solution
|
||||
Comment=Run several virtual systems on a single host computer
|
||||
Comment[de]=Mehrere virtuelle Maschinen auf einem einzigen Rechner ausführen
|
||||
Comment[it]=Esegui più macchine virtuali su un singolo computer
|
||||
Comment[pl]=Uruchamianie wielu systemów wirtualnych na jednym komputerze gospodarza
|
||||
Comment[sv]=Kör flera virtuella system på en enda värddator
|
||||
Comment[ko]=가상 머신
|
||||
Type=Application
|
||||
Exec=VirtualBox %U
|
||||
TryExec=VirtualBox
|
||||
MimeType=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova;
|
||||
Icon=virtualbox
|
||||
Categories=Emulator;Utility;
|
208
.config/tint2/tint2rc
Executable file
|
@ -0,0 +1,208 @@
|
|||
|
||||
#---- Generated by tint2conf a212 ----
|
||||
# See https://gitlab.com/o9000/tint2/wikis/Configure for
|
||||
# full documentation of the configuration options.
|
||||
#-------------------------------------
|
||||
# Backgrounds
|
||||
# Background 1: Active taskbar, Battery, Clock, Launcher, Systray, Tooltip
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
background_color = #242424 100
|
||||
border_color = #222222 0
|
||||
background_color_hover = #000000 80
|
||||
border_color_hover = #000000 0
|
||||
background_color_pressed = #000000 80
|
||||
border_color_pressed = #000000 0
|
||||
|
||||
# Background 2: Active task
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
background_color = #109567 100
|
||||
border_color = #272727 0
|
||||
background_color_hover = #272727 70
|
||||
border_color_hover = #272727 0
|
||||
background_color_pressed = #272727 70
|
||||
border_color_pressed = #272727 0
|
||||
|
||||
# Background 3: Urgent task
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
background_color = #d98282 60
|
||||
border_color = #d98282 0
|
||||
background_color_hover = #d98282 60
|
||||
border_color_hover = #d98282 0
|
||||
background_color_pressed = #d98282 60
|
||||
border_color_pressed = #d98282 0
|
||||
|
||||
# Background 4: Default task
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
background_color = #242424 100
|
||||
border_color = #242424 0
|
||||
background_color_hover = #242424 60
|
||||
border_color_hover = #242424 0
|
||||
background_color_pressed = #242424 60
|
||||
border_color_pressed = #242424 0
|
||||
|
||||
# Background 5: Iconified task
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
background_color = #252525 60
|
||||
border_color = #252525 0
|
||||
background_color_hover = #252525 60
|
||||
border_color_hover = #252525 0
|
||||
background_color_pressed = #252525 60
|
||||
border_color_pressed = #252525 0
|
||||
|
||||
#-------------------------------------
|
||||
# Panel
|
||||
panel_items = LTSCB
|
||||
panel_size = 100% 26
|
||||
panel_margin = 0 0
|
||||
panel_padding = 0 0 0
|
||||
panel_background_id = 0
|
||||
wm_menu = 1
|
||||
panel_dock = 0
|
||||
panel_position = bottom center horizontal
|
||||
panel_layer = top
|
||||
panel_monitor = 0,1,2
|
||||
primary_monitor_first = 1
|
||||
autohide = 0
|
||||
autohide_show_timeout = 0.3
|
||||
autohide_hide_timeout = 1.5
|
||||
autohide_height = 1
|
||||
strut_policy = follow_size
|
||||
panel_window_name = tint2
|
||||
disable_transparency = 0
|
||||
mouse_effects = 0
|
||||
font_shadow = 0
|
||||
mouse_hover_icon_asb = 100 0 10
|
||||
mouse_pressed_icon_asb = 100 0 0
|
||||
|
||||
#-------------------------------------
|
||||
# Taskbar
|
||||
taskbar_mode = single_desktop
|
||||
taskbar_padding = 0 0 0
|
||||
taskbar_background_id = 0
|
||||
taskbar_active_background_id = 1
|
||||
taskbar_name = 0
|
||||
taskbar_hide_inactive_tasks = 0
|
||||
taskbar_hide_different_monitor = 0
|
||||
taskbar_always_show_all_desktop_tasks = 0
|
||||
taskbar_name_padding = 0 0
|
||||
taskbar_name_background_id = 0
|
||||
taskbar_name_active_background_id = 0
|
||||
taskbar_name_font = Droid Sans Bold 8
|
||||
taskbar_name_font_color = #d1d1d1 100
|
||||
taskbar_name_active_font_color = #aaaaaa 100
|
||||
taskbar_distribute_size = 0
|
||||
taskbar_sort_order = none
|
||||
task_align = left
|
||||
|
||||
#-------------------------------------
|
||||
# Task
|
||||
task_text = 1
|
||||
task_icon = 0
|
||||
task_centered = 1
|
||||
urgent_nb_of_blink = 20
|
||||
task_maximum_size = 200 0
|
||||
task_padding = 8 6 8
|
||||
task_font = Droid Sans Bold 8
|
||||
task_tooltip = 1
|
||||
task_font_color = #cccccc 100
|
||||
task_active_font_color = #ffffff 100
|
||||
task_urgent_font_color = #cccccc 100
|
||||
task_iconified_font_color = #cccccc 80
|
||||
task_icon_asb = 100 0 0
|
||||
task_active_icon_asb = 100 0 0
|
||||
task_urgent_icon_asb = 100 0 0
|
||||
task_iconified_icon_asb = 80 0 0
|
||||
task_background_id = 4
|
||||
task_active_background_id = 2
|
||||
task_urgent_background_id = 3
|
||||
task_iconified_background_id = 5
|
||||
mouse_left = toggle_iconify
|
||||
mouse_middle = close
|
||||
mouse_right = none
|
||||
mouse_scroll_up = none
|
||||
mouse_scroll_down = none
|
||||
|
||||
#-------------------------------------
|
||||
# System tray (notification area)
|
||||
systray_padding = 8 0 12
|
||||
systray_background_id = 1
|
||||
systray_sort = right2left
|
||||
systray_icon_size = 18
|
||||
systray_icon_asb = 100 0 0
|
||||
systray_monitor = 1
|
||||
|
||||
#-------------------------------------
|
||||
# Launcher
|
||||
launcher_padding = 8 0 16
|
||||
launcher_background_id = 1
|
||||
launcher_icon_background_id = 0
|
||||
launcher_icon_size = 16
|
||||
launcher_icon_asb = 100 0 0
|
||||
startup_notifications = 0
|
||||
launcher_tooltip = 0
|
||||
launcher_icon_theme = Breeze-Dark
|
||||
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/obmenu-launch.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/gmusicbrowser-prev.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/gmusicbrowser-stop.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/gmusicbrowser-play.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/gmusicbrowser-next.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/pcmanfm.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/termite.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/firefox.desktop
|
||||
launcher_item_app = /home/derek/.config/tint2/launchers/gedit.desktop
|
||||
|
||||
#-------------------------------------
|
||||
# Clock
|
||||
time1_format = %a, %b %d, %Y %l:%M%p
|
||||
time2_format =
|
||||
time1_font = Droid Sans Bold 8
|
||||
time1_timezone =
|
||||
time2_timezone =
|
||||
clock_font_color = #d1d1d1 100
|
||||
clock_padding = 8 4
|
||||
clock_background_id = 1
|
||||
clock_tooltip =
|
||||
clock_tooltip_timezone =
|
||||
clock_lclick_command = gsimplecal
|
||||
clock_rclick_command = gsimplecal
|
||||
clock_mclick_command =
|
||||
clock_uwheel_command =
|
||||
clock_dwheel_command =
|
||||
|
||||
#-------------------------------------
|
||||
# Battery
|
||||
battery_tooltip = 1
|
||||
battery_low_status = 20
|
||||
battery_low_cmd = notify-send "battery low"
|
||||
bat1_font = Droid Sans Bold 8
|
||||
bat2_font = Droid Sans Bold 8
|
||||
battery_font_color = #d1d1d1 100
|
||||
battery_padding = 2 0
|
||||
battery_background_id = 1
|
||||
battery_hide = 96
|
||||
battery_lclick_command =
|
||||
battery_rclick_command =
|
||||
battery_mclick_command =
|
||||
battery_uwheel_command =
|
||||
battery_dwheel_command =
|
||||
ac_connected_cmd =
|
||||
ac_disconnected_cmd =
|
||||
|
||||
#-------------------------------------
|
||||
# Tooltip
|
||||
tooltip_show_timeout = 1
|
||||
tooltip_hide_timeout = 0
|
||||
tooltip_padding = 6 6
|
||||
tooltip_background_id = 1
|
||||
tooltip_font_color = #d1d1d1 100
|
||||
tooltip_font = Droid Sans Bold 8
|
||||
|
||||
|
||||
|
||||
# End of config
|
80
.config/vifm/colors/Default.vifm
Normal file
|
@ -0,0 +1,80 @@
|
|||
" You can edit this file by hand.
|
||||
" The " character at the beginning of a line comments out the line.
|
||||
" Blank lines are ignored.
|
||||
|
||||
" The Default color scheme is used for any directory that does not have
|
||||
" a specified scheme and for parts of user interface like menus. A
|
||||
" color scheme set for a base directory will also
|
||||
" be used for the sub directories.
|
||||
|
||||
" The standard ncurses colors are:
|
||||
" Default = -1 = None, can be used for transparency or default color
|
||||
" Black = 0
|
||||
" Red = 1
|
||||
" Green = 2
|
||||
" Yellow = 3
|
||||
" Blue = 4
|
||||
" Magenta = 5
|
||||
" Cyan = 6
|
||||
" White = 7
|
||||
|
||||
" Light versions of colors are also available (set bold attribute):
|
||||
" LightBlack
|
||||
" LightRed
|
||||
" LightGreen
|
||||
" LightYellow
|
||||
" LightBlue
|
||||
" LightMagenta
|
||||
" LightCyan
|
||||
" LightWhite
|
||||
|
||||
" Available attributes (some of them can be combined):
|
||||
" bold
|
||||
" underline
|
||||
" reverse or inverse
|
||||
" standout
|
||||
" italic (on unsupported systems becomes reverse)
|
||||
" none
|
||||
|
||||
" Vifm supports 256 colors you can use color numbers 0-255
|
||||
" (requires properly set up terminal: set your TERM environment variable
|
||||
" (directly or using resources) to some color terminal name (e.g.
|
||||
" xterm-256color) from /usr/lib/terminfo/; you can check current number
|
||||
" of colors in your terminal with tput colors command)
|
||||
|
||||
" highlight group cterm=attrs ctermfg=foreground_color ctermbg=background_color
|
||||
|
||||
highlight clear
|
||||
|
||||
highlight Win cterm=none ctermfg=white ctermbg=default
|
||||
highlight Directory cterm=bold ctermfg=cyan ctermbg=default
|
||||
highlight Link cterm=bold ctermfg=yellow ctermbg=default
|
||||
highlight BrokenLink cterm=bold ctermfg=red ctermbg=default
|
||||
highlight Socket cterm=bold ctermfg=magenta ctermbg=default
|
||||
highlight Device cterm=bold ctermfg=red ctermbg=default
|
||||
highlight Fifo cterm=bold ctermfg=cyan ctermbg=default
|
||||
highlight Executable cterm=bold ctermfg=green ctermbg=default
|
||||
highlight Selected cterm=bold ctermfg=magenta ctermbg=default
|
||||
highlight CurrLine cterm=bold,reverse ctermfg=default ctermbg=default
|
||||
highlight TopLine cterm=none ctermfg=black ctermbg=white
|
||||
highlight TopLineSel cterm=bold ctermfg=black ctermbg=default
|
||||
highlight StatusLine cterm=bold ctermfg=black ctermbg=white
|
||||
highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black
|
||||
highlight CmdLine cterm=none ctermfg=white ctermbg=black
|
||||
highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
|
||||
highlight Border cterm=none ctermfg=black ctermbg=white
|
||||
highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=white
|
||||
highlight SuggestBox cterm=bold ctermfg=default ctermbg=default
|
||||
highlight CmpMismatch cterm=bold ctermfg=white ctermbg=red
|
||||
highlight AuxWin cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight TabLine cterm=none ctermfg=white ctermbg=black
|
||||
highlight TabLineSel cterm=bold,reverse ctermfg=default ctermbg=default
|
||||
highlight User1 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User2 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User3 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User4 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User5 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User6 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User7 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User8 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
||||
highlight User9 cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
|
16
.config/vifm/scripts/imgc
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
W3MIMGDISPLAY="/usr/lib/w3m/w3mimgdisplay"
|
||||
FONTH=18 # Size of one terminal row
|
||||
FONTW=9 # Size of one terminal column
|
||||
|
||||
X=$1
|
||||
Y=$2
|
||||
COLUMNS=$3
|
||||
LINES=$4
|
||||
|
||||
x=$((FONTW * X))
|
||||
y=$((FONTH * Y))
|
||||
|
||||
erase="6;$x;$y;$(( FONTW*COLUMNS ));$(( FONTH*LINES ))\n3;"
|
||||
echo -e "$erase" | $W3MIMGDISPLAY
|
38
.config/vifm/scripts/imgt
Executable file
|
@ -0,0 +1,38 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Based on script by z3bra -- 2014-01-21
|
||||
|
||||
W3MIMGDISPLAY="/usr/lib/w3m/w3mimgdisplay"
|
||||
FONTH=18 # Size of one terminal row
|
||||
FONTW=10 # Size of one terminal column
|
||||
|
||||
X=$1
|
||||
Y=$2
|
||||
COLUMNS=$3
|
||||
LINES=$4
|
||||
FILENAME=$5
|
||||
|
||||
read width height <<< `echo "5;$FILENAME" | $W3MIMGDISPLAY`
|
||||
if [ -z "$width" -o -z "$height" ]; then
|
||||
echo 'Error: Failed to obtain image size.'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
x=$((FONTW * X))
|
||||
y=$((FONTH * Y))
|
||||
|
||||
max_width=$((FONTW * COLUMNS))
|
||||
max_height=$((FONTH * LINES))
|
||||
|
||||
if [ "$width" -gt "$max_width" ]; then
|
||||
height=$((height * max_width / width))
|
||||
width=$max_width
|
||||
fi
|
||||
if [ "$height" -gt "$max_height" ]; then
|
||||
width=$((width * max_height / height))
|
||||
height=$max_height
|
||||
fi
|
||||
|
||||
w3m_command="0;1;$x;$y;$width;$height;;;;;$FILENAME\n4;\n3;"
|
||||
|
||||
echo -e "$w3m_command" | $W3MIMGDISPLAY
|
502
.config/vifm/vifmrc
Normal file
|
@ -0,0 +1,502 @@
|
|||
" ____ _____
|
||||
" | _ \_ _| Derek Taylor (DistroTube)
|
||||
" | | | || | http://www.youtube.com/c/DistroTube
|
||||
" | |_| || | http://www.gitlab.com/dwt1/
|
||||
" |____/ |_|
|
||||
"
|
||||
|
||||
" vim: filetype=vifm :
|
||||
" Sample configuration file for vifm (last updated: 20 July, 2018)
|
||||
" You can edit this file by hand.
|
||||
" The " character at the beginning of a line comments out the line.
|
||||
" Blank lines are ignored.
|
||||
" The basic format for each item is shown with an example.
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" This is the actual command used to start vi. The default is vim.
|
||||
" If you would like to use another vi clone such as Elvis or Vile
|
||||
" you will need to change this setting.
|
||||
|
||||
set vicmd=vim
|
||||
" set vicmd=elvis\ -G\ termcap
|
||||
" set vicmd=vile
|
||||
|
||||
" This makes vifm perform file operations on its own instead of relying on
|
||||
" standard utilities like `cp`. While using `cp` and alike is a more universal
|
||||
" solution, it's also much slower when processing large amounts of files and
|
||||
" doesn't support progress measuring.
|
||||
|
||||
set syscalls
|
||||
|
||||
" Trash Directory
|
||||
" The default is to move files that are deleted with dd or :d to
|
||||
" the trash directory. If you change this you will not be able to move
|
||||
" files by deleting them and then using p to put the file in the new location.
|
||||
" I recommend not changing this until you are familiar with vifm.
|
||||
" This probably shouldn't be an option.
|
||||
|
||||
set trash
|
||||
|
||||
" This is how many directories to store in the directory history.
|
||||
|
||||
set history=100
|
||||
|
||||
" Automatically resolve symbolic links on l or Enter.
|
||||
|
||||
set nofollowlinks
|
||||
|
||||
" With this option turned on you can run partially entered commands with
|
||||
" unambiguous beginning using :! (e.g. :!Te instead of :!Terminal or :!Te<tab>).
|
||||
|
||||
" set fastrun
|
||||
|
||||
" Natural sort of (version) numbers within text.
|
||||
|
||||
set sortnumbers
|
||||
|
||||
" Maximum number of changes that can be undone.
|
||||
|
||||
set undolevels=100
|
||||
|
||||
" If you installed the vim.txt help file set vimhelp.
|
||||
" If would rather use a plain text help file set novimhelp.
|
||||
|
||||
set novimhelp
|
||||
|
||||
" If you would like to run an executable file when you
|
||||
" press return on the file name set this.
|
||||
|
||||
set norunexec
|
||||
|
||||
" Selected color scheme
|
||||
|
||||
colorscheme Default
|
||||
|
||||
" Format for displaying time in file list. For example:
|
||||
" TIME_STAMP_FORMAT=%m/%d-%H:%M
|
||||
" See man date or man strftime for details.
|
||||
|
||||
set timefmt=%m/%d\ %H:%M
|
||||
|
||||
" Show list of matches on tab completion in command-line mode
|
||||
|
||||
set wildmenu
|
||||
|
||||
" Display completions in a form of popup with descriptions of the matches
|
||||
|
||||
set wildstyle=popup
|
||||
|
||||
" Display suggestions in normal, visual and view modes for keys, marks and
|
||||
" registers (at most 5 files). In other view, when available.
|
||||
|
||||
set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
|
||||
|
||||
" Ignore case in search patterns unless it contains at least one uppercase
|
||||
" letter
|
||||
|
||||
set ignorecase
|
||||
set smartcase
|
||||
|
||||
" Don't highlight search results automatically
|
||||
|
||||
set nohlsearch
|
||||
|
||||
" Use increment searching (search while typing)
|
||||
set incsearch
|
||||
|
||||
" Try to leave some space from cursor to upper/lower border in lists
|
||||
|
||||
set scrolloff=4
|
||||
|
||||
" Don't do too many requests to slow file systems
|
||||
|
||||
if !has('win')
|
||||
set slowfs=curlftpfs
|
||||
endif
|
||||
|
||||
" Set custom status line look
|
||||
|
||||
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" :mark mark /full/directory/path [filename]
|
||||
|
||||
mark h ~/
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" :com[mand][!] command_name action
|
||||
" The following macros can be used in a command
|
||||
" %a is replaced with the user arguments.
|
||||
" %c the current file under the cursor.
|
||||
" %C the current file under the cursor in the other directory.
|
||||
" %f the current selected file, or files.
|
||||
" %F the current selected file, or files in the other directory.
|
||||
" %b same as %f %F.
|
||||
" %d the current directory name.
|
||||
" %D the other window directory name.
|
||||
" %m run the command in a menu window
|
||||
|
||||
command! df df -h %m 2> /dev/null
|
||||
command! diff vim -d %f %F
|
||||
command! zip zip -r %f.zip %f
|
||||
command! run !! ./%f
|
||||
command! make !!make %a
|
||||
command! mkcd :mkdir %a | cd %a
|
||||
command! vgrep vim "+grep %a"
|
||||
command! reload :write | restart
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" The file type is for the default programs to be used with
|
||||
" a file extension.
|
||||
" :filetype pattern1,pattern2 defaultprogram,program2
|
||||
" :fileviewer pattern1,pattern2 consoleviewer
|
||||
" The other programs for the file type can be accessed with the :file command
|
||||
" The command macros %f, %F, %d, %F may be used in the commands.
|
||||
" The %a macro is ignored. To use a % you must put %%.
|
||||
|
||||
" For automated FUSE mounts, you must register an extension with :file[x]type
|
||||
" in one of following formats:
|
||||
"
|
||||
" :filetype extensions FUSE_MOUNT|some_mount_command using %SOURCE_FILE and %DESTINATION_DIR variables
|
||||
" %SOURCE_FILE and %DESTINATION_DIR are filled in by vifm at runtime.
|
||||
" A sample line might look like this:
|
||||
" :filetype *.zip,*.jar,*.war,*.ear FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
|
||||
"
|
||||
" :filetype extensions FUSE_MOUNT2|some_mount_command using %PARAM and %DESTINATION_DIR variables
|
||||
" %PARAM and %DESTINATION_DIR are filled in by vifm at runtime.
|
||||
" A sample line might look like this:
|
||||
" :filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
|
||||
" %PARAM value is filled from the first line of file (whole line).
|
||||
" Example first line for SshMount filetype: root@127.0.0.1:/
|
||||
"
|
||||
" You can also add %CLEAR if you want to clear screen before running FUSE
|
||||
" program.
|
||||
|
||||
" Pdf
|
||||
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c
|
||||
fileviewer *.pdf pdftotext -nopgbrk %c -
|
||||
|
||||
" PostScript
|
||||
filextype *.ps,*.eps,*.ps.gz
|
||||
\ {View in zathura}
|
||||
\ zathura %f,
|
||||
\ {View in gv}
|
||||
\ gv %c %i &,
|
||||
|
||||
" Djvu
|
||||
filextype *.djvu
|
||||
\ {View in zathura}
|
||||
\ zathura %f,
|
||||
\ {View in apvlv}
|
||||
\ apvlv %f,
|
||||
|
||||
" Audio
|
||||
filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus
|
||||
\ {Play using ffplay}
|
||||
\ ffplay -nodisp -autoexit %c,
|
||||
\ {Play using MPlayer}
|
||||
\ mplayer %f,
|
||||
fileviewer *.mp3 mp3info
|
||||
fileviewer *.flac soxi
|
||||
|
||||
" Video
|
||||
filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||
\*.as[fx]
|
||||
\ {View using ffplay}
|
||||
\ ffplay -fs -autoexit %f,
|
||||
\ {View using Dragon}
|
||||
\ dragon %f:p,
|
||||
\ {View using mplayer}
|
||||
\ mplayer %f,
|
||||
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||
\*.as[fx]
|
||||
\ ffprobe -pretty %c 2>&1
|
||||
|
||||
" Web
|
||||
filextype *.html,*.htm
|
||||
\ {Open with dwb}
|
||||
\ dwb %f %i &,
|
||||
\ {Open with firefox}
|
||||
\ firefox %f &,
|
||||
\ {Open with uzbl}
|
||||
\ uzbl-browser %f %i &,
|
||||
filetype *.html,*.htm links, lynx
|
||||
|
||||
" Object
|
||||
filetype *.o nm %f | less
|
||||
|
||||
" Man page
|
||||
filetype *.[1-8] man ./%c
|
||||
fileviewer *.[1-8] man ./%c | col -b
|
||||
|
||||
" Images
|
||||
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||
\ {View in imv}
|
||||
\ imv -b 1D2330 -d %d &,
|
||||
\ {View in feh}
|
||||
\ feh %d &,
|
||||
\ {View in cacaview}
|
||||
\ cacaview %c &,
|
||||
\ {View in gpicview}
|
||||
\ gpicview %c,
|
||||
\ {View in shotwell}
|
||||
\ shotwell,
|
||||
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||
" Get w3m image previews inside vifm
|
||||
\ imgt %px %py %pw %ph %c
|
||||
\ %pc
|
||||
" \ imgc %px %py %pw %ph NOT NEEDED IN XTERM
|
||||
|
||||
" OpenRaster
|
||||
filextype *.ora
|
||||
\ {Edit in MyPaint}
|
||||
\ mypaint %f,
|
||||
|
||||
" Mindmap
|
||||
filextype *.vym
|
||||
\ {Open with VYM}
|
||||
\ vym %f &,
|
||||
|
||||
" MD5
|
||||
filetype *.md5
|
||||
\ {Check MD5 hash sum}
|
||||
\ md5sum -c %f %S,
|
||||
|
||||
" SHA1
|
||||
filetype *.sha1
|
||||
\ {Check SHA1 hash sum}
|
||||
\ sha1sum -c %f %S,
|
||||
|
||||
" SHA256
|
||||
filetype *.sha256
|
||||
\ {Check SHA256 hash sum}
|
||||
\ sha256sum -c %f %S,
|
||||
|
||||
" SHA512
|
||||
filetype *.sha512
|
||||
\ {Check SHA512 hash sum}
|
||||
\ sha512sum -c %f %S,
|
||||
|
||||
" GPG signature
|
||||
filetype *.asc
|
||||
\ {Check signature}
|
||||
\ !!gpg --verify %c,
|
||||
|
||||
" Torrent
|
||||
filetype *.torrent ktorrent %f &
|
||||
fileviewer *.torrent dumptorrent -v %c
|
||||
|
||||
" FuseZipMount
|
||||
filetype *.zip,*.jar,*.war,*.ear,*.oxt,*.apkg
|
||||
\ {Mount with fuse-zip}
|
||||
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR,
|
||||
\ {View contents}
|
||||
\ zip -sf %c | less,
|
||||
\ {Extract here}
|
||||
\ tar -xf %c,
|
||||
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt zip -sf %c
|
||||
|
||||
" ArchiveMount
|
||||
filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz
|
||||
\ {Mount with archivemount}
|
||||
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR,
|
||||
fileviewer *.tgz,*.tar.gz tar -tzf %c
|
||||
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
|
||||
fileviewer *.tar.txz,*.txz xz --list %c
|
||||
fileviewer *.tar tar -tf %c
|
||||
|
||||
" Rar2FsMount and rar archives
|
||||
filetype *.rar
|
||||
\ {Mount with rar2fs}
|
||||
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR,
|
||||
fileviewer *.rar unrar v %c
|
||||
|
||||
" IsoMount
|
||||
filetype *.iso
|
||||
\ {Mount with fuseiso}
|
||||
\ FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR,
|
||||
|
||||
" SshMount
|
||||
filetype *.ssh
|
||||
\ {Mount with sshfs}
|
||||
\ FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR %FOREGROUND,
|
||||
|
||||
" FtpMount
|
||||
filetype *.ftp
|
||||
\ {Mount with curlftpfs}
|
||||
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %FOREGROUND,
|
||||
|
||||
" Fuse7z and 7z archives
|
||||
filetype *.7z
|
||||
\ {Mount with fuse-7z}
|
||||
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR,
|
||||
fileviewer *.7z 7z l %c
|
||||
|
||||
" Office files
|
||||
filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx libreoffice %f &
|
||||
fileviewer *.doc catdoc %c
|
||||
fileviewer *.docx docx2txt.pl %f -
|
||||
|
||||
" TuDu files
|
||||
filetype *.tudu tudu -f %c
|
||||
|
||||
" Qt projects
|
||||
filextype *.pro qtcreator %f &
|
||||
|
||||
" Directories
|
||||
filextype */
|
||||
\ {View in thunar}
|
||||
\ Thunar %f &,
|
||||
|
||||
" Syntax highlighting in preview
|
||||
"
|
||||
" Explicitly set highlight type for some extensions
|
||||
"
|
||||
" 256-color terminal
|
||||
" fileviewer *.[ch],*.[ch]pp highlight -O xterm256 -s dante --syntax c %c
|
||||
" fileviewer Makefile,Makefile.* highlight -O xterm256 -s dante --syntax make %c
|
||||
"
|
||||
" 16-color terminal
|
||||
" fileviewer *.c,*.h highlight -O ansi -s dante %c
|
||||
"
|
||||
" Or leave it for automatic detection
|
||||
"
|
||||
" fileviewer *[^/] pygmentize -O style=monokai -f console256 -g
|
||||
|
||||
" Displaying pictures in terminal
|
||||
"
|
||||
" fileviewer *.jpg,*.png shellpic %c
|
||||
|
||||
" Open all other files with default system programs (you can also remove all
|
||||
" :file[x]type commands above to ensure they don't interfere with system-wide
|
||||
" settings). By default all unknown files are opened with 'vi[x]cmd'
|
||||
" uncommenting one of lines below will result in ignoring 'vi[x]cmd' option
|
||||
" for unknown file types.
|
||||
" For *nix:
|
||||
" filetype * xdg-open
|
||||
" For OS X:
|
||||
" filetype * open
|
||||
" For Windows:
|
||||
" filetype * start, explorer
|
||||
|
||||
" GETTING ICONS TO DISPLAY IN VIFM
|
||||
" You need the next 14 lines!
|
||||
|
||||
" file types
|
||||
set classify=' :dir:/, :exe:, :reg:, :link:'
|
||||
" various file names
|
||||
set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, ::/^copying|license$/::, ::.git/,,*.git/::, ::*.epub,,*.fb2,,*.djvu::, ::*.pdf::, ::*.htm,,*.html,,**.[sx]html,,*.xml::'
|
||||
" archives
|
||||
set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::'
|
||||
" images
|
||||
set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::'
|
||||
" audio
|
||||
set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::'
|
||||
" media
|
||||
set classify+=' ::*.avi,,*.ts,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::'
|
||||
" office files
|
||||
set classify+=' ::*.doc,,*.docx::, ::*.xls,,*.xls[mx]::, ::*.pptx,,*.ppt::'
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" What should be saved automatically between vifm runs
|
||||
" Like in previous versions of vifm
|
||||
" set vifminfo=options,filetypes,commands,bookmarks,dhistory,state,cs
|
||||
" Like in vi
|
||||
set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
|
||||
\phistory,fhistory,dirstack,registers,bookmarks,bmarks
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Examples of configuring both panels
|
||||
|
||||
" Customize view columns a bit (enable ellipsis for truncated file names)
|
||||
"
|
||||
" set viewcolumns=-{name}..,6{}.
|
||||
|
||||
" Filter-out build and temporary files
|
||||
"
|
||||
" filter! /^.*\.(lo|o|d|class|py[co])$|.*~$/
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Sample mappings
|
||||
|
||||
" Start shell in current directory
|
||||
nnoremap s :shell<cr>
|
||||
|
||||
" Display sorting dialog
|
||||
nnoremap S :sort<cr>
|
||||
|
||||
" Toggle visibility of preview window
|
||||
nnoremap w :view<cr>
|
||||
vnoremap w :view<cr>gv
|
||||
|
||||
" Open file in existing instance of gvim
|
||||
nnoremap o :!gvim --remote-tab-silent %f<cr>
|
||||
" Open file in new instance of gvim
|
||||
nnoremap O :!gvim %f<cr>
|
||||
|
||||
" Open file in the background using its default program
|
||||
nnoremap gb :file &<cr>l
|
||||
|
||||
" Yank current directory path into the clipboard
|
||||
nnoremap yd :!echo %d | xclip %i<cr>
|
||||
|
||||
" Yank current file path into the clipboard
|
||||
nnoremap yf :!echo %c:p | xclip %i<cr>
|
||||
|
||||
" Mappings for faster renaming
|
||||
nnoremap I cw<c-a>
|
||||
nnoremap cc cw<c-u>
|
||||
nnoremap A cw
|
||||
|
||||
" Open console in current directory
|
||||
nnoremap ,t :!xterm &<cr>
|
||||
|
||||
" Open editor to edit vifmrc and apply settings after returning to vifm
|
||||
nnoremap ,c :write | edit $MYVIFMRC | restart<cr>
|
||||
" Open gvim to edit vifmrc
|
||||
nnoremap ,C :!gvim --remote-tab-silent $MYVIFMRC &<cr>
|
||||
|
||||
" Toggle wrap setting on ,w key
|
||||
nnoremap ,w :set wrap!<cr>
|
||||
|
||||
" Example of standard two-panel file managers mappings
|
||||
nnoremap <f3> :!less %f<cr>
|
||||
nnoremap <f4> :edit<cr>
|
||||
nnoremap <f5> :copy<cr>
|
||||
nnoremap <f6> :move<cr>
|
||||
nnoremap <f7> :mkdir<space>
|
||||
nnoremap <f8> :delete<cr>
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Various customization examples
|
||||
|
||||
" Use ag (the silver searcher) instead of grep
|
||||
"
|
||||
" set grepprg='ag --line-numbers %i %a %s'
|
||||
|
||||
" Add additional place to look for executables
|
||||
"
|
||||
" let $PATH = $HOME.'/bin/fuse:'.$PATH
|
||||
|
||||
" Block particular shortcut
|
||||
"
|
||||
" nnoremap <left> <nop>
|
||||
|
||||
" Export IPC name of current instance as environment variable and use it to
|
||||
" communicate with the instance later.
|
||||
"
|
||||
" It can be used in some shell script that gets run from inside vifm, for
|
||||
" example, like this:
|
||||
" vifm --server-name "$VIFM_SERVER_NAME" --remote +"cd '$PWD'"
|
||||
"
|
||||
" let $VIFM_SERVER_NAME = v:servername
|
19
.config/xmobar/xmobarrc0
Executable file
|
@ -0,0 +1,19 @@
|
|||
-- http://projects.haskell.org/xmobar/
|
||||
-- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions"
|
||||
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
||||
|
||||
Config { font = "xft:ubuntu mono:pixelsize=13:antialias=true:hinting=true"
|
||||
, bgColor = "#002B36"
|
||||
, fgColor = "#839496"
|
||||
, position = Top
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "%UnsafeStdinReader% }{ <fc=#91A0BD> <fc=#fdf6e3>%date%</fc> </fc> "
|
||||
}
|
19
.config/xmobar/xmobarrc1
Executable file
|
@ -0,0 +1,19 @@
|
|||
-- http://projects.haskell.org/xmobar/
|
||||
-- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions"
|
||||
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
||||
|
||||
Config { font = "xft:ubuntu mono:pixelsize=13:antialias=true:hinting=true"
|
||||
, bgColor = "#002B36"
|
||||
, fgColor = "#839496"
|
||||
, position = Top
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "%UnsafeStdinReader% }{ <fc=#91A0BD> <fc=#fdf6e3>%date%</fc> </fc> "
|
||||
}
|
24
.config/xmobar/xmobarrc2
Executable file
|
@ -0,0 +1,24 @@
|
|||
-- http://projects.haskell.org/xmobar/
|
||||
-- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions"
|
||||
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
||||
|
||||
Config { font = "xft:ubuntu mono:pixelsize=13:antialias=true:hinting=true"
|
||||
, bgColor = "#002B36"
|
||||
, fgColor = "#839496"
|
||||
, position = Top
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, commands = [ Run Weather "KMLU" ["-t","temp: <tempF>F"] 36000
|
||||
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
||||
, Run Network "enp3s0" ["-t", "net: <rx>kb|<tx>kb"] 10
|
||||
, Run Cpu ["-t","cpu: <total>%","-H","50","--high","red"] 10
|
||||
, Run Memory ["-t","mem: <usedratio>%"] 10
|
||||
, Run DiskU [("/","hdd: <used>/<size>")] [] 3600
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "%UnsafeStdinReader% }{ <fc=#91A0BD> <fc=#859900>%cpu%</fc> : <fc=#DC322F>%memory%</fc> : <fc=#B58900>%disku%</fc> : <fc=#D33682>%enp3s0%</fc> : <fc=#6c71c4>%KMLU%</fc> : <fc=#fdf6e3>%date%</fc> </fc> "
|
||||
}
|
432
.fvwm/config
Normal file
|
@ -0,0 +1,432 @@
|
|||
# Date : Tue Nov 28 22:23:25 CST 2017
|
||||
# Author : abel-abel
|
||||
|
||||
# Most of the configuration are copied from:
|
||||
# http://zensites.net/fvwm/guide/
|
||||
# I only changed/added/remove some configurations.
|
||||
|
||||
# ==================================================
|
||||
# $HOME/.fvwm/config
|
||||
|
||||
SetEnv img_home $[HOME]/Pictures
|
||||
SetEnv fvwm_home $[HOME]/.fvwm
|
||||
SetEnv fvwm_img $[fvwm_home]/images
|
||||
SetEnv fvwm_icon $[fvwm_img]/icons
|
||||
SetEnv fvwm_wallpaper $[fvwm_img]/wallpaper
|
||||
|
||||
SetEnv fvwm_music_player /usr/bin/deadbeef
|
||||
SetEnv fvwm_video_player /usr/bin/vlc
|
||||
SetEnv fvwm_editor /usr/bin/geany
|
||||
SetEnv fvwm_ss /usr/bin/ss-qt5
|
||||
|
||||
ImagePath $[fvwm_icon]:$[fvwm_icon];.png:$[fvwm_wallpaper]:+
|
||||
|
||||
DesktopSize 3x3
|
||||
DesktopName 0 Main
|
||||
DesktopName 1 Code
|
||||
DesktopName 2 Read
|
||||
|
||||
EdgeScroll 50 50
|
||||
EdgeResistance 10
|
||||
EdgeThickness 5
|
||||
|
||||
ClickTime 350
|
||||
MoveThreshold 3
|
||||
Style * SloppyFocus, MouseFocusClickRaises
|
||||
|
||||
EwmhBaseStruts 62 162 0 48
|
||||
IgnoreModifiers L25
|
||||
SnapGrid 20 20
|
||||
|
||||
# Function template (emacs yasnippet: fvwmapp)
|
||||
|
||||
# DestroyFunc Fvwm-hello
|
||||
# AddToFunc Fvwm-hello
|
||||
# + I (immediately)
|
||||
# + C (click)
|
||||
# + D (double click)
|
||||
# + M (move)
|
||||
# + H (hold)
|
||||
|
||||
DestroyFunc FvwmRofi
|
||||
AddToFunc FvwmRofi
|
||||
+ I Exec exec rofi -show run
|
||||
|
||||
DestroyFunc FvwmTerm
|
||||
AddToFunc FvwmTerm
|
||||
+ I Exec exec termite
|
||||
|
||||
DestroyFunc FvwmBrowser
|
||||
AddToFunc FvwmBrowser
|
||||
+ I Exec exec firefox
|
||||
|
||||
DestroyFunc FvwmEditor
|
||||
AddToFunc FvwmEditor
|
||||
+ I Exec exec $[fvwm_editor]
|
||||
|
||||
DestroyFunc FvwmSS
|
||||
AddToFunc FvwmSS
|
||||
+ I Exec exec fvwm_ss
|
||||
|
||||
DestroyFunc FvwmMusicPlayer
|
||||
AddToFunc FvwmMusicPlayer
|
||||
+ I Exec exec $[fvwm_music_player]
|
||||
|
||||
DestroyFunc FvwmVideoPlayer
|
||||
AddToFunc FvwmVideoPlayer
|
||||
+ I Exec exec $[fvwm_video_player]
|
||||
|
||||
DestroyFunc FvwmObs
|
||||
AddToFunc FvwmObs
|
||||
+ I Exec exec obs
|
||||
|
||||
DestroyFunc FvwmRecord
|
||||
AddToFunc FvwmRecord
|
||||
+ I Exec exec simplescreenrecorder
|
||||
|
||||
DestroyFunc FvwmScreenkey
|
||||
AddToFunc FvwmScreenkey
|
||||
+ I Exec exec screenkey
|
||||
|
||||
DestroyFunc FvwmHtop
|
||||
AddToFunc FvwmHtop
|
||||
+ I Exec exec termite -e htop
|
||||
|
||||
DestroyFunc FvwmChat
|
||||
AddToFunc FvwmChat
|
||||
+ I Exec exec /usr/bin/hexchat
|
||||
|
||||
DestroyFunc FvwmGimp
|
||||
AddToFunc FvwmGimp
|
||||
+ I Exec exec /usr/bin/gimp
|
||||
|
||||
DestroyFunc FvwmShutdown
|
||||
AddToFunc FvwmShutdown
|
||||
+ I Exec exec /sbin/shutdown -h now
|
||||
|
||||
DestroyFunc FvwmLaunch
|
||||
AddToFunc FvwmLaunch
|
||||
+ I Exec exec xfce4-appfinder
|
||||
|
||||
DestroyFunc FvwmFileManager
|
||||
AddToFunc FvwmFileManager
|
||||
+ I Exec exec pcmanfm
|
||||
|
||||
DestroyFunc FvwmDeadbeefPrev
|
||||
AddToFunc FvwmDeadbeefPrev
|
||||
+ I Exec exec deadbeef --prev
|
||||
|
||||
DestroyFunc FvwmDeadbeefStop
|
||||
AddToFunc FvwmDeadbeefStop
|
||||
+ I Exec exec deadbeef --stop
|
||||
|
||||
DestroyFunc FvwmDeadbeefStart
|
||||
AddToFunc FvwmDeadbeefStart
|
||||
+ I Exec exec deadbeef --start
|
||||
|
||||
DestroyFunc FvwmDeadbeefNext
|
||||
AddToFunc FvwmDeadbeefNext
|
||||
+ I Exec exec deadbeef --next
|
||||
|
||||
DestroyFunc FvwmIconifyOrShade
|
||||
AddToFunc FvwmIconifyOrShade
|
||||
+ C Iconify
|
||||
+ D WindowShade
|
||||
|
||||
DestroyFunc FvwmIconify
|
||||
AddToFunc FvwmIconify
|
||||
+ C Iconify
|
||||
|
||||
DestroyFunc FvwmMove
|
||||
AddToFunc FvwmMove
|
||||
+ M Move
|
||||
|
||||
DestroyFunc FvwmResize
|
||||
AddToFunc FvwmResize
|
||||
+ M Resize
|
||||
|
||||
DestroyFunc FvwmWindowScreenshot
|
||||
AddToFunc FvwmWindowScreenshot
|
||||
+ I ThisWindow (!Shaded !Iconic Iconifiable) \
|
||||
Exec import -window $[w.id] -quality 100 -silent \
|
||||
"$[img_home]/screenshot/screenshot-`date +%F[%R]`.$[w.id].jpg"
|
||||
|
||||
DestroyFunc FvwmDesktopScreenshot
|
||||
AddToFunc FvwmDesktopScreenshot
|
||||
+ I Exec sleep $0; import -window root -quality 100 -silent \
|
||||
"$[img_home]/screenshot/screenshot-`date +%F[%R]`.jpg"
|
||||
|
||||
DestroyFunc InitFunction
|
||||
AddToFunc InitFunction
|
||||
# will cause problems when move windows across pages
|
||||
+ I Exec exec compton &
|
||||
+ I Exec exec feh --bg-scale $[fvwm_wallpaper]/breath_edited_by_kn8fury-dazpiwg.png
|
||||
+ I Exec exec rofi -show run
|
||||
# + I FvwmTerm
|
||||
# + I FvwmMusicPlayer
|
||||
# + I FvwmBrowser
|
||||
# + I Exec exec xscreensaver
|
||||
|
||||
DestroyFunc StartFunction
|
||||
AddToFunc StartFunction
|
||||
+ I Module FvwmPager 0 2
|
||||
+ I Module FvwmButtons MyButtons
|
||||
+ I Module FvwmButtons MyButtons2
|
||||
|
||||
DestroyFunc RestartFunction
|
||||
AddToFunc RestartFunction
|
||||
+ I Module FvwmTaskBar
|
||||
|
||||
DestroyFunc FvwmWindowShade
|
||||
AddToFunc FvwmWindowShade
|
||||
+ I WindowShade $0
|
||||
|
||||
DestroyFunc FvwmMaximize
|
||||
AddToFunc FvwmMaximize
|
||||
+ I Maximize $0 $1
|
||||
|
||||
DestroyFunc FvwmDeleteOrDestroy
|
||||
AddToFunc FvwmDeleteOrDestroy
|
||||
+ C Delete
|
||||
+ D Destroy
|
||||
|
||||
# Template
|
||||
# Key X Context Modifier Action
|
||||
# Modifier is any combination of the following:
|
||||
# (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing, or 1-5, representing the X Modifiers mod1-mod5 (man xmodmap).
|
||||
Key Super_L A S FvwmTerm
|
||||
Key F1 A M Menu FvwmRootMenu
|
||||
Key F2 A M FvwmLaunch
|
||||
Key F4 A M Close
|
||||
Key F11 A C FvwmMaximize 100 100
|
||||
|
||||
# Mouse 3 R A Menu FvwmWindowOpsMenu
|
||||
Mouse 4 T A FvwmWindowShade True
|
||||
Mouse 5 T A FvwmWindowShade False
|
||||
|
||||
Mouse 3 I A FvwmIconify
|
||||
Mouse 3 T A FvwmIconify
|
||||
|
||||
Mouse 3 W M FvwmMove
|
||||
Mouse 3 W S FvwmResize
|
||||
|
||||
Mouse 1 R A Menu FvwmRootMenu
|
||||
Mouse 3 R A Menu FvwmOpsMenu
|
||||
|
||||
Mouse 1 5 A FvwmMaximize 100 100
|
||||
Mouse 2 5 A FvwmMaximize 0 100
|
||||
Mouse 3 5 A FvwmMaximize 100 0
|
||||
|
||||
Mouse 1 3 A FvwmIconifyOrShade
|
||||
|
||||
Mouse 1 1 A FvwmDeleteOrDestroy
|
||||
|
||||
# Colorset 6 fg #343434, bg #ebebeb # title
|
||||
# Colorset 3 fg #400c04, bg #d16952 # red
|
||||
# Colorset 4 fg #ad8529, bg #e5bf45 # yellow
|
||||
# Colorset 5 fg #2a520d, bg #76c24c # green
|
||||
|
||||
Colorset 3 fg #A9FFDE, bg #e6e7d7 # fg: darkblue, bg: milk white
|
||||
Colorset 4 fg White, bg #a6a797 # fg: black, bg: gray
|
||||
Colorset 5 fg White, bg Black
|
||||
|
||||
DestroyDecor MyDecor
|
||||
AddToDecor MyDecor
|
||||
+ TitleStyle LeftJustified Height 18
|
||||
+ BorderStyle Simple -- NoInset Flat
|
||||
+ ButtonStyle All -- UseTitleStyle
|
||||
+ TitleStyle -- Flat
|
||||
|
||||
+ ButtonStyle 1 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
|
||||
+ ButtonStyle 1 ActiveDown Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
|
||||
+ ButtonStyle 1 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
|
||||
|
||||
+ ButtonStyle 3 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
|
||||
+ ButtonStyle 3 ActiveDown Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
|
||||
+ ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
|
||||
|
||||
+ ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
|
||||
+ ButtonStyle 5 ActiveDown Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
|
||||
+ ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
|
||||
|
||||
|
||||
DestroyDecor UkkostaDecor
|
||||
AddToDecor UkkostaDecor
|
||||
+ TitleStyle LeftJustified Height 24
|
||||
+ ButtonStyle 1 \
|
||||
ActiveUp (Pixmap $[fvwm_img]/button/close-activeup.png -- Flat) \
|
||||
ActiveDown (Pixmap $[fvwm_img]/button/close-activedown.png -- Flat) \
|
||||
Inactive (Pixmap $[fvwm_img]/button/inactive.png -- Flat)
|
||||
+ ButtonStyle 3 \
|
||||
ActiveUp (Pixmap $[fvwm_img]/button/iconify-activeup.png -- Flat) \
|
||||
ActiveDown (Pixmap $[fvwm_img]/button/iconify-activedown.png -- Flat) \
|
||||
Inactive (Pixmap $[fvwm_img]/button/inactive.png -- Flat)
|
||||
+ ButtonStyle 5 \
|
||||
ActiveUp (Pixmap $[fvwm_img]/button/maximize-activeup.png -- Flat) \
|
||||
ActiveDown (Pixmap $[fvwm_img]/button/maximize-activedown.png -- Flat) \
|
||||
Inactive (Pixmap $[fvwm_img]/button/inactive.png -- Flat)
|
||||
+ ButtonStyle 1 - Clear
|
||||
+ ButtonStyle 3 - Clear MwmDecorMin
|
||||
+ ButtonStyle 5 - Clear MwmDecorMax
|
||||
+ TitleStyle AllActive MultiPixmap \
|
||||
Main AdjustedPixmap $[fvwm_img]/decor/title-main-active.xpm, \
|
||||
LeftEnd AdjustedPixmap $[fvwm_img]/decor/title-leftend-active.xpm, \
|
||||
RightEnd AdjustedPixmap $[fvwm_img]/decor/title-rightend-active.xpm, \
|
||||
UnderText AdjustedPixmap $[fvwm_img]/decor/title-undertext-active.xpm, \
|
||||
LeftOfText AdjustedPixmap $[fvwm_img]/decor/title-leftoftext-active.xpm, \
|
||||
RightOfext AdjustedPixmap $[fvwm_img]/decor/title-rightoftext-active.xpm
|
||||
+ TitleStyle AllInactive MultiPixmap \
|
||||
Main AdjustedPixmap $[fvwm_img]/decor/title-main-inactive.xpm, \
|
||||
LeftEnd AdjustedPixmap $[fvwm_img]/decor/title-leftend-inactive.xpm, \
|
||||
RightEnd AdjustedPixmap $[fvwm_img]/decor/title-rightend-inactive.xpm, \
|
||||
UnderText AdjustedPixmap $[fvwm_img]/decor/title-undertext-inactive.xpm, \
|
||||
LeftOfText AdjustedPixmap $[fvwm_img]/decor/title-leftoftext-inactive.xpm, \
|
||||
RightOfext AdjustedPixmap $[fvwm_img]/decor/title-rightoftext-inactive.xpm
|
||||
+ TitleStyle -- Flat
|
||||
+ BorderStyle Simple -- NoInset Flat
|
||||
+ ButtonStyle All -- UseTitleStyle
|
||||
|
||||
Style "*" UseDecor UkkostaDecor
|
||||
Style "*" Font "xft:Sans:Bold:size=9:minspace=False:antialias=True"
|
||||
# Style "*" Font "xft:WenQuanYi Zen Hei Mono:size=10"
|
||||
Style "*" BorderWidth 1, HandleWidth 1
|
||||
Style "*" MWMBorder, FirmBorder
|
||||
Style "*" Colorset 4
|
||||
Style "*" HilightColorset 3
|
||||
Style "*" BorderColorset 5
|
||||
Style "*" HilightBorderColorset 4
|
||||
|
||||
# Colorset 7 fg Black, bg #e6e7d7, sh Black, hi #202070
|
||||
Colorset 7 fg White, bg #272727, sh Black, hi #272727
|
||||
Colorset 8 fg #109567, bg #e6e7d7, sh Black, hi #272727
|
||||
|
||||
MenuStyle * PopupDelayed, PopupDelay 300, PopdownImmediately
|
||||
MenuStyle * PopupOffset -5 100, TitleWarpOff
|
||||
MenuStyle * TitleUnderlines2, SeparatorsLong, TrianglesSolid
|
||||
MenuStyle * AnimationOff, AutomaticHotkeysOff
|
||||
MenuStyle * BorderWidth 2
|
||||
MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight
|
||||
MenuStyle * ItemFormat "%|%5.5i%1.3l%2.3>%|"
|
||||
MenuStyle * VerticalItemSpacing 1 1, VerticalTitleSpacing 2 2
|
||||
MenuStyle * MenuColorset 7
|
||||
MenuStyle * ActiveFore, Hilight3DOff
|
||||
MenuStyle * ActiveColorset 8
|
||||
MenuStyle * Font "Shadow=0:xft:Sans:Bold:size=8:antialias=True"
|
||||
|
||||
PipeRead fvwm-menu-xlock
|
||||
PipeRead fvwm-menu-desktop --enable-mini-icons --desktop kde
|
||||
|
||||
DestroyMenu FvwmRootMenu
|
||||
AddToMenu FvwmRootMenu "FVWM" Title
|
||||
+ "Run%menu/find.svg%" FvwmRofi
|
||||
+ "Applications%menu/applications.svg%" Popup FvwmProgramsMenu
|
||||
+ "Lock%menu/lock.png%" Popup XLockMenu
|
||||
+ "FVWM Console%menu/terminal.png%" Module FvwmConsole
|
||||
+ "XDGMenu" Popup XDGMenu
|
||||
+ "" Nop
|
||||
+ "Restart Fvwm%menu/restart.png%" Restart
|
||||
+ "Quit Fvwm%menu/quit.png%" Quit
|
||||
|
||||
DestroyMenu FvwmProgramsMenu
|
||||
AddToMenu FvwmProgramsMenu "=w=" Title
|
||||
+ "File%24x24/thunar.png%" FvwmFileManager
|
||||
+ "Editor%24x24/geany.png%" FvwmEditor
|
||||
+ "Browser%24x24/firefox.png%" FvwmBrowser
|
||||
+ "Deadbeef%24x24/deadbeef.png%" FvwmMusicPlayer
|
||||
+ "Gimp%24x24/gimp.png%" FvwmGimp
|
||||
+ "Hexchat%24x24/hexchat.png%" FvwmChat
|
||||
|
||||
DestroyMenu FvwmOpsMenu
|
||||
AddToMenu FvwmOpsMenu "^o^" Title
|
||||
+ "(Un)Stick%menu/window-stick.xpm%" Stick
|
||||
+ "Identify%menu/window-identify.xpm%" Module FvwmIdent
|
||||
+ "%menu/window.xpm%Window Screenshot" Pick (CirculateHit) FvwmWindowScreenshot
|
||||
+ "%menu/display.xpm%Screenshot" FvwmDesktopScreenshot 5
|
||||
+ "Shutdown%menu/shutdown.svg%" FvwmShutdown
|
||||
|
||||
# Colorset 9 fg rgb:00/00/00, hi rgb:00/00/00, sh rgb:00/00/00, bg rgb:e9/e9/d9
|
||||
Colorset 9 RootTransparent, fg Black, bg average, sh Black, \
|
||||
hi #202070, Tint White 30, bgTint White 60
|
||||
Colorset 10 fg rgb:00/00/00, hi rgb:dd/00/00, sh rgb:dd/00/00, bg rgb:fb/fc/ec
|
||||
|
||||
DestroyModuleConfig FvwmIdent: *
|
||||
*FvwmIdent: Colorset 9
|
||||
*FvwmIdent: Font "xft:Sans:Bold:size=12:antialias=True"
|
||||
|
||||
Style "FvwmPager" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, \
|
||||
CirculateSkip, FixedPosition, FixedSize, !Iconifiable
|
||||
# StaysOnTop
|
||||
DestroyModuleConfig FvwmPager: *
|
||||
*FvwmPager: Geometry 120x300-0+0
|
||||
*FvwmPager: Colorset * 7
|
||||
*FvwmPager: HilightColorset * 9
|
||||
*FvwmPager: BalloonColorset * 7
|
||||
*FvwmPager: WindowColorsets 7 9
|
||||
*FvwmPager: Font "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True"
|
||||
*FvwmPager: Balloons All
|
||||
*FvwmPager: BalloonFont "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True"
|
||||
*FvwmPager: BallonYOffset +2
|
||||
*FvwmPager: Window3dBorders
|
||||
*FvwmPager: MiniIcons
|
||||
*FvwmPager: UseSkipList
|
||||
*FvwmPager: Rows 3
|
||||
*FvwmPager: Columns 1
|
||||
|
||||
Style "MyButtons" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, \
|
||||
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
|
||||
|
||||
DestroyModuleConfig MyButtons: *
|
||||
*MyButtons: Geometry 420x40+0-0
|
||||
*MyButtons: Colorset 7
|
||||
*MyButtons: Rows 1
|
||||
*MyButtons: Columns 38
|
||||
*MyButtons: Frame 0
|
||||
*MyButtons: Font "Shadow=3:xft:Sans:Bold:pixelsize=14:minspace=True:antialias=True"
|
||||
*MyButtons: (2x1, Frame 0, Title(Center) "")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/24x24.png, \
|
||||
Action(Mouse 1) "FvwmRofi", \
|
||||
Action(Mouse 3) "FvwmRofi)
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/thunar.png, \
|
||||
Action(Mouse 1) "FvwmFileManager")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/firefox.png, \
|
||||
Action(Mouse 1) "FvwmBrowser")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/terminal.png, \
|
||||
Action(Mouse 1) "FvwmTerm", \
|
||||
Action(Mouse 3) "FvwmTerm")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/geany.png, \
|
||||
Action(Mouse 1) "FvwmEditor")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/deadbeef.png, \
|
||||
Action(Mouse 1) "FvwmMusicPlayer")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/vlc.png, \
|
||||
Action(Mouse 1) "FvwmVideoPlayer")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/gimp.png, \
|
||||
Action(Mouse 1) "FvwmGimp")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/hexchat.png, \
|
||||
Action(Mouse 1) "FvwmChat")
|
||||
*MyButtons: (5x1, Frame 0, Icon 24x24/htop.png, \
|
||||
Action(Mouse 1) "FvwmHtop")
|
||||
*MyButtons: (1x1, Frame 0)
|
||||
|
||||
Style "MyButtons2" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, \
|
||||
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
|
||||
|
||||
*MyButtons2: Geometry 220x40-0-0
|
||||
*MyButtons2: Colorset 7
|
||||
*MyButtons2: Rows 1
|
||||
*MyButtons2: Columns 5
|
||||
*MyButtons2: Frame 0
|
||||
*MyButtons2: Font "Shadow=3:xft:Sans:Bold:pixelsize=14:minspace=True:antialias=True"
|
||||
*MyButtons2: (2x1, Frame 0, Title(Center) "")
|
||||
*MyButtons2: (5x1, Frame 0, Icon 24x24/deadbeef-prev.png, \
|
||||
Action(Mouse 1) "FvwmDeadbeefPrev")
|
||||
*MyButtons2: (5x1, Frame 0, Icon 24x24/deadbeef-stop.png, \
|
||||
Action(Mouse 1) "FvwmDeadbeefStop")
|
||||
*MyButtons2: (5x1, Frame 0, Icon 24x24/deadbeef-start.png, \
|
||||
Action(Mouse 1) "FvwmDeadbeefStart")
|
||||
*MyButtons2: (5x1, Frame 0, Icon 24x24/deadbeef-next.png, \
|
||||
Action(Mouse 1) "FvwmDeadbeefNext")
|
||||
*MyButtons2: (5x1, Frame 0, Icon 24x24/logout.png, \
|
||||
Action(Mouse 1) "Quit")
|
||||
*MyButtons2: (1x1, Frame 0)
|
||||
|
||||
Style "xclock" NoTitle, FixedPosition
|
BIN
.fvwm/images/button/close-activedown.png
Normal file
After Width: | Height: | Size: 664 B |
BIN
.fvwm/images/button/close-activeup.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
.fvwm/images/button/iconify-activedown.png
Normal file
After Width: | Height: | Size: 644 B |
BIN
.fvwm/images/button/iconify-activeup.png
Normal file
After Width: | Height: | Size: 661 B |
BIN
.fvwm/images/button/inactive.png
Normal file
After Width: | Height: | Size: 423 B |
BIN
.fvwm/images/button/maximize-activedown.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
.fvwm/images/button/maximize-activeup.png
Normal file
After Width: | Height: | Size: 671 B |
40
.fvwm/images/decor/title-leftend-active.xpm
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* XPM */
|
||||
static char * title_leftend_active_xpm[] = {
|
||||
"1 24 13 1",
|
||||
" c None",
|
||||
". c #4F4F51",
|
||||
"+ c #585859",
|
||||
"@ c #646465",
|
||||
"# c #717172",
|
||||
"$ c #767677",
|
||||
"% c #8C8C8C",
|
||||
"& c #7E7E7E",
|
||||
"* c #69696A",
|
||||
"= c #5C5C5C",
|
||||
"- c #515153",
|
||||
"; c #3F3F41",
|
||||
"> c #373739",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
"+",
|
||||
"@",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"$",
|
||||
"%",
|
||||
"&",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"*",
|
||||
"=",
|
||||
"-",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
";",
|
||||
">",
|
||||
">",
|
||||
">"};
|
40
.fvwm/images/decor/title-leftend-inactive.xpm
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* XPM */
|
||||
static char * title_leftend_inactive_xpm[] = {
|
||||
"1 24 13 1",
|
||||
" c None",
|
||||
". c #4F4F51",
|
||||
"+ c #585859",
|
||||
"@ c #646465",
|
||||
"# c #717172",
|
||||
"$ c #767677",
|
||||
"% c #8C8C8C",
|
||||
"& c #7E7E7E",
|
||||
"* c #69696A",
|
||||
"= c #5C5C5C",
|
||||
"- c #515153",
|
||||
"; c #3F3F41",
|
||||
"> c #373739",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
"+",
|
||||
"@",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"$",
|
||||
"%",
|
||||
"&",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"*",
|
||||
"=",
|
||||
"-",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
";",
|
||||
">",
|
||||
">",
|
||||
">"};
|
122
.fvwm/images/decor/title-leftoftext-active.xpm
Normal file
|
@ -0,0 +1,122 @@
|
|||
/* XPM */
|
||||
static char * title_leftoftext_active_xpm[] = {
|
||||
"6 24 95 2",
|
||||
" c None",
|
||||
". c #4E4E4F",
|
||||
"+ c #868687",
|
||||
"@ c #505051",
|
||||
"# c #8A8A8B",
|
||||
"$ c #79797A",
|
||||
"% c #565657",
|
||||
"& c #989899",
|
||||
"* c #4D4D4D",
|
||||
"= c #5D5D5E",
|
||||
"- c #A6A6A8",
|
||||
"; c #4E4E4E",
|
||||
"> c #3C435B",
|
||||
", c #636364",
|
||||
"' c #B5B5B6",
|
||||
") c #565656",
|
||||
"! c #39456B",
|
||||
"~ c #68686A",
|
||||
"{ c #C3C3C4",
|
||||
"] c #616161",
|
||||
"^ c #435177",
|
||||
"/ c #6F6F71",
|
||||
"( c #D1D1D2",
|
||||
"_ c #6C6C6C",
|
||||
": c #4E5D81",
|
||||
"< c #757577",
|
||||
"[ c #DFDFE0",
|
||||
"} c #777777",
|
||||
"| c #58688C",
|
||||
"1 c #7C7C7E",
|
||||
"2 c #EEEEEE",
|
||||
"3 c #828282",
|
||||
"4 c #637496",
|
||||
"5 c #828284",
|
||||
"6 c #FCFCFC",
|
||||
"7 c #8C8C8C",
|
||||
"8 c #6E7FA1",
|
||||
"9 c #7E7E80",
|
||||
"0 c #F3F3F3",
|
||||
"a c #969696",
|
||||
"b c #7183A5",
|
||||
"c c #777779",
|
||||
"d c #E4E4E5",
|
||||
"e c #9F9F9F",
|
||||
"f c #7385A7",
|
||||
"g c #717173",
|
||||
"h c #D6D6D7",
|
||||
"i c #A9A9A9",
|
||||
"j c #7587A9",
|
||||
"k c #6B6B6D",
|
||||
"l c #C8C8C9",
|
||||
"m c #B3B3B3",
|
||||
"n c #6A7C9E",
|
||||
"o c #656566",
|
||||
"p c #BABABB",
|
||||
"q c #BDBDBD",
|
||||
"r c #607093",
|
||||
"s c #5F5F60",
|
||||
"t c #ACACAC",
|
||||
"u c #C7C7C7",
|
||||
"v c #556488",
|
||||
"w c #58585A",
|
||||
"x c #9D9D9E",
|
||||
"y c #D0D0D0",
|
||||
"z c #4C5B7F",
|
||||
"A c #525253",
|
||||
"B c #8F8F90",
|
||||
"C c #CBCBCB",
|
||||
"D c #435176",
|
||||
"E c #4C4C4D",
|
||||
"F c #818182",
|
||||
"G c #3A466D",
|
||||
"H c #454547",
|
||||
"I c #737374",
|
||||
"J c #A8A8A8",
|
||||
"K c #313D64",
|
||||
"L c #3F3F41",
|
||||
"M c #2A355C",
|
||||
"N c #39393B",
|
||||
"O c #707070",
|
||||
"P c #414760",
|
||||
"Q c #4A5169",
|
||||
"R c #515870",
|
||||
"S c #323234",
|
||||
"T c #484849",
|
||||
"U c #545454",
|
||||
"V c #676767",
|
||||
"W c #7D7D7E",
|
||||
"X c #8E8E8E",
|
||||
"Y c #2C2C2E",
|
||||
"Z c #3A3A3B",
|
||||
"` c #3D3D3E",
|
||||
" . c #414142",
|
||||
".. c #464647",
|
||||
"+. c #4A4A4B",
|
||||
". + + + + + ",
|
||||
"@ # $ $ $ $ ",
|
||||
"% & * * * * ",
|
||||
"= - ; > > > ",
|
||||
", ' ) ! ! ! ",
|
||||
"~ { ] ^ ^ ^ ",
|
||||
"/ ( _ : : : ",
|
||||
"< [ } | | | ",
|
||||
"1 2 3 4 4 4 ",
|
||||
"5 6 7 8 8 8 ",
|
||||
"9 0 a b b b ",
|
||||
"c d e f f f ",
|
||||
"g h i j j j ",
|
||||
"k l m n n n ",
|
||||
"o p q r r r ",
|
||||
"s t u v v v ",
|
||||
"w x y z z z ",
|
||||
"A B C D D D ",
|
||||
"E F q G G G ",
|
||||
"H I J K K K ",
|
||||
"L o 7 M M M ",
|
||||
"N % O P Q R ",
|
||||
"S T U V W X ",
|
||||
"Y Z ` ...+."};
|
106
.fvwm/images/decor/title-leftoftext-inactive.xpm
Normal file
|
@ -0,0 +1,106 @@
|
|||
/* XPM */
|
||||
static char * title_leftoftext_inactive_xpm[] = {
|
||||
"6 24 79 1",
|
||||
" c None",
|
||||
". c #4E4E4E",
|
||||
"+ c #868686",
|
||||
"@ c #505050",
|
||||
"# c #8A8A8A",
|
||||
"$ c #797979",
|
||||
"% c #565656",
|
||||
"& c #989898",
|
||||
"* c #4D4D4D",
|
||||
"= c #5D5D5D",
|
||||
"- c #A6A6A6",
|
||||
"; c #4B4B4B",
|
||||
"> c #636363",
|
||||
", c #B5B5B5",
|
||||
"' c #525252",
|
||||
") c #696969",
|
||||
"! c #C3C3C3",
|
||||
"~ c #616161",
|
||||
"{ c #707070",
|
||||
"] c #D1D1D1",
|
||||
"^ c #6C6C6C",
|
||||
"/ c #676767",
|
||||
"( c #767676",
|
||||
"_ c #DFDFDF",
|
||||
": c #777777",
|
||||
"< c #727272",
|
||||
"[ c #7C7C7C",
|
||||
"} c #EEEEEE",
|
||||
"| c #828282",
|
||||
"1 c #838383",
|
||||
"2 c #FCFCFC",
|
||||
"3 c #8C8C8C",
|
||||
"4 c #878787",
|
||||
"5 c #7F7F7F",
|
||||
"6 c #F3F3F3",
|
||||
"7 c #969696",
|
||||
"8 c #8B8B8B",
|
||||
"9 c #787878",
|
||||
"0 c #E4E4E4",
|
||||
"a c #9F9F9F",
|
||||
"b c #8D8D8D",
|
||||
"c c #D6D6D6",
|
||||
"d c #A9A9A9",
|
||||
"e c #8F8F8F",
|
||||
"f c #C8C8C8",
|
||||
"g c #B3B3B3",
|
||||
"h c #848484",
|
||||
"i c #656565",
|
||||
"j c #BABABA",
|
||||
"k c #BDBDBD",
|
||||
"l c #5F5F5F",
|
||||
"m c #ACACAC",
|
||||
"n c #C7C7C7",
|
||||
"o c #6E6E6E",
|
||||
"p c #585858",
|
||||
"q c #9D9D9D",
|
||||
"r c #D0D0D0",
|
||||
"s c #CBCBCB",
|
||||
"t c #5C5C5C",
|
||||
"u c #4C4C4C",
|
||||
"v c #818181",
|
||||
"w c #535353",
|
||||
"x c #464646",
|
||||
"y c #737373",
|
||||
"z c #A8A8A8",
|
||||
"A c #4A4A4A",
|
||||
"B c #404040",
|
||||
"C c #434343",
|
||||
"D c #3A3A3A",
|
||||
"E c #5A5A5A",
|
||||
"F c #606060",
|
||||
"G c #333333",
|
||||
"H c #484848",
|
||||
"I c #545454",
|
||||
"J c #7D7D7D",
|
||||
"K c #8E8E8E",
|
||||
"L c #2D2D2D",
|
||||
"M c #3D3D3D",
|
||||
"N c #414141",
|
||||
".+++++",
|
||||
"@#$$$$",
|
||||
"%&****",
|
||||
"=-.;;;",
|
||||
">,%'''",
|
||||
")!~===",
|
||||
"{]^///",
|
||||
"(_:<<<",
|
||||
"[}|[[[",
|
||||
"123444",
|
||||
"567888",
|
||||
"90abbb",
|
||||
"<cdeee",
|
||||
"^fghhh",
|
||||
"ijk$$$",
|
||||
"lmnooo",
|
||||
"pqriii",
|
||||
"'esttt",
|
||||
"uvkwww",
|
||||
"xyzAAA",
|
||||
"Bi3CCC",
|
||||
"D%{@EF",
|
||||
"GHI/JK",
|
||||
"LDMNxA"};
|
29
.fvwm/images/decor/title-main-active.xpm
Normal file
|
@ -0,0 +1,29 @@
|
|||
/* XPM */
|
||||
static char * title_main_active_xpm[] = {
|
||||
"1 24 2 1",
|
||||
" c None",
|
||||
". c #272727",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
"."};
|
40
.fvwm/images/decor/title-main-inactive.xpm
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* XPM */
|
||||
static char * title_main_inactive_xpm[] = {
|
||||
"1 24 13 1",
|
||||
" c None",
|
||||
". c #5C5C5C",
|
||||
"+ c #575758",
|
||||
"@ c #535353",
|
||||
"# c #4E4E4E",
|
||||
"$ c #4A4949",
|
||||
"% c #454445",
|
||||
"& c #404040",
|
||||
"* c #3B3C3B",
|
||||
"= c #373736",
|
||||
"- c #323232",
|
||||
"; c #2D2D2D",
|
||||
"> c #2A2A2A",
|
||||
".",
|
||||
"+",
|
||||
"@",
|
||||
"#",
|
||||
"$",
|
||||
"%",
|
||||
"&",
|
||||
"*",
|
||||
"=",
|
||||
"-",
|
||||
";",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">",
|
||||
">"};
|
40
.fvwm/images/decor/title-rightend-active.xpm
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* XPM */
|
||||
static char * title_rightend_active_xpm[] = {
|
||||
"1 24 13 1",
|
||||
" c None",
|
||||
". c #4F4F51",
|
||||
"+ c #585859",
|
||||
"@ c #646465",
|
||||
"# c #717172",
|
||||
"$ c #767677",
|
||||
"% c #8C8C8C",
|
||||
"& c #7E7E7E",
|
||||
"* c #69696A",
|
||||
"= c #5C5C5C",
|
||||
"- c #515153",
|
||||
"; c #3F3F41",
|
||||
"> c #373739",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
"+",
|
||||
"@",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"$",
|
||||
"%",
|
||||
"&",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"*",
|
||||
"=",
|
||||
"-",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
";",
|
||||
">",
|
||||
">",
|
||||
">"};
|
40
.fvwm/images/decor/title-rightend-inactive.xpm
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* XPM */
|
||||
static char * title_rightend_inactive_xpm[] = {
|
||||
"1 24 13 1",
|
||||
" c None",
|
||||
". c #4F4F51",
|
||||
"+ c #585859",
|
||||
"@ c #646465",
|
||||
"# c #717172",
|
||||
"$ c #767677",
|
||||
"% c #8C8C8C",
|
||||
"& c #7E7E7E",
|
||||
"* c #69696A",
|
||||
"= c #5C5C5C",
|
||||
"- c #515153",
|
||||
"; c #3F3F41",
|
||||
"> c #373739",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
"+",
|
||||
"@",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"$",
|
||||
"%",
|
||||
"&",
|
||||
"#",
|
||||
"#",
|
||||
"#",
|
||||
"*",
|
||||
"=",
|
||||
"-",
|
||||
".",
|
||||
".",
|
||||
".",
|
||||
";",
|
||||
">",
|
||||
">",
|
||||
">"};
|
122
.fvwm/images/decor/title-rightoftext-active.xpm
Normal file
|
@ -0,0 +1,122 @@
|
|||
/* XPM */
|
||||
static char * title_rightoftext_active_xpm[] = {
|
||||
"6 24 95 2",
|
||||
" c None",
|
||||
". c #868687",
|
||||
"+ c #4E4E4F",
|
||||
"@ c #79797A",
|
||||
"# c #8A8A8B",
|
||||
"$ c #505051",
|
||||
"% c #4D4D4D",
|
||||
"& c #989899",
|
||||
"* c #565657",
|
||||
"= c #3C435B",
|
||||
"- c #4E4E4E",
|
||||
"; c #A6A6A8",
|
||||
"> c #5D5D5E",
|
||||
", c #39456B",
|
||||
"' c #565656",
|
||||
") c #B5B5B6",
|
||||
"! c #636364",
|
||||
"~ c #435177",
|
||||
"{ c #616161",
|
||||
"] c #C3C3C4",
|
||||
"^ c #68686A",
|
||||
"/ c #4E5D81",
|
||||
"( c #6C6C6C",
|
||||
"_ c #D1D1D2",
|
||||
": c #6F6F71",
|
||||
"< c #58688C",
|
||||
"[ c #777777",
|
||||
"} c #DFDFE0",
|
||||
"| c #757577",
|
||||
"1 c #637496",
|
||||
"2 c #828282",
|
||||
"3 c #EEEEEE",
|
||||
"4 c #7C7C7E",
|
||||
"5 c #6E7FA1",
|
||||
"6 c #8C8C8C",
|
||||
"7 c #FCFCFC",
|
||||
"8 c #828284",
|
||||
"9 c #7183A5",
|
||||
"0 c #969696",
|
||||
"a c #F3F3F3",
|
||||
"b c #7E7E80",
|
||||
"c c #7385A7",
|
||||
"d c #9F9F9F",
|
||||
"e c #E4E4E5",
|
||||
"f c #777779",
|
||||
"g c #7587A9",
|
||||
"h c #A9A9A9",
|
||||
"i c #D6D6D7",
|
||||
"j c #717173",
|
||||
"k c #6A7C9E",
|
||||
"l c #B3B3B3",
|
||||
"m c #C8C8C9",
|
||||
"n c #6B6B6D",
|
||||
"o c #607093",
|
||||
"p c #BDBDBD",
|
||||
"q c #BABABB",
|
||||
"r c #656566",
|
||||
"s c #556488",
|
||||
"t c #C7C7C7",
|
||||
"u c #ACACAC",
|
||||
"v c #5F5F60",
|
||||
"w c #4C5B7F",
|
||||
"x c #D0D0D0",
|
||||
"y c #9D9D9E",
|
||||
"z c #58585A",
|
||||
"A c #435176",
|
||||
"B c #CBCBCB",
|
||||
"C c #8F8F90",
|
||||
"D c #525253",
|
||||
"E c #3A466D",
|
||||
"F c #818182",
|
||||
"G c #4C4C4D",
|
||||
"H c #313D64",
|
||||
"I c #A8A8A8",
|
||||
"J c #737374",
|
||||
"K c #454547",
|
||||
"L c #2A355C",
|
||||
"M c #3F3F41",
|
||||
"N c #515870",
|
||||
"O c #4A5169",
|
||||
"P c #414760",
|
||||
"Q c #707070",
|
||||
"R c #39393B",
|
||||
"S c #8E8E8E",
|
||||
"T c #7D7D7E",
|
||||
"U c #676767",
|
||||
"V c #545454",
|
||||
"W c #484849",
|
||||
"X c #323234",
|
||||
"Y c #4A4A4B",
|
||||
"Z c #464647",
|
||||
"` c #414142",
|
||||
" . c #3D3D3E",
|
||||
".. c #3A3A3B",
|
||||
"+. c #2C2C2E",
|
||||
". . . . . + ",
|
||||
"@ @ @ @ # $ ",
|
||||
"% % % % & * ",
|
||||
"= = = - ; > ",
|
||||
", , , ' ) ! ",
|
||||
"~ ~ ~ { ] ^ ",
|
||||
"/ / / ( _ : ",
|
||||
"< < < [ } | ",
|
||||
"1 1 1 2 3 4 ",
|
||||
"5 5 5 6 7 8 ",
|
||||
"9 9 9 0 a b ",
|
||||
"c c c d e f ",
|
||||
"g g g h i j ",
|
||||
"k k k l m n ",
|
||||
"o o o p q r ",
|
||||
"s s s t u v ",
|
||||
"w w w x y z ",
|
||||
"A A A B C D ",
|
||||
"E E E p F G ",
|
||||
"H H H I J K ",
|
||||
"L L L 6 r M ",
|
||||
"N O P Q * R ",
|
||||
"S T U V W X ",
|
||||
"Y Z ` ...+."};
|
106
.fvwm/images/decor/title-rightoftext-inactive.xpm
Normal file
|
@ -0,0 +1,106 @@
|
|||
/* XPM */
|
||||
static char * title_rightoftext_inactive_xpm[] = {
|
||||
"6 24 79 1",
|
||||
" c None",
|
||||
". c #868686",
|
||||
"+ c #4E4E4E",
|
||||
"@ c #797979",
|
||||
"# c #8A8A8A",
|
||||
"$ c #505050",
|
||||
"% c #4D4D4D",
|
||||
"& c #989898",
|
||||
"* c #565656",
|
||||
"= c #4B4B4B",
|
||||
"- c #A6A6A6",
|
||||
"; c #5D5D5D",
|
||||
"> c #525252",
|
||||
", c #B5B5B5",
|
||||
"' c #636363",
|
||||
") c #616161",
|
||||
"! c #C3C3C3",
|
||||
"~ c #696969",
|
||||
"{ c #676767",
|
||||
"] c #6C6C6C",
|
||||
"^ c #D1D1D1",
|
||||
"/ c #707070",
|
||||
"( c #727272",
|
||||
"_ c #777777",
|
||||
": c #DFDFDF",
|
||||
"< c #767676",
|
||||
"[ c #7C7C7C",
|
||||
"} c #828282",
|
||||
"| c #EEEEEE",
|
||||
"1 c #878787",
|
||||
"2 c #8C8C8C",
|
||||
"3 c #FCFCFC",
|
||||
"4 c #838383",
|
||||
"5 c #8B8B8B",
|
||||
"6 c #969696",
|
||||
"7 c #F3F3F3",
|
||||
"8 c #7F7F7F",
|
||||
"9 c #8D8D8D",
|
||||
"0 c #9F9F9F",
|
||||
"a c #E4E4E4",
|
||||
"b c #787878",
|
||||
"c c #8F8F8F",
|
||||
"d c #A9A9A9",
|
||||
"e c #D6D6D6",
|
||||
"f c #848484",
|
||||
"g c #B3B3B3",
|
||||
"h c #C8C8C8",
|
||||
"i c #BDBDBD",
|
||||
"j c #BABABA",
|
||||
"k c #656565",
|
||||
"l c #6E6E6E",
|
||||
"m c #C7C7C7",
|
||||
"n c #ACACAC",
|
||||
"o c #5F5F5F",
|
||||
"p c #D0D0D0",
|
||||
"q c #9D9D9D",
|
||||
"r c #585858",
|
||||
"s c #5C5C5C",
|
||||
"t c #CBCBCB",
|
||||
"u c #535353",
|
||||
"v c #818181",
|
||||
"w c #4C4C4C",
|
||||
"x c #4A4A4A",
|
||||
"y c #A8A8A8",
|
||||
"z c #737373",
|
||||
"A c #464646",
|
||||
"B c #434343",
|
||||
"C c #404040",
|
||||
"D c #606060",
|
||||
"E c #5A5A5A",
|
||||
"F c #3A3A3A",
|
||||
"G c #8E8E8E",
|
||||
"H c #7D7D7D",
|
||||
"I c #545454",
|
||||
"J c #484848",
|
||||
"K c #333333",
|
||||
"L c #414141",
|
||||
"M c #3D3D3D",
|
||||
"N c #2D2D2D",
|
||||
".....+",
|
||||
"@@@@#$",
|
||||
"%%%%&*",
|
||||
"===+-;",
|
||||
">>>*,'",
|
||||
";;;)!~",
|
||||
"{{{]^/",
|
||||
"(((_:<",
|
||||
"[[[}|[",
|
||||
"111234",
|
||||
"555678",
|
||||
"9990ab",
|
||||
"cccde(",
|
||||
"fffgh]",
|
||||
"@@@ijk",
|
||||
"lllmno",
|
||||
"kkkpqr",
|
||||
"ssstc>",
|
||||
"uuuivw",
|
||||
"xxxyzA",
|
||||
"BBB2kC",
|
||||
"DE$/*F",
|
||||
"GH{IJK",
|
||||
"xALMFN"};
|
52
.fvwm/images/decor/title-undertext-active.xpm
Normal file
|
@ -0,0 +1,52 @@
|
|||
/* XPM */
|
||||
static char * title_undertext_active_xpm[] = {
|
||||
"1 24 25 1",
|
||||
" c None",
|
||||
". c #7A7A7A",
|
||||
"+ c #6E6E6E",
|
||||
"@ c #464646",
|
||||
"# c #2F5B50",
|
||||
"$ c #276D5C",
|
||||
"% c #307864",
|
||||
"& c #3A826D",
|
||||
"* c #438B74",
|
||||
"= c #4E947C",
|
||||
"- c #53A388",
|
||||
"; c #53A98A",
|
||||
"> c #54AC8C",
|
||||
", c #55AF8E",
|
||||
"' c #519F83",
|
||||
") c #4A927B",
|
||||
"! c #408873",
|
||||
"~ c #397F6B",
|
||||
"{ c #307863",
|
||||
"] c #28705E",
|
||||
"^ c #206856",
|
||||
"/ c #1A5E4F",
|
||||
"( c #447067",
|
||||
"_ c #858585",
|
||||
": c #444646",
|
||||
".",
|
||||
"+",
|
||||
"@",
|
||||
"#",
|
||||
"$",
|
||||
"%",
|
||||
"&",
|
||||
"*",
|
||||
"=",
|
||||
"-",
|
||||
";",
|
||||
">",
|
||||
",",
|
||||
"'",
|
||||
")",
|
||||
"!",
|
||||
"~",
|
||||
"{",
|
||||
"]",
|
||||
"^",
|
||||
"/",
|
||||
"(",
|
||||
"_",
|
||||
":"};
|
50
.fvwm/images/decor/title-undertext-inactive.xpm
Normal file
|
@ -0,0 +1,50 @@
|
|||
/* XPM */
|
||||
static char * title_undertext_inactive_xpm[] = {
|
||||
"1 24 23 1",
|
||||
" c None",
|
||||
". c #868686",
|
||||
"+ c #797979",
|
||||
"@ c #4D4D4D",
|
||||
"# c #4B4B4B",
|
||||
"$ c #525252",
|
||||
"% c #5D5D5D",
|
||||
"& c #676767",
|
||||
"* c #727272",
|
||||
"= c #7C7C7C",
|
||||
"- c #878787",
|
||||
"; c #8B8B8B",
|
||||
"> c #8D8D8D",
|
||||
", c #8F8F8F",
|
||||
"' c #848484",
|
||||
") c #6E6E6E",
|
||||
"! c #656565",
|
||||
"~ c #5C5C5C",
|
||||
"{ c #535353",
|
||||
"] c #4A4A4A",
|
||||
"^ c #434343",
|
||||
"/ c #626262",
|
||||
"( c #939393",
|
||||
".",
|
||||
"+",
|
||||
"@",
|
||||
"#",
|
||||
"$",
|
||||
"%",
|
||||
"&",
|
||||
"*",
|
||||
"=",
|
||||
"-",
|
||||
";",
|
||||
">",
|
||||
",",
|
||||
"'",
|
||||
"+",
|
||||
")",
|
||||
"!",
|
||||
"~",
|
||||
"{",
|
||||
"]",
|
||||
"^",
|
||||
"/",
|
||||
"(",
|
||||
"#"};
|
BIN
.fvwm/images/icons/24x24/24x24.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
.fvwm/images/icons/24x24/deadbeef-next.png
Normal file
After Width: | Height: | Size: 755 B |
BIN
.fvwm/images/icons/24x24/deadbeef-prev.png
Normal file
After Width: | Height: | Size: 743 B |
BIN
.fvwm/images/icons/24x24/deadbeef-start.png
Normal file
After Width: | Height: | Size: 835 B |
BIN
.fvwm/images/icons/24x24/deadbeef-stop.png
Normal file
After Width: | Height: | Size: 474 B |
BIN
.fvwm/images/icons/24x24/deadbeef.png
Normal file
After Width: | Height: | Size: 596 B |
BIN
.fvwm/images/icons/24x24/firefox.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
.fvwm/images/icons/24x24/geany.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
.fvwm/images/icons/24x24/gimp.png
Normal file
After Width: | Height: | Size: 962 B |
BIN
.fvwm/images/icons/24x24/hexchat.png
Normal file
After Width: | Height: | Size: 891 B |
BIN
.fvwm/images/icons/24x24/htop.png
Normal file
After Width: | Height: | Size: 519 B |
BIN
.fvwm/images/icons/24x24/logout.png
Normal file
After Width: | Height: | Size: 703 B |
BIN
.fvwm/images/icons/24x24/terminal.png
Normal file
After Width: | Height: | Size: 358 B |
BIN
.fvwm/images/icons/24x24/thunar.png
Normal file
After Width: | Height: | Size: 563 B |
BIN
.fvwm/images/icons/24x24/vlc.png
Normal file
After Width: | Height: | Size: 566 B |
BIN
.fvwm/images/icons/48x48/Thunar.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
.fvwm/images/icons/48x48/audacious.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
.fvwm/images/icons/48x48/emacs.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
.fvwm/images/icons/48x48/firefox.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
.fvwm/images/icons/48x48/gimp.png
Normal file
After Width: | Height: | Size: 3.3 KiB |