Add IceWM config

This commit is contained in:
Anthony Rose 2023-08-19 18:01:05 -03:00
parent 97857e9e82
commit 8f48b7bd7f
16 changed files with 229 additions and 0 deletions

View file

@ -0,0 +1,5 @@
Use the "wmconfig" program to build the menu as follows:
wmconfig --output icewm > ~/.icewm/menu
The "wmconfig" program can be found in /usr/ports/x11-wm/wmconfig.

View file

@ -0,0 +1,4 @@
key "Ctrl+Alt+L" xscreensaver-command -lock
key "Ctrl+Alt+M" /bin/sh -c "exec ~/data/code/sh/toggle-trackpad.sh"
key "Ctrl+Alt+T" urxvt
key "Ctrl+Alt+V" gvim

View file

@ -0,0 +1,11 @@
prog "Terminal" xterm urxvt
prog "Midnight Commander" file urxvt -geometry 120x40 -e mc
menu "Terminals" folder {
prog "XTerm (80x10)" xterm urxvt -geometry 80x10
prog "XTerm (80x24)" xterm urxvt -geometry 80x24
prog "XTerm (120x40)" xterm urxvt -geometry 120x40
}
separator
includeprog icewm-menu-fdo --no-sub-cats
separator
prog "!!! XKill !!!" xkill xkill

View file

@ -0,0 +1,16 @@
DateFormat="%F W%V-%u"
DesktopBackgroundCenter=1
DesktopBackgroundColor="steelblue"
LockCommand="xscreensaver-command -lock"
ModSuperIsCtrlAlt=0
MsgBoxDefaultAction=1
OpaqueMove=0
OpaqueResize=0
ShowHelp=0
ShowThemesMenu=0
TaskBarAtTop=1
TaskBarShowAPMStatus=1
TaskBarShowMailboxStatus=0
TimeFormat="%T"
Win95Keys=1
WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4 "

View file

@ -0,0 +1 @@
Theme="acp/default.theme"

View file

@ -0,0 +1,23 @@
/* XPM */
static char *maximize_xpm[] = {
"16 16 3 1",
"F c #FFFFFF",
"B c #808080",
" c #C0C0C0",
" ",
" ",
" FF FF ",
" F B F B ",
" F B F B ",
" F BF B ",
" F B ",
" F B ",
" F B ",
" F B ",
" F BB B ",
" F B B B ",
" F B B B ",
" BB BB ",
" ",
" ",
};

View file

@ -0,0 +1,26 @@
Look=motif
TitleBarHeight=18
TitleButtonsSupported="mris"
ColorNormalBorder="rgb:C0/C0/C0"
ColorActiveBorder="rgb:5F/9F/9F"
ColorNormalButton="rgb:C0/C0/C0"
ColorNormalTitleBar="rgb:A0/A0/A0"
ColorActiveTitleBar="rgb:5F/9F/9F"
ColorNormalTitleBarText="rgb:00/00/00"
ColorActiveTitleBarText="rgb:FF/FF/FF"
ColorNormalMenu="rgb:C0/C0/C0"
ColorActiveMenuItem="rgb:A0/A0/A0"
ColorNormalMenuItemText="rgb:00/00/00"
ColorActiveMenuItemText="rgb:00/00/00"
ColorDisabledMenuItemText="rgb:80/80/80"
ColorMoveSizeStatus="rgb:C0/C0/C0"
ColorMoveSizeStatusText="rgb:00/00/00"
ColorDefaultTaskBar="rgb:C0/C0/C0"
ColorNormalTaskBarApp="rgb:C0/C0/C0"
ColorNormalTaskBarAppText="rgb:00/00/00"
ColorActiveTaskBarApp="rgb:E0/E0/E0"
ColorActiveTaskBarAppText="rgb:00/00/00"
ColorScrollBar="rgb:C0/C0/C0"
ColorScrollBarSlider="rgb:C0/C0/C0"
ColorScrollBarButtonArrow="rgb:C0/C0/C0"

View file

@ -0,0 +1,22 @@
/* XPM */
static char *maximize_xpm[] = {
"16 16 3 1",
" c #c0c0c0",
"W c #FFFFFF",
"D c #808080",
" ",
" ",
" WWWWWWWWWWW ",
" W D ",
" W D ",
" W D ",
" W D ",
" W D ",
" W D ",
" W D ",
" W D ",
" W D ",
" W D ",
" DDDDDDDDDDD ",
" ",
" "};

View file

@ -0,0 +1,21 @@
/* XPM */
static char * mini-x_xpm[] = {
"16 16 2 1",
" c none s none",
". c #FF0000",
" ",
" ",
" ",
" .... . ",
" .... . ",
" .... . ",
" .... . ",
" ... . ",
" . .. ",
" . .... ",
" . .... ",
" . .... ",
" . .... ",
" . .... ",
" ",
" "};

View file

@ -0,0 +1,24 @@
/* XPM */
static char * minimize_xpm[] = {
"16 16 3 1",
" c #C0C0C0",
"W c #FFFFFF",
"D c #808080",
" ",
" ",
" ",
" ",
" ",
" ",
" WWWWW ",
" W D ",
" W D ",
" W D ",
" W D ",
" DDDDD ",
" ",
" ",
" ",
" ",
" ",
" "};

View file

@ -0,0 +1,22 @@
/* XPM */
static char *restore_xpm[] = {
"16 16 3 1",
" c #c0c0c0",
"W c #FFFFFF",
"D c #808080",
" ",
" ",
" DDDDDDDDDDD ",
" D W ",
" D W ",
" D W ",
" D W ",
" D W ",
" D W ",
" D W ",
" D W ",
" D W ",
" D W ",
" WWWWWWWWWWW ",
" ",
" "};

View file

@ -0,0 +1,22 @@
/* XPM */
static char *maximize_xpm[] = {
"16 16 3 1",
" c #c0c0c0",
"W c #FFFFFF",
"D c #808080",
" ",
" ",
" DDDDDDDDDDD ",
" D W ",
" D W ",
" D W ",
" D W ",
" WWWWWWWWWWW ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "};

View file

@ -0,0 +1,22 @@
/* XPM */
static char *maximize_xpm[] = {
"16 16 3 1",
" c #c0c0c0",
"W c #FFFFFF",
"D c #808080",
" ",
" ",
" WWWWWWWWWWW ",
" W D ",
" W D ",
" W D ",
" W D ",
" DDDDDDDDDDD ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "};

View file

@ -0,0 +1,4 @@
prog "Terminal" xterm urxvt
prog "Midnight Commander" file xterm -geometry 120x40 -e mc
prog "GVIM" vim gvim
prog "Firefox" firefox-esr firefox

View file

@ -0,0 +1,2 @@
xclock.tray: Exclusive
xconsole.tray: Exclusive

View file

@ -53,3 +53,7 @@
ansible.builtin.copy: ansible.builtin.copy:
src: "fonts.conf" src: "fonts.conf"
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/fontconfig/fonts.conf" dest: "{{ ansible_env.XDG_CONFIG_HOME }}/fontconfig/fonts.conf"
- name: Create $HOME/.icewm
ansible.builtin.copy:
src: "icewm"
dest: "{{ ansible_env.HOME }}/.icewm"